Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.23 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.23 KB

NanoDet NCNN Android Demo

This repo is an Android object detection demo of NanoDet using Tencent's NCNN framework.

Tutorial

Step1.

Download ncnn-android-vulkan.zip from ncnn repo or build ncnn-android from source.

Step2.

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

Step3.

Copy the NanoDet ncnn model file (nanodet_m.param and nanodet_m.bin) from models folder into demo_android_ncnn/app/src/main/assets

If you want to run yolov4-tiny and yolov5s, download them and also put in demo_android_ncnn/app/src/main/assets.

Step4.

Open demo_android_ncnn folder with Android Studio and then build it.

Screenshot

Reference