can anyone help me with codes for finding red, green and orange individually using a webcamera for sorting,

조회 수: 1 (최근 30일)
plz someone help me with the program code for sorting tomato if red the camera should detect else should not mark,and similarly yellow for lime,and orange for orange...that is i need three codes for finding each separately,i will run each separately ,and how to create GUI??

답변 (1개)

Image Analyst
Image Analyst 2013년 3월 8일
See my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 for several different color segmentation methods.
Also see this for a nice GUI framework to get you started: http://www.mathworks.com/matlabcentral/fileexchange/24224
  댓글 수: 2
vishnu andavar
vishnu andavar 2013년 3월 9일
can u give me direct code for sorting green ,sorting orange, sorting red color ,three should be different program to run ,so that i can just copy and run the program,,,if possible.thank you
Image Analyst
Image Analyst 2013년 3월 10일
Why do I have to give you "direct code"? Why can't you just adapt the thresholds in the demos I already referred you to? That's what I'd do, but I thin you can do that as well as I can. It's probably better for you to do it because by reviewing it you'll learn something.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by