webcam
Class WebCam
java.lang.Object
webcam.WebCam
public class WebCam
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebCam
public WebCam()
initialize
public void initialize()
throws WebCamException
- Throws:
WebCamException
uninitialize
public void uninitialize()
openCamera
public void openCamera(int width,
int height)
throws WebCamException
- Throws:
WebCamException
closeCamera
public void closeCamera()
capture
public void capture(java.lang.String filename)
throws WebCamException
- Throws:
WebCamException
captureFrame
public void captureFrame()
throws WebCamException
- Throws:
WebCamException
isCameraOpen
public boolean isCameraOpen()
getFrameWidth
public int getFrameWidth()
getFrameHeight
public int getFrameHeight()
getFrameImage
public java.awt.image.BufferedImage getFrameImage()
getFrameData
public int[] getFrameData()