ShiqiYu / libfacedetection

An open source library for face detection in images. The face detection speed can reach 1000FPS.
Other
12.27k stars 3.05k forks source link

按照示例使用Opencv-dnn载入.ptn权重检测图像时报错 #371

Open Ashsora opened 5 months ago

Ashsora commented 5 months ago

image

opencv版本4.5.1,图像已经调整至640*640,使用的train仓库里的权重,代码来自作者给的detect.py 不知该如何解决

Ashsora commented 5 months ago

原本我是4.8.1,后来更换到4.5.5 4.5.4都报错

fengyuentau commented 5 months ago

https://github.com/opencv/opencv_zoo/tree/main/models/face_detection_yunet Please try this instead. It is up-to-date.