android13/hardware/rockchip/rknn-toolkit2/examples/onnx/yolov5
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
README.md initial 2024-06-22 20:45:49 +08:00
bus.jpg initial 2024-06-22 20:45:49 +08:00
dataset.txt initial 2024-06-22 20:45:49 +08:00
result_truth.jpg initial 2024-06-22 20:45:49 +08:00
test.py initial 2024-06-22 20:45:49 +08:00
yolov5s_relu.onnx initial 2024-06-22 20:45:49 +08:00

README.md

ONNX Yolo V5s

Model Source

The model used in this example come from:
https://github.com/airockchip/rknn_model_zoo

Script Usage

Usage:

python test.py

Description:

  • The default target platform in script is 'rk3566', please modify the 'target_platform' parameter of 'rknn.config' according to the actual platform.
  • If connecting board is required, please add the 'target' parameter in 'rknn.init_runtime'.

Expected Results

This example will save the result of object detection to the 'result.jpg', as follows:
result

  • Note: Different platforms, different versions of tools and drivers may have slightly different results.