def to_coco(self) -> list[int]:
        """
        Return the bounding box coordinates in COCO format.

        COCO format represents bounding boxes as [x_min, y_min, width, height], where:
        - (x_min, y_min) are the pixel coordinates of the top-left corner.
        - width and height define the size of the bounding box in pixels.

        Returns:
            list[int]: The bounding box coordinates in COCO format.
        """
        res = convert_bbox(self.coords, [], "voc", "coco")
        return list(map(round, res))

        Return the bounding box coordinates in COCO format.

        COCO format represents bounding boxes as [x_min, y_min, width, height], where:
        - (x_min, y_min) are the pixel coordinates of the top-left corner.
        - width and height define the size of the bounding box in pixels.

        Returns:
            list[int]: The bounding box coordinates in COCO format.
        
src/datachain/model/bbox.py