Skip to main content

Enable thumbor to use ArcFace to run face detection

Project description

thumbor_arcface

Thumbor ArcFace can recognize side faces and higher recognition rate, solve the problem of low recognition rate of OpenCV.

中文文档

Environment

  • Thumbor >= 7.0.0
  • ArcFace SDK >= 3.0

Installation

pip install thumbor_arcface

Enable detector

  • Add thumbor_arcface to your thumbor.conf.
DETECTORS = [
    'thumbor_arcface',
    'thumbor.detectors.feature_detector',
]
  • At the end of your thumbor.conf, add ArcFace's ARC_APP_ID and ARC_SDK_KEY, Remember to modify the value.
########### ArcFace #########
ARC_APP_ID = ''
ARC_SDK_KEY = ''
ARC_FACE_SCALE = 32
ARC_FACE_MAX_NUM = 10

Thanks

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

thumbor_arcface-0.1.4.tar.gz (36.3 MB view details)

Uploaded Source

File details

Details for the file thumbor_arcface-0.1.4.tar.gz.

File metadata

  • Download URL: thumbor_arcface-0.1.4.tar.gz
  • Upload date:
  • Size: 36.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.0

File hashes

Hashes for thumbor_arcface-0.1.4.tar.gz
Algorithm Hash digest
SHA256 08dcbb2e2649263e7b3881c4d5fd7ea027a5808b94e8e1ceb4258cbbd122365b
MD5 6f124d0f0b69c83cfabc6b134eef2d3a
BLAKE2b-256 e6123a5cb1367a9ee10dfb1ffe3baf018091711080ef4af07b68017489859ac0

See more details on using hashes here.

Supported by

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