-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
[LineZone] - allow per class counting #790
Comments
Hey @SkalskiP, I was wondering to work on this. I have this logic in mind, pls confirm if this approach is what you guys want? Dictionaries to keep track of counts for each class
Updating per class-in and class-out count
|
Hey @SkalskiP 😀👋 This is what I was talking about. Please tell me whether this is what you want. |
Hi, @RaghavvGupta, Would that be the implementation of a current count or the total count? |
I have tried implementing per-class counting. It includes dictionaries |
@RaghavvGupta, submit PR so we can move forward with the review process. |
Hello, is this being worked on? |
Hi @caiquejjx 👋 Yes, it is. We have an outstanding PR that we need to review. |
Description
Currently, sv.LineZone provides only aggregated counts - all classes are thrown into one bucket. In the past, many users have asked us to provide more granular - per class count. This can be achieved by adding
class_in_count
andclass_out_count
dictionaries that will store per-class counts.API
Additional
The text was updated successfully, but these errors were encountered: