bbox) converts annotations of specified classes to bounding boxes. Annotations would be replaced with new objects of shape
rectangle. Coordinates of bounding boxes are calculated like this:
"classes_mapping"is an object, where keys are classes of input annotations that should be trasformed into rectangles, and values are names of new classes of bounding boxes.
chairand convert them to rectangles of class
chair_bbox. Other classes will not be removed.