deepinsight / deepinsight/insightface

help for face recognition on my own images

Open
#2,526 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

Please help! How I can use this library for face recognition on my own images. I have known and unknown folder with images. I saw below code but I could not find the complete example to use this library. Could you please provide a complete code or example for me.

import cv2
import numpy as np
import insightface
from insightface.app import FaceAnalysis
from insightface.data import get_image as ins_get_image

handler = insightface.model_zoo.get_model('your_recognition_model.onnx')
handler.prepare(ctx_id=0)

@yingfeng

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.