Hi. I want to detect a face and draw line exactly around the face to crop it. I searched a lot and used the EmguCV face detector. but now my code just draw a "rectangle" around the face and if I crop it, I will have a rectangle with a face inside it and it's not useful for me. this is the core of my simple code: CascadeClassifier _cascadeClassifier = new CascadeClassifier(Application.StartupPath + "/haarcascade_frontalface_alt_tree.xml"); using (var firstImage = Image.FromStream(saveImageStream)) { var bgrImage = new Image(new Bitmap(firstImage)); Image grayFrame = bgrImage.Convert(); var faces = _cascadeClassifier.DetectMultiScale(grayFrame, 1.01, 1, Size.Empty); foreach (var face …

Member Avatar
Member Avatar
+1 forum 3

Hi all, I am new to C# and currently writing a program which attempts to capture video from two webcams at exactly the same time. I am using the EmguCv framework which is a wrapper class of the OpenCv framework used in C++. I have the program completed, with the stream from the left and right webcams displayed in their respective image box within the Windows form. Each frame is extracted and stored in a folder corresponding to the webcam which captured it. The capture is set to begin once the start button, added to the window, is pressed with …

Member Avatar
Member Avatar
+0 forum 1

hello ! .. i'm working with images in EmguCv.. i've subtracted the background of a image frame, based on the difference between them, using Absolute difference.. but i want to obtain the digital (double) value in my double type variable.. how can i get that??

Member Avatar
+0 forum 0

The End.