美文网首页
python opencv cv2输出人脸检测等价比分,等价置信

python opencv cv2输出人脸检测等价比分,等价置信

作者: 温润如玉00 | 来源:发表于2018-08-17 16:07 被阅读0次

opencv3.4中,

rects,rl,wl = self.cascade.detectMultiScale3(img,scaleFactor=1.3,minNeighbors=4,minSize=(30, 30),flags=0,outputRejectLevels=True)

wl可作为分数

发现过程:https://github.com/opencv/opencv/blob/master/modules/objdetect/include/opencv2/objdetect.hpp

如果再opencv2.x版本中,想输出分数,采用同样的方法,查看objdetect.hpp文件的detectMultiScale封装形式,

https://github.com/opencv/opencv/blob/2.4/modules/objdetect/include/opencv2/objdetect/objdetect.hpp

相关文章

网友评论

      本文标题:python opencv cv2输出人脸检测等价比分,等价置信

      本文链接:https://www.haomeiwen.com/subject/fqhtiftx.html