LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

output of vision assistant

i use vision assistant to occur the text from the image.The text obtained should be compared with a string constant so that we can check both equals or not. But the result always shows fail.please help me with it

0 Kudos
Message 1 of 6
(3,422 Views)
DId you Study about OCR examples in labview image processing examples ?
0 Kudos
Message 2 of 6
(3,397 Views)
you have to work on NI OCR training interface
to make you letter recognizable
Message 3 of 6
(3,387 Views)

i have done OCR training and the output string is also obtained .But i cannot compare that output string with a  string constant  

0 Kudos
Message 4 of 6
(3,327 Views)

You say "I cannot compare that output string with a string constant".  Why not?  What happens?  I notice that the image you posted looks like it contains the string "ABCDEFGHIJKLMNOPQRSTUVWXYZ<nl>1234567890<sp>/<sp>-<sp>;<sp>:<sp>." (where <nl> means "New Line", or a blank space, which can be represented in various ways, depending on the OS, and <sp> is a space), whereas the string in your code is "ABCDEFGHIJKLMNOPQRSTUVWXYZ<nl>1234567890/-;:.", with no spaces.

 

I'm not an expert on OCR (I defer to Hatef here), but if the OCR routines add in the spaces, these strings are definitely different, and the equality comparison will be "False".  You might think about comparing character-by-character, or displaying the two strings in indicators (if they are in two lines, I'd split them into "Line1" and "Line 2", as you'll find it easier to put a single line from one over a single line from the other and easily spot the difference "by eye".

 

Are you very experienced with Image Processing and the tools in the LabVIEW Vision toolkit?  They are not particularly well-documented, and not for the Faint of Heart or Beginner of LabVIEW (in my humble opinion).

 

Bob Schor

0 Kudos
Message 5 of 6
(3,313 Views)

I dont know very well about all the tools .I'm a final year student doing my project in this .On my own interest i learnt about image processing.As

Bob Schor said there are not well-documented.I  have to finish my project but the final output drives me crazy plz help me with it

0 Kudos
Message 6 of 6
(3,281 Views)