Search code examples
deep-learningcomputer-visionobject-detectionbounding-box

Relation between bounding box coordinates in object detection


In object detection, what is the difference between the set of coordinates left top right bottom and the set xmin ymin xmax ymax. Are they the same thing? If not, is it possible to convert from one set to another?


Solution

  • Yeah, they are the same thing as mentioned by @danyfang. These are very useful as we have the coordinates of a polygon and you can find out the center of the box, sides of the box, area of the box and all the operations performed in identifying the different characteristics of a polygon and hence an object.

    left topmost point = xmin, ymin

    right bottommost point = xmax, ymax

    top rightmost point = xmax, ymin

    left bottommost point = xmin, ymax

    Hope this helps. Cheers.