cv::VideoCapture can handle image sequences but this feature is not documented (Patch #2288)
Description
It is common for computer vision data sets to be distributed as a series of images rather than a video file. cv::VideoCapture has the functionality to read this sequences like a video. I think a sample program demonstrating this use would be helpful and hopefully users will see this and not waste time writing their own image sequence readers.
Associated revisions
Added the sample from patch #2288 : reading in sequence of images
Added bugfixes
- Changed CV_WINDOW_NORMAL to 1
- Changed the help function to static
- Added extra help information on mask specifics
Merge pull request #2288 from asmorkalov:android_project_properties_generation_fix
History
Updated by Andrey Kamaev over 12 years ago
- Assignee changed from Kevin Hughes to Vadim Pisarevsky
- Priority changed from Normal to Low
Updated by Andrey Kamaev over 12 years ago
- Target version changed from 2.4.3 to 3.0
Updated by Steven Puttemans over 11 years ago
I agree that how more samples there are available, the better. I will take this as my next pull request, adding the source code of your sample, updating documentation, and so on.
Question, is this also provided in openCV2.4.6? Or only on the master branch?
Updated by Steven Puttemans over 11 years ago
Documentation of master already has this functionality.
Parameters:
filename – name of the opened video file (eg. video.avi) or image sequence (eg. img%02d.jpg)
Guess this answers to where the functionality is available. Will add the sample code to master branch.
Updated by Steven Puttemans over 11 years ago
A pull request had been added : https://github.com/Itseez/opencv/pull/1166
Updated by Kirill Kornyakov over 11 years ago
- HW Platform set to Any
- Operating System set to Any
- Pull request set to https://github.com/Itseez/opencv/pull/1166
- Difficulty set to Easy
- Affected version set to branch 'master' (2.4.9)
Updated by Steven Puttemans over 11 years ago
Pull request merged. New sample code added to master branch.
- Assignee deleted (
Vadim Pisarevsky) - % Done changed from 80 to 100
- Status changed from Open to Done
Updated by Steven Puttemans over 11 years ago
- Target version deleted (
3.0)