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:
- Remove images where Open CV does not detect face and eyes.
- Crop images and save as a dataset filtered by step 1.
Step 2: Feature Engineering
- Convert image with the help of wavelet transform.
- Combine originial image with wavelet transformed image.
- Reshape combined image
- For Target variable define each folder of player as dictionary
Step 3: Model Building
- Use SVC, Random Forest, Logistic Regression with default parameter.
- Use GridSearchCV for hyperparameter tuning.
Step 4: Create API
- Save finalize model as pkl file. Devlepe API in Flask.
- Create API which take input image in the form of BASE64 encoding text. Encoded text decoded and gave input as to OpenCV.
- Transform it to Feature to classify.
Step 5: Create client
- Use CSS, Javascript, Html to build HTML page.
- With the help "nginx" delpoyed client mode by making changes in nginx.config
Deployment on AWS EC2 Instance