Source Code

The Python source code of the object detection demo programs is provided for reference purposes only.

After installing VisionFive 2/VisionFive 2 Lite Debian object detection package, the dynamic library, header files, and application source code are also installed in the VisionFive 2/VisionFive 2 Lite Debian. Developers can engage in secondary development as needed to unlock more possibilities.
  • OpenCV dynamic library:
    /usr/lib/riscv64-linux-gnu/
  • OpenCV head file:
    /usr/include/opencv4/
  • Third-party application sources:
    /usr/share/doc/opencv-doc/examples/dnn/object_detection.cpp
    /usr/share/doc/opencv-doc/examples/cpp/qrcode.cpp
    /usr/share/doc/opencv-doc/examples/python/qrcode.py
    /usr/share/opencv4/defect_detection/defect_detection.cpp