1 | initial version |
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.
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++.
2 | No.2 Revision |
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.
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++.
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.