Face Detection Tflite Versions Save

Face and iris detection for Python based on MediaPipe

v0.6.0

2 weeks ago

Changes

This release fixes Issue #13 by updating to the latest version of pillow. This change should fix any issues with using the library in hosted environments with preinstalled dependencies.

Installation

pip install -U face-detection-tflite

v0.5.1

2 months ago

Face Detection For Python

This package contains a Python port of some Google® MediaPipe models - namely Face Detection, Face Landmark, and Iris Landmark.

Changes

• @hegdeadithyak fixed a problem with the Pillow package dependency👍

v0.5.0

2 years ago

Face Detection For Python

This package contains a Python port of some Google® MediaPipe models - namely Face Detection, Face Landmark, and Iris Landmark.

Changes

• @ibaiGorordo added three new face detection models • new detection model FaceDetectionModel.SHORT for close-up images (i.e. faces within 2 metres from the camera) • new detection model FaceDetectionModel.FULL - a dense model best suited for faces within 5 metres from the camera • new detection model FaceDetectionModel.FULL_SPARSE - a sparse model best suited for faces within 5 metres from the camera that runs up to 30% faster on CPUs than the dense version

v0.4.0

2 years ago

Face Detection For Python

This package contains a Python port of some Google® MediaPipe models - namely Face Detection, Face Landmark, and Iris Landmark.

Bugfixes

  • bbox_to_roi didn't work if the detection coordinates were outside the image boundary (Issue #5) this could happen if the face was zoomed-in and the face rectangle started or ended outside the image
  • recolor_iris could raise a DivideByZeroError

Changes

  • added custom exceptions for better error handling
  • raised exceptions are documented in functions that raise them

You can install this release via PyPI:

pip install face-detection-tflite==0.4.0

v0.3.0

3 years ago

Face Detection For Python

This package contains a Python port of some Google® MediaPipe models - namely Face Detection, Face Landmark, and Iris Landmark.

Bugfixes

  • Face landmark connection data was missing (Issue #1)
  • Some right-eye indexes for update_face_landmarks_with_iris_results() were wrong (Issue #2)

New Functions

  • Added face_landmarks_to_render_data() for convenience

You can install this release via PyPI:

pip install face-detection-tflite==0.3.0

v0.2.0

3 years ago

Face Detection For Python

This package contains a Python port of some Google® MediaPipe models - namely Face Detection, Face Landmark, and Iris Landmark.

Bugfixes

  • Rounding error caused right eye recolouring in the iris recolouring example to fail (Issue #1)
  • Module layout in the examples module caused a warning when using the iris recolouring example from the CLI

You can install this release via PyPI:

pip install face-detection-tflite==0.2.0

v0.1.0

3 years ago

Face Detection for Python

This package contains a Python port of some Google® MediaPipe models - namely Face Detection, Face Landmark, and Iris Landmark.

You can install this release via PyPI:

pip install face-detection-tflite==0.1.0