/ncnn-android-ultraface

ncnn for android face detector

Primary LanguageC++Apache License 2.0Apache-2.0

ncnn-android-ultraface

The lightweight face detection model

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-lib.zip or build ncnn for android yourself

step2

extract ncnn-android-vulkan-lib.zip into app/src/main/jni or change the ncnn path to yours in app/src/main/jni/Android.mk

step3

download OpenCV-android-sdk.zip,extract OpenCV-android-sdk.zip to yours workspace

change the OpenCV-android-sdk path to yours in app/src/main/jni/Android.mk

https://opencv.org/releases/

step4

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

Completed list

Reference

Example project