Using custom modal with line_zone #1470
ravinpatel
started this conversation in
Built with supervision
Replies: 1 comment 9 replies
-
Hi @ravinpatel 👋 How large are the objects relative to the line? How LineZone works is that it computes notable points on the object and checks that ALL of them cross the line. Be default, I'd recommend changing it to |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to use my own custom modal with
line_zone.trigger
, it paints the line on the video however it doesn't pick up any objects moving past the line.Here is my code:
the modal is first built like this:
Here is me tracking the detections which work fine however line zone is never triggered and nothing is counted:
supervision: 0.22.0
I'm quite new to CV and Roboflow but I tried to follow blogs/videos but no results.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions