can anyone help me with codes for finding red, green and orange individually using a webcamera for sorting,
2 次查看(过去 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??
0 个评论
回答(1 个)
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 个评论
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!