bboxconverter.core.bbox
Module Contents
Classes
- class bboxconverter.core.bbox.BBox(class_name, file_path, confidence=None, image_width=None, image_height=None)
- class_name: str
- file_path: str
- confidence: float
- image_width: int
- image_height: int
- __str__() str
Return str(self).
- __eq__(o: object) bool
Return self==value.
- class bboxconverter.core.bbox.TLWH_BBox(class_name, file_path, x_min, y_min, width, height, confidence=None, image_width=None, image_height=None)
Bases:
BBox
- x_min: int
- y_min: int
- width: int
- height: int
- classmethod from_TLBR(bbox) None
- classmethod from_CWH(bbox) None
- __str__() str
Return str(self).
- to_dict() dict
- __eq__(o: object) bool
Return self==value.
- class bboxconverter.core.bbox.TLBR_BBox(class_name, file_path, x_min, y_min, x_max, y_max, confidence=None, image_width=None, image_height=None)
Bases:
BBox
- x_min: int
- y_min: int
- x_max: int
- y_max: int
- classmethod from_TLWH(bbox) None
- classmethod from_CWH(bbox) None
- __str__() str
Return str(self).
- to_dict() dict
- __eq__(o: object) bool
Return self==value.
- class bboxconverter.core.bbox.CWH_BBox(class_name, file_path, x_center, y_center, width, height, confidence=None, image_width=None, image_height=None)
Bases:
BBox
- x_center: int
- y_center: int
- width: int
- height: int
- classmethod from_TLBR(bbox) None
- classmethod from_TLWH(bbox) None
- __str__() str
Return str(self).
- to_dict() dict
- __eq__(o: object) bool
Return self==value.