First of all, I hope im in the right stack exchange.
So I'm trying to build a facial recognition system, e.g. one that recognizes a face and compares it to a database of known faces. For the first part, there are a ton of resources available, thats not the problem.
The problem I have is designing the database. How do you make that efficient? Assuming you have to check the recognized face against every known face, even possibly multiple variations of the same face (think 2 versions from different angles), how do you make sure that it's still efficient and doesn't take an hour to do per run, apart from obvious parallelization?
How do you design such a database?