generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from roboflow/feature/polygon-zone
feature/polygon-zone
- Loading branch information
Showing
21 changed files
with
420 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Detections | ||
|
||
:::supervision.detection.core.Detections |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## generate_2d_mask | ||
|
||
:::supervision.detection.utils.generate_2d_mask |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
Utilities for drawing on images. | ||
|
||
## Draw Line | ||
## draw_line | ||
|
||
:::supervision.draw.utils.draw_line | ||
|
||
## Draw Rectangle | ||
## draw_rectangle | ||
|
||
:::supervision.draw.utils.draw_rectangle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Utilities to help you build computer vision projects in notebook environments. | ||
## show_frame_in_notebook | ||
|
||
:::supervision.notebook.utils.show_frame_in_notebook |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
__version__ = "0.1.0" | ||
__version__ = "0.2.0" | ||
|
||
from supervision.detection.core import BoxAnnotator, Detections | ||
from supervision.detection.polygon_zone import PolygonZone, PolygonZoneAnnotator | ||
from supervision.detection.utils import generate_2d_mask | ||
from supervision.draw.color import Color, ColorPalette | ||
from supervision.draw.utils import draw_filled_rectangle, draw_polygon, draw_text | ||
from supervision.geometry.core import Point, Position, Rect | ||
from supervision.geometry.utils import get_polygon_center | ||
from supervision.notebook.utils import show_frame_in_notebook | ||
from supervision.video import ( | ||
VideoInfo, | ||
VideoSink, | ||
get_video_frames_generator, | ||
process_video, | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.