Code Monkey home page Code Monkey logo

real_time_face_recognition_with_insightface's Introduction

Real_time_face_recognition_with_insightface

本项目是基于python3的一个实时视频人脸识别项目,你可以用他这个项目来实现实时远程视频获取,并且在获取视频端进行识别,然后由识别端将数据发送给服务器,服务器端会实时显示,全项目依赖开源的InsightFace项目https://github.com/deepinsight/insightface 此处使用到的模型是mobilefacenet,你也可以到原项目地址下找其他的model使用

安装mxnet的时候需要对应你的cuda版本安装。

pip3 install -U -r requirements.txt

服务器端需要搭建srs服务,具体配置细节请上 https://github.com/ossrs/srs 查询,建立这个服务器之前你需要在你的主机上搭建好ffmpeg命令,因为需要这个来做RTMP视频推流

在人脸识别之前你需要把自己需要识别的人脸图片放在./database/image文件夹下,根据目录下的REDME.md来做就行了

切换到./deploy文件夹下 创建人脸数据集:

python3 create_database.py --model ../models/model-y1-test2/model,0000 -c

服务器端运行:

python3 server.py

检测端运行:

python3 client.py --model ../models/model-y1-test2/model,0000 -n

该项目还没完成,请慎用,后续有空我会把手机APP程序写完放上了,但由于本人想考研,所以估计得放下大概半年左右的时间,如果有大神能帮我写剩下的手机APP端rtmp显示和mqtt消息推送(或者是其他方式完成这两项任务)请你联系我,或者直接将你的程序放到这里,小弟在此感谢。

责任说明:

由于本人发布前将该项目申报了专利所以如果有人使用这套项目的申请其他的什么东西的话就不要使用原本的内容了,我虽然打的是MIT开源证书,但是请大家还是不要使用他来申请专利啥玩意的了。

real_time_face_recognition_with_insightface's People

Contributors

kalenforn avatar

Watchers

James Cloos 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.