Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Android dnn in native C++

Hello, i succesfully linked opencv to my android c++ native app.. now I encountered a problem where i cannot read my models (ex. YOLO) I pasted them here: /storage/emulated/0/DCIM/ <model> but when running I see that the models cannot be found/read. The tutorial on the opencv page is for java implementation, I would like to implement something similar but using native C++.

What I have tried:

  • set permissions on my app to READ/WRITE: <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  • similar approach than: question opencv answers

Has someone encountered the same issue? Or has some tips? Thaaaanks!