Recognizing Faces from Live Video

Hallo,
i wrote a program to detect the faces but my problem is that i only get 10 fps…it’s slow.
Does anyone have an idea how can I make it faster
Lesson 42.txt (1.2 KB)