GithubHelp home page GithubHelp logo

jorbo19 / face_recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lyang-never/face_recognition

1.0 2.0 0.0 8.92 MB

A face recognition system integrated with Retinaface and insightface.

Python 99.89% Shell 0.11%

face_recognition's Introduction

简介

A face recognition system integrated with Retinafaceand insightface.

Retinaface下的一些细节

以下操作均是建立在$FaceRecognition/Retinaface/为根目录的基础上。

1、 测试 首先,我们来体验下这个人脸检测器的效果。 直接运行test_fddb.py脚本即可。里面有两种方式,检测图片和视频,可以进行切换。

2、 训练 首先,我们需要下载训练数据:数据集wider_face和原作者所进行标注过后的annotations

wider_face地址:http://shuoyang1213.me/WIDERFACE/WiderFace_Results.html

annotations地址:https://pan.baidu.com/s/1Laby0EctfuJGgGMgRRgykA 然后,运行train.py脚本即可。

3、 裁剪和对齐 这个运行align.py脚本即可。里面写了一个示例,方便理解。若像根据自己的需求进行更改,可见博客详解。

地址:https://blog.csdn.net/qq_37690498/article/details/105196412

4、 识别 运行faceRec.py脚本即可。这个是基于摄像头的,根据已有人脸库进行人脸识别,所以需要自己注册人脸信息,完善人脸库。若人脸库不存在人脸信息,则会标识为“None”。 注册人脸信息,运行make_features.py即可。

python make_features.py --name xxx

然后,人脸特征向量和图片分别保存到~/features/~/features_saveimg/文件夹中。 当然,运行以上程序,需要有训练好的人脸识别模型。我们上述采用的是insightface训练好的,见~/insightface_weights/中。所以,为了可以训练我们自己的模型,就需要进入insightface文件中了。

insightface

这部分详细记录见博客。地址:https://blog.csdn.net/qq_37690498/article/details/105145807

face_recognition's People

Contributors

lyang-never avatar

Stargazers

 avatar

Watchers

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