How do I detect colored objects in a picture?
이전 댓글 표시
Hello,
I'd like your help with sample code to be able to find these the yellow Lego pieces in the doll house,
The idea is that I take a picture and the code finds all the blocks. The picture shows only 2 blocks, but there could be more, and different colors, but I'm only interested in the yellow ones. I'd like to be able to find the blocks and outline green all the yellow blocks and red the rest of the blocks, and find their position in the frame.
Thanks in advance for your help!
Attached is a sample picture

채택된 답변
추가 답변 (1개)
hegel
2020년 2월 12일
0 개 추천
댓글 수: 1
Image Analyst
2020년 2월 12일
You might also want to take a look at DEM in the File Exchange

카테고리
도움말 센터 및 File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
