Skip to content

Commit a810584

Browse files
author
leafqycc
committed
fix
1 parent 03be009 commit a810584

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
# 使用说明
1111
### 演示
12-
* 将仓库拉取至本地, 并将Releases中的演示视频720p60hz.mp4放于video目录下后运行main.py查看演示示例
13-
* 运行rkcat.sh可以查看当前温度与NPU占用
12+
* 将仓库拉取至本地, 并将Releases中的演示视频放于项目根目录下, 运行main.py查看演示示例
1413
* 切换至root用户运行performance.sh可以进行定频操作(约等于开启性能模式)
14+
* 运行rkcat.sh可以查看当前温度与NPU占用
1515
### 部署应用
1616
* 修改main.py下的modelPath为你自己的模型所在路径
1717
* 修改main.py下的cap为你想要运行的视频/摄像头

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# 图像处理函数,实际应用过程中需要自行修改
55
from func import myFunc
66

7-
cap = cv2.VideoCapture('./video/720p60hz.mp4')
7+
cap = cv2.VideoCapture('./720p60hz.mp4')
88
# cap = cv2.VideoCapture(0)
99
modelPath = "./rknnModel/yolov5s_relu_tk2_RK3588_i8.rknn"
1010
# 线程数, 增大可提高帧率

0 commit comments

Comments
 (0)