Android support
Android Support
BoofCV will work without modification on Android systems, however to call image processing routines you will need to convert Bitmap into BoofCV image types. Converting image using pixel RGB values is extremely slow, instead use the optimized conversion routines. These routines are provided as an optional add-on in the integration directory. These routines have been tested on Android 2.3.3 API and will most likely work on even earlier versions.
A free diagnostic Android app is available in the Google Play store. The app will run a series of benchmarks and can be used to visually inspect the correctness of conversion routines. To help BoofCV development please submit the results. See the wiki link for more information on the benchmark app.
Compiling
Source code for Android integration can be found in the 'boofcv/integration/android' directory. An ant script is provided for compiling the jar file, but needs to be modified so that it points towards your Android API installation. A pre-compiled jar is provided at the usual download location.
Problems?
- If you try to compile BoofCV in an Android you will get errors due to the swing code. The solution to this problem is to not compile it inside the Android app and instead just link to its jars.