How to find face, eyes from photo/image? - c#

I am doing my project regarding image processing in c#. Here I don't know, how to find face, eyes from image (not webcam). The image will be stored in a specific folder. I am installing EmguCv package, but it not at all work. What are my questions means,
Is Emgu CV works Window 8 OS?
I am searching via net, all the contents are related to find face through webcam. But I want to find a face from photo/image. Please tell the solution.
Which is compatible image processing library for windows 8 and Visual Studio 2010?
Is there any source code satisfies my certain condition. Please post here.
Thank you.

You can use an SDK. Aforge should be what you need. Try looking at some of the examples provided from their own source code to point you in the right direction.

As far as I am concerned EmguCV is a dot-net port of famous library named OpenCV with good reliability that you can count on it and do your project.What's more, thanks to its nature which is a library (dll) you could easily use it in your project and run wherever CLR is running, including windows 8 OS.

Related

problems with accessing webcam output in c# application

i know this is most likely a duplication and i am truly sorry for that but most of the solutions i found was either +7 years outdated, bugged or consume so much memory
all i need is an efficient way to access the webcam to record and display to use it in a computer vision project to detect moving objects and such, with an HD output (using HD camera of course)
also if there is a library that would help with the computer vision that would also be great
any information, tips or experience would be highly appreciated, thanks in advance and have a wonderful day.
You could use AForge.net, it's available as a nuget package and gets the job done.
Here is an example of it. It's a winform application, but I use this library in WPF app as well.
[EDIT] Actually, I think I found what you're looking for, download this. It's a piece of code that has been written for a french azure contest. It's a motion detector written with aforge.net. There is 2 part to it, the first is a wpf client that capture movement. The second is an azure website where the image captured is uploaded automatically.

.net 3.5 windows form application, using webcam

Having searched high and low for native c# hook to webcam, I found 5 basic ways to interact with the camera.
Video for Windows (VFW)
DirectX
avicap32.dll
WIA
3rd party tools
My requirement is to take a photo. The application will be used on some legacy windows XP and Vista machines, but going forward Windows 7 and greater will be required. So what might the best approach be with the broad install base? Just reading WIA looked like the way to go but looks like some changes were made so it works a little different now (I don't know for sure). I understand that some people have done combos.
Might need to crop photo, but that is really about it.
For school visitor monitoring.
I think the best thing is to use the WIA. I know a third party toolkit that could help you doing your requirements which is leadtools. You can check this Tutorial
I would always try to pick up something already on the web and tweak it to my own needs... some open source project or an example where the mainly portion of my app is already made.
on Codeplex you can find a nice library to work with webcams and it's simply called
WebCam Library for WinForm and WPF with C# and VB.NET
Give that a try, maybe you can even help the project, by contributing your own findings, and everyone is a winner... isn't Open Source a great idea?!

Face warp application

I want to create a "face warp" application, like the one for mobile phones but for a pc desktop application instead. I have search the net for a library that does that but found none.
I want to create images like this one: http://moblog.net/view/178542/sony-ericsson-k800i-camera-phone-review-face-warp-2
Does anyone know if there is an existing library that does this, preferably in c#?
Or any image processing lib that is possible to use?
Regards Anders
Emgu CV may greatly help you. AFAIR, it supports face detections and some transformations.

Control webcam from C#

I have a Creative Life CAM Optia AF webcam, the software included in the package is able to control the camera in different ways, like set autofocus to auto or manual, and a bunch of gamma and brightness settings.
I'm capturing the feed with the AForge Computer vision library, and it's working great.
But i would like to be able to set the manual focus from inside my application.
Ive been searching for a tutorial, but come up empty handed.
Can i somehow either disassemble the included software, or is there some way to fetch the traffic / instructions being sent to the device?
Thanks in advance.
If the license agreement that comes with the software allows you to disassemble it, you can do so with Reflector (assuming that it's a .NET application).
How to programatically disable the auto-focus of a webcam?
I think i found a way to do this. But i have never written any C++, that is C++ right?
Thanks :)

Control Camera Device From C#

I am now facing one problem which to get the live image from Camera (eg. Sony, Canon) into winform and also control the camera capture button from a button in the form.
have Anyone build something like this, or are there any similar project like this which is done in C#?
This hardly depends on the capabilities of the camera and its driver. Your biggest chance might be the Windows Image Acquisition (WIA) framework.
Take a look at this article or the MSDN reference.
Emgu cv is a project that provides all the bindings for OpenCV. I've used it on both Windows and Linux platforms (Mono) with great success.
http://emgu.com/
http://emgu.com/wiki/index.php/Camera_Capture_in_7_lines_of_code
You can also take a look on Intel OpenCV.
It's C++, but you can use use PInvoke to use it from c#
This project supports even high-end PTZ camera. Code Project - Versatile WebCam C# library.
It uses Touchless.Vision and WebCamLib

Categories

Resources