Learn how to make your drawings come alive…  Lecture 3: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,

Slides:



Advertisements
Similar presentations
Wavelets Fast Multiresolution Image Querying Jacobs et.al. SIGGRAPH95.
Advertisements

Face Recognition and Biometric Systems Eigenfaces (2)
1. Tuesday: Halloween Shoot due TOMORROW. You must make a contact sheet of your photos and print it from my computer tomorrow. -5 pts for every day I don’t.
ECE 8443 – Pattern Recognition LECTURE 05: MAXIMUM LIKELIHOOD ESTIMATION Objectives: Discrete Features Maximum Likelihood Resources: D.H.S: Chapter 3 (Part.
October 1999 Statistical Methods for Computer Science Marie desJardins CMSC 601 April 9, 2012 Material adapted.
Measures of Dispersion and Standard Scores
Real-Time Human Pose Recognition in Parts from Single Depth Images Presented by: Mohammad A. Gowayyed.
Learn how to make your drawings come alive…  NEW COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Learn how to make your drawings come alive…  NEW COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Learn how to make your drawings come alive…  NEW COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Evaluating Hypotheses
Preprocessing ROI Image Geometry
Learn how to make your drawings come alive…  NEW COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Computing Sketches of Matrices Efficiently & (Privacy Preserving) Data Mining Petros Drineas Rensselaer Polytechnic Institute (joint.
Learn how to make your drawings come alive…  NEW COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Learn how to make your drawings come alive…  Lecture 2: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Robust Real-Time Object Detection Paul Viola & Michael Jones.
REGRESSION AND CORRELATION
Clustering Ram Akella Lecture 6 February 23, & 280I University of California Berkeley Silicon Valley Center/SC.
Learn how to make your drawings come alive…  COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms, including.
Techniques for studying correlation and covariance structure
Lecture 3-2 Summarizing Relationships among variables ©
Estimation and Hypothesis Testing. The Investment Decision What would you like to know? What will be the return on my investment? Not possible PDF for.
Ink and Gesture recognition techniques. Definitions Gesture – some type of body movement –a hand movement –Head movement, lips, eyes Depending on the.
Principles of Pattern Recognition
ECE 8443 – Pattern Recognition LECTURE 06: MAXIMUM LIKELIHOOD AND BAYESIAN ESTIMATION Objectives: Bias in ML Estimates Bayesian Estimation Example Resources:
“Teach A Level Maths” Vol. 1: AS Core Modules
1 Theoretical Physics Experimental Physics Equipment, Observation Gambling: Cards, Dice Fast PCs Random- number generators Monte- Carlo methods Experimental.
1 Lesson 3: Choosing from distributions Theory: LLN and Central Limit Theorem Theory: LLN and Central Limit Theorem Choosing from distributions Choosing.
COMMON EVALUATION FINAL PROJECT Vira Oleksyuk ECE 8110: Introduction to machine Learning and Pattern Recognition.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Comparing Audio Signals Phase misalignment Deeper peaks and valleys Pitch misalignment Energy misalignment Embedded noise Length of vowels Phoneme variance.
Conceptual Foundations © 2008 Pearson Education Australia Lecture slides for this course are based on teaching materials provided/referred by: (1) Statistics.
Monte Carlo I Previous lecture Analytical illumination formula This lecture Numerical evaluation of illumination Review random variables and probability.
1 G Lect 4a G Lecture 4a f(X) of special interest: Normal Distribution Are These Random Variables Normally Distributed? Probability Statements.
Combining geometry and domain knowledge to interpret hand-drawn diagrams As Presented By: Andrew Campbell Christopher Dahlberg.
Other Perturbation Techniques. Outline  Randomized Responses  Sketch  Project ideas.
NEAREST NEIGHBORS ALGORITHM Lecturer: Yishay Mansour Presentation: Adi Haviv and Guy Lev 1.
Two-Sample Hypothesis Testing. Suppose you want to know if two populations have the same mean or, equivalently, if the difference between the population.
Slide Slide 1 Lecture 6&7 CHS 221 Biostatistics Dr. Wajed Hatamleh.
Chapter 10 The t Test for Two Independent Samples
Zhongyan Liang, Sanyuan Zhang Under review for Journal of Zhejiang University Science C (Computers & Electronics) Publisher: Springer A Credible Tilt License.
Linear Classifiers Rubine & CA-Linear Ruben Balcazar.
Chapter 20 Classification and Estimation Classification – Feature selection Good feature have four characteristics: –Discrimination. Features.
Hand Gesture Recognition Using Haar-Like Features and a Stochastic Context-Free Grammar IEEE 高裕凱 陳思安.
© Tan,Steinbach, Kumar Introduction to Data Mining 4/18/ Data Mining: Data Lecture Notes for Chapter 2 Introduction to Data Mining by Tan, Steinbach,
Gesture recognition techniques. Definitions Gesture – some type of body movement –a hand movement –Head movement, lips, eyes Depending on the capture.
Variability Introduction to Statistics Chapter 4 Jan 22, 2009 Class #4.
ECE 8443 – Pattern Recognition ECE 8527 – Introduction to Machine Learning and Pattern Recognition Objectives: Statistical Significance Hypothesis Testing.
Absolute Value is the distance from zero. What is inside the absolute value will always be positive. The Exception is in Answers 3 and 4: If there is a.
Learn how to make your drawings come alive…  Lecture 1: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms,
Machine Learning in Practice Lecture 2 Carolyn Penstein Rosé Language Technologies Institute/ Human-Computer Interaction Institute.
Video Google: Text Retrieval Approach to Object Matching in Videos Authors: Josef Sivic and Andrew Zisserman University of Oxford ICCV 2003.
R. Kass/W03 P416 Lecture 5 l Suppose we are trying to measure the true value of some quantity (x T ). u We make repeated measurements of this quantity.
Learn how to make your drawings come alive…  COURSE: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms, including.
CS791 - Technologies of Google Spring A Web­based Kernel Function for Measuring the Similarity of Short Text Snippets By Mehran Sahami, Timothy.
Ch 1. Introduction Pattern Recognition and Machine Learning, C. M. Bishop, Updated by J.-H. Eom (2 nd round revision) Summarized by K.-I.
Singular Value Decomposition and its applications
Estimator Properties and Linear Least Squares
Learn how to make your drawings come alive…
Video Google: Text Retrieval Approach to Object Matching in Videos
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Pattern Recognition and Image Analysis
Revision (Part II) Ke Chen
Figure 4-1 (p.104) The statistical model for defining abnormal behavior. The distribution of behavior scores for the entire population is divided into.
Pattern Classification All materials in these slides were taken from Pattern Classification (2nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John.
Video Google: Text Retrieval Approach to Object Matching in Videos
Midterm Exam Closed book, notes, computer Similar to test 1 in format:
Converting Units To convert from one unit to another, use a conversion factor. A conversion factor is a fraction whose value is one. To make the right.
Evaluation David Kauchak CS 158 – Fall 2019.
Presentation transcript:

Learn how to make your drawings come alive…  Lecture 3: SKETCH RECOGNITION Analysis, implementation, and comparison of sketch recognition algorithms, including feature-based, vision-based, geometry-based, and timing-based recognition algorithms; examination of methods to combine results from various algorithms to improve recognition using AI techniques, such as graphical models.

Class Overview Paper discussion (lead by Joshua Peschel) Discussion of previous homework and implementation issues Lecture on classification details of Rubine Introduction to Long Homework

Read Paper Discussion: Rubine (lead by Joshua Peschel) Thoughts?

Class Overview Paper discussion (lead by Joshua Peschel) Discussion of previous homework and implementation issues Lecture on classification details of Rubine Introduction to Long Homework

Homework Implementation Discussion Compare average feature values for each gesture type. What did people get?

Implementation Issues (Repeat Slide from Lecture 2) Tablets are faster now than they were Rubine paper was based on slower data (mouse?) But, for correct feel, pen needs to be fast Issues you may have: –Duplicate location (2 consecutive points in same place) –Duplicate time (2 consecutive points at the same time) –Divide by zero (because of above problems) –Make sure your to convert to double before dividing in Java –Remove the second point not the first for duplicate points

Performing Recognition on these Features What do you think about the features? Can you foresee any recognition problems? Which features will be more helpful?

Rubine Classification Evaluate each gesture 0 <= c <= C. V c = value = goodness of fit for that gesture c. Pick the largest V c, and return gesture c

Class Overview Paper discussion (lead by Joshua Peschel) Discussion of previous homework and implementation issues Lecture on classification details of Rubine Introduction to Long Homework

Rubine Classification W c0 = initial weight of gesture W ci = weight for the I’th feature F i = i th feature value Sum the features together

Compute gesture covariance matrix How are the features of the shape related to each other? Look at one example - look at two features – how much does each feature differ from the mean – take the average for all examples – that is one spot in the matrix Is there a dependency (umbrellas/raining)

Normalize cov(X) or cov(X,Y) normalizes by N-1, if N>1, where N is the number of observations. This makes cov(X) the best unbiased estimate of the covariance matrix if the observations are from a normal distribution.For N=1, cov normalizes by N They don’t normalize for ease of next step (so just sum, not average)

What does it mean to “Normalize” Taking the average But… we want to find the true variance. Note that our sample mean is not exactly the true mean. By definition, our data is closer to the sample mean than the true mean Thus the numerator is too small So we reduce the denominator to compensate

Common Covariance Matrix How are the features related between all the examples? Top = non normalize total covariance Bottom = normalization factor = total number of examples – total number of gesture types (classes)

Weights W cj = weight for the j th feature of the c th shape Sum for each feature –Common Covariance Matrix inverted* ij –Average feature value for the i th feature for the c th gesture

Initial Weight Initial gesture weight = Sum for each feature in class: –Feature weight * average feature value

Rubine Classification Evaluate each gesture 0 <= c <= C. V c = value = goodness of fit for that gesture c. Pick the largest V c, and return gesture c

Rubine Classification W c0 = initial weight of gesture W ci = weight for the I’th feature F i = i th feature value Sum the features together

Rubine Adjustments: Eliminate Jiggle Any input point within 3 pixels of the previous point is discarded

Rubine Adjustments: Rejection Technique 1 If the top two gestures are near to each other, reject. V i > V j for all j != i Reject if less than.95

Rubine Adjustments: Rejection Technique 2 Mahalanobis distance Number of standard deviations g is from the mean of its chosen class i.

Implementation Issues Java matrix class JAMA for Java: or unused for C++: or unused for C++: nload/30784/download.aspx nload/30784/download.aspx

Class Overview Paper discussion (lead by Joshua Peschel) Discussion of previous homework and implementation issues Lecture on classification details of Rubine Introduction to Long Homework

Long features (from Rubine) 1. Cosine of initial angle 2. Sine of initial angle 3. Size of bounding box 4. Angle of bounding box 5. Distance between first and last points 6. Cosine of angle between first and last points 7. Sine of angle between first and last points 8. Total length 9. Total angle 10. Total absolute angle 11. Sharpness

Long Features: New 12. Aspect [abs( – #4)] 13. Curviness 14. Total angle traversed / total length 15. Density metric 1 [#8 / #5] 16. Density metric 2 [#8 / #3] 17. Non-subjective “openness” [#5 / #3] 18. Area of bounding box 19. Log(area) 20. Total angle / total absolute angle 21. Log(total length) 22. Log(aspect)

Class Overview Paper discussion (lead by Joshua Peschel) Discussion of previous homework and implementation issues Lecture on classification details of Rubine Introduction to Long Homework

Read Long paper – who wants to present? Implement Classifier Apply Rubine features to your classifier (w/out adjustments – save for weekend). Computer accuracy on Math data. Implement Long Features Apply Long features to your classifier (compute accuracy on Math data) Bring in Classification results