ui/BoundingBox.py
def make_box(self, x, y, w, h, label, src):
        """
        Create a box and add it to the manager
        :param x: x position
        :param y: y position
        :param w: Width
        :param h: Height
        :param label: Bounding box label
        :param src: Source bounding box
        :return: Graphical bounding box item
        """
        box = GraphicsBoundingBox(src)
        box.set_box(x, y, w, h)
        box.set_label(label)
        self.bounding_boxes.append(box)
        return box

        Create a box and add it to the manager
        :param x: x position
        :param y: y position
        :param w: Width
        :param h: Height
        :param label: Bounding box label
        :param src: Source bounding box
        :return: Graphical bounding box item
        
Create a box and add it to the manager
Create a box and add it to the manager
def make_box(self, x, y, w, h, label, src):
        box = GraphicsBoundingBox(src)
        box.set_box(x, y, w, h)
        box.set_label(label)
        self.bounding_boxes.append(box)
        return box
def make_box ( self , x , y , w , h , label , src ) : box = GraphicsBoundingBox ( src ) box . set_box ( x , y , w , h ) box . set_label ( label ) self . bounding_boxes . append ( box ) return box
Create a box and add it to the manager
Create a box and add it to the manager
"""
        Create a box and add it to the manager
        :param x: x position
        :param y: y position
        :param w: Width
        :param h: Height
        :param label: Bounding box label
        :param src: Source bounding box
        :return: Graphical bounding box item
        """
Graphical bounding box item
Graphical bounding box item
self
x
None
y
None
w
None
h
None
label
Bounding box label
Bounding box label
src
Source bounding box
Source bounding box