smart production line project

hello,
i'm working on a smart production line project. it is a conveyor belt that will sort cans depending on color and length.
my question is,is it possible to create an app or a web page that i can control the arduino outputs by. what i mean is if i want 2 red cans with certain length and 2 blue cans with certain length to pass only and any other cans even if with same specifics shouldn't pass?
thank you

Creating a web application that can communicate with an Arduino is the easy part.

How are you going to identify the different types of cans?

...R

Have a watch of this. Youtube: Computer vision processing tutorial.

If that makes vague sense and you can figure out which questions to ask to solve can length versus camera resolution whilst taking into account the lens focal length, then you've nailed it.

Otherwise, set your sights a bit lower and start breaking down the problem:

How do you detect a colour? What technologies, if any, do that, and can you buy a usable chip or module for your project, or even find a schematic online and build it yourself?

How do you detect "can length?" Electro-mechanical, computer vision... perhaps the can length can be measured by resistance?

How will you let only certain cans pass? How will the mechanism work and what powers it?

It is definitely possible to create your production line idea though. You can do it :slight_smile:

So blue cans can have several different lengths, and red cans can have several different lengths. Do the lengths overlap i.e. can a red can and a blue can have the same length?

If cans don't pass where do they go and how?

What is in the cans, it isn't applesauce is it?

Could you use some other technology such as rfid to identify cans type?