Randall Zhuo b7c3b5c3c6 Update rknn-toolkit2/rknn-toolkit-lite2 to 1.5.2
Signed-off-by: Randall Zhuo <randall.zhuo@rock-chips.com>
2023-08-28 14:26:26 +08:00
..
2021-03-03 14:16:04 +08:00
2021-03-03 14:16:04 +08:00

Darknet YOLO V3

Model Source

The model used in this example come from the following open source projects:
https://pjreddie.com/darknet/yolo/
The 'yolov3.cfg' changed the width & height from 608 to 416 on the basis of https://github.com/pjreddie/darknet/blob/master/cfg/yolov3.cfg

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.