Skip to content

Collected images from google through web-scraping performed data cleaning, data preprocessing, exploratory data analysis, and build machine learning models such as Logistic Regression, Random Forest, and SVM(Support vector machine) achieved 88% test accuracy and deployed model to production, Used Numpy, OpenCV, SKlearn, CSS, Html, Flask, JavaScr…

License

Notifications You must be signed in to change notification settings

SyedMuhammadHamza/Politician-Face-Classifier

Repository files navigation

Politician-Face-Classifier

Alt Text

Web Scraping

  • Collected images from google through web-scraping using Selenium with ChromeDriver

Data Cleaning

  • Performed data cleaning through face detection using OpenCV pre-trained feature-based Haar cascade classifiers to discard images from the dataset without face and two eyes visible

Feature engineering

  • Performed feature engineering through extraction by wavelet transformation of images using PyWavelets and then vertically stacking raw and wavelet transformed images

Model Building

trained models such as Inception-ResNet, Logistic Regression, SVM(Support vector machine), and Ensembling bagging Random Forest

Inception-ResNet(Inception-v4)

User interface

  • Used HTML,CSS and JavaScript,

Productionization

  • Deployed model to production using Flask

Technologies

  • Python
  • Numpy and OpenCV for data cleaning
  • Matplotlib & Seaborn for data visualization
  • Sklearn for model building
  • Python flask for HTTP server
  • HTML/CSS/Javascript for UI

©SyedMuhammadHamza Licensed under MIT License

About

Collected images from google through web-scraping performed data cleaning, data preprocessing, exploratory data analysis, and build machine learning models such as Logistic Regression, Random Forest, and SVM(Support vector machine) achieved 88% test accuracy and deployed model to production, Used Numpy, OpenCV, SKlearn, CSS, Html, Flask, JavaScr…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published