vision tracking
play

Vision Tracking Benjamin Newman 3pm, 28 April 2011 Cofrin Hall, - PowerPoint PPT Presentation

Vision Tracking Benjamin Newman 3pm, 28 April 2011 Cofrin Hall, rm 209 Original idea A robot that tracks faces CMUcam3 Camera and microcontroller Programmable Code and compile on PC Code Compile Flash to CMUcam3 spoonBot


  1. Vision Tracking Benjamin Newman 3pm, 28 April 2011 Cofrin Hall, rm 209

  2. Original idea A robot that tracks faces

  3. CMUcam3  Camera and microcontroller  Programmable  Code and compile on PC

  4. Code

  5. Compile

  6. Flash to CMUcam3

  7. spoonBot

  8. From CMU Prior work

  9. CMUcam2 emulator

  10. Viola-Jones face detector

  11. spoonBot sample project

  12. Ways of proceeding Or where to do the work

  13. CMUcam3 Process on • Camera • Image CMUcam3 processing • CMUcam3 is slow • Anywhere from a two to five seconds for each frame to find a PC face • Display • One to two images seconds to send an image to the computer

  14. CMUcam3 • Camera Process on PC CMUcam3 is still slow: One to two PC seconds to send an • Display image to the images computer • Image processing

  15. Or Or Something altogether different

  16. Problems  The spoon really didn’t work  The wheels sorta’ worked  AC – DC adapter limits movement  The processor is way too slow  Sending images to the PC is too slow

  17. Original requirements 1. The bot is sensitive to at least bot for a user and to let it two dimensions. sleep when lonely. 2. Detection of depth (distance). 7. Consider a playback option. 3. The bot might look up and 8. Perhaps speech output as well down as well as left to right. as visual. 4. Warn about boundary 9. The bot’s home should be the conditions like out-of- display cabinet in Cofrin to bounds and too many people. help showcase computer science. 5. Perhaps it keeps the person centered on a screen. 10. Look into the CMUcam 3. 6. Develop a way to activate the

  18. What I did  Modified CMUcam3 sample project that does color tracking  Two-way communication  Created a front-end for Windows  Only works “Demo Mode” (no two -way)

  19. Demonstration

  20. Our first view

  21. Let’s connect

  22. And d from m the On the PC CMUca Ucam3

  23. Let’s push the button

  24. Waiting for a button press

  25. And again

  26. A color found

  27. A color lost

  28. Two-way communication Typing commands on the keyboard: • PO – get position • NC – new color

  29. Requirements reconsidered 1. The bot is sensitive to at least 5. - two dimensions. 6. -  Height and width, yes  Depth based on relative size 7. - of object 8. - 2. - 9. The bot’s home should be the 3. The bot might look up and display cabinet in Cofrin to down as well as left to right. help showcase computer  It can, sorta’. science.  TBD 4. Warn about boundary conditions like out-of- 10. Look into the CMUcam 3. bounds and too many people.  Yes!  It knows when it has lost the object (or it gets too dark)

  30. What can still be done  Increase  Better display communication  Graphs: Time versus maximum number of  Choose a new color pixels etc.  From camera  Drawings: Just how  From PC big is 4, 0, 175, 142?  Display play colo lor  Disable able or enab able le  Face tracking servos os  Is the delay worth it?  Send some images to PC  Initial image  When object lost

  31. Strategies, etc. Read Ju Just st do it  CMUcam3 documentation  Trial and error  It exists  Especially with spoonBot  A little scattered  Experience hardware limitations  A little holey  Sample code

  32. Knowledge  Machine Organization  RFID reader project: Microcontroller Where to hook things to   Prof. Blahnik… (Or Event Programming)  User interface design  Event programming  Operating systems  Serial ports  Race conditions  Client – Server model

  33. Advice  Start early  The term only gets busier  Recognize when you are stuck  Requirements  What to do  Syntax mistakes  Ask for help when stuck  Ask for advice and feedback, even if not stuck

  34. Start early and keep moving Advice

  35. Questions Accepted Answers possible

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend