dcv.io.video.input

Module implements utilities for video input.

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

1 InputStream stream = new InputStream;
2 
3 stream.open(pathToVideoFile, InputStreamType.FILE);
4 
5 if (!stream.isOpen) {
6     exit(-1);
7 }
8 
9 Image frame;
10 
11 while(stream.readFrame(frame)) {
12     // do something with frame...
13 }

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).