【发布时间】:2014-02-23 17:53:39
【问题描述】:
现在我正在创建自己的人脸检测分类器。我有两个文件夹,一个用于存储正图像,另一个用于存储负图像。我为两者制作了 .txt 文件。现在我想创建正图像的训练样本。所以我给出命令'opencv_createsamples -info positives.txt -vec myvec.vec -w 24 -h 24'。但它显示这样。它没有创建任何样本。是什么原因?任何人都可以帮助我。提前致谢。
Info file name: positives.txt
Img file name: (NULL)
Vec file name: myvec.vec
BG file name: (NULL)
Num: 1000
BG color: 0
BG threshold: 80
Invert: FALSE
Max intensity deviation: 40
Max x angle: 1.1
Max y angle: 1.1
Max z angle: 0.5
Show samples: FALSE
Width: 24
Height: 24
Create training samples from images collection...
positives.txt(1) : parse errorDone. Created 0 samples
【问题讨论】: