Objectrecognition
Objectrecognition
• Object Recognition
• What is Object Recognition?
• What is Pattern Recognition?
• Approaches
• Applications
• Main Components
• Gender Example
2
Outline
• Fingerprint Recognition
• Definition
• Fingerprint Matching Using Ridge-End and Burification
• Fingerprint Image
• Binarization
• Thinning
• Minutiae Extraction
5
Computer Vision
Computer Vision is the study of analysis of pictures and
videos in order to achieve results similar to those as by
humans
6
Human Vision VS Computer Vision
10
What is Digital Image Processing?
11
Key Stages in Digital Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 12
Key Stages in Digital Image Processing:
Image Acquisition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 13
Key Stages in Digital Image Processing:
Image Enhancement
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 14
Key Stages in Digital Image Processing:
Image Restoration
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 15
Key Stages in Digital Image Processing:
Morphological Processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 16
Key Stages in Digital Image Processing:
Segmentation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 17
Key Stages in Digital Image Processing:
Object Recognition
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 18
Key Stages in Digital Image Processing:
Representation & Description
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 19
Key Stages in Digital Image Processing:
Image Compression
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 20
Key Stages in Digital Image
Processing:
Colour Image Processing
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression 21
What is Object Recognition?
• Last step in image processing
tree
building
banner
street lamp
vendor
people
Scene and context categorization/Understanding
• outdoor
• city
•…
• Unsupervised learning
– The system forms clusters or “natural groupings”
of the input patterns
29
The Design Cycle
What is Pattern Recognition?
32
Components of Pattern Recognition
(Cont’d)
• Data acquisition and sensing
• Pre-processing
Removal of noise in data.
Isolation of patterns of interest from the background.
• Feature extraction
Finding a new representation in terms of features.
(Better for further processing)
33
Components of Pattern Recognition
(Cont’d)
• Model learning and estimation
Learning a mapping between features and pattern groups.
• Classification
Using learned models to assign a pattern to a predefined
category
• Post-processing
Evaluation of confidence in decisions.
Exploitation of context to improve performances.
34
Examples of Pattern Recognition Applications
35
Pattern Representation
• A pattern is represented by a set of d features,
or attributes, viewed as a d-dimensional
feature vector.
T
x ( x1 , x 2 , , x d )
Basic concepts
Pattern
x1 Feature vector x X
- A vector of observations
x2 (measurements).
x
y - x is a point in feature space X.
xn
Hidden state y Y
- Cannot be directly measured.
- Patterns with equal hidden state belong to the same class.
Task
- To design a classifer (decision rule) q : X Y
which decides about a hidden state based on an onbservation.
Feature Extraction
X1
X1 X3 X1
X2
X2 X3
The classification consists of determining to which region a feature vector x belongs to.
Borders between decision boundaries are called decision regions.
Representation of classifier
f1 ( x )
f 2 (x)
x max y
Feature vector Class identifier
f |Y | ( x )
Discriminant function
Block diagram
Both definitions may be depicted by the following
block diagram.
The process consists of two major operations:
Classification
Class /
Category
Feature extraction
Class /
Object Pattern Category
Class /
Category
of 15
Example : Gender
Assume an algorithm to recognize the gender of a
student in a university, where the available input is
several features of the students (of course, the gender
cannot be one of the features).
of 15
What is a Feature?
Feature is a scalar x which is quantitatively
describes a property of the Object.
of 15
What is Feature Extraction?
“When we have two or more classes, feature extraction
consist of choosing those features which are most
effective for preserving class separability”(Fukunaga p. 441)
of 15
What is a Pattern?
Pattern is a n-tuple X (vector) of N scalars xi
i [1,N], which are called the Features.
Conventional form of a pattern is:
T
X x1 x2 xN , xi , X V
Alon Slapak of 15
Possible patterns for the gender problem:
We can use the shoe size alone to have:
X Shoe size
We can combine the height and the weight to have:
T
X height , w eight
We can even combine the height, weight and the shoe size to be on the safe side:
T
X height , w eight , shoe size
Or, we can use them all:
T
X # of eyes , hair color , glasses , hair length , height , w eight , shoe size
of 15
Example Since the male students and the
Assume we are using the
height and the weight of female students differ from each
other in height and weight, we are
each of the students in 120
expected to have two separated
the university as a 110
clusters.
pattern. 100
Males
The height and the weight 90
are both features, which
weight [kg]
80
span a feature space V of
dimension 2. 70
60
Each of the students is
represented as a point in 50
Female
the feature space. Patterns 40 s
of male students are 30
depicted in blue, and those 120 130 140 150 160 170
height [cm]
180 190 200 210 220
of 15
What is Classification?
Classification is a mathematical function or
algorithm which assigns a feature to one
of the classes. 120
110
Example: 100
Males
We can draw a line
90
between the two
weight [kg]
30
120 130 140 150 160 170 180 190 200 210 220
height [cm]
of 15
Clusters Separation
Misclassifications are a consequence of the
separation of the clusters. The separation
of clusters is quantified using two major
methods:
1. Mathematically: there are several separation criteria’s.
2. “Intuitively”: overlapping of the clusters.
100 100 100
90 90 90
80 80 80
70 70 70
60 60 60
50 50 50
40 40 40
30 30 30
20 20 20
10 10 10
0 0 0
0 10 20 30 40 50 60 70 80 90 100 0 10 20 30 40 50 60 70 80 90 100 0 10 20 30 40 50 60 70 80 90 100
Feature selection is of
paramount importance in
classification quality
of 15
53
Fingerprint
The popular Biometric used to authenticate person is Fingerprint which
is unique and permanent throughout a person’s life
The ridges have characteristics, called minutiae, are the ridge ending
and the ridge bifurcation
Ridge bifurcation is defined as the point where a ridge forks into branch
ridges
54
Valleys and Ridges
55
Ridge Ending and Bifurcation
56
Fingerprint Recognition
Fingerprint recognition or fingerprint authentication refers to the
method of verifying a match between two human fingerprint
58
Fingerprint Image
• The input fingerprint image is the gray scale
image of a person, which has intensity values
ranging from 0 to 255
• A number of methods are used to acquire
fingerprints
• The inked impression method remains the
most popular one
• Inkless fingerprint scanners are also present
59
Inked method Inkless method
60
Binarization
The pixel values above the threshold are set to ‘1’ and the
pixel values below the threshold are set to ‘0’ respectively
61
Original Fingerprint Binarized Fingerprint
62
Thinning
64
Minutiae
Extraction
65
• If crossing Number is 1 minutiae points are
classified as Termination
66
Crossing Number and Type of Minutiae
67
Gray-scale Fingerprint Minutiae points
68
Minutiae Matching
Image Acquisition
Computation of Points
Timage.jpg = Template
Image retrieve from
database.
70
Computation of
Points
After the detection of minutiae points,
matching algorithm require to calculate
total number of available points in the
fingerprint image separately
71
Minutiae Point Calculation
72
Location Detection
of Points
Each minutiae point in the fingerprint image
has a specific location.
73
Minutiae Point Extracted in Input Image
74
Amount and Location
Matching
In the previous steps, all the required
information about points is computed and
stored
75
76
77
78
What is an ALPR System?
79
Recognized character
The procedure is based on extraction of plate
region, segmentation of plate characters and
recognition of characters 80
81
Characters Segmentation
• In the segmentation of plate characters, the car
number plate is segmented into its constituent
parts to obtain its characters individually . Image
filtering from unwanted spots and noise.
83
Normalization of characters
Normalization is to refine the characters into a
block containing no extra white spaces (pixels) in all
the four sides of the characters.
84
Below an example of normalized character where the
character fill all the 4 sides
Normalized character
85
86
Supermarket scanner recognizes objects without
barcodes
87
88
Supermarket scanner recognizes objects without barcodes
The technology uses a camera that compares the food that is being scanned to a
large, expandable database of products.
That camera filters out background "noise" in its picture, so that it only sees
objects held close to its lens against a neutral black background.
This object recognition system requires a database that contains the information
about the items in the supermarket.
90
Google patents new object recognition technology,
likely has plans to use with YouTube
Take a picture of a car... Android Eye will tell you the make and model of the car.
Take a picture of a foreign t-shirt label... Android Eye will tell you the brand, and where
the shirt is from. Take a picture of a tree... a ball... a person... the results are endless.
This is the new version; it works very well, particularly with vehicles, products, brands,
and well-known "things".
Software that does this is usually only available to government agencies and research
93
facilities.
A Google Glass App
94
A Google Glass App Knows What You're Looking At
96
97
References
• http://arxiv.org/ftp/arxiv/papers/1001/1001.4186.pdf
• http://www4.comp.polyu.edu.hk/~csajaykr/myhome/teaching/biometrics/final_re
port.pdf
• http://www.google.com.lb/ Fingerprint Analysis and Representation.ppt
• http://www.academia.edu/2537762/Fingerprint_Matching_using_Ridge-
End_and_Bifurcation_Points
• http://ai.pku.edu.cn/aiwebsite/research.files/collected%20papers%20-
%20fingerprint/Minutiae%20detection%20algorithm%20for%20fingerprint%20reco
gnition.pdf
• http://en.wikipedia.org/wiki/Computer_vision
98
99