-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hello, wondering if the below line 26 in motrackers.detectors.yolo.py causes issues for anyone else.
if cv2.__version__ == '4.6.0':
- Because
import cv2 as cv, I get aNameError: name 'cv2' is not definedwhen using this file. I believe changing the line to usecvinstead ofcv2should fix the issue. - I believe the line should check for greater than or equal to
4.6.0. My version is4.8.0and I getIndexError: invalid index to scalar variable.when using the file as-is
TL;DR proposed fix:
if cv.__version__ >= '4.6.0':
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request