You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the C++ version of OpenCV Zoo, which currently provides a demo and benchmark on YuNet.
Build for RISC-V arch
Xuantie C906 CPU (Allwinner D1 board)
The Allwinner D1 development board [CN][EN] is equiped with the Xuantie C906 CPU. Xuantie C906 is a RISC-V architecture CPU with RVV intrinsic v0.7.1 support, which is developed by T-Head (平头哥半导体有限公司).
Steps to build OpenCV Zoo for Xuantie C906 CPU (Allwinner D1 board):
Cross compile this repo using the downloaded toolchain:
cd$opencv_zoo_cpp
mkdir build &&cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_PREFIX_PATH=/path/to/opencv_riscv_install \
-D CMAKE_TOOLCHAIN_FILE=/path/to/opencv/platforms/linux/riscv64-071-gcc.toolchain.cmake ..
make # After this you will get two binary files: detect, benchmark
# Shell on the boardcd /root/
./detect -i=<image_name> -m=face_detection_yunet_2021sep.onnx # Run ./detect to get help
./benchmark -i=<image_name> -m=face_detection_yunet_2021sep.onnx # Run ./benchmark to get help