[PolygonZone] - allow per class counting
Description
Resolves #791
Type of change
- [x] New feature (non-breaking change which adds functionality)
How has this change been tested, please provide a testcase or example of how you tested the change?
https://colab.research.google.com/drive/1RQqqMvQfyWv4fYg5vUVJfK_xt8lSQ5PQ?usp=sharing
Hi @karanjakhar 👋🏻 Thanks a lot for your interest in Supervision! I see you implemented the current class_in_count and class_out_count. In my task, I mainly meant total counts. What you create is also helpful and valuable.
Would you be willing to extend the logic and implement class_in_current_count, class_out_current_count, class_in_total_count, and class_out_total_count?
@SkalskiP Yes. I will add that also.
Awesome! Let me know once you'll be ready for review.
Hi @SkalskiP , I have made the changes. Please review.
Hi @SkalskiP I have added tests also for PolygonZone. Please review.