ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Help with OCR
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

lorife

Italy
44 Posts

Posted - Oct 10 2022 :  06:00:12  Show Profile  Reply
Hello,

I need some help with OCR.
I have an invoice in PDF and I need to read the invoce number.
What is the best way to do it?

As it's private, I sent you an email with the invoice.

Could you help me?
Thank you.

xequte

38608 Posts

Posted - Oct 10 2022 :  17:34:57  Show Profile  Reply
Hi Lorenzo

If you OCR this document you can all the text and their respective rects returned.

The main difficulty you will have is that this is not an easily parse-able document. For example, if the document contained:

Invoice number: 12345

Then it would be easy to locate and confidently extract.

In your case, the invoice number is below the heading, e.g.



So you will need to find the position of the heading text "Numero Documento" and then infer the invoice number by its location relative to that.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: