01-21-2015 03:09 AM - edited 01-21-2015 03:10 AM
Hi everybody,
I had a problem while I was trying to run OCR on my image in my LabVIEW code. The algorithm did not detected what I was expecting on the image.
I decided to run the test on the vision assistant and it worked perfectly: I got the expected results.#
I assumed then that my code had different parameters, so I decided to generate a VI from the vision asssistant and run it on LabVIEW for the same image, just to verify.I did not change anything on the VI (all parameters are the same), and I used the same image. Surprinsingly the results are different between the assistant and the VI. That strikes me a lot! I have checked alll possible configurable parameters and they have the same values as in the Vision assistant. Does anybody have an idea about what could be the reason of this behaviour? Thanks
Regards,
Esteban
01-27-2015 06:20 AM
Esteban,
do you use the same images for OCR? Or do you take a new snap shot before running the OCR?
What steps of debugging did you use in LV?
Norbert
01-27-2015 06:49 AM
Hey Norbert,
Yes, I use exactly the same image. In the vision assitant I open it from the disk (in the menu) and run the OCR.
In LabVIEW I load it as well from the disk and run it.
For debugging indeed can´t do much. I checked that all properties are the same as in the Vision assistant.
I´m wondering if somehow it´s related to the character file. Any ideas?
Did you take a look at the files I uploaded?
Best regards,
Esteban
01-27-2015 06:51 AM