public class WebcamUtils extends Object
| Constructor and Description |
|---|
WebcamUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
capture(Webcam webcam,
File file) |
static void |
capture(Webcam webcam,
File file,
String format) |
static void |
capture(Webcam webcam,
String filename) |
static void |
capture(Webcam webcam,
String filename,
String format) |
static ByteBuffer |
getImageByteBuffer(Webcam webcam,
String format)
Capture image as BYteBuffer.
|
static byte[] |
getImageBytes(Webcam webcam,
String format) |
static ResourceBundle |
loadRB(Class<?> clazz,
Locale locale)
Get resource bundle for specific class.
|
public WebcamUtils()
public static final byte[] getImageBytes(Webcam webcam, String format)
public static final ByteBuffer getImageByteBuffer(Webcam webcam, String format)
webcam - the webcam from which image should be obtainedformat - the file formatpublic static final ResourceBundle loadRB(Class<?> clazz, Locale locale)
clazz - the class for which resource bundle should be foundCopyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.