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.WebcamDevice
public Dimension[] getResolutions()
getResolutions
in interface com.github.sarxos.webcam.WebcamDevice
public Dimension getResolution()
getResolution
in interface com.github.sarxos.webcam.WebcamDevice
public void setResolution(Dimension size)
setResolution
in interface com.github.sarxos.webcam.WebcamDevice
public BufferedImage getImage()
getImage
in interface com.github.sarxos.webcam.WebcamDevice
public org.bytedeco.javacv.FrameGrabber getGrabber()
public void open()
open
in interface com.github.sarxos.webcam.WebcamDevice
public void close()
close
in interface com.github.sarxos.webcam.WebcamDevice
public void dispose()
dispose
in interface com.github.sarxos.webcam.WebcamDevice
public boolean isOpen()
isOpen
in interface com.github.sarxos.webcam.WebcamDevice
Copyright © 2012-2014 Bartosz Firyn (SarXos). All Rights Reserved.