Not really a topic for a Quick Answers forum - especially as you have not shared the code that is at fault.
You could start with these CP articles
Introduction to Face Identification[
^]
Image Recognition with C# and Emgu Libraries[
^]
If you have a specific problem with your code then please do come back ... with the code that is giving you a problem.
You might get more out of engaging with the community forums of whichever face recognition library you are using