Haartraining,为什么我总是收到错误消息“无法读取负像"? [英] Haartraining, Why do i keep getting the error "unable to read negative images"

查看:87
本文介绍了Haartraining,为什么我总是收到错误消息“无法读取负像"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

显示负片位置的dat文件如下所示:

The dat file showing where the negatives are is as shown below:

C:\Users\Adam\Desktop\NegativeNose\1.png
C:\Users\Adam\Desktop\NegativeNose\2.png
C:\Users\Adam\Desktop\NegativeNose\3.png
C:\Users\Adam\Desktop\NegativeNose\4.png
C:\Users\Adam\Desktop\NegativeNose\5.png
C:\Users\Adam\Desktop\NegativeNose\6.png
C:\Users\Adam\Desktop\NegativeNose\7.png
C:\Users\Adam\Desktop\NegativeNose\8.png
C:\Users\Adam\Desktop\NegativeNose\9.png

每次我进行haartraining时,我都会收到错误消息:

every time i run the haartraining i get the error:

"Error: Unspecified error (Unable to read negative images) in cvCreateTreeCascadeClassifier,"

任何帮助将不胜感激,因为我在过去一两个小时中一直坚持这样做.

any help would be greatly appreciated as i have been stuck on this for the past hour or two.

推荐答案

请改为在bg文件中输入内容,例如-

Instead make your entries in the bg file like--

1.png
2.png
3.png
4.png
....

1.png
2.png
3.png
4.png
....

可以解决问题

致谢

这篇关于Haartraining,为什么我总是收到错误消息“无法读取负像"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