GithubHelp home page GithubHelp logo

wwitt / face-attendance-machine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matiji66/face-attendance-machine

0.0 2.0 0.0 1.36 MB

使用开源的dlib做一个人脸打卡机器.可以进行人脸识别,确认

License: Apache License 2.0

Python 100.00%

face-attendance-machine's Introduction

Face attendance

借助 opencv 以及开源的的dlib,face_recognition 做一个python版的人脸打卡机器.可以进行人脸识别确认,并记录识别出来的人脸结果.

Requirement

python3.6, pywin32, dlib, face_recognition, opencv

First run capture.py to capture image 采集人脸照片

将采集的照片,根据name保存到./dataset路径下.

Second run encoding_images.py to encoding faces image 将人脸照片保存到npy中

对人脸编码进行持久化,避免每次重新开始编码,提升程序启动速度

Third run facerec_from_webcam_faster.py for face recognize and persist to local file(or mysql)

进行人脸识别,身份确认,并每隔一段时间将识别结果持久化到 ./dataset/face_record.txt中,用来历史查询.

至此一个简单的人脸打卡工程就结束了

为了兼顾准确率,以及识别精度,采集人脸多个角度的照片(size=8),并降低dlib的人脸比对的阈值(tolerance=0.3),提升准确路,避免人脸识别错误.

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.