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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
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: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.
-