-
Notifications
You must be signed in to change notification settings - Fork 14
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
opencv依赖库是不是缺了一些东西? #1
Comments
方案一:修改src/sample_nnie_api.cpp中的这个函数(同时):
}
}` |
感谢回复,已解决,是因为之前工程编译的opencv库阉割了libjpeg库,我重新用一个完整环境的opencv库就解决imread问题了。但是有一个新的问题,请问您尝试过VideoCapture读取视频流来检测吗,虽然我使用了完整的opencv库,但是视频流还是无法读取到,有一个同学说有可能是编译3516dv300的内核的时候v4l相关选项没有勾选,但是我尝试勾选后发现编译内核无法成功了,无法读取视频流这个问题一直困扰着我 |
在嵌入式AI芯片上不建议使用opencv来处理视频流,HiSilicon有自己的媒体处理pipeline,去SDK demo和docs里找下。 |
您好,我下载了您的demo编译出来 test 程序。我把您整个demo 目录拷贝到开发板上,修改环境变量 LD_LIBRARY_PATH ,增加了 opencv 动态库路径, |
我打算先通过cv::imread读取jpg格式的图片,再通过cvtColor函数转成yuv格式最后喂给模型进行识别,发现imread这个函数读图片结果是空的,确认了图片、路径都没有问题,怀疑是不是opencv的库不全?
The text was updated successfully, but these errors were encountered: