webcam
Class WebCam

java.lang.Object
  extended by webcam.WebCam

public class WebCam
extends java.lang.Object


Constructor Summary
WebCam()
           
 
Method Summary
 void capture(java.lang.String filename)
           
 void captureFrame()
           
 void closeCamera()
           
 int[] getFrameData()
           
 int getFrameHeight()
           
 java.awt.image.BufferedImage getFrameImage()
           
 int getFrameWidth()
           
 void initialize()
           
 boolean isCameraOpen()
           
 void openCamera(int width, int height)
           
 void uninitialize()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebCam

public WebCam()
Method Detail

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()