opencv_contrib
opencv_contrib copied to clipboard
use wechat qrcode get Assertion failed
I use cmake OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules/ and got OpenCV_VERSION 4.8.0。
ENV: ISO C++14 WIN11 X64 VS2019
if i debug:
wechat_qrcode::WeChatQRCode detector{
modelDir + "detect.prototxt",
modelDir + "detect.caffemodel",
modelDir + "sr.prototxt",
modelDir + "sr.caffemodel"
};
And I got information below:
Standard exception: OpenCV(4.8.0) D:\MySoftwares\opencv\opencv_contrib-4.x\modules\wechat_qrcode\src\wechat_qrcode.cpp:57: error: (-215:Assertion failed) utils::fs::exists(detector_prototxt_path) in function 'cv::wechat_qrcode::WeChatQRCode::WeChatQRCode'
utils::fs::exists(detector_prototxt_path)
Missing file or wrong path.
Usage questions should go to Users OpenCV Q/A forum: https://forum.opencv.org/