OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Compare two pdfs for the same figure

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Guest
The essence of my problem: I have a lot of incoming PDFs, but for work I don't need all of them, only PDFs from a certain supplier. I defined keywords and coordinates of keywords that only this supplier has, and drew lines between the coordinates. I got a figure by which I can compare documents and filter out unnecessary ones. That is, this figure is a kind of template by which I will find the files I need. I saved this figure template as a pdf file. For an example, look below.

enter image description here

Next, I draw the figures (according to the keywords and coordinates) on each PDF file that came to me and look for the figure I need (In this example, this word "INVOICE").

enter image description here

And now the question: how can I compare the first pdf (template) and the second one to understand whether the second pdf matches the required template or not?

I searched for information on the Internet but found nothing similar. Perhaps you could share links/code.

I do not exclude the possibility that I am using the right solution to solve my problem, so I will be glad to hear ideas on this matter.
<p>The essence of my problem: I have a lot of incoming PDFs, but for work I don't need all of them, only PDFs from a certain supplier. I defined keywords and coordinates of keywords that only this supplier has, and drew lines between the coordinates. I got a figure by which I can compare documents and filter out unnecessary ones. That is, this figure is a kind of template by which I will find the files I need. I saved this figure template as a pdf file. For an example, look below.</p>
<p><a href="https://i.sstatic.net/V0rzIcmt.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/V0rzIcmt.jpg" alt="enter image description here" /></a></p>
<p>Next, I draw the figures (according to the keywords and coordinates) on each PDF file that came to me and look for the figure I need (In this example, this word "INVOICE").</p>
<p><a href="https://i.sstatic.net/WDmIcZwX.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/WDmIcZwX.jpg" alt="enter image description here" /></a></p>
<p>And now the question: how can I compare the first pdf (template) and the second one to understand whether the second pdf matches the required template or not?</p>
<p>I searched for information on the Internet but found nothing similar. Perhaps you could share links/code.</p>
<p>I do not exclude the possibility that I am using the right solution to solve my problem, so I will be glad to hear ideas on this matter.</p>
 

Latest posts

P
Replies
0
Views
1
Paras Chouhan
P
Top