Package boofcv.javacv
Class WebcamOpenCV
java.lang.Object
boofcv.javacv.WebcamOpenCV
- All Implemented Interfaces:
WebcamInterface
Implementation of
WebcamInterface for OpenCV.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWebcamOpenCV.SimpleSequence<T extends ImageBase<T>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ImageBase<T>>
SimpleImageSequence<T>Opens the webcam.
-
Constructor Details
-
WebcamOpenCV
public WebcamOpenCV()
-
-
Method Details
-
open
public <T extends ImageBase<T>> SimpleImageSequence<T> open(String device, int width, int height, ImageType<T> imageType) Description copied from interface:WebcamInterfaceOpens the webcam. The specified resolution is a suggestion only.- Specified by:
openin interfaceWebcamInterface- Parameters:
device- Which webcam to openwidth- Desired image widthheight- Desired image heightimageType- Type of image- Returns:
SimpleImageSequencefor the webcam.
-