roboflow / supervision

We write your reusable computer vision tools. 💜
https://supervision.roboflow.com
MIT License
24.33k stars 1.81k forks source link

text color on Start and End Point Circles in LineZone annotator #79

Closed maddust closed 1 year ago

maddust commented 1 year ago

Search before asking

Bug

just a minor thing but i noticed that circles at the end and start of the Line Counters are getting the Text Color instead of the Line color . if im not mistaken the circles colors should match the Lines Right?

Also i suggest if it's possible to add some "roundness" to the text boxes of the LineZone annotator and PolygonZone annotator IMO it looks more appealing than a plain rectangle

cv2.circle( frame, line_counter.vector.start.as_xy_int_tuple(), radius=5, color=self.text_color.as_bgr(), thickness=-1, lineType=cv2.LINE_AA, ) cv2.circle( frame, line_counter.vector.end.as_xy_int_tuple(), radius=5, color=self.text_color.as_bgr(), thickness=-1, lineType=cv2.LINE_AA, )

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

github-actions[bot] commented 1 year ago

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.

SkalskiP commented 1 year ago

That color scheme was actually done on purpose 🤣, but you are right; we should make that customizable. I'll think about the potential solution, and we will make that happen in the neer future. Maybe with the next release.