Sorting line bell peppers

2 次查看(过去 30 天)
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).

采纳的回答

Image Analyst
Image Analyst 2021-5-24
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 个评论
Moe Makki
Moe Makki 2021-5-24
@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 2021-5-25
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.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by