|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebcamDevice
Webcam device abstraction.
| Method Summary | |
|---|---|
void |
close()
Close device, however it can be open again. |
void |
dispose()
Dispose device. |
BufferedImage |
getImage()
Fetch image from underlying camera. |
String |
getName()
Get device name. |
Dimension |
getResolution()
Get currently set image size. |
Dimension[] |
getResolutions()
Get the list of all possible image resolutions. |
boolean |
isOpen()
Is webcam device open? |
void |
open()
Open device, it can be closed any time. |
void |
setResolution(Dimension size)
Set new expected image size. |
| Method Detail |
|---|
String getName()
Dimension[] getResolutions()
Dimension getResolution()
void setResolution(Dimension size)
size - the size to be setBufferedImage getImage()
void open()
void close()
void dispose()
boolean isOpen()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||