opencv calibration cpp with video files (Bug #392)
Description
when running calibration with a video file i get the following error:
../opencv_new/opencv_build/bin/calibration -w 6 -h 8 wide.dv [[OpenCV]] Error: Parsing error (wide.dv(0): Too long string or a last string w/o newline) in icvXMLSkipSpaces, file /home/ethan/opencv_new/opencv/modules/core/src/persistence.cpp, line 1728 terminate called after throwing an instance of 'cv::Exception' what(): /home/ethan/opencv_new/opencv/modules/core/src/persistence.cpp:1728: error: (-212) wide.dv(0): Too long string or a last string w/o newline in function icvXMLSkipSpaces
Here is svn info on the calibration sample
Path: samples/cpp/calibration.cpp Name: calibration.cpp URL: https://code.ros.org/svn/opencv/trunk/opencv/samples/cpp/calibration.cpp Repository Root: https://code.ros.org/svn/opencv Repository UUID: 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08 Revision: 3239 Node Kind: file Schedule: normal Last Changed Author: vp153 Last Changed Rev: 3217 Last Changed Date: 2010-06-13 15:08:24 -0400 (Sun, 13 Jun 2010) Text Last Updated: 2010-06-20 21:16:44 -0400 (Sun, 20 Jun 2010) Checksum: a6ad05662b913e3fcab5396f4866d66f
attached is my version that allows video files using the flag -V.
Associated revisions
added flag to treat input file as a videofile (patch by Ethan Rublee; ticket #392)
Merge pull request #392 from vpisarev:python_fixes2
History
Updated by Vadim Pisarevsky over 14 years ago
thanks! the feature is integrated in r4129
- Status changed from Open to Done
- (deleted custom field) set to fixed