darcyai.perceptor.detected_object
Object Objects
class Object()
Class for storing detected objects.
Arguments
- class_id (
int
): The class ID. - name (
str
): The class name. - confidence (
float
): The confidence of the class. - xmin (
int
): The x-coordinate of the top left corner of the bounding box. - ymin (
int
): The y-coordinate of the top left corner of the bounding box. - xmax (
int
): The x-coordinate of the bottom right corner of the bounding box. - ymax (
int
): The y-coordinate of the bottom right corner of the bounding box.
__str__
def __str__()
Returns a string representation of the class.
Returns
str
: The string representation of the class.