This repo is an Android object detection demo of NanoDet using Tencent's NCNN framework.
Download ncnn-android-vulkan.zip from ncnn repo or build ncnn-android from source.
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
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.
Open demo_android_ncnn folder with Android Studio and then build it.