Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Azure Cognitive Services Handwriting Detection Bounding Box Parameters

I am currently using Microsoft Azure Cognitive Services Handwriting Detection API. The API returns a set of values for the bounding box:

{
    "boundingBox": [
      2,
      52,
      65,
      46,
      69,
      89,
      7,
      95
    ],
    "text": "dog",
    .
    .
    .

I would like to make sense of these 8 parameters. What is their significance and what do they reflect? I tried hard finding about them in Microsoft API's documentation, but of no use. Kindly help me understand what these parameters mean or link me to some place where this doubt can be cleared. Also let me know if you need any more information.

like image 457
Rohan Pillai Avatar asked May 29 '18 04:05

Rohan Pillai


1 Answers

According to this, the API returns the four corners of the box in X,Y coordinates. So:

X top left, Y top left, X top right, Y top right, X bottom right, Y bottom right, X bottom left, Y bottom left

like image 115
Maria Ines Parnisari Avatar answered Sep 21 '22 17:09

Maria Ines Parnisari