Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What are the prerequisite namespaces for capturing face from web cam? How are they used to do this job?
Posted
Updated 4-Feb-11 0:47am
v2

In addition to Olivier's answer above, here is an article about face detection directly from CP:
Face Detection in C#[^]
 
Share this answer
 
Comments
Espen Harlinn 6-Feb-11 8:06am    
Good link, a 5+
Olivier and JF have given you perfect link.
you can also use This Link[^] to get image from webcam
 
Share this answer
 
If you want code to capture images from a web cam, then search the web. For example:
http://weblogs.asp.net/nleghari/pages/webcam.aspx[^]

If you want code to detect a face inside the captured image, then you should post your question to some image processing forums.
 
Share this answer
 
if you have Microsoft Expression Studio installed, then you can use Microsoft.Expression.Encoder.Live namespace to do image/video capture from your webcam. But I m not sure if the same is going to work for web apps since you haven't mentioned the app type. This namespace (for .NET 3.5) works well on Windows apps.

this one is for .NET 4.0: How to use a web cam in C# with .NET Framework 4.0 and Microsoft Expression Encoder 4[^]

Cheers...
 
Share this answer
 
Probably this is what you need :

Multiple face detection and recognition in real time[^]

Hope It Helps
 
Share this answer
 
Face Detection can be achieved quite easily by using Emgu CV[^], which is a C# wrapper for Open CV. All you have to do is to download the Emgu CV, then use the sample code provided for face detection using webcam from http://www.emgu.com/wiki/index.php/Face_detection.

You will need to include Haarcascade file named
haarcascade_frontalface_alt2.xml
for face detection as well.
 
Share this answer
 
 
Share this answer
 
This can be done in Silverlight 4. You can download free sample at http://startrinity.com
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900