public class JavaCvDevice extends Object implements com.github.sarxos.webcam.WebcamDevice
| Constructor and Description |
|---|
JavaCvDevice(File vfile) |
JavaCvDevice(int address) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
dispose() |
org.bytedeco.javacv.FrameGrabber |
getGrabber() |
BufferedImage |
getImage() |
String |
getName() |
Dimension |
getResolution() |
Dimension[] |
getResolutions() |
boolean |
isOpen() |
void |
open() |
void |
setResolution(Dimension size) |
String |
toString() |
public JavaCvDevice(int address)
public JavaCvDevice(File vfile)
public String getName()
getName in interface com.github.sarxos.webcam.WebcamDevicepublic Dimension[] getResolutions()
getResolutions in interface com.github.sarxos.webcam.WebcamDevicepublic Dimension getResolution()
getResolution in interface com.github.sarxos.webcam.WebcamDevicepublic void setResolution(Dimension size)
setResolution in interface com.github.sarxos.webcam.WebcamDevicepublic BufferedImage getImage()
getImage in interface com.github.sarxos.webcam.WebcamDevicepublic org.bytedeco.javacv.FrameGrabber getGrabber()
public void open()
open in interface com.github.sarxos.webcam.WebcamDevicepublic void close()
close in interface com.github.sarxos.webcam.WebcamDevicepublic void dispose()
dispose in interface com.github.sarxos.webcam.WebcamDevicepublic boolean isOpen()
isOpen in interface com.github.sarxos.webcam.WebcamDeviceCopyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.