Skip to main content

A tiny library to make the face landmarks detection easier.

Project description

Facelooker

Description

The Facelooker is a tiny Python library to provide some utilities for facial recognition and movement detection. The main idea is to have a single instance of Facelooker class that runs the device camera and process all the events automatically during the face recognition with OpenCV. All the movements and current pose are returned in a single payload as a simple dictionary. This info can be consumed by any external consumer.

How to Use

from facelooker import Facelooker
from facelooker.strategy import DlibStrategy

PREDICTOR_PATH = "data/shape_predictor_68_face_landmarks.dat"

strategy = DlibStrategy(PREDICTOR_PATH)
facelooker = Facelooker(strategy, show_interface=True, show_debug_text=True)

facelooker.start() # Starts in a separated thread.

To load a predictor in DlibStrategy, you can download the file here. The facial recognition strategies are "under construction".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

facelooker-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

facelooker-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file facelooker-0.1.0.tar.gz.

File metadata

  • Download URL: facelooker-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for facelooker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 56c9708d225f1eaf59949d77e356fec4a63a8c0752a9f481fa05f168036e7fb3
MD5 defe6dcfcb9a0dba10da1c9878e992ae
BLAKE2b-256 a536a3e74a24acf54445259d872a4802a8c18cb7b12cf125823b9d0e23d542de

See more details on using hashes here.

File details

Details for the file facelooker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: facelooker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for facelooker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51cfba6c29757bf73d2a48067120bdc88348418fef519093cabc3dcae13ddbc4
MD5 88a99d611a6056cdeb0e6d38cb2ace6a
BLAKE2b-256 1c8590f397636cf2f5db0a0d169fea339114bddefccd3747dd50160d6176d4a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page