Search code examples
android-studioboofcv

How to use BoofCV in Android Studio?


How can I import BoofCV in my Android Studio project? I have already looked here. I am totally confused. Please provide me a step by step guide. I appreciate your help.


Solution

  • Adding the line below to app/build.gradle should do the trick

    compile group: 'org.boofcv', name: 'android', version: '0.23'
    

    Replace 0.23 with whatever is the current version.

    UPDATE In more recent versions you need to do the following instead:

    api group: 'org.boofcv', name: 'boofcv-android', version: '0.30'