
The components that are used to develop the face recognition projects is Machine Learning, Python, OpenCV, Numpy, Pandas, Sklearn, Flask, HTML & CSS
Install and verify the necessary packages from the requirements file, then explore the foundations of Open CV in the next lesson; see you there and happy learning.
In this course we are using IMDB Wiki data for developing Face recognition model. However it is highly recommended to download the given in the resources.
This lecture explains the training architecture for the face recognition model.
Data Gathering
Data Preprocessing
Train ML model
Create ML Pipeline
Perform exploratory data analysis of gender and image size distributions using bar, pie, box, and histogram plots. Propose resizing to 100 by 100 to balance data for preprocessing.
Visualize explained variance and cumulative variance from PCA to determine the optimal number of components, using an elbow plot to select around 50 components for 80% explained variance.
Train a face recognition model using a support vector machine, with grid search cross-validation for hyperparameter tuning, and save results after data preprocessing and feature extraction.
Learn to manage static CSS and JavaScript in a Flask app by creating static/css and static/js folders, linking files with url_for, and applying styles to HTML.
MLOPs: AI based Face Recognition Web App in Flask & Deploy
Face recognition is one of the most widely used in my application. If at all you want to develop and deploy the application on the web only knowledge of machine learning or deep learning is not enough. You also need to know the creation of pipeline architecture and call it from the client-side, HTTP request, and many more. While doing so you might face many challenges while developing the app. This course is structured in such a way that you can able to develop the face recognition based web app from scratch.
What you will learn?
Python
Image Processing with OpenCV
Image Data Preprocessing
Image Data Analysis
Eigenfaces with PCA
Face Recognition Classification Model with Support Vector Machines
Pipeline Model
Flask (Jinja Template, HTML, CSS, HTTP Methods)
Develop Face Recognition Web
Deploy Flask App in Cloud (Heroku)
You will learn image processing techniques in OpenCV and the concepts behind the images. We will also do the necessary image analysis and required preprocessing steps for images.
For the preprocess images, we will extract features from the images, ie. computing Eigen images using principal component analysis. With Eigen images, we will train the Machine learning model and also learn to test our model before deploying, to get the best results from the model we will tune with the Grid search method for the best hyperparameters.
Once our machine learning model is ready, will we learn and develop a web server gateway interphase in flask by rendering HTML CSS and bootstrap in the frontend and in the backend written in Python. Finally, we will create the project on the Face Recognition project by integrating the machine learning model to Flask App.