JavaScript is disabled on your browser.
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
SimpleSequence (com.github.sarxos.webcam.Webcam webcam,
boofcv.struct.image.ImageType<T > imageType)
Method Summary
All Methods Instance Methods Concrete Methods
void
int
int
boofcv.struct.image.ImageType<T >
int
boolean
void
void
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
SimpleSequence
public SimpleSequence (String device,
int width,
int height,
boofcv.struct.image.ImageType<T > imageType)
SimpleSequence
public SimpleSequence (com.github.sarxos.webcam.Webcam webcam,
boofcv.struct.image.ImageType<T > imageType)
Method Details
getWidth
public int getWidth ()
Specified by:
getWidth in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
getHeight
public int getHeight ()
Specified by:
getHeight in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
hasNext
public boolean hasNext ()
Specified by:
hasNext in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
next
Specified by:
next in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
getImage
Specified by:
getImage in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
close
public void close ()
Specified by:
close in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
setLoop
public void setLoop (boolean loop)
Specified by:
setLoop in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
getImageType
public boofcv.struct.image.ImageType<T > getImageType ()
Specified by:
getImageType in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
reset
public void reset ()
Specified by:
reset in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>
getGuiImage
Specified by:
getGuiImage in interface boofcv.io.image.SimpleImageSequence<T extends boofcv.struct.image.ImageBase<T >>