supervision icon indicating copy to clipboard operation
supervision copied to clipboard

[PolygonZone] - allow per class counting

Open karanjakhar opened this issue 2 years ago • 6 comments

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

karanjakhar avatar Jan 31 '24 02:01 karanjakhar

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 avatar Jan 31 '24 08:01 SkalskiP

@SkalskiP Yes. I will add that also.

karanjakhar avatar Jan 31 '24 09:01 karanjakhar

Awesome! Let me know once you'll be ready for review.

SkalskiP avatar Jan 31 '24 09:01 SkalskiP

Hi @SkalskiP , I have made the changes. Please review.

karanjakhar avatar Jan 31 '24 16:01 karanjakhar

Hi @SkalskiP I have added tests also for PolygonZone. Please review.

karanjakhar avatar Feb 09 '24 10:02 karanjakhar