The CODE fork form https://github.com/nihui/ncnn-android-yolov5
The Deeplabv3+ object Person Segmentation
this is a sample ncnn android project, it depends on ncnn library only
https://github.com/Tencent/ncnn
https://github.com/Tencent/ncnn/releases
download ncnn-android-vulkan-lib.zip or build ncnn for android yourself
extract ncnn-android-vulkan-lib.zip into app/src/main/jni or change the ncnn path to yours in app/src/main/jni/CMakeLists.txt
open this project with Android Studio, build it and enjoy!
Model | CPU | GPU |
---|---|---|
deeplabv3+ | 434.59ms | 454.16ms |
Original | Result |
---|---|