01-26-2018 07:16 AM
Hello!
Looks like Alfresco (Community 201707) have some trouble with searchable word selection into OCRed pdf files?
See picture.
See some shift of selection, not really under the real words and letters. Its unusable if need select and copy/paste some word from OCR pdf.
Its a bug (please confirm somebody) or can be tuned for normal look?
On picture also Chrome and Adobe Reader window with same file and normal selection directly under letters. So its looks like not OCR engine problem but Alfresco rendering.
01-26-2018 07:55 AM
Its the bug of the tool which you are using and not of alfresco.For example , if you are using pdfsandwich for performing ocr than its bug of pdfsandwich. Not sure which tool you are using.
Basically when you perform the OCR, what every tool does is creating a text from the pdf/image and put it on behind the what we visually looking at.So it often happens that the coordinates become bit of wrong.
OCR depends on the quality of image as well.It is totally depends on the capability of the OCR Tool.
01-26-2018 09:06 AM
My first thinking - ocr tool problem (yes its sandwich). But I specially make two other windows with Chrome pdf rendering engine and Adobe Reader engine with same pdf. As you can see shift problem only in Alfresco Document Details view.
I will try just add clear pdf maked in other ocr (if find it) or directly from pdf maker. But think problem not gone.
01-26-2018 09:13 AM
Can you upload same pdf document in forum..So that i can check it in my system....Thank you
01-26-2018 09:19 AM
Done. Thanks
01-26-2018 08:35 AM
As you showed with your screenshots, it seems to be a problem with the pdf viewing component in Alfresco. The Browser PDF Components seem to be aligned better.
What OS and Version of Alfresco are you running? Maybe it's a problem with the installed Fonts...
01-26-2018 09:17 AM
Community Edition 201707 GA Ubuntu 16.04 (server and client)
Yes, browser show all right.
Adobe Reader - ok.
Usability of selection poor - select visually one word but really got word from upper string if strings have little space..
OCRed pdf added, please try it on other system, viewer or Alfresco.
P.S. forgot.. the same bad view in Opera (also Chrome engine) in Afresco under Windows OS client.
01-29-2018 01:00 AM
So anybody can confirm selection problem in OCRed pdf? (TestOCR.pdf in first message)
01-29-2018 01:06 AM
yes,
I also have the problem with the "offset" when select Text of your PDF
01-29-2018 04:33 AM
Ok, thank you, its about "my pdf". What about another "correct pdf" may be you have it?
Just need to prove its global or local problem.
Explore our Alfresco products with the links below. Use labels to filter content by product module.