954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PDF Image Comparison

Hi Dear All
Is it possible to compare two PDF Image Files and if Name of Person is same in both documents only then we can save it to server and save the path to the Database. actually its about confirmation. But Problem is Both PDF are Images and name is situated at different pixels so is it possible. and using OCR or any other technology. there are 5000 PDF Files for both PDF1 and PDF2
I want

if (pdf1==pdf2)
            then save the path of both in the database

with some other information like id, date, time etc.Thanks in Advance...

furqan219
Junior Poster in Training
89 posts since Jun 2009
Reputation Points: 2
Solved Threads: 4
 

please search in google about OCR Control.
I hope you will find it.


Ayesha
Developer

ayesha789
Posting Pro in Training
496 posts since Jun 2009
Reputation Points: 17
Solved Threads: 7
 

Hi, i read ur message,

U can use the "FPDF" class of php..
THat will help u exactly, i will post the source code soon, not yet in my desk..

ok..take care bye..

ahmadjhoney
Newbie Poster
9 posts since Aug 2008
Reputation Points: 10
Solved Threads: 1
 

Thank you so much.
Please post source code soon.
Thanks again.

furqan219
Junior Poster in Training
89 posts since Jun 2009
Reputation Points: 2
Solved Threads: 4
 

This is a code which is available FPDF Website

Here u can find many PDF Examples like this.

You need to download fpdf.php from this above mention website.

<?php
require('fpdf.php');

$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>


May be you get some idea.

ayesha789
Posting Pro in Training
496 posts since Jun 2009
Reputation Points: 17
Solved Threads: 7
 

Thanks Ayesha for your idea.
And thanks all others.
My problem Solved.

furqan219
Junior Poster in Training
89 posts since Jun 2009
Reputation Points: 2
Solved Threads: 4
 

Hai Ayesha,

I have a PDF document which contains an empty Radio Button and another with a Filled radio button. How do i compare both with PHP

please search in google about OCR Control. I hope you will find it.

Ayesha Developer

littletom4u
Newbie Poster
1 post since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You