deepinsight / deepinsight/insightface

Is FaceAnalysis thread safe?

Open
#2,721 1 comment 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

```python
from insightface.app import FaceAnalysis

app_face = FaceAnalysis(name='antelopev2', root='./', providers=['CPUExecutionProvider'])
app_face.prepare(ctx_id=0, det_size=(640, 640))
```

If I initialize an object in a global and use it in different processes, is it allowed?

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.