{"id":13488563,"url":"https://github.com/vipstone/faceai","last_synced_at":"2025-05-14T04:07:33.435Z","repository":{"id":37736196,"uuid":"129874045","full_name":"vipstone/faceai","owner":"vipstone","description":"一款入门级的人脸、视频、文字检测以及识别的项目.","archived":false,"fork":false,"pushed_at":"2020-04-16T12:16:19.000Z","size":40473,"stargazers_count":10898,"open_issues_count":37,"forks_count":2519,"subscribers_count":385,"default_branch":"master","last_synced_at":"2025-04-10T22:35:01.271Z","etag":null,"topics":["dlib","keras","opencv","tensorflow","tesseract-ocr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vipstone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-17T08:44:17.000Z","updated_at":"2025-04-10T07:58:47.000Z","dependencies_parsed_at":"2022-07-12T15:18:32.672Z","dependency_job_id":null,"html_url":"https://github.com/vipstone/faceai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipstone%2Ffaceai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipstone%2Ffaceai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipstone%2Ffaceai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipstone%2Ffaceai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vipstone","download_url":"https://codeload.github.com/vipstone/faceai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069216,"owners_count":22009511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dlib","keras","opencv","tensorflow","tesseract-ocr"],"created_at":"2024-07-31T18:01:18.097Z","updated_at":"2025-05-14T04:07:33.398Z","avatar_url":"https://github.com/vipstone.png","language":"Python","readme":"[English Doc](README_en.md)\n# 功能 #\n\n1. 人脸检测、识别（图片、视频）\n2. 轮廓标识\n3. 头像合成（给人戴帽子）\n4. 数字化妆（画口红、眉毛、眼睛等）\n5. 性别识别\n6. 表情识别（生气、厌恶、恐惧、开心、难过、惊喜、平静等七种情绪）\n7. 视频对象提取\n8. 图片修复（可用于水印去除）\n9. 图片自动上色\n10. 眼动追踪（待完善）\n11. 换脸（待完善）\n\n**查看功能预览↓↓↓**\n\n# 开发环境 #\n\n- Windows 10（x64）\n- Python 3.6.4\n- OpenCV 3.4.1\n- Dlib 19.8.1\n- face_recognition 1.2.2\n- keras 2.1.6\n- tensorflow 1.8.0\n- Tesseract OCR 4.0.0-beta.1\n\n\n# 教程 #\n\n[OpenCV环境搭建](doc/settingup.md)\n\n[Tesseract OCR文字识别](doc/tesseractOCR.md)\n\n[图片人脸检测（OpenCV版）](doc/detectionOpenCV.md)\n\n[图片人脸检测（Dlib版）](doc/detectionDlib.md)\n\n[视频人脸检测（OpenCV版）](doc/videoOpenCV.md)\n\n[视频人脸检测（Dlib版）](doc/videoDlib.md)\n\n[脸部轮廓绘制](doc/faceRecognitionOutline.md)\n\n[数字化妆](doc/faceRecognitionMakeup.md)\n\n[视频人脸识别](doc/faceRecognition.md)\n\n[头像特效合成](doc/compose.md)\n\n[性别识别](doc/gender.md)\n\n[表情识别](doc/emotion.md)\n\n[视频对象提取](https://github.com/vipstone/faceai/blob/master/doc/hsv-opencv.md)\n\n[图片修复](https://github.com/vipstone/faceai/blob/master/doc/inpaint.md)\n\n\n# 其他教程 #\n\n[Ubuntu apt-get和pip源更换](doc/ubuntuChange.md)\n\n[pip/pip3更换国内源——Windows版](doc/pipChange.md)\n\n[OpenCV添加中文](doc/chinese.md)\n\n[使用鼠标绘图——OpenCV](https://github.com/vipstone/faceai/blob/master/doc/opencv/mouse.md)\n\n\n# 功能预览 #\n\n**绘制脸部轮廓**\n\n\u003cimg src=\"https://raw.githubusercontent.com/vipstone/faceai/master/res/face_recognition-outline.png\" width = \"250\" height = \"300\" alt=\"绘制脸部轮廓\" /\u003e\n\n----------\n\n**人脸68个关键点标识**\n\n\u003cimg src=\"https://raw.githubusercontent.com/vipstone/faceai/master/res/dlib68.png\" width = \"230\" height = \"300\" alt=\"人脸68个关键点标识\" /\u003e\n\n----------\n\n**头像特效合成**\n\n\u003cimg src=\"https://raw.githubusercontent.com/vipstone/faceai/master/res/compose.png\" width = \"200\" height = \"300\" alt=\"头像特效合成\"  /\u003e\n\n----------\n\n**性别识别**\n\n\u003cimg src=\"https://raw.githubusercontent.com/vipstone/faceai/master/res/gender.png\" width = \"430\" height = \"220\" alt=\"性别识别\"  /\u003e\n\n----------\n\n**表情识别**\n\n\u003cimg src=\"https://raw.githubusercontent.com/vipstone/faceai/master/res/emotion.png\" width = \"250\" height = \"300\" alt=\"表情识别\"  /\u003e\n\n----------\n\n**数字化妆**\n\n\u003cimg src=\"https://raw.githubusercontent.com/vipstone/faceai/master/res/faceRecognitionMakeup-1.png\" width = \"450\" height = \"300\" alt=\"视频人脸识别\"  /\u003e\n\n----------\n\n**视频人脸检测**\n\n![](https://raw.githubusercontent.com/vipstone/faceai/master/res/video-jiance.gif)\n\n----------\n\n**视频人脸识别**\n\n![](https://raw.githubusercontent.com/vipstone/faceai/master/res/faceRecognition.gif)\n\n----------\n\n**视频人脸识别**\n\n![](http://icdn.apigo.cn/opencv-hsv.gif)\n\n----------\n\n**图片修复**\n\n![](http://icdn.apigo.cn/inpaint.png?2)\n\n----------\n\n**图片自动上色**\n\n![](http://icdn.apigo.cn/colorize-faceai.png)\n\n----------\n\n# 技术方案 #\n\n技术实现方案介绍\n\n\t人脸识别：OpenCV / Dlib\n\t\n\t人脸检测：face_recognition\n\t\n\t性别识别：keras + tensorflow\n\t\n\t文字识别：Tesseract OCR\n\n\n### TODO ###\n\n换脸——待完善\n\n眼睛移动方向检测——待完善\n\nDlib性能优化方案\n\nDlib模型训练方法\n\nTesseract模型训练方法\n\n# 贡献者名单（特别感谢）\t\n\n[archersmind](https://github.com/archersmind)\t\n\t\n[rishab-sharma](https://github.com/rishab-sharma)\n\n# 微信打赏\n\n![微信打赏](http://icdn.apigo.cn/myinfo/wchat-pay.png)","funding_links":[],"categories":["Python","人工智能 \u003ca name=\"AI\"\u003e\u003c/a\u003e"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipstone%2Ffaceai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvipstone%2Ffaceai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipstone%2Ffaceai/lists"}