This is a code base for yolov5 cpp inference.
This code is built for android arm v8 test.
NDK Version: r16b
-
Download and set NDK path in your environment.
-
Build opencv android armv8 and put the .a files in libs/opencv.
-
Convert yolov5 onnx file to rknn file with 3 output layers.
-
Run build.sh.
./build.sh
This code will build a execuable file in the build dir.
PRs accepted.
MIT © Aoruxue