Giter VIP home page Giter VIP logo

face-clustering's Introduction

Clustering Algorithms and their Application to Facial Image Analysis

News

🔥 A complete face clustering code (with Dockerfile etc.) according to FaceCup rules has been added (1/23/2022).

Introduction

img

Syllabus (and Implementations)

Contents of presentation files are as follows:

​ 1- Introduction
     - Machine Learning: Clustering vs Classification and Regression
     - Face Clustering

​ 2- Clustering Algorithms
     - Introduction to Clustering Algorithms (Categorization)
     - K-means Clustering [code]
     - DBSCAN Clustering [code]
     - Agglomerative Clustering [code]

​ 3- Evaluation Metrics
     - Purity
     - Rand index [code]
     - F-measure [code]
     - Normalized Mutual Information (NMI) [code]

​ 4- Face Analysis
     - Face Detection [code: MTCNN]
     - Face Preprocessing
     - Face Recognition [code: dlib, ArcFace, feature matching]
     - A Complete Face Clustering System [code: on small dataset, on FaceCup sample dataset]

FaceCup Dataset

The test dataset is not published for FaceCup challenge purposes. Sample dataset published for participants contains 899 images. Identity label for each image can be obtained from image file name as follows:

image

  • Download: FaceCup (is available for participants in their panel)

A complete and easy-to-use code for FaceCup

🔥 A complete face clustering code (with Dockerfile etc.) according to FaceCup rules has been added in clustering_via_insightface_for_facecup.zip.

Download the .zip file and replace the username and password by your ones in run_insightface_sklearn_clustering.py file as follows:

image


NOTE:
You can change Face Detection and Feature Extraction models as well as clustering algorithm and parameters to achieve better results.

NOTE: This code is run on CPU. You can change Dockerfile and requirements.txt (as the previous codes) to run it faster on GPU.

Useful Links

Face Analysis

Clustering (including Face Clustering)

References

face-clustering's People

Contributors

hamidsadeghi68 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.