To implement Convolutional Neural Network for Multi-Class Classification to classify images into driving license
, social security
, and others
category.
-
$\rightarrow$ Language: Python -
$\rightarrow$ Libraries:tensorflow
,keras
,matplotlib
,flask
,gunicorn
,pathlib
,numpy
Dataset used in this project are images of driving license, social security, and others categorized into respective categories. The images are of different shapes and sizes which are preprocessed before modeling.
- Data loading
- Data Preprocessing
- Data Augmentation
- Model building and training
- Deployment using
flask
,gunicorn
input
|__test_data
|__train_data
|__driving_license
|__others
|__social_security
logs
|__log_files
notebooks
|__images
|__CNN.ipynb (**MAIN NOTEBOOK**)
|__helper_functions.py
output
|__saved_models
|__prediction_images
src
|__exception
|__`__init__.py`
|__logger
|__`__init__.py`
|__pipeline
|__constants.py
|__deploy.py
|__get_data.py
|__predict.py
|__train.py
|__utils.py
|__wsgi.py
|__wsgi.sh
engine.py
model_api.ipynb
- What is CNN?
- Deep Neural Network vs Convolutional Neural Network
- What is Kernel in CNN?
- Understanding CNN architecture
- What is the use of CNN?
- What is Pooling and Padding?
- What is the use of Pooling and Padding?
- What is Convolution?
- What is Tensorflow?
- What is a feature map?
- What is Data Augmentation?
- How to load the data using tensorflow?
- How to build a CNN model using tensorflow?
- How to do data preprocessing?
- How to build an API using Flask?
- How to do real time prediction using gunicorn platform?
conda create -p venv python==3.10 -y
conda activate venv/
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- Run
python engine.py
to train/predict/deploy