[英]Haarcascade detects only face area and not ears
I am using opencv and c++. 我正在使用opencv和c ++。 When I use Haarcascade with the haarcascade_frontalface_alt2.xml file,it detects only the face and not the ears.
当我将haarcascade与haarcascade_frontalface_alt2.xml文件一起使用时,它只检测面部而不是耳朵。 I need the face as well as the ears in one image.
我需要一张图片中的脸部和耳朵。 Can anyone suggest a method for that please?
有人可以建议一个方法吗? Thanks
谢谢
The cascade was trained for faces and not ears, so what you are seeing is "normal". 级联是针对面部而非耳朵进行训练的,所以你所看到的是“正常的”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.