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 }
Video streaming utility.
Exception thrown when seeking a frame fails.
Exception thrown when seeking a time fails.
Input streaming type - file or webcam (live)
See Source File
Relja Ljubobratovic
$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).
Copyright Relja Ljubobratovic 2016.
Module implements utilities for video input.
Input video streaming is performed with InputStream utility by following example: