jcopy-paste an image provides different ocr results

21 views
Skip to first unread message

Youcef

unread,
May 18, 2017, 7:38:30 AM5/18/17
to tesseract-ocr
Hi everybody,

I'm simple copy paste an image in linux like that:

cp 7703_062.3B.tif 7703_062_copy.3B.tif

and then run tesseract for each with exactly same command line :

tesseract/api/tesseract --psm 6 -l spa 7703_062.3B.tif 7703_062.3B tesseract/tessdata/configs/unlv

tesseract/api/tesseract --psm 6 -l spa 7703_062_copy.3B.tif 7703_062_copy.3B tesseract/tessdata/configs/unlv

However the OCR results are different.
I opened the two images with python opencv and find that pixels are exacly the same.
It looks like some tiff tags are not copied well using 'cp', am I wrong?
How to copy-paste a tif image without any loss in tags?
Thanks for any help.

Regards
Youcef

Youcef

unread,
May 19, 2017, 12:44:37 PM5/19/17
to tesseract-ocr

Ok i got it : i should copy paste the uzn file too!
Reply all
Reply to author
Forward
0 new messages