Giter Site home page Giter Site logo

janspiry / face-mask-segmentation Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 72.96 MB

【Tools】Face recognition and attribute segmentation using Python, dlib, and One Millisecond Face Alignment with an Ensemble of Regression Trees](http://www.cv-foundation.org/openaccess/content_cvpr_2014/papers/Kazemi_One_Millisecond_Face_2014_CVPR_paper.pdf).

Python 100.00%
face-recognition paper-api dlib

face-mask-segmentation's Introduction

Face Mask Segmentation

Face recognition and attribute segmentation using Python, dlib, and One Millisecond Face Alignment with an Ensemble of Regression Trees.

The dlib installation in windows platform you can infer my blog:

Examples

Command:

python project.py

Data:

image-20201209220210034

Output:

I extract the nose,eyes attributes mask

image-20201209215918743

Method

First We selected some pictures from CelebA-HQ,and use dlib to recognition and location some our wanted attributes.

Take nose as a example, choose 29-36 as my index referring to the picture below, then compute their midpoint. In the last, intercept the mask by midpoint and our patch_size(output size).

image-20201209220524489

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.