I am using Amazon Textract for Text detecting or Raw text, forms and Tables.
I am uploading a PDF for that.
I am using co-ordinates to get the value from raw text. I was successful in getting the value. But after some days, the bounding box co-ordinates for that particular block changed. Then, my logic was not working.
Do you guys have any idea why those co-ordinates are changing?
This is how I have applied my logic after identifying the co-ordinates.
if ((item.Geometry.BoundingBox.Top >= 0.92379182 && item.Geometry.BoundingBox.Top <= 0.96)
&& (item.Geometry.BoundingBox.Left >= 0.02470588 && item.Geometry.BoundingBox.Left <= 0.29)
&& (item.Geometry.BoundingBox.Height >= 0.001 && item.Geometry.BoundingBox.Height <= 0.054545)
&& (item.Geometry.BoundingBox.Width >= 0.001 && item.Geometry.BoundingBox.Width <= 0.16))
{
text = text + " " + item.Text;
}