Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Separate Words acquired after image processing

Solved!
Go to solution

Hello Everyone. I am doing some work on image processing and I am confused to solve a problem. I am acquiring the following string when it reads "Hello world". But the problem is all the words are combined. Please can anybody tell me how to separate words during Training the vision assistant or it can be separated after acquiring string which is shown below. I appreciate your help.

zcv.JPG

czssX.JPG

0 Kudos
Message 1 of 2
(1,103 Views)
Solution
Accepted by topic author Rahman009

There is no way for the OCR tools to detect the spaces, but you can probably do it in post processing.

 

You should be able to retrieve information about each character recognized.  If you compare the right edge of a character to the left edge of the next character, you will notice there is a larger gap when there is a space.  You could do a loop through the characters and insert a space if the gap is large.  Figuring out what a large gap is depends on your font.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 2
(1,077 Views)