With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
diff_im = imsubtract(IMRED(:,:,1), rgb2gray(IMRED));in the above line change 1 to 2 or 3 for detecting the blue or green.and for servo as Mat said only 1 pin is needed to trigger(center wire of motor, other wires for vcc and ground).
Image processing is done by matlab. Arduino is not for image processing.
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.