Skip to content

Face Detection For Python 0.4.0

Compare
Choose a tag to compare
@patlevin patlevin released this 15 Jul 22:59
· 9 commits to main since this release

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