Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Validate assembly position and color

1 回表示 (過去 30 日間)
Rodrigo Oliveira
Rodrigo Oliveira 2018 年 7 月 20 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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,

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by