FileStorage can't read VOC annotations (Feature #3154)
Description
VOC and ImageNet use the same xml annotation format. Although they are most famous computer vision dataset. The annotation format is not supported in OpenCV. Some reasons for crash includes:
1. The VOC annotation format don't start with ' <opencv_storage>'.
2. Some values, e.g. <owner><flickrid>, might contains characters not supported.
3. Values like <filename>000005.jpg</filename> needs to be changed to <filename>"000005.jpg"</filename> in order to avoid crash in reading.
Above problems can be avoid by some simple pre-processing. The other bug, which is reported by OpenCV as "Duplicated key", can't be easily addressed. However, each VOC image has several <object> key.
Associated revisions
Merge pull request #3154 from PhilLab:patch-4
History
Updated by Nikita Manovich over 11 years ago
Hi,
Thank you for the report. I don't think that it is a bug. You have suggested some new functionality. Could you please help us and submit a pull request? Unfortunately we have limited resources. We will be glad to see you as a contributer. Please read http://www.code.opencv.org/projects/opencv/wiki/How_to_contribute for more information.
- Category set to core
- Assignee set to Maria Dimashova
- Difficulty deleted (
Medium) - Tracker changed from Bug to Feature
- Status changed from New to Open
Updated by Nikita Manovich over 11 years ago
- Assignee deleted (
Maria Dimashova)
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4597