© Copyright 2000-2020 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Tejas Varunjikar|
I had written this code for my mechatronics course project: Color Following Robot/Image Processing Robot. It follows object of any particular color (red in this case).
1) The robot (RC car) has a webcam mounted on top of it which captures images continuously. (Image Acquisition Toolbox)
2) Image processing toolbox helps to process these images to detect red pixels in the image. It finds area and centroid position of red object.
This submission is intended to help people who are- 1) Learning how to use GUI feature of MATLAB (like myself) and 2) For those who are taking undergrad courses in vibration/dynamics
You can enter values of mass, spring stiffness &...