0.2.0 #17
SkalskiP
announced in
Announcements
0.2.0
#17
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[0.2.0] - 2023-02-02
🔪 Killer features
PolygonZoneandPolygonZoneAnnotator🔥👉 Code example
vs.Detectionsfiltering with pandas-like API.YOLOv5andYOLOv8models.🚀 Added
supervision.get_polygon_centerfunction - takes in a polygon as a 2-dimensionalnumpy.ndarrayand returns the center of the polygon as a Point objectsupervision.draw_polygonfunction - draw a polygon on a scenesupervision.draw_textfunction - draw a text on a scenesupervision.ColorPalette.default()- class method - to generate defaultColorPalettesupervision.generate_2d_maskfunction - generate a 2D mask from a polygonsupervision.PolygonZoneclass - to define polygon zones and validate ifsupervision.Detectionsare in the zonesupervision.PolygonZoneAnnotatorclass - to drawsupervision.PolygonZoneon scene🌱 Changed
VideoInfoAPI - change the property nameresolution->resolution_whto make it more descriptive; convertVideoInfotodataclassprocess_frameAPI - change argument nameframe->sceneto make it consistent with other classes and methodsLineCounterAPI - rename classLineCounter->LineZoneto make it consistent withPolygonZoneLineCounterAnnotatorAPI - rename classLineCounterAnnotator->LineZoneAnnotator🏆 Contributors
This discussion was created from the release 0.2.0.
Beta Was this translation helpful? Give feedback.
All reactions