dataeval.utils.data.to_object_detection_dataset¶
-
dataeval.utils.data.to_object_detection_dataset(images, labels, bboxes, metadata, classes, name=
None)¶ Helper function to create custom ObjectDetectionDataset classes.
- Parameters:¶
- images : Array | Sequence[Array]¶
The images to use in the dataset.
- labels : Array | Sequence[Array] | Sequence[Sequence[int]]¶
The labels to use in the dataset.
- bboxes : Array | Sequence[Array] | Sequence[Sequence[Array]] | Sequence[Sequence[Sequence[float]]]¶
The bounding boxes (x0,y0,x1,y0) to use in the dataset.
- metadata : Sequence[dict[str, Any]] | dict[str, Sequence[Any]] | None¶
The metadata to use in the dataset.
- classes : Sequence[str] | None¶
The classes to use in the dataset.
- name : str | None¶
- Return type:¶
ObjectDetectionDataset