Detect red dots with robotic arm and web camera?? Any help with codes...??
Mostrar comentarios más antiguos
I have built a robotic arm with three servos and a web camera mounted on the top . I want via the camera to spot on a map red big dots and move in that direction the arm .!! Can anyone help with codes im beginner?? ur help is important thanks!!
Respuestas (2)
Sebastian Castro
el 13 de Mayo de 2015
0 votos
You can download USB Webcam support packages for MATLAB, which should let you stream Webcam data right into MATLAB on your PC: http://www.mathworks.com/hardware-support/matlab-webcam.html
As for the robot servos, that depends on how they are controlled. What are the servos connected to -- an Arduino or something?
- Sebastian
3 comentarios
kwstis xoustoulakis
el 13 de Mayo de 2015
Sebastian Castro
el 13 de Mayo de 2015
Perfect!
So, you can look at Image Analyst's color tracking demo and wrap that around the USB Webcam and Arduino support packages for sensor input and actuator output, respectively.
Have fun :)
kwstis xoustoulakis
el 13 de Mayo de 2015
Image Analyst
el 13 de Mayo de 2015
0 votos
See my attached demo where I find and track a green Sharpie marker in a video. You'd just pull the frame from your video feed instead of from the video file.
4 comentarios
kwstis xoustoulakis
el 13 de Mayo de 2015
Image Analyst
el 13 de Mayo de 2015
Extract and save the m-file and the video file. Then run the m-file. Are you saying you don't know how to run a script in MATLAB?
kwstis xoustoulakis
el 13 de Mayo de 2015
Image Analyst
el 13 de Mayo de 2015
You need to either get the Image Acquisition Toolbox, or use the built-in webcam support: http://www.mathworks.com/support/2014a/matlab/8.3/demos/webcam-support.html
Categorías
Más información sobre Robotics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!