today
play

Today Computer Vision Overview Project Brainstorm / Team-up - PowerPoint PPT Presentation

Today Computer Vision Overview Project Brainstorm / Team-up Activity COMP 150: Probabilistic Robotics for Human-Robot Interaction Instructor: Jivko Sinapov www.cs.tufts.edu/~jsinapov Research Talk Announcement


  1. Today ● Computer Vision Overview ● Project Brainstorm / Team-up Activity COMP 150: Probabilistic Robotics for Human-Robot Interaction Instructor: Jivko Sinapov www.cs.tufts.edu/~jsinapov Research Talk Announcement ● https://www.radcliffe.harvard.edu/event/2019- beyond-words-conference

  2. Another Talk ● Title: “Integrating Plan Generation, Execution, and Monitoring for Explainable, Normative, and Justified Agency” ● Speaker: Pat Langley (founding editor of the Journal of Machine Learning) ● Time / Place: Feb 21, 3:00 pm, Halligan 102 Preliminary Project Idea Office Hours Today Presentations ● Moved from 3 pm to 4 pm due to faculty ● Next Tuesday, in class candidate talk ● Sign up on shared document on Canvas (document was shared via an announcement) ● 2 to 3 slides per team

  3. Reading Assignment Homework 2 ● Thrun, S., Fox, D., Burgard, W., & Dellaert, F. (2001). Robust Monte Carlo localization for mobile robots. Artificial intelligence, 128(1-2), 99-141. ● Fox, D. (2002). KLD-sampling: Adaptive particle filters . In Advances in neural information processing systems (pp. 713-720).

  4. Simulation Simulation 1. Randomly choose a starting location 1. Randomly choose a starting location 2. Observation – given the actual location, 2. Observation – given the actual location, simulate an image observation simulate an image observation 3. Given any x,y position, crop the reference 3. Given any x,y position, crop the reference image, i.e., what would the observation be image, i.e., what would the observation be If the robot was at x,y? If the robot was at x,y? 4. Movement – according to a random angle but fixed velocity Simulation Discussion ● What are some implementation issues that you 1. Randomly choose a starting location foresee? 2. Observation – given the actual location, simulate an image observation ● What are some design choices that you’ll have 3. Given any x,y position, crop the reference to make? image, i.e., what would the observation be If the robot was at x,y? ● What may be some variables that you need to 4. Movement – according to a random angle experiment with? but fixed velocity – after computing the noise-free end position, add some noise ● What are some computer vision operators and functions you’ll need to use?

  5. What is Computer Vision? What is an image? A grayscale image An RGB Image

  6. How did computer vision start? Intensity Levels “In 1966, Marvin Minsky at MIT asked his undergraduate student • 2 Gerald Jay Sussman to “spend the summer linking a camera to a • 32 computer and getting the computer to describe what it saw”. We now know that the problem is slightly more difficult than that!” • 64 • 128 • 256 (8 bits) • 512 • … • 4096 (12 bits) Human vs Computer Vision Image Plane v.s. Image Array What we see What a computer sees [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 1]

  7. Point Operations Local Operations [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 1] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 1] Early Example of Edge Edge Detection Detection by Robots [https://www.mathworks.com/matlabcentral/fileexchange/51124-shannon-edge-detector-for-grayscale-images]

  8. Thresholding an Image Global Operations [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 1] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 1] Selecting a range Dark Image on a Light Background of intensity values [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2]

  9. Generalized Thresholding Thresholding Example (1) [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] Thresholding Example (2) Original grayscale Image [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2]

  10. Area of a Binary Image [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] Calculating the Position This figure now becomes important of an Object [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 1] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2]

  11. The center is given by Horizontal and Vertical Projections [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] Projection Formulas Diagonal Projection [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2]

  12. The area and the position can be computed from the H and V projections Neighbors and Connectivity [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] 4-Connected 8-connected [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2]

  13. Examples of Paths Boundary, Interior, and Background [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2] Color Perception An Image (a) and Its Connected Components (b) [Jain, Kasturi, and Schunck (1995). Machine Vision, Ch. 2]

  14. The RGB Color Space The RGB Color Space [http://www.arcsoft.com/images/topics/darkroom/what-is-color-space-RGB.jpg] https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/RGBCube_b.svg/2000px-RGBCube_b.svg.png The HSV Color Space 3D Scatter Plot for a patch of skin

  15. Color-based Tracking Color-based Tracking How should we determine the min and max thresholds for each color channel? Color Histograms Motion Object Segmentation Color Histogram (4 x 4 x 4 = 64 bins)

  16. What is this? What is this? What action is being performed? Motion Energy Image (MEI) [http://www.cse.ohio-state.edu/~jwdavis/CVL/Research/MHI/mhi.html]

  17. Average MEI for Motion History Image (MHI) various viewing angles [http://www.cse.ohio-state.edu/~jwdavis/CVL/Research/MHI/mhi.html] Definitions Motion Energy ● Image Sequence ● Binary Images indicating regions of motion ● Binary Motion Energy Image

  18. Motion History The result: more recently moving pixels appear brighter [http://www.cse.ohio-state.edu/~jwdavis/CVL/Research/MHI/mhi.html] Motion templates for finishing MHI pyramid LEFT-ARM-RAISE and FAN-UP-ARMS. [http://www.cse.ohio-state.edu/~jwdavis/CVL/Research/VirtualAerobics/aerobics.html] [http://www.cse.ohio-state.edu/~jwdavis/CVL/Research/MHI/mhi.html]

  19. Aerobics Dataset Video A. Bobick, S. Intille, J. Davis, F. Baird, C. Pinhanez, L. Campbell, Y. Ivanov, A. Schutte, and A. Wilson (1999) ``The Kidsroom: A Perceptually-Based Interactive and Immersive Story Environment" Presence: Teleoperators and Virtual Environments, Vol. 8, No. 4, 1999, pp. 367-391.

  20. The Kid’s Room [Bobick et al. 1996] The Blue Monster [http://vismod.media.mit.edu/vismod/demos/kidsroom/kidsroom.html]

  21. The Technology [http://vismod.media.mit.edu/vismod/demos/kidsroom/kidsroom.html] Motion History Templates Detecting the Bed Making a ‘Y’ Flapping Spinning [http://vismod.media.mit.edu/vismod/demos/kidsroom/kidsroom.html] [http://vismod.media.mit.edu/vismod/demos/kidsroom/kidsroom.html]

  22. Man Overboard Detector [http://vismod.media.mit.edu/vismod/demos/kidsroom/kidsroom.html] OpenCV Book and Code ● “Learning OpenCV” ● Code from book is on github: https://github.com/Itseez/opencv_extra/tree/m aster/learning_opencv_v2

  23. OpenCV Book and Code OpenCV Tutorials ● “Learning OpenCV” ● Connected Components: – http://nghiaho.com/?p=1102 – https://davidlavy.wordpress.com/opencv/connected -components-in-opencv/ ● Code from book is on github: https://github.com/Itseez/opencv_extra/tree/master /learning_opencv_v2 OpenCV Tutorials OpenCV Tutorials ● Circle Detection: ● Face Detection: – http://docs.opencv.org/3.1.0/d4/d70/tutorial_hough_ circle.html#gsc.tab=0 – http://stackoverflow.com/questions/20757147/detect -faces-in-image – https://github.com/Itseez/opencv_extra/blob/mast er/learning_opencv_v2/ch13_ex13_4.cpp

  24. OpenCV Tutorials Resources ● Blog full of OpenCV examples: ● OpenCV in ROS: – http://opencvexamples.blogspot.com/ – http://wiki.ros.org/vision_opencv – http://wiki.ros.org/cv_bridge/Tutorials – http://docs.opencv.org/2.4/doc/tutorials/tutorials.html Next time...interest points and Grabbing image data with ROS registration ● Example ROS node that subscribes to an image topic and does image processing: http://www.cs.tufts.edu/comp/50AIR/code/comp 50_computer_vision.zip

  25. Later in the course...3D Vision Project Brainstorm and Team-up THE END ● Grab a piece of paper per team ● Write down your topics of interests and specific ideas for your project ● Write any project related questions you may have

  26. 102 103

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