【发布时间】:2017-03-10 10:58:50
【问题描述】:
我正在尝试使用 OpenCV 在 Ubuntu 16.04 上运行创建示例,但在运行时我不断遇到此错误。我有大约 1960 张负片图像,我正试图从中生成样本图像。我在终端中运行的是:
opencv_createsamples -img pipe1.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 5 -maxyangle 5 -maxzangle 5 -num 1950
and and 的缩写输出是:
Open background image: neg/930.jpg
Open background image: neg/11.jpg
Open background image: neg/332.jpg
Open background image: neg/141.jpg
Invalid background description file.
我不明白的是它似乎能够正确解析文件并找到图像......但它一直说描述文件不正确......
【问题讨论】:
标签: python opencv machine-learning haar-classifier cascade-classifier