• Stars
    star
    113
  • Rank 308,299 (Top 7 %)
  • Language
    Python
  • Created over 6 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Detect faces in the image and crop the faces / 使用 Dlib 进行人脸检测然后将人脸裁剪下来

Face Cropper

Introduction

抠出人脸

face_from_camera.png

Code

  1. 将检测到的人脸剪切下来, 依次排序平铺显示在新的图像上;

    python3 crop_faces_show.py
  2. 将检测到的人脸生成单个图像存储到本地路径;

    python3 crop_faces_save.py
  3. 将检测到的人脸,依次在摄像头窗口实时平铺显示;

    python3 faces_from_camera.py
  4. 将检测到的人脸,依次在摄像头窗口实时平铺显示(人脸对齐);

    python3 faces_chip_from_camera.py

More