Skip to content

This is a face detection and image classification project for cartoon characters

Notifications You must be signed in to change notification settings

Gilgamesh60/AnimeCharactersFaceRecognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cartoon character classification


Motivations

My main motivation behind this project is that there are thousands of cartoon\anime characters from various animes. It becomes extremely frustating to find the name of the character you see on twiiter/instagram. So right now I am doing this project on small scale for only 10 characters.One day I want to execute this on much bigger scale.

Data preparation

-I have prepared the Data for this project from Google Images. Inorder to achieve more accurate classification, Dataset can be prepared from own Images because Google Images are not always accurate, it might contains Duplicate Images, Misplaced or Misclassified Images and many more which will utlimately affect the accuracy of the Model. Despite of those challenges, this Model can still classify Images with High Accuracy. -To prepare the Data from Google Images, you will to go Google Images and search for the images you are interested in.The more specific you are in your Google Search, the better the results and the less manual pruning you will have to do. Then you should copy and paste the following Javascript. -For this I have made a web-scraper in python using selenium and collected the images of 10 different cartoon character

Using Computer vision to detect faces

This includes-face detection and cropping the face out of original images

Snapshot of input images

Untitled document (4)-1

Training the model

For this I have implemented two different models. One is a simple CNN model using TensorFlow & Keras. And second a SVM classifier. We will compare these two models 7 choose the best one. I have included both code templates. Screenshot 2022-09-30 133037

Model Performance

Here I am showing the performande of my CNN model on each epoch.

CNN_Model

About

This is a face detection and image classification project for cartoon characters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published