GithubHelp home page GithubHelp logo

mingnuj / faceidentification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ji-hu/faceidentification

0.0 1.0 0.0 14.98 MB

faceidentification

License: MIT License

Python 1.24% Jupyter Notebook 98.76%

faceidentification's Introduction

face detection and identification


1. Intro


2. Pretrained Models

Pre-trained model is here Google drive

Mobilefacenet and Ir_se

2.1 set configuration

set the model configuration in config.py line 19

conf.use_mobilfacenet = True

if True, you will use mobliefacenet or else

3. How to use

3.1 Data Preparation

3.1.1 Prepare Facebank (For testing over camera or video)

Provide the face images your want to detect in the data/face_bank folder, and guarantee it have a structure like following:

data/facebank/
        ---> id1/
            ---> id1_1.jpg
        ---> id2/
            ---> id2_1.jpg
        ---> id3/
            ---> id3_1.jpg
           ---> id3_2.jpg

I prepare facebank for news and parasite videos. please name it as facebank

The videos are not provided

3.1.2 download the pretrained model to work_space/save

model file name as 'final_model' for GPU or 'final_model_cpu' for CPU

provided pre trained models are GPU version

3.2 detect over video:

​```
python infer_on_video.py -f [video file name] -s [save file name]
​```

the video file should be inside the data/face_bank folder

4. Future work

change face detection network

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.