Ask Your Question

Revision history [back]

  1. There are several sample applications and tutorials distributed with OpenCV4Android SDK. Start from Tutorial-1 application. It helps you to initialize OpenCV and get frames from camera. There are reference manual and some introduction tutorials for beginners. On Android you can use both Java and C++ API. Use Tutorial-3 app as an example of native calls. You can use any C++ functions available in desktop OpenCV except some parts of Highgui module related to window management. Video decoding and encoding are not supported also.

  2. Most, but not all OpenCV API are wrapped to Java. So you can use Java as base language. But in some cases to achieve performance you need to use C++.

  1. There are several sample applications and tutorials distributed with OpenCV4Android SDK. Start from Tutorial-1 application. It helps you to initialize OpenCV and get frames from camera. There are reference manual and some introduction tutorials for beginners. On Android you can use both Java and C++ API. Use Tutorial-3 app as an example of native calls. You can use any C++ functions available in desktop OpenCV except some parts of Highgui module related to window management. Video decoding and encoding are not supported also.

  2. Most, but not all OpenCV API are wrapped to Java. So you can use Java as base language. But in some cases to achieve performance you need to use C++.

  3. Approach for obstacle detection depends on situation. You can tries some algorithms from OpenCV Video module. There is no any tutorials for it, reference manual only.