Skip to content

Image Classification (IPL Captains) Using Open CV & Wavelet Transformation

Notifications You must be signed in to change notification settings

maha-prathamesh/Image-Classification-IPL-Captains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image-Classification of IPL Captains

Application URL:
http://ec2-18-218-197-48.us-east-2.compute.amazonaws.com/

Goal is classsify IPL Captain Images.

Step 1: Data Cleaning
For Data cleaning we have used Open CV. Data Cleaning process contains:

  1. Remove images where Open CV does not detect face and eyes.
  2. Crop images and save as a dataset filtered by step 1.

Step 2: Feature Engineering

  1. Convert image with the help of wavelet transform.
  2. Combine originial image with wavelet transformed image.
  3. Reshape combined image
  4. For Target variable define each folder of player as dictionary

Step 3: Model Building

  1. Use SVC, Random Forest, Logistic Regression with default parameter.
  2. Use GridSearchCV for hyperparameter tuning.

Step 4: Create API

  1. Save finalize model as pkl file. Devlepe API in Flask.
  2. Create API which take input image in the form of BASE64 encoding text. Encoded text decoded and gave input as to OpenCV.
  3. Transform it to Feature to classify.

Step 5: Create client

  1. Use CSS, Javascript, Html to build HTML page.
  2. With the help "nginx" delpoyed client mode by making changes in nginx.config

Deployment on AWS EC2 Instance

UI Screenshots:






Releases

No releases published

Packages

 
 
 

Languages