Package boofcv.javacv
Class WebcamOpenCV
java.lang.Object
boofcv.javacv.WebcamOpenCV
- All Implemented Interfaces:
WebcamInterface
Implementation of
WebcamInterface
for OpenCV.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
WebcamOpenCV.SimpleSequence<T extends ImageBase<T>>
-
Constructor Summary
-
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:WebcamInterface
Opens the webcam. The specified resolution is a suggestion only.- Specified by:
open
in interfaceWebcamInterface
- Parameters:
device
- Which webcam to openwidth
- Desired image widthheight
- Desired image heightimageType
- Type of image- Returns:
SimpleImageSequence
for the webcam.
-