#Running facial recognition in parallel(aka many threads)

1 messages · Page 1 of 1 (latest)

hollow steeple
#

Hi
When I uploaded an album and in the album using 40 Threads(But also happened in 2) , same person appears in many images ,
What happened is that I got the some of the persons faces 3-6 times , and I needed to merge manually.
I am asking if I have new faces in an album in order to avoid duplication of faces , do I need to run it using 1 thread or there's other way to accomplish that ?

fickle furnace
#

There’s no difference in accuracy between doing it with 1 thread or 40

hollow steeple
#

What we see is that for new faces if some images are scanned in parallel containing same person then this person appears few times
I believe that there's some point in the code trying to match a face to existing face and if it doesn't exists it creates it ,
so assuming we run in isolated transactions for each thread there can be a case where some threads trying to match a face get no match and create a face

fickle furnace
#

Hmm, on second thought I agree there’s a race condition there. In the worst case scenario, a job performing a search might not see the faces of any other job running concurrently.