Skip to content

Designed to categorize images to memes&docs/people/others from mixture of images using Opencv haarcascades.

License

Notifications You must be signed in to change notification settings

agnivadas/Image_Categorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image_Categorizer

GPL License Image_Categorizer Maintenance Static Badge

Designed to categorize images to memes&docs/people/others from mixture of images using Opencv haarcascades.

It is a lightweight program to support the boring task of sorting memes and people or pets pics from the mixture of images(like Whatsapp images collection)

Requirements

  • Python(Latest version preferable)

Paste the following in command terminal to install the required libraries:

pip install opencv-python pytesseract numpy

Installation of Tesseract is needed .The latest installers can be downloaded here:

How to use:

After downloading run the script , a GUI windows will be opened and click on select directory to choose the directory which contain the mixture of images .

Click Start categorizing to start the program .The respective input images will be copied to specific folder according to their category.

Status of images processed will be shown in the window.

Optimizations

This is a lightweiht program which uses OpenCV Haarcascades for facial recognition and tesserect to rcognize text blocks in images .

As Haarcascades gives false positive reults it is still used as the code is just to support the categorization.

Other more accurate program like Mediapipe, MTCNN could be used for facial recognition but it would make the code more heavy weight and slow for this process.

Contributing

Contributions and any tips to improve the code are always welcome!

About

Designed to categorize images to memes&docs/people/others from mixture of images using Opencv haarcascades.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages