yuanyuanxiang / facedetector Goto Github PK
View Code? Open in Web Editor NEW人脸识别程序:一个基于开源facenet的人脸检测并进行识别的程序,将人脸上传到选定的服务器进行表情识别、年龄识别、性别识别。
人脸识别程序:一个基于开源facenet的人脸检测并进行识别的程序,将人脸上传到选定的服务器进行表情识别、年龄识别、性别识别。
这是一个MFC(C++)调用Python(TensorFlow)的Visual Studio项目。 #identify 一个C++通过Socket发送人脸图像到服务器进行人脸识别的例子。 #faceViewer 一个显示人脸照片墙的MFC程序。 #objDetector 一个MFC(C++)调用Python(TensorFlow)facenet进行人脸检测、识别的程序。 必要条件: align detect.py label_map.ini simfang.ttf 可选检测项: 人脸识别:identify.py + modles(pb文件和pkl文件) 年龄、性别检测:age_gender_identify.py 表情识别:emotion_gender_identify.py #编译前置条件 0、已训练好的模型(frozen_inference_graph.pb) 1、安装python3.5 64位,安装OpenCV 64位 2、pip install numpy 3、pip install pillow 4、pip install matplotlib 5、pip install tensorflow 6、其他包视情况而定 #编译注意事项 1、为项目添加Python的附加包含目录及库目录,复制pythonXX.lib的备份,并重命名为pythonXX_d.lib; 1、根据个人计算机,编译好openCV,并在stdafx.h或其他链接的位置配置OpenCV版本及路径; 2、error LNK2019: 无法解析的外部符号 __imp___Py_NegativeRefcount、__imp___Py_RefTotal解决方案: 注释掉object.h文件第56行 #define Py_TRACE_REFS 3、根据个人设置,修改Py_SetPythonHome中python的目录(宏:PYTHON_HOME); 4、需要将被调用的 *.py 文件拷贝到生成目录; 5、需要给定目标检测的模型文件,并在相应的 *.py 文件中填写。 6、2019-4-24 发现在使用numpy 1.16.3时存在问题 “Object arrays cannot be loaded when allow_pickle=False” 降低numpy 版本到1.16.2解决该问题。 有问题,请联系:[email protected] 2018-4-16 袁沅祥 注
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.