AICamera is an Android application showcasing implementations of Caffe2 models for mobile. This particular fork implements Neural Style Transfer, a unique way of applying artistic styles to photos using deep neural networks.
If you do want to build the dependencies yourself (for example to pull in more recent versions of one of the libraries), here are a few steps:
- For Caffe2, clone the main repository and execute the
build_android.shscript found in the
scripts/folder. This will produce artifacts like
build_androidfolder. Copy these under
libyuv, follow the steps here. If the build fails on macOS, consider building on Linux inside a Docker container.
All of these steps assume you have a proper Android SDK and NDK environment in place.
Building the app is as easy as downloading Android Studio and pressing the green button.
Tested successfully on Samsung Galaxy S7 and S8.