opencvaide-ide

Opencv library on AIDE


I'm new with android programming and I want to code and compile an app based on opencv library and I want to do that from my tablet using AIDE, but I don't know how to setup opencv library in AIDE. Can anyone help me?


Solution

  • Go download the .jar (link to Java2). Create a libs folder in your app's directory and put the jar in it. Then go back to AIDE, open your project and navigate to the libs folder. Long press the jar. When the dialogue pops up asking if you what to do click "add library to project." Close AIDE, because for some reason it doesn't recognize the library until you restart it. Open your project again and you can now use any opencv class in your project by using the correct import statement.