Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ocr reads 255 characters max?

Solved!
Go to solution

Hi!

I have LV 8.5.1 and NI Vision 8.5.1.

Function "IMAQ OCR Read Text 3" reads only first 255 characters in string. My string is 300 characters long and I set ROI to cover all 300 characters. Same thing happens in Vision Builder 3.5. Is this a bug? Or is there any property that I have to set to read more than 255 characters?

 

Thanks,

andrej

0 Kudos
Message 1 of 2
(3,090 Views)
Solution
Accepted by topic author andrej

It is not a bug, that is the maximum number of characters that can be read in one instance of that function.

If you want to read a string of more than 255 characters, simply use the same function more than once, with different regions of interests, and in the end concatenate the resulting strings.

Message 2 of 2
(3,050 Views)