Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 770 Bytes

README-osc.md

File metadata and controls

31 lines (29 loc) · 770 Bytes

thumbor_arcface

Thumbor ArcFace可识别侧脸,并且识别率更高,从而解决OpenCV识别率不高的问题。

环境

  • Thumbor >= 7.0.0
  • ArcFace SDK >= 3.0

安装

pip install thumbor_arcface

开启插件

  • thumbor_arcface 添加至 thumbor.conf.
DETECTORS = [
    'thumbor_arcface',
    'thumbor.detectors.feature_detector',
]
  • thumbor.conf的文件末尾, 添加以下配置,记住一定要修改值。
########### ArcFace #########
ARC_APP_ID = ''
ARC_SDK_KEY = ''
ARC_FACE_SCALE = 32
ARC_FACE_MAX_NUM = 10

感谢