Package boofcv.javacv

Class WebcamOpenCV.SimpleSequence<T extends ImageBase<T>>

java.lang.Object
boofcv.javacv.WebcamOpenCV.SimpleSequence<T>
All Implemented Interfaces:
SimpleImageSequence<T>
Enclosing class:
WebcamOpenCV

public static class WebcamOpenCV.SimpleSequence<T extends ImageBase<T>>
extends Object
implements SimpleImageSequence<T>
  • Constructor Summary

    Constructors
    Constructor Description
    SimpleSequence​(org.bytedeco.javacv.OpenCVFrameGrabber grabber, ImageType<T> imageType)  
  • Method Summary

    Modifier and Type Method Description
    void close()
    Call when done reading the image sequence.
    int getFrameNumber()
    Returns the number of the current frame in the sequence.
    <InternalImage>
    InternalImage
    getGuiImage()
    Returns the image in the original format that it was read in as.
    int getHeight()
    Returns the height of the current image
    T getImage()
    Returns the currently loaded image in the sequence
    ImageType<T> getImageType()
    Returns the type of class used to store the output image
    int getWidth()
    Returns the width of the current image
    boolean hasNext()
    If a new image is available.
    T next()
    Steps to the next image in the sequence and loads it.
    void reset()
    Start reading the sequence from the start
    void setLoop​(boolean loop)
    Sets if the video should loop or not

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait