Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use wechat qrcode get Assertion failed #3573

Open
AlienWorldZ opened this issue Oct 9, 2023 · 1 comment
Open

use wechat qrcode get Assertion failed #3573

AlienWorldZ opened this issue Oct 9, 2023 · 1 comment
Labels
question (invalid tracker) ask questions and other "no action" items here: https://forum.opencv.org/

Comments

@AlienWorldZ
Copy link

image

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'

@opencv-alalek opencv-alalek added the question (invalid tracker) ask questions and other "no action" items here: https://forum.opencv.org/ label Oct 9, 2023
@opencv-alalek
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question (invalid tracker) ask questions and other "no action" items here: https://forum.opencv.org/
Projects
None yet
Development

No branches or pull requests

2 participants