LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Score 0 in OCR Verify Text

Solved!
Go to solution

Hello to all.

I have developed an application which has an OCR session with some characters trained.

I have attached the source code.

 

The problem that I have is the next:

·IMAQ OCR Read Text 4 VI works fine (This one). It recognizes the characters inside the ROI (characters which have been trained before)

· Now I would like to use IMAQ OCR Verify Text VI (This one). Source code does not give me an error but output "Verification Scores" of IMAC OCR Verify Text returns score 0 in all characters that there are inside the ROI.

 

What am I doing wrong?

 

Thanks a lot.

0 Kudos
Message 1 of 7
(4,229 Views)

Note   Verification Scores is set to 0 for a character if the corresponding character class does not contain a reference character.

From the same page you referenced: https://zone.ni.com/reference/en-XX/help/370281AC-01/imaqvision/imaq_ocr_verify_text/

-Does your characters which you are trying to verify are in trained set?

Thanks
uday
0 Kudos
Message 2 of 7
(4,196 Views)

Characters are in OCR session.

If you check image attached in the first post, output IMAQ Read Text "text read" works fine. It returns the correct characters inside the ROI (characters which have been trained before and set in OCR session). But output IMAQ OCR Verify text "Verification Score" returns 0.

 

Have I to do something else to set train characters ?

 

Thanks a lot.

0 Kudos
Message 3 of 7
(4,189 Views)
While training the Classifier set, You have select to Reference character.
-Then the verification score will be given with respect to reference character how close it is.
Thanks
uday
Message 4 of 7
(4,178 Views)
Solution
Accepted by topic author A.Salcedo

Do you mean that I have to use This VI in every character trained with input "Is reference Character" to true?

 

thanks.

0 Kudos
Message 5 of 7
(4,168 Views)
Yes. Other way is you can do it in OCR Training Interface also.
Thanks
uday
0 Kudos
Message 6 of 7
(4,164 Views)

Thanks a lot. It is solved.

0 Kudos
Message 7 of 7
(4,162 Views)