CS 223B Assignment 1 Help Session Dan Maynes-Aminzade.

Slides:



Advertisements
Similar presentations
Road-Sign Detection and Recognition Based on Support Vector Machines Saturnino, Sergio et al. Yunjia Man ECG 782 Dr. Brendan.
Advertisements

EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
Change Detection C. Stauffer and W.E.L. Grimson, “Learning patterns of activity using real time tracking,” IEEE Trans. On PAMI, 22(8): , Aug 2000.
EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
Rapid Object Detection using a Boosted Cascade of Simple Features Paul Viola, Michael Jones Conference on Computer Vision and Pattern Recognition 2001.
Robust statistical method for background extraction in image segmentation Doug Keen March 29, 2001.
Rapid Object Detection using a Boosted Cascade of Simple Features Paul Viola, Michael Jones Conference on Computer Vision and Pattern Recognition 2001.
Face Detection & Synthesis using 3D Models & OpenCV Learning Bit by Bit Don Miller ITP, Spring 2010.
Face detection Many slides adapted from P. Viola.
EE462 MLCV Lecture 5-6 Object Detection – Boosting Tae-Kyun Kim.
Lecture 5 Template matching
Personal Driving Diary: Constructing a Video Archive of Everyday Driving Events IEEE workshop on Motion and Video Computing ( WMVC) 2011 IEEE Workshop.
HCI Final Project Robust Real Time Face Detection Paul Viola, Michael Jones, Robust Real-Time Face Detetion, International Journal of Computer Vision,
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
Face detection and recognition Many slides adapted from K. Grauman and D. Lowe.
CS223B Assignment 1 Recap. Lots of Solutions! 37 Groups Many different approaches Let’s take a peek at all 37 results on one image from the test set.
CS223B Homework 1 Results. Considered 2 Metrics Raw score –Number of pixels in error Weighted score –Car pixels weighted more heavily than non-car pixels.
Robust Real-Time Object Detection Paul Viola & Michael Jones.
Dynamic Cascades for Face Detection 第三組 馮堃齊、莊以暘. 2009/01/072 Outline Introduction Dynamic Cascade Boosting with a Bayesian Stump Experiments Conclusion.
Shadow Detection In Video Submitted by: Hisham Abu saleh.
Jacinto C. Nascimento, Member, IEEE, and Jorge S. Marques
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.
Vision-Based Biometric Authentication System by Padraic o hIarnain Final Year Project Presentation.
Face Detection using the Viola-Jones Method
A Tutorial on Object Detection Using OpenCV
Using Statistic-based Boosting Cascade Weilong Yang, Wei Song, Zhigang Qiao, Michael Fang 1.
Information Extraction from Cricket Videos Syed Ahsan Ishtiaque Kumar Srijan.
EADS DS / SDC LTIS Page 1 7 th CNES/DLR Workshop on Information Extraction and Scene Understanding for Meter Resolution Image – 29/03/07 - Oberpfaffenhofen.
Introduction to Computer Vision Olac Fuentes Computer Science Department University of Texas at El Paso El Paso, TX, U.S.A.
Perception Introduction Pattern Recognition Image Formation
Object Detection Using the Statistics of Parts Presented by Nicholas Chan – Advanced Perception Robust Real-time Object Detection Henry Schneiderman.
An efficient method of license plate location Pattern Recognition Letters 26 (2005) Journal of Electronic Imaging 11(4), (October 2002)
Detecting Pedestrians Using Patterns of Motion and Appearance Paul Viola Microsoft Research Irfan Ullah Dept. of Info. and Comm. Engr. Myongji University.
Window-based models for generic object detection Mei-Chen Yeh 04/24/2012.
Lecture 29: Face Detection Revisited CS4670 / 5670: Computer Vision Noah Snavely.
Face detection Slides adapted Grauman & Liebe’s tutorial
DIEGO AGUIRRE COMPUTER VISION INTRODUCTION 1. QUESTION What is Computer Vision? 2.
Terrorists Team members: Ágnes Bartha György Kovács Imre Hajagos Wojciech Zyla.
Robust Real-time Face Detection by Paul Viola and Michael Jones, 2002 Presentation by Kostantina Palla & Alfredo Kalaitzis School of Informatics University.
ECE738 Advanced Image Processing Face Detection IEEE Trans. PAMI, July 1997.
Image Segmentation and Edge Detection Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng.
CS654: Digital Image Analysis Lecture 25: Hough Transform Slide credits: Guillermo Sapiro, Mubarak Shah, Derek Hoiem.
Expectation-Maximization (EM) Case Studies
Automated Solar Cavity Detection
Robust Real Time Face Detection
Lecture 09 03/01/2012 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
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.
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.
FACE DETECTION : AMIT BHAMARE. WHAT IS FACE DETECTION ? Face detection is computer based technology which detect the face in digital image. Trivial task.
October 1, 2013Computer Vision Lecture 9: From Edges to Contours 1 Canny Edge Detector However, usually there will still be noise in the array E[i, j],
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
Suspicious Behavior in Outdoor Video Analysis - Challenges & Complexities Air Force Institute of Technology/ROME Air Force Research Lab Unclassified IED.
A Brief Introduction on Face Detection Mei-Chen Yeh 04/06/2010 P. Viola and M. J. Jones, Robust Real-Time Face Detection, IJCV 2004.
Hand Detection with a Cascade of Boosted Classifiers Using Haar-like Features Qing Chen Discover Lab, SITE, University of Ottawa May 2, 2006.
Learning and Removing Cast Shadows through a Multidistribution Approach Nicolas Martel-Brisson, Andre Zaccarin IEEE TRANSACTIONS ON PATTERN ANALYSIS AND.
Motion tracking TEAM D, Project 11: Laura Gui - Timisoara Calin Garboni - Timisoara Peter Horvath - Szeged Peter Kovacs - Debrecen.
Week 3 Emily Hand UNR. Online Multiple Instance Learning The goal of MIL is to classify unseen bags, instances, by using the labeled bags as training.
Date of download: 7/8/2016 Copyright © 2016 SPIE. All rights reserved. A scalable platform for learning and evaluating a real-time vehicle detection system.
Cascade for Fast Detection
License Plate Detection
Session 7: Face Detection (cont.)
Presented by Minh Hoai Nguyen Date: 28 March 2007
Lit part of blue dress and shadowed part of white dress are the same color
High-Level Vision Face Detection.
Cos 429: Face Detection (Part 2) Viola-Jones and AdaBoost Guest Instructor: Andras Ferencz (Your Regular Instructor: Fei-Fei Li) Thanks to Fei-Fei.
A Tutorial on Object Detection Using OpenCV
Lecture 29: Face Detection Revisited
Jie Chen, Shiguang Shan, Shengye Yan, Xilin Chen, Wen Gao
ECE738 Final Project Face Detection Baseline
Presentation transcript:

