Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

OCR multiple lines

I have a simple question.
I use Labwindows/CVI v8.
 
Is it possible to do OCR with multiple lines in the ROI.
 
I have images with three lines and I only want to use one ROI.
The images are taken on in a production machine.
I think I cannot use 3 ROIs because the text lines might differ a bit in position.
So I want to use one ROI that covers three lines of text.
Is it possible to get the characters that are recognized?
 
Or should I use a different strategy?
 
Regards,
Robin
0 Kudos
Message 1 of 4
(4,477 Views)

Hello Robin,

As far as I know it is not possible to do a multiline OCR within one ROI. You have to set an ROI for each line to proccess. I will verify this with R&D just to be sure, and let you know the outcome.

Regards,

RikP - National Instruments Applications Engineering

Message Edited by RikP on 08-10-2007 04:33 AM

Rik Prins, CLA, CLED
Software Development Engineer
Message 2 of 4
(4,461 Views)
Thanks for your prompt reply. Please let me know if you found a different truth.
0 Kudos
Message 3 of 4
(4,456 Views)

The OCR tool is limited to a single line of text.

You could do some preprocessing to locate the three lines of text.  If it is fairly clear around the text, you could use Horizontal image summing to locate the three text regions.  Perhaps processing with an edge finder would help, since text has a lot of edges and will stand out.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 4
(4,438 Views)