-
Notifications
You must be signed in to change notification settings - Fork 521
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
提取sdcard上图片的人脸关键点 #99
Comments
1、高宽的输入是不是反了 |
@CrazyShado 你能正常读取本地图片进行预测了吗?求助 |
@yangkezun 我也是使用他上面的方法,我图片输入大小为(640,480)就没有报他的那个错误,但是没有预测结果。 |
我换阿里的mnn了, |
@CrazyShado 哦哦,感觉这个挺好的,有活体检测 |
阿里的也有了,包括各种角度也有的,输入图片也没限制 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
从sdcard上选择一张图片输入,转换为bitmap,
然后将bitmap转换为nv21格式,但出现报错。
nv21转换函数:
通过该方法转换后,sdk报错:
Assertion failed (sz.width % 2 == 0 && sz.height % 3 == 0) in cv::impl::{anonymous}::CvtHelper<VScn, VDcn, VDepth, sizePolicy>::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set<1>; VDcn = cv::impl::{anonymous}::Set<3, 4>; VDepth = cv::impl::{anonymous}::Set<0>; cv::impl::{anonymous}::SizePolicy sizePolicy = (cv::impl::<unnamed>::SizePolicy)1u; cv::InputArray = const cv::_InputArray&; cv::OutputArray = const cv::_OutputArray&], file /build/3_4_pack-android/opencv/modules/imgproc/src/color.simd_helpers.hpp, line 104
The text was updated successfully, but these errors were encountered: