OpenCV on Android Using Eclipse

后端 未结 5 390
忘掉有多难
忘掉有多难 2020-12-08 17:41

I\'m having a hell of a time importing OpenCV into my Android project. I\'ve already tried this tutorial:

http://opencv.itseez.com/doc/tutorials/introduction/androi

相关标签:
5条回答
  • 2020-12-08 18:24

    You should download the latest OpenCV 4 Android here:

    http://opencv.org/downloads.html

    And read these tutorials to get you started (in this order roughly):

    Introduction into Android Development

    OpenCV4Android SDK

    Android Development with OpenCV

    OpenCV4Android Reference

    0 讨论(0)
  • 2020-12-08 18:27

    If you want to use OPEN CV in your android apps, for example if you need to read some strings from an image in your android and you are new in using OPEN CV. Then download the pre-built OpenCV library for Android from here:
    http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.3/

    After downloading, import OpenCV-2.3.1 into Eclipse using File-->Import...-->General-->Existing Project Into Workspace.

    In your project's properties, Under Android, add the OpenCV2.3.1 library (press Add.. on the right and select OpenCV2.3.1).

                Good luck!
    
    0 讨论(0)
  • 2020-12-08 18:38

    installed the Win-superpack? I recommend getting the latest .tar, extract and use it. Worked for me.

    0 讨论(0)
  • 2020-12-08 18:39

    You might want to take a look at this project: https://github.com/billmccord/OpenCV-Android

    I was able to run opencv applications on my android phone with the help of this port.

    0 讨论(0)
  • 2020-12-08 18:45

    I posted about this on a duplicate question. Make sure you have the android NDK installed! Or, consider using JavaCV instead. It is much easier to install.

    0 讨论(0)
提交回复
热议问题