Git Product home page Git Product logo

dlib_face_recognition_from_camera's Introduction

Face recognition from camera

Using Dlib to detect and recognize faces from camera (support multi-faces) ;

调用摄像头进行人脸识别,支持多张人脸同时识别;


Three steps :

Face register >> Generate datebase >> Face recognition

人脸录入 >> 建立人脸数据库 >> 利用摄像头进行人脸识别

Python 源码介绍如下:

get_face_from_camera.py :

Face register / 人脸录入
请注意存储人脸图片时,矩形框不要超出摄像头范围,要不然无法保存到本地

get_features_into_CSV.py:

 Generate the features from the photos you captured and write the datas into CSV / 将图像文件中人脸数据提取出来存入CSV
 Will generate a "features_all.csv" ( size: n*128 , n means n people you registered and 128 means 128D features of the face)

face_reco_from_camera.py:

 Face recognition from camera (support multi-faces) / 实时进行人脸识别
 Compare the faces captured from camera with the faces you have registered which are saved in "features_all.csv"
 将捕获到的人脸数据和之前存的人脸数据进行对比计算欧式距离

For more details, please refer to my blog (in chinese) or contact me by e-mail:
> Blog: https://www.cnblogs.com/AdaminXie/p/9010298.html  
> Mail: [email protected]

Version: Face recognizer V2.5


Update date: 30, Oct
Description: Fix the issue when the face's rectangle is out of range you may cannot save the image of faces.
当人脸录入时,由于人脸特征矩形框有时超出摄像头范围,会导致程序退出,V2.5 新增了范围超出提醒,而且超出范围时不可以进行人脸录入无法保存照片;

Author : coneypo
Thanks for your support.

dlib_face_recognition_from_camera's People

Contributors

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