discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
vipstone/faceai · source
Snapshot 0 · 2026-11-04T12:47:25Z · Python · MIT
Content fingerprint
cae6b3e7095042abf60d3fcb1626443489c28f9f4cdd5da7995403751dc84135GitHub description at capture
一款入门级的人脸、视频、文字检测以及识别的项目.
README at capture
[English Doc](README_en.md) # 功能 # 1. 人脸检测、识别(图片、视频) 2. 轮廓标识 3. 头像合成(给人戴帽子) 4. 数字化妆(画口红、眉毛、眼睛等) 5. 性别识别 6. 表情识别(生气、厌恶、恐惧、开心、难过、惊喜、平静等七种情绪) 7. 视频对象提取 8. 图片修复(可用于水印去除) 9. 图片自动上色 10. 眼动追踪(待完善) 11. 换脸(待完善) **查看功能预览↓↓↓** # 开发环境 # - Windows 10(x64) - Python 3.6.4 - OpenCV 3.4.1 - Dlib 19.8.1 - face_recognition 1.2.2 - keras 2.1.6 - tensorflow 1.8.0 - Tesseract OCR 4.0.0-beta.1 # 教程 # [OpenCV环境搭建](doc/settingup.md) [Tesseract OCR文字识别](doc/tesseractOCR.md) [图片人脸检测(OpenCV版)](doc/detectionOpenCV.md) [图片人脸检测(Dlib版)](doc/detectionDlib.md) [视频人脸检测(OpenCV版)](doc/videoOpenCV.md) [视频人脸检测(Dlib版)](doc/videoDlib.md) [脸部轮廓绘制](doc/faceRecognitionOutline.md) [数字化妆](doc/faceRecognitionMakeup.md) [视频人脸识别](doc/faceRecognition.md) [头像特效合成](doc/compose.md) [性别识别](doc/gender.md) [表情识别](doc/emotion.md) [视频对象提取](https://github.com/vipstone/faceai/blob/master/doc/hsv-opencv.md) [图片修复](https://github.com/vipstone/faceai/blob/master/doc/inpaint.md) # 其他教程 # [Ubuntu apt-get和pip源更换](doc/ubuntuChange.md) [pip/pip3更换国内源——Windows版](doc/pipChange.md) [OpenCV添加中文](doc/chinese.md) [使用鼠标绘图——OpenCV](https://github.com/vipstone/faceai/blob/master/doc/opencv/mouse.md) # 功能预览 # **绘制脸部轮廓** <img src="https://raw.githubusercontent.com/vipstone/faceai/master/res/face_recognition-outline.png" width = "250" height = "300" alt="绘制脸部轮廓" /> ---------- **人脸68个关键点标识** <img src="https://raw.githubusercontent.com/vipstone/faceai/master/res/dlib68.png" width = "230" height = "300" alt="人脸68个关键点标识" /> ---------- **头像特效合成** <img src="https://raw.githubusercontent.com/vipstone/faceai/master/res/compose.png" width = "200" height = "300" alt="头像特效合成" /> ---------- **性别识别** <img src="https://raw.githubusercontent.com/vipstone/faceai/master/res/gender.png" width = "430" height = "220" alt="性别识别" /> ---------- **表情识别** <img src="https://raw.githubusercontent.com/vipstone/faceai/master/res/emotion.png" width = "250" height = "300" alt="表情识别" /> ---------- **数字化妆** <img src="https://raw.githubusercontent.com/vipstone/faceai/master/res/faceRecognitionMakeup-1.png" width = "450" height = "300" alt="视频人脸识别" /> ---------- **视频人脸检测**  ---------- **视频人脸识别**  ---------- **视频人脸识别**  ---------- **图片修复**  ---------- **图片自动上色**  ---------- # 技术方案 # 技术实现方案介绍 人脸识别:OpenCV / Dlib 人脸检测:face_recognition 性别识别:keras + tensorflow 文字识别:Tesseract OCR ### TODO ### 换脸——待完善 眼睛移动方向检测——待完善 Dlib性能优化方案 Dlib模型训练方法 Tesseract模型训练方法 # 贡献者名单(特别感谢) [archersmind](https://github.com/archersmind) [rishab-sharma](https://github.com/rishab-sharma) # 微信打赏 