darcyai.perceptor.detected_class

Class Objects

class Class()

Class to store detected class information.

Arguments

  • class_id (int): The class ID.
  • name (str): The class name.
  • confidence (float): The confidence of the class.

__str__

def __str__()

Returns a string representation of the class.

Returns

str: The string representation of the class.