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.
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.