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 yourthumbor.conf
.
DETECTORS = [
'thumbor_arcface',
'thumbor.detectors.feature_detector',
]
- At the end of your
thumbor.conf
, add ArcFace'sARC_APP_ID
andARC_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.7.tar.gz
(36.3 MB
view details)
Built Distribution
File details
Details for the file thumbor_arcface-0.1.7.tar.gz
.
File metadata
- Download URL: thumbor_arcface-0.1.7.tar.gz
- Upload date:
- Size: 36.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ca5162b968a4febffa054f3d2fb3edcb54730b8c838e9c0052c9a00ef0c9e7 |
|
MD5 | 09799811c77990872de5ec0a4a60bea6 |
|
BLAKE2b-256 | 2ba8e38723bf03adb0310225af42fabdc4e63fd6df8acc34c5ee0a3df0001e5c |
File details
Details for the file thumbor_arcface-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: thumbor_arcface-0.1.7-py3-none-any.whl
- Upload date:
- Size: 36.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345179c1210a3707d3a648c635f008dae76af7125cc3d685a8bfc88b0c2ea82b |
|
MD5 | 119ce933c23ed154c15f8398769e944b |
|
BLAKE2b-256 | 16d43470d1f613f6de6b807779df74b5b09912eb9efa0a6eca1d1282847bf1fe |