Replies: 2 comments
-
Hi @Rasantis 👋🏻 Let me convert this issue into a discussion and move it to the Q&A section. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @Rasantis
# OLD
line_zone_annotator.annotate(frame=frame, line_counter=line_zone_E)
line_zone_annotator.annotate(frame=frame, line_counter=line_zone_W)
line_zone_annotator.annotate(frame=frame, line_counter=line_zone_N)
line_zone_annotator.annotate(frame=frame, line_counter=line_zone_S)
# NEW
frame = line_zone_annotator.annotate(frame=frame, line_counter=line_zone_E)
frame = line_zone_annotator.annotate(frame=frame, line_counter=line_zone_W)
frame = line_zone_annotator.annotate(frame=frame, line_counter=line_zone_N)
frame = line_zone_annotator.annotate(frame=frame, line_counter=line_zone_S)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Question
thats my code:
`
import cv2
from ultralytics import YOLO
import supervision as sv
import sys
def main(VIDEO_SOURCE):
if len(sys.argv) == 2:
main(sys.argv[1])`
The lines of the counting are not being displayed in the frame...
Additional
No response
Beta Was this translation helpful? Give feedback.
All reactions