Package | Description |
---|---|
com.github.sarxos.webcam |
Modifier and Type | Method and Description |
---|---|
static Webcam |
Webcam.getDefault()
Will discover and return first webcam available in the system.
|
static Webcam |
Webcam.getDefault(long timeout)
Will discover and return first webcam available in the system.
|
static Webcam |
Webcam.getDefault(long timeout,
TimeUnit tunit)
Will discover and return first webcam available in the system.
|
Webcam |
WebcamPickerModel.getSelectedItem() |
Webcam |
WebcamPicker.getSelectedWebcam() |
Webcam |
WebcamEvent.getSource() |
Webcam |
WebcamDiscoveryEvent.getWebcam()
Return the webcam which has been found or removed.
|
Webcam |
WebcamMotionDetector.getWebcam()
Get attached webcam object.
|
Modifier and Type | Method and Description |
---|---|
static List<Webcam> |
Webcam.getWebcams()
Get list of webcams to use.
|
static List<Webcam> |
Webcam.getWebcams(long timeout)
Get list of webcams to use.
|
List<Webcam> |
WebcamDiscoveryService.getWebcams(long timeout,
TimeUnit tunit) |
static List<Webcam> |
Webcam.getWebcams(long timeout,
TimeUnit tunit)
Get list of webcams to use.
|
Modifier and Type | Method and Description |
---|---|
static void |
WebcamUtils.capture(Webcam webcam,
File file) |
static void |
WebcamUtils.capture(Webcam webcam,
File file,
String format) |
static void |
WebcamUtils.capture(Webcam webcam,
String filename) |
static void |
WebcamUtils.capture(Webcam webcam,
String filename,
String format) |
static ByteBuffer |
WebcamUtils.getImageByteBuffer(Webcam webcam,
String format)
Capture image as BYteBuffer.
|
static byte[] |
WebcamUtils.getImageBytes(Webcam webcam,
String format) |
Constructor and Description |
---|
WebcamDiscoveryEvent(Webcam webcam,
int type)
Create new webcam discovery event.
|
WebcamEvent(WebcamEventType type,
Webcam w)
Webcam event.
|
WebcamEvent(WebcamEventType type,
Webcam w,
BufferedImage image)
Webcam event.
|
WebcamMotionDetector(Webcam webcam)
Create motion detector with default parameters - threshold = 25, inertia = 0.
|
WebcamMotionDetector(Webcam webcam,
int pixelThreshold)
Create motion detector with default parameter inertia = 0.
|
WebcamMotionDetector(Webcam webcam,
int pixelThreshold,
double areaThreshold)
Create motion detector with default parameter inertia = 0.
|
WebcamMotionDetector(Webcam webcam,
int pixelThreshold,
double areaThreshold,
int interval)
Create motion detector.
|
WebcamPanel(Webcam webcam)
Creates webcam panel and automatically start webcam.
|
WebcamPanel(Webcam webcam,
boolean start)
Creates new webcam panel which display image from camera in you your Swing application.
|
WebcamPanel(Webcam webcam,
Dimension size,
boolean start)
Creates new webcam panel which display image from camera in you your Swing application.
|
WebcamStreamer(int port,
Webcam webcam,
double fps,
boolean start) |
Constructor and Description |
---|
WebcamPicker(List<Webcam> webcams) |
WebcamPickerModel(List<Webcam> webcams) |
Copyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.