androidopencvjavacvandroid-ffmpeg

JavaCV in Android


I downloaded JavaCV-1-3-1.

Now I have 2 questions:

  1. How can I import JavaCV to Android Studio for using?

  2. Can be used from FFMPEG commands with JavaCV?


Solution

  • To import java cv add this to gradle

     dependencies {
           compile 'org.bytedeco:javacv:+'
    compile 'org.bytedeco.javacpp-presets:opencv:3.0.0-1.1:android-x86'
    compile 'org.bytedeco.javacpp-presets:ffmpeg:2.8.1-1.1:android-x86'
    compile 'org.bytedeco.javacpp-presets:opencv:3.0.0-1.1:android-arm'
    compile 'org.bytedeco.javacpp-presets:ffmpeg:2.8.1-1.1:android-arm' 
        }