Skip to content

rupeshsure/IMAGE-CLASSIFICATION-PROJECT

Repository files navigation

ALL THE REQURIED FILES WHICH ARE USED TO CARRY OUT THIS PROJECT WERE ATTACHED IN THE REPOSITORY. USER INTERFACE FILES, CODING PART, RESULTS, and DATA SETS. The user interface is majorly bulid with the help of JS and HTML. The coding part folder has a deep learning technique ipynb file which has less accuracy compaerd to ML classifiers so ML classifier has been used to bulid a UI. The UI has been build with the help flask server.

ABSTARCT

Basically this project deals with image classification which was carried out with the help of machine learning instead of deep learning techniques. This project is completely based on facial recognization using machine learning classifiers. The facial patterns were been detected wuth the help of haar cascade files. The files help in seeing the eyes and face of a human. The logistic regression provided the best results in achieving an accuracy of 88%. This project completely deals with facial recognition based on face patterns with the help of haar cascade files, not with the help of local binary patterns. The classifiers are been tuned (Hyperparamter tuning) to acheive best reults and improved accuracy in bulit models.

METHODOLOGY

The normal image is converted into a grey scale image it's done because ML models can only recognize greyscale images.

This is original image as RGB pattern

normal

This image is a greyscale image that was converted from a normal image.

grey

Facial recognition using haar cascade files which shows eyes face has been detected.

facial

If both eyes and face have been recognized accurately the image will get cropped else it doesn't recognize consider the image.

cropped

PyWavelets have been used to recognize the patterns in the cropped face

patterns The complete procedure followed was been provided in the code.

USER INTERFACE

The user interface has been developed for this project which deals with classifying the image based on his facial features. image This how the interface looks like we need to upload any images which are not trained or in test data after uploading the image the results will be shown in below image: prediction The results show the probability score or accuracy of the image which means how much percentage that the uploaded image match with ML model. If the face or eyes are not recognized properly in the uploaded image the output result will be no It shows a pop-up message that face and eyes are not found