Skip to content

kfcalf/TestFace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

人脸识别项目说明文档

技术原理

  1. 使用face_recognition库实现人脸检测与特征编码
  2. 通过KNN算法进行人脸特征比对
  3. 使用Pillow替代OpenCV处理中文显示问题
  4. 采用Numpy进行数据持久化存储

系统架构

  1. 训练模块(train.py):

    • 从known_faces目录加载训练图像
    • 提取人脸特征编码并保存为encodings.npy
  2. 识别模块(recognize.py):

    • 实时获取摄像头画面
    • 检测人脸并提取特征
    • 与训练数据比对实现身份识别

使用方法

  1. 环境准备
    pip install face_recognition numpy opencv-python pillow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages