arturoc / FaceSubstitution

Face substitution experiments using ofxFacetracker
Other
437 stars 120 forks source link

Performance and setup environment #20

Closed pinakee closed 10 years ago

pinakee commented 10 years ago

Hi, I have built the face-substitution on windows on a Core i5 processor - HP laptop. When I run the application, somehow the facetracking doesn't happen on every frame - even I tried it standing in a bright sunshine :). I am not sure if the cam is the issue or light. I have following queries:

  1. Could you please let me know the ideal environment where the facesubstitution can be tested?
  2. What is the minimum hardware requirement for the substitution? And how long does it take for some visible changes to occur? And for the complete substitution?
  3. The application was consuming around 45% of CPU. Any tips on improving the performance?

Looking forward to your response...

Regards, Pinakee

pinakee commented 10 years ago

I found the reason for the problem which was mentioned in one of the issues - ofxfacetrackthread that comes with facesubstitution doesn't work properly. I replaced it with the one in ofxfacetrack and it works fine now.

The high CPU usage is still there - any tips on performance improvement would be nice.