Which Khadas SBC do you use?
VIM3 Pro
Which system do you use? Android, Ubuntu, OOWOW or others?
Android
Which version of system do you use? Khadas official images, self built images, or others?
Latest Khadas official Android that came shipped on device
Please describe your issue below:
Does OpenCV for Android fully support the NPU? It seems that according to the samples online here; https://github.com/khadas/OpenCV_NPU_Demo/tree/master/cpp_demo This sample is to run on Linux and not Android and requires the TIMVX support and we are not sure if the TIMVX backend is supported on Android.
So the main question is the NPU and TIMVX fully supported on Open CV for Android or is full support for Linux only? Second, if it is fully supported, is there a better sample app on your Github which demonstrates this on Android?
Here is the code we are following from your sample in the link above to set the DNN backend to the NPU and TIMVX but again, we fear this is only works on Linux? We would like to leverage OpenCV on Android and do something similar. It is not our preferred approach to use Python along with some other libraries if we don’t have to.
/*NPU*/
net.setPreferableBackend(cv::dnn::DNN_BACKEND_TIMVX);
net.setPreferableTarget(cv::dnn::DNN_TARGET_NPU);
Thanks!
Post a console log of your issue below:
**Delete this line and post your log here.**