We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Face Recognition latency (Read 571 times)
Face Recognition latency
May 11th, 2009, 7:48am
 
Hello everyone!

i'm doing a "face recognition" project, and it was working well until i resize the window in fullscreen, now i have a lot of latency between my movements and the captation. Why? It's because my video card i not powerful or what about the openGL, they can't analyse to many pixels at the same time?
Someone has any idea?

Thanks for your help.

Re: Face Recognition latency
Reply #1 - May 14th, 2009, 12:46pm
 
I had this problem as well.  There are several things you should check to ensure that your facial recognition runs quickly.

-Get the Intel Performance Primitives
-Your face tracking is on a different thread than your openGL drawing
-You only call opencv.cascade in the setup function
(a lot of people call it in the draw method which slows it down like crazy)

Video analysis is super demanding of system resources so its possible that your performance issues might stem from your video card.  In my project I capture the video and do analysis at 640 x 480 then blow it up to fullscreen with the Fullscreen library.  Good Luck with that.
Page Index Toggle Pages: 1