faceai README

The project's README from github.com/vipstone/faceai. As one markdown file: README.md.

English Doc

功能

  1. 人脸检测、识别(图片、视频)
  2. 轮廓标识
  3. 头像合成(给人戴帽子)
  4. 数字化妆(画口红、眉毛、眼睛等)
  5. 性别识别
  6. 表情识别(生气、厌恶、恐惧、开心、难过、惊喜、平静等七种情绪)
  7. 视频对象提取
  8. 图片修复(可用于水印去除)
  9. 图片自动上色
  10. 眼动追踪(待完善)
  11. 换脸(待完善)

查看功能预览↓↓↓

开发环境

教程

OpenCV环境搭建

Tesseract OCR文字识别

图片人脸检测(OpenCV版)

图片人脸检测(Dlib版)

视频人脸检测(OpenCV版)

视频人脸检测(Dlib版)

脸部轮廓绘制

数字化妆

视频人脸识别

头像特效合成

性别识别

表情识别

视频对象提取

图片修复

其他教程

Ubuntu apt-get和pip源更换

pip/pip3更换国内源——Windows版

OpenCV添加中文

使用鼠标绘图——OpenCV

功能预览

绘制脸部轮廓

绘制脸部轮廓

人脸68个关键点标识

人脸68个关键点标识

头像特效合成

头像特效合成

性别识别

性别识别

表情识别

表情识别

数字化妆

视频人脸识别

视频人脸检测


视频人脸识别


视频人脸识别


图片修复


图片自动上色


技术方案

技术实现方案介绍

人脸识别:OpenCV / Dlib

人脸检测:face_recognition

性别识别:keras + tensorflow

文字识别:Tesseract OCR

TODO

换脸——待完善

眼睛移动方向检测——待完善

Dlib性能优化方案

Dlib模型训练方法

Tesseract模型训练方法

贡献者名单(特别感谢)

archersmind rishab-sharma

微信打赏

微信打赏

faceai (vipstone/faceai)

Searching Database…

11.1K ·GitHub
What is this?An entry-level Python project for face, video and text detection and recognition. It bundles 11 demo features, from face detection in photos and video to contour marking, hat overlays, digital makeup, gender and emotion recognition, image inpainting and auto colorization.
Is this an app I install, or code I run myself?It is a collection of Python demo scripts plus step-by-step tutorials, not an installable product. You clone the repo and run the scripts for each feature in your own Python environment.
What do I need to install to run the demos?A fairly old pinned stack: Windows 10 x64, Python 3.6.4, OpenCV 3.4.1, Dlib 19.8.1, facerecognition 1.2.2, keras 2.1.6, tensorflow 1.8.0 and Tesseract OCR 4.0.0-beta.1. The README links setup tutorials, starting with the OpenCV environment guide.
Which libraries power each feature?Face recognition uses OpenCV or Dlib, face detection uses facerecognition, gender recognition runs on keras plus tensorflow, and text recognition uses Tesseract OCR.
Are all eleven features actually finished?No. Eye tracking and face swap are explicitly marked as work in progress, and the TODO list also mentions Dlib performance optimization and model-training guides as open items.
I'm new to computer vision — is this a good place to learn?Yes, that is the intent: the author positions it as entry-level, and every feature comes with a linked tutorial and preview images, so you can study each capability in isolation rather than fighting a big framework.
What can it actually do with a face?It detects and recognizes faces in photos and video, draws the 68 facial contour points, overlays effects like hats, applies digital makeup (lipstick, eyebrows, eyes), and recognizes gender plus seven emotions: angry, disgust, fear, happy, sad, surprise and neutral.
Does it work with video, not just photos?Yes — face detection and recognition both run on video, with separate OpenCV and Dlib versions, and there is also video object extraction for pulling a subject out of footage.
What else can it do besides faces?Text recognition via Tesseract OCR, image repair that can be used for watermark removal, and automatic colorization of photos. Eye tracking and face swap are still incomplete.
Is the documentation available in English?The README is written in Chinese, but it links an 'English Doc' at the top, and the feature previews are images, so most demos are understandable either way.
Creator
vipstone
Size
39.5 MB
Stars
11.1K
Updated
CommitJan 18
Age
8y
Commits · 90 Days