You are on page 1of 16

Computer Vision with

Embedded Machine Learning


What is Image Classification?

© 2021 EdgeImpulse, Inc.


Resolution: 2048 x 1536 pixels
Bit depth: 24 bits
Numpy array shape: (1536, 2048, 3)

© 2021 EdgeImpulse, Inc.


Model Cat

© 2021 EdgeImpulse, Inc.


Binary Classification
One-vs-One One-vs-Rest

vs. vs.

© 2021 EdgeImpulse, Inc.


Multiclass Classification

vs. vs. vs. vs. vs.

© 2021 EdgeImpulse, Inc.


Multiclass: One-vs-One
vs.

vs. vs.

vs. vs. vs.

vs. vs. vs.

vs. vs. vs.


© 2021 EdgeImpulse, Inc.
Multiclass: One-vs-Rest

vs. vs.

© 2021 EdgeImpulse, Inc.


k-Nearest Neighbors (k-NN)
255 Cat
Dog
Unknown
Pixel 1

0
Pixel 2 255

© 2021 EdgeImpulse, Inc.


Support Vector Machine (SVM)
255 Cat
Dog
Unknown
Pixel 1

0
Pixel 2 255

© 2021 EdgeImpulse, Inc.


Neural Network (NN)
Pixel 1 Pixel 2
value value Input layer
[0, 1] [0, 1]

Hidden layer

Output layer

P(cat)

© 2021 EdgeImpulse, Inc.


Neural Network (NN)
Pixel 1 Pixel 2
value value
[0, 1] [0, 1]

cat dog bird human dolphin field


vs. vs. vs. vs. vs. vs.
rest rest rest rest rest rest

© 2021 EdgeImpulse, Inc.


Neural Network (NN)
Pixel 1 Pixel 2
value value
[0, 1] [0, 1]

P(cat) + P(dog) + P(bird) +


Softmax
P(human) + P(dolphin) +
P(cat) P(dog) P(bird) P(human) P(dolphin) P(field) P(field) = 1.0
0.06 0.63 0.02 0.26 0.00 0.03
© 2021 EdgeImpulse, Inc.
Challenge: Illumination

© 2021 EdgeImpulse, Inc.


Challenge: Deformation

© 2021 EdgeImpulse, Inc.


Challenge: Occlusion

© 2021 EdgeImpulse, Inc.


© 2021 EdgeImpulse, Inc.

You might also like