qualityface

Quality face in Pytorch


Keywords
face-quality, face-recognition, pytorch
License
BSD-3-Clause
Install
pip install qualityface==1.0.3

Documentation

pytorch-QualityFace

δΈ­ζ–‡η‰ˆ

Quality Face model which decides how suitable of an input face for face recognition system

Note that qualityface is a helper model for a face recognition system, its input shape should be exactly 128x128x3.

Getting Started

  • Python3.6 (test in 3.6, 3.7)
  • Pytorch (test in 1.3.1, 1.4.0)
  • opencv4 (test in 4.1.1)
  • pillow (test in 6.2.0)
  • numpy
  • siriusbackbone

install from PyPI:

pip install qualityface

Usage

import qualityface
path = 'path/to/your/img'
score = qualityface.estimate(path)
print(score)

Results

Test: crop1.jpeg, score: 0.78
Test: crop2.jpeg, score: 0.7
Test: crop3.jpeg, score: 0.74
Test: crop4.jpeg, score: 0.92
Test: crop5.jpeg, score: 0.93

License

This code is distributed under the MIT license.

Wishes

For anyone who hear, see, think about or use this repo, I hope them gain temporary happiness and everlasting happiness