Sorting line bell peppers

1 view (last 30 days)
Moe Makki
Moe Makki on 24 May 2021
Commented: Image Analyst on 25 May 2021
i want to design a sorting line of bell peppers depending on color and weight .
the line will seperate the peppers into 3 colors (Red , yellow , Green) then classify the same-color
peppers based on weight (less and greater than 120 grams)
Assume one sensor input for color (R, Y, or G), and three sensors for weight (one for each same-color line).
i'm really confused on how to do this (any help appreciated).

Accepted Answer

Image Analyst
Image Analyst on 24 May 2021
I'd get the Image Acquisition toolbox to snap images from a camera. Then you'll need robotic to move your peppers along a conveyor belt onto a scale. Use the Data Acquisition Toolbox to read the scale to get the weight. Then another robot to push the pepper off the scale to continue it's journey down the line. I'd call a machine vision vendor like Cognex (basically situated across the street from Mathworks) to get you started.
  6 Comments
Moe Makki
Moe Makki on 24 May 2021
@Image Analyst i'm getting a headache from this question to be honest ,
our instructor only gave us while and if statements syntax on matlab
im a beginner on matlab
so i assume this question can be solved by using if and loops
i've been thinking alot of the algorithm of writing a code
problem is i think either the question is wrong or i don't understand it very well.
Image Analyst
Image Analyst on 25 May 2021
It can be solved using those commands as well as many others. Ask you instructor exactly how does he expect the weight of the items to get into your program and see what he says. See if he thinks that's going to happen with just if and while.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!