Info

This question is closed. Reopen it to edit or answer.

Validate assembly position and color

1 view (last 30 days)
Rodrigo Oliveira
Rodrigo Oliveira on 20 Jul 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello, I'm a newbie in Matlab coding, so I'm asking you guys to guide me with my problem.
I have a catalog assembly with different hair colors and numbers (each color has a number attached and that does not change - Ex. Red will always be 15/0).
During the assembly, someone can incorrectly place some color in a different position.
As you can see below, it looks like this image.
Let's say someone incorrectly placed a color in a wrong place (image below)
I would like to detect the problem and send a signal to someplace (for example to a red light).
I was thinking to acquire the text from each image, and compare with a database.
In this case my database would be a matrix:
[10/0 9/01 8/0 7/0 6/0]
Anything different than that will send a signal showing that there is a problem.
With respect to text comparison
My concerns are:
1) Using OCR text recognition the "/" would be take as "1" or "l" (lower case L)?
2) Do you thing that's a good approach or should I try another thing?
Other situation (much more complex I think) is the color assembled.
Let's say someone in a previous stage changed the color from 9/01 with 8/0. They are very similar.
Is there a way to detect that?
The brightness is not so good in the photos, it's just to show you guys and to learn from you.
Any help will be useful, even if you say that my ideas will not work. I'm learning matlab.
Ps.: I know that systems like Cognex can do that, but to show that the idea can work to my company, I'd like to present something with Matlab before asking to buy some system.
Thanks in advance,

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!