How to divide live webcam video into MxN blocks so that input from each block can be read ?
1 view (last 30 days)
Show older comments
Harmanpreet Singh
on 10 Jul 2015
Commented: Harmanpreet Singh
on 12 Jul 2015
I am displaying live video on the axes in GUI. What I want to do is to divide the video into 3x3 blocks so that I can read from each block.
0 Comments
Accepted Answer
Image Analyst
on 11 Jul 2015
Simply use line() to draw lines over the live video. You will have to call "hold on" first.
then do color segmentation like I show you in my File Exchange and find the centroid of the colored item. Then see which of the "zones" or "boxes" it fits into. It's not a super challenging application. It should be pretty easy.
More Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!