OCR with Access Database

Example requests & Code samples for GdPicture Toolkits.
Post Reply
lionex
Posts: 3
Joined: Sun Oct 12, 2008 7:19 pm

OCR with Access Database

Post by lionex » Sun Oct 12, 2008 7:39 pm

Is it possible to do OCR with an Access Database? What references do I add to my VBA project and where is the documentation? Can you send me a code sample?

Many Thanks

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: OCR with Access Database

Post by Loïc » Sun Oct 12, 2008 7:55 pm

Hi,

Yes it is possible. And easy to do !


Add a reference like this:

- Click on the "More controls..." item on the Toolbox form.
- Select GdPicturePro5.Imaging and drag it within your Access form.


You can perform OCR in one call using the OCRTesseractDoOCR() method.

See: https://www.gdpicture.com/guides/gdpicture/v5/gdpictur ... DoOCR.html

IE:

Code: Select all

DIm sOCR as String
'In AppData we should have ne needed dictionary files
sOCR = Imaging1.OCRTesseractDoOCR(TesseractDictionaryEnglish, App.Path & "\AppData ")

OCR Plugin F.A.Q. from https://www.gdpicture.com/products/plugi ... engine.php

Let me know if you need more informations.

Best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests