Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Validate assembly position and color

1 visualización (últimos 30 días)
Rodrigo Oliveira
Rodrigo Oliveira el 20 de Jul. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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,

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by