deepinsight / deepinsight/insightface

How can I display aligned faces ?

Open
#1,081 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

I got face locations from face.bbox but how can i display it?
"""
top, right, bottom, left = face.bbox.astype(np.int)
face_image = img[top:bottom, left:right]
pil_image = Image.fromarray(face_image)
pil_image.show()
"""
these block returns tile cannot extend outside image. Any idea ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.