nihui / ncnn-android-styletransfer

The style transfer android example
90 stars 20 forks source link
android arm cpu deep-learning gpu ncnn neural-network styletransfer vulkan

ncnn-android-styletransfer

The style transfer android example

this is a sample ncnn android project, it depends on ncnn library only

https://github.com/Tencent/ncnn

how to build and run

step1

https://github.com/Tencent/ncnn/releases

download ncnn-android-vulkan.zip or build ncnn for android yourself

step2

extract ncnn-android-vulkan.zip into app/src/main/jni or change the ncnn_DIR path to yours in app/src/main/jni/CMakeLists.txt

step3

open this project with Android Studio, build it and enjoy!

screenshot