Posted in | News | Imaging

EyeVision Helps Count and Sort Colored Chocolate Drops

You know Smarties? Do you prefer the blue, green or red chocolate drops? Or do you prefer the violet, yellow or pink ones? Several clever minds have tried to invent sorting machines for colored chocolate or fruit drops.

Sorting chocolate drops using EyeVision

Also with the EyeVision image processing software the drops can be sorted according their color. And if this is possible for drops than it is also possible with black and green olives, green and red strawberries or also with green seedlings in the light brown color of the corn. But not only food, but also e.g. wire harnesses can be separated into their different colors. Sorting according to colors is one of the easiest tasks for the EyeVision software.

Therefor here comes a short introduction to the color commands of the EyeVision software on an example with colors chocolate drops.

First, we need to capture a picture. With the Capture Image command an image can be either taken with a camera such as an EyeCheck smart camera, or you can load an image from file (figure 1).

Second, is the command Color Filter. There you can define a certain color, hue and saturation. In our example it is the color blue with a saturation of up to 175 and a hue of up to 240 (figure 2). With this characteristics only the blue chocolate drops are detected. And in no time at all the blue drops can be sorted or counted. If integrated in a sorting machine the EyeVision software can tell the machine, that e.g. the blue drops have to be rejected. The same method can be adopted to every other color as well.

In this example the chocolate drops should not only be sorted according color but also the blue drops should be counted. For this to achieve there is the so called BLOB command, which counts objects according to a certain brightness and in this case also according to a certain color (figure 3). In our case there are exactly 10 blue drops, which are detected with the BLOB command (figure 4).

Tell Us What You Think

Do you have a review, update or anything you would like to add to this news story?

Leave your feedback
Your comment type
Submit

While we only use edited and approved content for Azthena answers, it may on occasions provide incorrect responses. Please confirm any data provided with the related suppliers or authors. We do not provide medical advice, if you search for medical information you must always consult a medical professional before acting on any information provided.

Your questions, but not your email details will be shared with OpenAI and retained for 30 days in accordance with their privacy principles.

Please do not ask questions that use sensitive or confidential information.

Read the full Terms & Conditions.