Package boofcv.io.wrapper
Interface WebcamInterface
- All Known Implementing Classes:
DynamicWebcamInterface
,WebcamCaptureWebcamInterface
,WebcamOpenCV
public interface WebcamInterface
High level interface for opening a webcam. Easy to use but you can't do much configuration.
-
Method Summary
Modifier and TypeMethodDescription<T extends ImageBase<T>>
SimpleImageSequence<T>Opens the webcam.
-
Method Details
-
open
<T extends ImageBase<T>> SimpleImageSequence<T> open(String device, int width, int height, ImageType<T> imageType) Opens the webcam. The specified resolution is a suggestion only.- Parameters:
device
- Which webcam to openwidth
- Desired image widthheight
- Desired image heightimageType
- Type of image- Returns:
SimpleImageSequence
for the webcam.
-