现在我正在为脸部检测创建我自己的分类器。我有两个文件夹一个用于存储正面图像,另一个用于存储负面图像。我为这两个文件创建.txt文件。现在我想创建积极imgaes的训练样本。所以我给命令'opencv_createsamples -info positives.txt -vec myvec.vec -w 24 -h 24'。但它表明是这样的,它不会产生任何样品。什么原因?任何人都可以帮助我。提前致谢。我如何创建自己的clasiifier
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