Package boofcv.io.webcamcapture
Class WebcamCaptureWebcamInterface.SimpleSequence<T extends boofcv.struct.image.ImageBase<T>>
java.lang.Object
boofcv.io.webcamcapture.WebcamCaptureWebcamInterface.SimpleSequence<T>
- All Implemented Interfaces:
boofcv.io.image.SimpleImageSequence<T>
- Enclosing class:
- WebcamCaptureWebcamInterface
public static class WebcamCaptureWebcamInterface.SimpleSequence<T extends boofcv.struct.image.ImageBase<T>> extends Object implements boofcv.io.image.SimpleImageSequence<T>
-
Constructor Summary
Constructors Constructor Description SimpleSequence(com.github.sarxos.webcam.Webcam webcam, boofcv.struct.image.ImageType<T> imageType)SimpleSequence(String device, int width, int height, boofcv.struct.image.ImageType<T> imageType) -
Method Summary
Modifier and Type Method Description voidclose()intgetFrameNumber()BufferedImagegetGuiImage()intgetHeight()TgetImage()boofcv.struct.image.ImageType<T>getImageType()intgetWidth()booleanhasNext()Tnext()voidreset()voidsetLoop(boolean loop)
-
Constructor Details
-
SimpleSequence
-
SimpleSequence
public SimpleSequence(com.github.sarxos.webcam.Webcam webcam, boofcv.struct.image.ImageType<T> imageType)
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
hasNext
public boolean hasNext() -
next
-
getImage
-
close
public void close() -
getFrameNumber
public int getFrameNumber() -
setLoop
public void setLoop(boolean loop) -
getImageType
-
reset
public void reset() -
getGuiImage
-