Skip to content

Files

2. Convolution Neural Networks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 12, 2020
Dec 7, 2020
May 17, 2020
Apr 15, 2020
May 24, 2020
Apr 12, 2020
Apr 17, 2020
Apr 18, 2020
Jun 6, 2020
Apr 12, 2020
Apr 12, 2020

Convolution Neural Networks

Image Classification Pipeline

MLPs v/s CNNs

MLP CNN
Only use fully-connected layers Makes use of fully as well as sparsely connected layers
Only accepts vector as input Also accepts matrices as input

MLPs

In a MLP, every hidden node needs to be connected to every pixel in input image. This accounts for a lot of redundancy.

CNNs

Instead of every node keeping information of every pixel of input image, we divide the image into 4 regions - red, green, blue and yellow. Then each hidden node can be connected to only the pixels in one of these 4 regions as depicted below.

Installation

To install opencv follow either of the below 2 methods -

  1. Install OpenCV on Linux
  2. Install OpenCV on Windows
  3. If you have Anaconda Python installed, just run the below command -
conda install opencv

Note - You can validate installation of opencv by running, import opencv