-
Notifications
You must be signed in to change notification settings - Fork 2k
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
iOS Frameworks如何配置模型文件地址 #388
Comments
同问,iOS编译好framework之后,如何使用呢?参照linux代码去使用要初始化,model_path怎么配置? |
我配置好了,把models/r2_mobile里面的文件拷贝到项目目录,models_path设置为项目根目录就行了,但是有一个问题,我编译好的framework直接在项目中使用是可以的,但是打包成一个podsepc给Flutter用就编译失败,提示/chinese_license_plate_recognition/example/ios/Pods/Headers/Public/chinese_license_plate_recognition/chinese_license_plate_recognition-umbrella.h:14:9 'hyper_lpr_sdk.h' file not found
项目目录为:
|
|
|
双层车牌识别请问怎么配置? |
哈罗,邮件收到了,我会尽快查看,回复,谢谢!
|
你好,你的这个demo我跑通去扫车牌。识别率很低。是还需要配置什么吗 |
试试这样配置
// Configure license plate recognition parameters
HLPR_ContextConfiguration configuration = {0};
configuration.models_path = (char *) modelPathC;
configuration.max_num = 1;
configuration.det_level = DETECT_LEVEL_HIGH;
configuration.use_half = false;
configuration.nms_threshold = 0.85f;
configuration.rec_confidence_threshold = 0.95f;
configuration.box_conf_threshold = 0.50f;
configuration.threads = 1;
… 2024年12月12日 15:29,wisdomZhang ***@***.***> 写道:
我配置好了,把models/r2_mobile里面的文件拷贝到项目目录,models_path设置为项目根目录就行了
我配置好了环境 但是检测的时候报错
det_arch.cpp
cv::resize(bgr, resized_img, cv::Size(w, h));
[InferenceHelperMnn][180] ios use cpu backend.Reshape error: 480 -> 0
***@***.*** ***@***.***>
https://github.com/kennenfromchina/LPRDemo
你好,你的这个demo我跑通去扫车牌。识别率很低。是还需要配置什么吗
—
Reply to this email directly, view it on GitHub <#388 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADRLTLHQ2DKBQHMB2WFD2PL2FE3NHAVCNFSM6AAAAABRMX7W5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZYGAYTINZRGI>.
You are receiving this because you commented.
|
好的,谢谢 |
// 配置车牌识别参数
configuration.models_path = model_path; // 模型文件夹路径
这个model_path在iOS Frameworks中如何配置呢。
The text was updated successfully, but these errors were encountered: