LightMetrics interview question

How Bounding boxes are created in a particular image.