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
PolygonZone
andPolygonZoneAnnotator
🔥👉 Code example
vs.Detections
filtering with pandas-like API.YOLOv5
andYOLOv8
models.🚀 Added
supervision.get_polygon_center
function - takes in a polygon as a 2-dimensionalnumpy.ndarray
and returns the center of the polygon as a Point objectsupervision.draw_polygon
function - draw a polygon on a scenesupervision.draw_text
function - draw a text on a scenesupervision.ColorPalette.default()
- class method - to generate defaultColorPalette
supervision.generate_2d_mask
function - generate a 2D mask from a polygonsupervision.PolygonZone
class - to define polygon zones and validate ifsupervision.Detections
are in the zonesupervision.PolygonZoneAnnotator
class - to drawsupervision.PolygonZone
on scene🌱 Changed
VideoInfo
API - change the property nameresolution
->resolution_wh
to make it more descriptive; convertVideoInfo
todataclass
process_frame
API - change argument nameframe
->scene
to make it consistent with other classes and methodsLineCounter
API - rename classLineCounter
->LineZone
to make it consistent withPolygonZone
LineCounterAnnotator
API - rename classLineCounterAnnotator
->LineZoneAnnotator
🏆 Contributors
This discussion was created from the release 0.2.0.
Beta Was this translation helpful? Give feedback.
All reactions