vectornguyen76 / face-recognition

Real-Time Face Recognition use SCRFD, ArcFace, ByteTrack, Similarity Measure
MIT License
123 stars 31 forks source link

Fix indicate same id bug when mutiple faces in frame #6

Closed YoungjaeDev closed 1 year ago

YoungjaeDev commented 1 year ago

Recognize thread bug when multiple faces are in frame

Hello It's recognized in a video with multiple faces in one frame, but individual face IDs come out the same, so I felt something was wrong. When I looked at the code, the thread.join part was missing, so I don't think the semaphore of global variables is guaranteed. So it can be solved by adding thread.join, but is it possible to modify it to a more general code?

TruongVanPhuoc commented 1 year ago

I have tried and found the frame rate drop a lot, can you change that to be faster?

vectornguyen76 commented 1 year ago

@TruongVanPhuoc yes, I try to improve FPS, but it has some problems

YoungjaeDev commented 1 year ago

I'll take a look, too

YoungjaeDev commented 1 year ago

Is it possible to share if there is an advanced part?

vectornguyen76 commented 1 year ago

@youngjae-avikus This is all.