Professional Documents
Culture Documents
Topic: Convolution Neural Network: Presented by
Topic: Convolution Neural Network: Presented by
Topic: Convolution Neural Network: Presented by
Presented By:
Fazal Ahmad
Like CNN Is classifying the image into 3 classes Dog, Cat, Mouse. Then 1st probability
will be of Dog 2nd will be of Cat and 3rd will be of Mouse.
Example
Suppose we want to recognize this number to computer , Computer use it RGB numbers
from 0—255.
The issue with this is it’s a very hard coding if we shift a little the number and it’s
representation of the number is changes it will not match with the original number &
computer will not recognize it easily.
How we humans Recognize things
Neurons
Steps of CNN
Input an Image
In the First we input an image and then apply the further layers of the CNN
Convolution layer
Here are multiple convolution layers available, every layer abstract a feature . Like in
the image one layer can be used to detect it’s vertical edges, The second one can be
used to detect the objects, and 3rd one can be used to detect Objects shapes
Max Pooling
Max pooling is an another building block of CNN its function is to progressively
reduce the spatial size of the representation to reduce the amount of the parameters
and computation in the network, Pooling layers operates on each feature map
independently. It reduce the size of pixels , and detect only the important features of
the image.
Flattening
Flattening is converting the data into 1-Dimension array for inputting It to the next
layer We flatten the output of the convolution layer to create a single long feature
vector & convert the each row into the column. and it is connected to the final
classification model, which is called a fully connected layer.
Fully Connected
The fully connected layers means that the every neuron in the layer is fully connected
to each other . so that it can process the each data properly . The main aim of this layer
is to use the high level features of input image produced by the convolution and
pooling layers for classification into various class on the base on the training data sets
Output
The output layer used the soft max activation function , and the soft Max activation
function takes the input in the form of vector and also produce the output in vector.
Where there are the probability value are 0 or 1 to predict about the final decision of
image
Uses Of CNN in Real World Applications
Face detection:
CNNs have been used to detect faces within images. The network takes an image as
the input and produces a set of values that represent characteristics of faces or facial
features at different parts of the image. CNN has shown improved accuracy over
previous algorithms, identifying faces 97% of the time according to various research
papers.
Facial emotion recognition:
CNNs have been used to help distinguish between different facial expressions such as
anger, sadness, or happiness. CNNs can also be adapted to perform well with various
lighting conditions and angles of faces within images.
Object detection:
CNN has been applied to object recognition across images by classifying objects
based on shapes and patterns found within an image.
Uses Of CNN in Real World Applications