LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ OCR read text - Read multiple lines

Solved!
Go to solution

Hi,

I'm trying to read from an image various lines of text which are placed in different areas of the image.

So far I have used for each line a different OCR read text vi with different ROI descriptor.

Is there a way to to use only one OCR read text vi for all lines and make the block diagram more look more elegant and the application run more effectively?

Do I really need to use 20 OCR read text vi's with 20 recatangles for reading 20 different lines?

 

Thanks,

Shahar

0 Kudos
Message 1 of 5
(3,279 Views)
Solution
Accepted by shaharl3

As far as I know - no, its impossible.

 

Otherwise you don't need to put 20 OCR Read instances on the BD - you can do it with "for loop" with 20 iterations.

Message 2 of 5
(3,275 Views)

Hi Shahar,

 

As Andrey said it's not possible to have on OCR for several lines - just one per line.

 

 

Christian

Message 3 of 5
(3,264 Views)

Thank you Andrey and Christian. As you suggested I used a for-loop.

0 Kudos
Message 4 of 5
(3,248 Views)

what all should we include within the for loop ? does for loop assign an roi for each line? can u pls post your VI reading multiple lines ?

0 Kudos
Message 5 of 5
(3,158 Views)