App for tiny planet effect. The 'TinyPlanetMaker' app is available for free on Google Play.
TinyPlanetMaker makes use of native (C++) OpenCV and OpenCV Java API. The Java part is automatically downloaded after syncing.
For the native part you have to clone this repo:
git clone https://github.com/hollaus/opencv_libs.git opencv_native
Next you have to copy two folders from the native library to the project.
- copy
opencv_native/sdk/native/libs
toapp/src/main/jniLibs
- copy
opencv_native/sdk/native/jni/include
toapp/src/main/include
Alternatively, you can create symlinks - as written below. It is assumed that your project root folder (DocScan) and the opencv_native folder are on the same hierarchy level.
Windows:
cd app/src/main
mklink /d jniLibs ..\..\..\..\opencv_native\sdk\native\libs
mklink /d include ..\..\..\..\opencv_native\sdk\native\jni\include
Linux:
cd app/src/main
ln -s ../../../opencv_native/sdk/native/libs jniLibs
ln -s ../../../opencv_native/sdk/native/jni/include include
Markus Diem implemented the log-polar function that generates the tiny planets and designed the neat app icon.