Skip to content

run face recognition offline on Raspberry Pi 3B+

Notifications You must be signed in to change notification settings

shengyang998/pi_face

Repository files navigation

Face Recognition

This is a python script for Face Recognition with multiporocessing

Usage

  1. Install face_recognition python package
    pip3 install -U face_recognition
  2. git clone this repo
    git clone --depth=1 https://github.com/shengyang998/pi_face
  3. Put your white list photos to ./WhiteList/ and:
    python3 main.py

Prerequisites

Tools for checking pipeline size on your system:

The *nix platform use pipeline to exchange information in different processes. However, pipeline should not use for exchanging large file, so if your resolution so high that could cause a performance issue, you may want to change the code from passing frame to pipeline to passing multiprocessing.Array to pipeline (which I haven't implemented). To check your pipeline size:

git clone --depth=1 https://github.com/shengyang998/pi_face
/bin/bash -c 'for p in {0..18}; do ./test_pipe_size.sh $((2 ** $p)) 0.5; done'

About

run face recognition offline on Raspberry Pi 3B+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published