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.5.tar.gz
(36.3 MB
view hashes)