OCR Multiple Zones

Discussions about machine vision support in GdPicture.
Post Reply
senthilR
Posts: 17
Joined: Thu Nov 20, 2008 4:27 pm

OCR Multiple Zones

Post by senthilR » Fri Dec 26, 2008 7:28 am

Hi Loic,

I need a clarification regarding the OCR Functionality.
I want to OCR multiple zones in the image,is it possible?

Using the below code,i can able to OCR single Zone.

Code: Select all

Call Imaging1.SetROI(nLeftArea, nTopArea, nWidthArea, nHeightArea)
Imaging1.OCRTesseractDoOCR(TesseractDictionaryEnglish, App.Path & "\OCR")
For Multiple zone recognition,for each zone if I call "Imaging1.OCRTesseractDoOCR" after setting the SetROI,
is it affect the performace?

Please reply me as soon as possible

regards
Senthil murugan

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

Re: OCR Multiple Zones

Post by Loïc » Fri Dec 26, 2008 3:08 pm

Hi Senthil,

Yes, to perform OCR on multiple zone you have just to call both SetROI() & OCRTesseractDoOCR() methods for each zone to recognize.

Best regards,

Loïc

senthilR
Posts: 17
Joined: Thu Nov 20, 2008 4:27 pm

Re: OCR Multiple Zones

Post by senthilR » Mon Dec 29, 2008 7:56 am

Thanks Loic.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests