opencv dnn人脸识别报错记录

OpenCV(3.4.1) Error: Unspecified error (FAILED: fs.is_open(). Can’t open “face_detector/deploy.prototxt”) in ReadProtoFromTextFile, file /home/qinhaidong/opencv341/opencv/modules/dnn/src/caffe/caffe_io.cpp, line 1119
记得,路径要加双引号,
const char* params
= “{ help | false | print usage }”
“{ proto | “deploy.prototxt的绝对路径” | model configuration (deploy.prototxt) }”
“{ model |“res10_300x300_ssd_iter_140000.caffemodel的绝对路径” | model weights (res10_300x300_ssd_iter_140000.caffemodel) }”
“{ camera_device | 0 | camera device number }”
“{ video | | video or image for detection }”
“{ opencl | false | enable OpenCL }”
“{ min_confidence | 0.5 | min confidence }”;

猜你喜欢

转载自blog.csdn.net/qq_33591712/article/details/84400380