Challenging stuff.. Read TIFF image and validate if the format aligned properly

  1. Read TIFF image
  2. Check for specific text and its value say: Say Text - Invoice Number and value is dynamic data.
    The text will be kept inside a small rectangular box
  3. Validate if the text & values is properly kept inside the rectangular box. i.e., the business rule is " Data should not come outside the box "
  4. If its invalid, how many character are move outside the box…
  5. Email the starting and ending x,y coordinates to the user.

OCR didn’t helped me for format issue identification