🛠️small fixes
This commit is contained in:
1 parent
e62937c8ce
commit
2bcd1e1dfd
2 files changed
+3
-2
No files matched your search
@@ -8,6 +8,7 @@ from supervision.detection.tools.polygon_zone import PolygonZone, PolygonZoneAnn
|
||||
from supervision.detection.utils import generate_2d_mask, mask_to_xyxy
|
||||
from supervision.draw.color import Color, ColorPalette
|
||||
from supervision.draw.utils import draw_filled_rectangle, draw_polygon, draw_text
|
||||
from supervision.file import list_files_with_extensions
|
||||
from supervision.geometry.core import Point, Position, Rect
|
||||
from supervision.geometry.utils import get_polygon_center
|
||||
from supervision.notebook.utils import plot_image, plot_images_grid
|
||||
|
||||
@@ -26,8 +26,8 @@ class Dataset:
|
||||
|
||||
def as_pascal_voc(
|
||||
self,
|
||||
images_directory_path: Optional[str],
|
||||
annotations_directory_path: Optional[str],
|
||||
images_directory_path: Optional[str] = None,
|
||||
annotations_directory_path: Optional[str] = None,
|
||||
minimum_detection_area_percentage: float = 0.0,
|
||||
maximum_detection_area_percentage: float = 1.0,
|
||||
) -> None:
|
||||
|
||||
Reference in new issue
Block a user