Hmm, that's odd.

Can you post an example image and .html file that are included in
this process? You're right, there's no text embedded in that pdf...

On Mon, Jan 27, 2014 at 04:53:32AM -0800, peiman F. wrote:
> ok . thank you
> i got the out put file but there is 2 problem
> 1-the file page order is different from original
> 2-file is not search able!
> i will paste my steps here :
> 1)
> make image from file :
> gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -r300 -dTextAlphaBits=4 -o 
> out_%04d.
> jpg
> 
> 2)
> use tesseract for ocr the image
>   tesseract -l ara -psm 6 $f ${f%.*} hocr
> 
> 3) rename ocr output file from *.html to *.hocr
> 
> 4)save images and .hocr files in a folder with same names
> 
> 5)run hocr-pdf like this
> ./hocr-pdf 1 > a.pdf
> 
> the output file is uploaded here:
> 
> http://nilzoom.com/files/a.pdf
> 
> it have different page order from my first file (1.pdf) and not searchable 
> yet!
> 
> is something wrong ?
> 
> --
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>  
> ---
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email
> to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to