05-16-2017 03:15 AM
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.
Solved! Go to Solution.
05-16-2017 03:56 AM
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?
05-16-2017 04:08 AM
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.
05-16-2017 04:52 AM
05-16-2017 05:23 AM
Do you mean that I have to use This VI in every character trained with input "Is reference Character" to true?
thanks.
05-16-2017 05:32 AM
05-16-2017 05:38 AM
Thanks a lot. It is solved.