Demo Source Code

The Python source code of this demo is provided for reference purposes only.

After installing VisionFive 2 Debian object detection package, the dynamic library, header files, and application source code are also installed in the VisionFive 2 Debian. Developers can engage in secondary development as needed to unlock more possibilities.

  • OpenCV dynamic library path:
    /usr/lib/riscv64-linux-gnu/
  • OpenCV head file path:
    /usr/include/opencv4/
  • The third-party application sources:
    /usr/share/opencv4/defect_detection/defect_detection.cpp
  • The third-party application sources: