Ask Your Question

Revision history [back]

OpenCV optimization

I have a small program that compares one face to a folder of faces, about 1000 faces. Im using FisherFaceRecognizer and it works decent so far despite it takes 10 minutes to return a result. The end game for this program is to have a database of about 30k faces. What can I do to optimize a little better to help speed up a single search and how should I approach comparing 30k faces without it taking an hour? Would a database of some sort help instead of loading all the images in every time?

click to hide/show revision 2
retagged

updated 2014-08-28 06:25:13 -0600

berak gravatar image

OpenCV optimization

I have a small program that compares one face to a folder of faces, about 1000 faces. Im using FisherFaceRecognizer and it works decent so far despite it takes 10 minutes to return a result. The end game for this program is to have a database of about 30k faces. What can I do to optimize a little better to help speed up a single search and how should I approach comparing 30k faces without it taking an hour? Would a database of some sort help instead of loading all the images in every time?