We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hey there ! I try to use tracker.update(detections) but get this error.
How can I solve this problem?
this is my code
def callback(frame: np.ndarray, _: int) -> np.ndarray: results = model(frame)[0] # print(results.speed) detections = sv.Detections.from_ultralytics(results) # detections = tracker.update_with_detections(detections) detections_tracks = tracker.update(detections) print(detections_tracks)
this is the error I got
TypeError OCSort.update() missing 1 required positional argument: '_' File "E:\23SCIENCE\2024-6-17-CeleganViewer\C.elegan-test\trackerMain-ocrack.py", line 127, in callback detections_tracks = tracker.update(detections) File "E:\23SCIENCE\2024-6-17-CeleganViewer\C.elegan-test\trackerMain-ocrack.py", line 277, in <module> sv.process_video( TypeError: OCSort.update() missing 1 required positional argument: '_'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hey there !
I try to use tracker.update(detections) but get this error.
How can I solve this problem?
this is my code
this is the error I got
The text was updated successfully, but these errors were encountered: