SkillAgentSearch skills...

Yolov5 Sort RKNN

This repo mainly contains documents on how to deploy a yolov5 model with tracking algorithm (Sort) on RK3588/RK3588s

Install / Use

npx skills add Rhyme0730/Yolov5-Sort-RKNN

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Category

Operations

Supported Platforms

Universal

README

Run yolov5-sort on RK3588

Installation

Tips: If you want to integrate yolov5-sort with ROS/ROS2, using conda env is not recommended.

We use ROS2 Humble on Ubuntu 22.04 with default python version 3.10. You should be concerned about the conflict between different package versions.

Step 1: Install RKNN-Toolkit-Lite and Runtime package

cd Installation
pip install rknn_toolkit_lite2-1.5.2-cp310-cp310-linux_aarch64.whl
cp librknnrt.so /usr/lib

Step 2: Install essential package for Sort

pip install -r requirements.txt

If there are errors, follow the error instruction to install other packages

Step 3: Connect the stereo camera and run yolov5-sort on RK3588|RK3588s

cd ..
cd Code
python3 main.py

If you want to check the NPU load, open another shell and run

sudo bash rkcat.sh

Parameters Setting

| Name | Description | | ----- | ----------- | | OBJ_THRESH | Threshold for detecting | | NMS_THRESH | Non-maximum Suppression | | TPEs | The number of threads | | modelPath | .rknn model |

Reference

rknn-multi-threaded
rknn-multi-threaded-3588

Related Skills

View on GitHub
GitHub Stars5
CategoryOperations
Updated2mo ago
Forks0

Languages

Python

Security Score

70/100

Audited on May 24, 2026

No findings