GithubHelp home page GithubHelp logo

kuldeepsinghrajput / image-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23 KB

This piece of code can serve with the categorization of imae based on the faces

License: GNU General Public License v3.0

Python 100.00%

image-manager's Introduction

Image-Manager

This piece of code can serve with the categorization of image based on the faces.

Usage

Just store the ImageManager.py program in the folder where images are.

Setup help

Create a conda environment say image and run the program. Follow the following code:

#To setup conda create -name image conda activate image conda install face_recognition conda install shutil pip install windows-curses conda deactivate

#To run conda activate image python ImageManager.py conda deactivate

face_recognition package is hard to install because the package require DLIB which is not available by default. So python try to compile is using cmake and other, and you will ultimately fail on this . So easiest is to install conda and create a environment and install face-recogniton there.

Other package reuired is : Shutil This package is easily available, so it wont case any problem.

About

This Image manager classify the images unsupervised way. It essentially finds the face in a image and detect the main face in the image and move them to a respective folder. The folder are assigned name from 0 to n. For the fist face found it will be moved to the 0th folder and so on respectively.

For those image that do not have any face are moved to other folder.

#Improvement-Required Here i have used a simple face recognition pyhton library "face_recognition", so the preciation and spped of classificationn depends on it. Anyon can improve the code by improving the face detection part. Moreover the images those do not posses any face can be further classified as notes , screenshots, landscapes.

#Help-for-imporvement

Here I detect the main focus of the images by finding the biggest face in the image but here the mistake that may arise is that the biggest face may not be clear enough to compare faces. So the program may mistook two a same person as different based on different photos, although the best match is considered here for the classification. But the program may compare a inferior image to inferior face data thus leaving the best match , ie the required folder. So the high quality face goes to a high quality face while low quality face go to low quality face althouth the face is of same person.

So imoprovemnt on this is required.

#Need-Better-Face-Detection Further iprovement is required, the face detection is not good enough here. It classify the faces of same structure into one weather the people are different.

Hint: One may use CNN Models.

"I have classified more than 16K images with the help of this program"

image-manager's People

Contributors

kuldeepsinghrajput avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.