insightface
insightface copied to clipboard
[Refactoring] making the code more Pythonic
The goal of this PR is to make the code more Pythonic by utilizing Python with statements, and concise by using np.mean
.