Package boofcv.io.webcamcapture
Class WebcamCaptureWebcamInterface
java.lang.Object
boofcv.io.webcamcapture.WebcamCaptureWebcamInterface
- All Implemented Interfaces:
WebcamInterface
Wrapper around webcam capture which allows its images to be used inside the
SimpleImageSequence
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ImageBase<T>>
SimpleImageSequence<T>Opens the webcam.
-
Constructor Details
-
WebcamCaptureWebcamInterface
public WebcamCaptureWebcamInterface()
-
-
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.
-