Sorting line bell peppers

조회 수: 2 (최근 30일)
Moe Makki
Moe Makki 2021년 5월 24일
댓글: Image Analyst 2021년 5월 25일
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