Bohr Robot Group OpenCV ECE479 John Chhokar J.C. Arada Richard Dixon.

Slides:



Advertisements
Similar presentations
ARTIFICIAL PASSENGER.
Advertisements

1 RTL Example: Video Compression – Sum of Absolute Differences Video is a series of frames (e.g., 30 per second) Most frames similar to previous frame.
Rapid Object Detection using a Boosted Cascade of Simple Features Paul Viola, Michael Jones Conference on Computer Vision and Pattern Recognition 2001.
Rapid Object Detection using a Boosted Cascade of Simple Features Paul Viola, Michael Jones Conference on Computer Vision and Pattern Recognition 2001.
Interest points CSE P 576 Ali Farhadi Many slides from Steve Seitz, Larry Zitnick.
Face Detection & Synthesis using 3D Models & OpenCV Learning Bit by Bit Don Miller ITP, Spring 2010.
David Wild Supervisor: James Connan Rhodes University Computer Science Department Gaze Tracking Using A Webcamera.
F ACE TRACKING EE 7700 Name: Jing Chen Shaoming Chen.
Face detection Many slides adapted from P. Viola.
Large-Scale, Real-World Face Recognition in Movie Trailers Week 2-3 Alan Wright (Facial Recog. pictures taken from Enrique Gortez)
Segmentation (2): edge detection
The Viola/Jones Face Detector Prepared with figures taken from “Robust real-time object detection” CRL 2001/01, February 2001.
The Viola/Jones Face Detector (2001)
HCI Final Project Robust Real Time Face Detection Paul Viola, Michael Jones, Robust Real-Time Face Detetion, International Journal of Computer Vision,
Robust Real-time Object Detection by Paul Viola and Michael Jones ICCV 2001 Workshop on Statistical and Computation Theories of Vision Presentation by.
Face Recognition with Harr Transforms and SVMs EE645 Final Project May 11, 2005 J Stautzenberger.
CS 376b Introduction to Computer Vision 04 / 14 / 2008 Instructor: Michael Eckmann.
Smart Traveller with Visual Translator for OCR and Face Recognition LYU0203 FYP.
STC Robot Optimally Covering an Unknown Indoor Environment Majd Srour, Anis Abboud Under the supervision of: Yotam Elor and Prof. Alfred Bruckstein.
Robust estimation Problem: we want to determine the displacement (u,v) between pairs of images. We are given 100 points with a correlation score computed.
Foundations of Computer Vision Rapid object / face detection using a Boosted Cascade of Simple features Presented by Christos Stoilas Rapid object / face.
Face Detection CSE 576. Face detection State-of-the-art face detection demo (Courtesy Boris Babenko)Boris Babenko.
FACE DETECTION AND RECOGNITION By: Paranjith Singh Lohiya Ravi Babu Lavu.
Facial Recognition CSE 391 Kris Lord.
Vision-Based Biometric Authentication System by Padraic o hIarnain Final Year Project Presentation.
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Intelligent Ground Vehicle Competition Navigation Michael Lebson - James McLane - Image Processing Hamad Al Salem.
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Face Detection using the Viola-Jones Method
Distinctive Image Features from Scale-Invariant Keypoints By David G. Lowe, University of British Columbia Presented by: Tim Havinga, Joël van Neerbos.
A Tutorial on Object Detection Using OpenCV
3D Motion Capture Assisted Video human motion recognition based on the Layered HMM Myunghoon Suk & Ashok Ramadass Advisor : Dr. B. Prabhakaran Multimedia.
OBJECT RECOGNITION. The next step in Robot Vision is the Object Recognition. This problem is accomplished using the extracted feature information. The.
Object Detection Using the Statistics of Parts Presented by Nicholas Chan – Advanced Perception Robust Real-time Object Detection Henry Schneiderman.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
Detecting Pedestrians Using Patterns of Motion and Appearance Paul Viola Microsoft Research Irfan Ullah Dept. of Info. and Comm. Engr. Myongji University.
Lecture 29: Face Detection Revisited CS4670 / 5670: Computer Vision Noah Snavely.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
Automatic Image Anonymizer Alex Brettingen James Esposito.
DIEGO AGUIRRE COMPUTER VISION INTRODUCTION 1. QUESTION What is Computer Vision? 2.
infinity-project.org Engineering education for today’s classroom 2 Outline How Can We Use Digital Images? A Digital Image is a Matrix Manipulating Images.
Terrorists Team members: Ágnes Bartha György Kovács Imre Hajagos Wojciech Zyla.
REAL TIME FACE DETECTION
1 Artificial Intelligence: Vision Stages of analysis Low level vision Surfaces and distance Object Matching.
Automated Solar Cavity Detection
1 Eye Detection in Images Introduction To Computational and biological Vision Lecturer : Ohad Ben Shahar Written by : Itai Bechor.
Robust Real Time Face Detection
The Viola/Jones Face Detector A “paradigmatic” method for real-time object detection Training is slow, but detection is very fast Key ideas Integral images.
Bibek Jang Karki. Outline Integral Image Representation of image in summation format AdaBoost Ranking of features Combining best features to form strong.
IEEE Robot Team Vision System Project Michael Slutskiy & Paul Nguyen ECE 533 Presentation.
Learning to Detect Faces A Large-Scale Application of Machine Learning (This material is not in the text: for further information see the paper by P.
Delivering Business Value through IT Face feature detection using Java and OpenCV 1.
October 16, 2014Computer Vision Lecture 12: Image Segmentation II 1 Hough Transform The Hough transform is a very general technique for feature detection.
FACE DETECTION : AMIT BHAMARE. WHAT IS FACE DETECTION ? Face detection is computer based technology which detect the face in digital image. Trivial task.
Wire Detection Version 2 Joshua Candamo Friday, February 29, 2008.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Alan Cleary ‘12, Kendric Evans ‘10, Michael Reed ‘12, Dr. John Peterson Who is Western State? Western State College of Colorado is a small college located.
: Chapter 5: Image Filtering 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Face Recognition and Tracking for Human-Robot Interaction using PeCoFiSH Alex Eisner This material is based upon work supported by the National Science.
CS262: Computer Vision Lect 06: Face Detection
Introduction to Skin and Face Detection
2. Skin - color filtering.
License Plate Detection
Fitting Curve Models to Edges
Introduction Computer vision is the analysis of digital images
CS Lab Usage Logan Balow.
A Tutorial on Object Detection Using OpenCV
AHED Automatic Human Emotion Detection
Introduction Computer vision is the analysis of digital images
Introduction to Artificial Intelligence Lecture 22: Computer Vision II
Presentation transcript:

Bohr Robot Group OpenCV ECE479 John Chhokar J.C. Arada Richard Dixon

Goals Learn OPENCV Implement Face Tracking Robot using Haar Cascade Implement Color Detecting Robot Implement Obstacle Avoidance Robot/Navigation

Face Detection OpenCV makes face detection easy using the Haar Cascade Classifier stored in a XML file. Classifier uses data stored in the XML file to classify each image The Haar sequence was proposed in 1909 by Alfred Haar Viola-Jones method is the fundamental technique used in face detection where their work models wavelets (Publish 2001, Conference on Computer Vision and Pattern Recognition) Haar Feature Rectangles are used to detect Haar features. Computations of Haar Rectangles are performed by a technique called an Integral Image. The pre-processing of the image to significantly increase Haar like features.

Face Detection 4 = A + B + C + D 2 = A + B 3 = A + C 1 = A Integrals Image Value, the sum of all the pixels above it and to the left D = (x 4,y 4 ) – (x 2,y 2 ) – (x 3,y 3 ) + (x 1,y 1 ) Sum of all pixels inside of a rectangle needs only 4 array references. S = A – B – C + D. Two rectangle sums = 8.

Face Detection OpenCV Haar Features Sum of the pixels which lie within the white rectangles are subtracted from the sum of the pixels within the grey rectangles Rectangle features can be compiled very quickly.

Face Detection Filtering keys on differences in facial features. Eye region is often darker than cheeks. Intensity across bridge of nose and eye region. All filters must pass for image to be recognized as face. If one fails image is not considered

Face Detection Demo

Color Detection cvCvtColor cvInRangeS cvSmooth CvSeq* circles = cvHoughCircles

Color Detection

Color Detection #2

Obstacle Avoidance/Self Navigation Work in progress The goal of this portion of our project is to have the Bohr Robot self navigate a hallway or corridor and possibly negotiate a right or left turn. To accomplish this that we implement a series of functions and transformations – Canny edge detection – Hough Line transform

How Color Detection Works Colors are represented by a combination of Red Green and Blue We simplify the color scale by defining colors in a 24bit scale – Red, Blue, and Green are represented each by 8 bits Bitmap images can best be described as a matrix populated by the 24bit values. – We use a reference value for a color and start matching any color that color that corresponds to that value

Simplified Algorithm Below is the simplified algorithm on how OpenCV detects colors Get image size – Get X and Y values of images While I <= X – While J <= Y If Reference == Color – Then match == 1; – Else match == 0; J = J+1; End while – End while

How the Program Works We use the X value obtained from the match – Average out the values of X in the frame Move the motor towards X – Done by defining the center as the reference – We then move the motor left or right dependent on the reference point

Problems encountered Latency is too slow – Movement of motor dependant an event that already occurred. – Bad feedback Algorithm is not optimized – Using sleep instead of polling Workaround is to delay sending of commands – Average out movement.

Obstacle Avoidance/Self Navigation Laplace function Canny edge detection – Contours – Formed by thresholding image pixels – If gradient is of pixel lower it is rejected higher it is accepted Between accepted if connected to a pixel in has a higher gradient – 2:1 or 3:1

Obstacle Avoidance/Self Navigation cvCvtColor(frame, grey, CV_BGR2GRAY); cvCanny( grey, edges,50, 150, 3);

Obstacle Avoidance/Self Navigation Hough Transformation Standard Hough Transformation(SHT) – Uses the slop intercept form (y = mx + b) – Range + infinity Probabilistic Hough Transformation (PPHT) – P=x cos(t) + y sin(t) – Accumulates a fraction of points

Obstacle Avoidance/Self Navigation cvHoughLines2( edges, storage, CV_HOUGH_PROBABILISTIC, 1, CV_PI/180, 50, 50, 10 );

Obstacle Avoidance/Self Navigation What Next Implementation of our decision algorithm – Calculate the slope the lines in our ROI (~ 2 ft) If there are no line in ROI – Move forward If slope is -.1 to.1 – stop( object in front) – Cal slope (ROI) Left (~1ft) If no line then turn Slope? – Cal slope (ROI) Right (~1ft) …

Obstacle Avoidance/Self Navigation

References Paul Viola and Michael Jones Original Paper 2001 at Computer Vision and Pattern Recognition Conference etect/violaJones_CVPR2001.pdf Cognitive Robotics Seeing with OpenCV Finding Faces /index.html