nabang1010 / YOLOv8_Object_Tracking_TensorRT

YOLOv8 Object Tracking TensorRT
https://nabang1010.com/2024/02/11/YOLOv8-Object-Tracking-TensorRT/
MIT License
8 stars 3 forks source link

There is an error when test the sample video? #1

Closed lovechang1986 closed 3 months ago

lovechang1986 commented 3 months ago

Hi, I have test the install on jetson orin nano, but when I try the sample video, error below:

File "yolov8_deepsort_trt.py", line 105 in main frame = draw_roi(frame) Name Error: name 'draw_roi' is not defined??

Thanks your wanderful repo.

nabang1010 commented 3 months ago

oh, this is one function to draw all roi using to count object (i have removed it). You can comment this line and it can run normally

# frame = draw_roi(frame)

lovechang1986 commented 3 months ago

Thanks, It works for me.