Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find spacing between characters in vision ?

Please Can you provide a solution to find the Spacing between characters in Vision or does any function in vision does that ?

 

Thanks 🙂

0 Kudos
Message 1 of 3
(3,477 Views)

I assume you are already using the OCR tools.  You should be able to calculate the spacing easily.  For each character, you should be get the width of the character and the left edge position.  Subtract one edge from the next edge, then subtract the width of the character to get the space between them.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,457 Views)
for easy work reduce image size up to size that your latter look like some points then check this point distance and if distance increase to twice more than other distance it is space
0 Kudos
Message 3 of 3
(3,446 Views)