Search found 167 matches: ocr

Return to advanced search

Re: 3rd party c wrapper functions for harbour

... //-----------------------------------------------------------#pragma BEGINDUMP#include <hbapi.h>#include <windows.h>//#include <tocrdll.h>#include <tocruser.h>#include <tocrerrs.h>typedef struct _TOCRProcessOptions{    long        StructId;    short       InvertWholePage;  ...
by reinaldocrespo
Sun Mar 26, 2017 2:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7419

3rd party c wrapper functions for harbour

Hello forum; I'm trying to use a 3rd party library .dll to OCR tif images. I chose Transym http://www.transym.com . In order to access their functions I've written .c wrappers. Currently my sample app GPFs. Can someone help with harbour's ...
by reinaldocrespo
Sat Mar 25, 2017 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7419

Re: OCR for scanned documents

Hi Reinaldo, not for me, I don't want to deal with those big, obsolete multi page picture file monsters. :wink: Already my standard viewer can't show me, what is in those files. On the other side I need no API. I have made good experiences with CL Tools such as GhostScript, calibre (epub-convert/epu...
by frose
Wed Mar 08, 2017 7:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

It would make a lot more sense to fix or find how to use Tesseract API, don't you think?

Renaldo.
by reinaldocrespo
Tue Mar 07, 2017 3:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

Hi Reinaldo,

but you can convert the tiffs in png, jpg, or other picture format before OCRing!?
For this you can use ImageMagick like this:

    - split multi page split: magick.exe <FileName>.tiff -scene 1 <FileName>%d.tif
    - convert to png: magick.exe convert *.tiff *.png
Frank
by frose
Tue Mar 07, 2017 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

... config file. Possible values:         //1 -Automatic page segmentation with OSD          //3 -Fully automatic page segmentation, but no OSD, or OCR         //TessBaseAPIReadConfigFile( handle, "tessapi_config" )         //TessBaseAPISetVariable( handle, "tessedit_pageseg_mode", ...
by reinaldocrespo
Mon Mar 06, 2017 4:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

Hi Reinaldo, here my experiences with tesseract so far, perhaps it helps in some cases: - I want direct output of searchable pdf - not only hOCR -, possible with version 3.03 and higher - I want to run tesseract on windows engines, so I was looking after windows bins version 3.03 or higher - ...
by frose
Mon Mar 06, 2017 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

I would like to see how you do it.
Is the identifier in a certain area of the documents. In the past if have cut out that area of document and performed OCR on just that area.
Much less memory needed and much less invalid conversion of text.
by Gale FORd
Fri Mar 03, 2017 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

... .tif scanned documents. Results are about 80% accurate. I need better than that. For tesseract to be more accurate for the type of documents I'm OCRing I would need to change psm mode to 3 -which is default from command line. Changing PSM to 3 from API causes the OCR engine to break with runtime ...
by reinaldocrespo
Fri Mar 03, 2017 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

... for version 3.05 and 4.00. With pdfImages (part of xpdfbin) and/or ImageMagick and pdftk you can realise all necessary jobs before and after the OCR-process.
by frose
Fri Mar 03, 2017 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: OCR for scanned documents

EZTwain has built in supports for Transym OCR Software's TOCR. I have used it and is pretty straight forward, especially if you are using EZTwain already. It is not free so that might be a problem. Hey Gale; What exactly do I need to purchase ...
by reinaldocrespo
Thu Mar 02, 2017 7:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OCR for scanned documents
Replies: 13
Views: 4387

Re: FWSavePreviewToPDF 32-bit vs. 64-bit

... you wrote that you were interested in copying text from prds. AFAIK, that cannot be done if the pdf is made of JPGs, unless you use some kind of OCR or so to do the conversion. Am I wrong?
by Carlos Mora
Sat Feb 04, 2017 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWSavePreviewToPDF 32-bit vs. 64-bit
Replies: 24
Views: 6174

Re: Gale Ford's scanning, barcode, and ocr libraries

Good morning Otto,

you must use hbzebra library:

Code: Select all  Expand view
https://github.com/harbour/core/blob/master/contrib/hbzebra/qrcode.c


Good luck !

Best regards,
by Baxajaun
Sun Nov 27, 2016 4:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gale Ford's scanning, barcode, and ocr libraries
Replies: 2
Views: 681

Re: Gale Ford's scanning, barcode, and ocr libraries

It does not support QR. It does support some other barcode engines but i have not seen QR supported by them either.
by Gale FORd
Sat Nov 26, 2016 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gale Ford's scanning, barcode, and ocr libraries
Replies: 2
Views: 681

Gale Ford's scanning, barcode, and ocr libraries

Hallo Gale,
is it possible to scann QR-Code with your libraries, too.
Thanks in advance
Otto
by Otto
Thu Nov 24, 2016 8:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Gale Ford's scanning, barcode, and ocr libraries
Replies: 2
Views: 681
PreviousNext

Return to advanced search