dcv.io.video.input

Module implements utilities for video input.

Input video streaming is performed with InputStream utility by following example:

InputStream stream = new InputStream;

stream.open(pathToVideoFile, InputStreamType.FILE);

if (!stream.isOpen) {
    exit(-1);
}

Image frame;

while(stream.readFrame(frame)) {
    // do something with frame...
}

Public Imports

dcv.io.video.common
public import dcv.io.video.common;
dcv.io.image
public import dcv.io.image;

Members

Classes

InputStream
class InputStream

Video streaming utility.

SeekFrameException
class SeekFrameException

Exception thrown when seeking a frame fails.

SeekTimeException
class SeekTimeException

Exception thrown when seeking a time fails.

Enums

InputStreamType
enum InputStreamType

Input streaming type - file or webcam (live)

Meta

Authors

Relja Ljubobratovic

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).