Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Read/Verify Text in VBAI

I've a big problem in using Read/Verify Text step in VBAI: VBAI always have a mistake between C and c; O, o and 0; B and 8; S and s; V and v; !, ., l, i and 1.

Could you help me to find a solution for this problem?

I'm using Basler camera to capture text of image. 

0 Kudos
Message 1 of 15
(4,659 Views)
0 Kudos
Message 2 of 15
(4,659 Views)
I've tried with 2 methods but it's NOK because there's some characters can be recognized exactly and I've to use characters and numbers at the same time.
0 Kudos
Message 3 of 15
(4,654 Views)
Can you post a few sample images. May be I can try enhancing it a bit.
0 Kudos
Message 4 of 15
(4,652 Views)

tpTEFfun05_3_1_10132009.jpgtpTEFfun07_8_4_10132009.jpg

 

This is 2 images about my text. Could you please help me to find a solution to improve it? 

0 Kudos
Message 5 of 15
(4,636 Views)
This is my OCR training file.
0 Kudos
Message 6 of 15
(4,636 Views)

Check if you can limit the size and ratio values in OCR.  This might force it to be a more exact match in size as well as shape.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 7 of 15
(4,634 Views)

I've tried all parameters to improve quality of OCR but always have mistakes between i, l, ! or C,c or V, v or S, s.

Do you have any more solution for this? 

0 Kudos
Message 8 of 15
(4,621 Views)

Can you post the original image without the ROI and OCR text?  I would like to give it a try and make sure the overlays are not affecting anything. Also, some indication of the parameters you are using might help us make some recommendations.

 

Unfortunately, the OCR algorithm can have some trouble in the cases where you are having trouble.  You can clean up the image before performing OCR on it, performing some of the changes recommended by other posters, and of course, training it with more images.  This last option might help it differentiate the sizes better.

Message Edited by A Person on 10-21-2009 10:13 AM
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 9 of 15
(4,610 Views)

Setting the aspect ratio close to 100% may improve things somewhat.  This will make sure the size and height/width ratio are both close to the original character.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 10 of 15
(4,606 Views)