CS 223B Assignment 1 Help Session Dan Maynes-Aminzade

What Makes a Car a Car? CARS NOT CARS

Object Detection Goal: find an object of a pre-defined class in a static image or video frame. Approach –Extract certain image features, such as edges, color regions, textures, contours, etc. –Use some heuristics to find configurations and/or combinations of those features specific to the object of interest

A 2-Step Strategy

Possible Things to Look For Symmetry Color Shadow Corners Edges Texture Taillights

Symmetry Observed from rear view, a car generally has vertical symmetry Problems: –symmetry estimation is sensitive to noise –Prone to false detections, such as symmetrical background objects –Doesn’t work for partly occluded vehicles

Color Road is a fairly constant color Non-road regions within a road area are potential vehicles Problems: –Color of an object depends on illumination, reflectance properties of the object, viewing geometry, and camera properties –Color of an object can be very different during different times of the day, under different weather conditions, and under different poses

Shadow Area underneath a vehicle is distinctly darker than any other areas on an asphalt paved road. Problem: –Doesn‘t work in rain, under bad illumination (under a bridge for example) –Intensity of the shadow depends on illumination of the image: how to choose appropriate threshold values?

Corners Vehicles in general have a rectangular shape Can use four templates one for each corner, to detect all corners in image, and then use a search method to find valid configurations (matching corners)

Edges Rear views of cars contain many horizontal and vertical structures (rear-window, bumper, etc.) One possibility: horizontal edge detector on the image (such as Sobel operator), then sum response in each column to locate horizontal position (should be at the peaks) Problem: –Lots of parameters: threshold values for the edge detectors, the threshold values for picking the most important vertical and horizontal edges, and the threshold values for choosing the best maxima in profile image

Texture Presence of a car causes local intensity changes General similarities among all vehicles means that the intensity changes may follow a certain pattern Problem: in most environments the background contains lots of texture as well

Taillights Fairly salient feature of all vehicles Problem: –A little different on every car –Not that bright during the daytime; probably would work only at night.

Other Factors to Consider Perspective: This is not a likely position / size Shape: Get a better score with more exact car boundaries

For complex objects, such as vehicles, it is hard to find features and heuristics that will handle the huge variety of instances of the object class: May be rotated in any direction Lots of different kinds of cars in different colors May be a truck May have a missing headlight, bumper stickers, etc. May be half in light, half in shadow General Problem

Training Set –Positive Samples –Negative Samples Different features are extracted from the training samples and distinctive features that can be used to classify the object are selected. This information is “compressed” into the statistical model parameters. Each time the trained classifier does not detect an object (misses the object) or mistakenly detects the absent object (gives a false alarm), model is adjusted. Statistical Model Training

Training in OpenCV Uses simple features and a cascade of boosted tree classifiers as a statistical model. Paul Viola and Michael J. Jones. Rapid Object Detection using a Boosted Cascade of Simple Features. IEEE CVPR, Rainer Lienhart and Jochen Maydt. An Extended Set of Haar-like Features for Rapid Object Detection. IEEE ICIP 2002, Vol. 1, pp , Sep

Approach Summary Classifier is trained on images of fixed size (Viola uses 24x24) Detection is done by sliding a search window of that size through the image and checking whether an image region at a certain location “looks like a car” or not. Image (or classifier) can be scaled to detect objects of different sizes. A very large set of very simple “weak” classifiers that use a single feature to classify the image region as car or non-car. Each feature is described by the template (shape of the feature), its coordinate relative to the search window origin and the size (scale factor) of the feature.

Types of Features Feature’s value is a weighted sum of two components: pixel sum over the black rectangle sum over the whole feature area

Weak Classifier Computed feature value is used as input to a very simple decision tree classifier with 2 terminal nodes 1 means “car” and -1 means “non-car”

Boosted Classifier Complex and robust classifier is built out of multiple weak classifiers using a procedure called boosting The boosted classifier is built iteratively as a weighted sum of weak classifiers: F = sign(c1f1 + c2f2 + … + cnfn) On each iteration, a new weak classifier fi is trained and added to the sum. The smaller the error fi gives on the training set, the larger is the coefficient ci that is assigned to it.

Cascade of Boosted Classifiers Sequence of boosted classifiers with constantly increasing complexity Chained into a cascade with the simpler classifiers going first.

Demo of My Solution