Detect
Functionality for vizualization results from MediaCatch Vision API
Bases: BaseViz
Class to visualize detection results.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
file_path
|
str
|
Path to file. |
required |
results
|
list[dict[str, Any]]
|
Results from Medicatch Vision API. |
required |
output_path
|
str
|
Output path. |
required |
color
|
tuple[int, int, int] | None
|
Set a fixed color for all bounding boxes (r, g, b). Defaults to None. |
None
|
min_conf
|
float
|
Minium confidence threshold. Defaults to 0.5. |
0.5
|
classes
|
list[str]
|
List of classes to overwrite model classes labels. Defaults to None. |
None
|