Could you please tell me why CV.Invoke eroor kept bugging me?I mean i did all the configurations according to the manual on fewtuitorials by Mahvish and everything works fine for other sample codes.The source code builds fine but the emgu.cv.Invoke error is happening when i try to run the code.And the running stops at the point where Haar cascade get initialized.I really want to run this code and see how it works.
Looks forward for your response!
Hi, i am sorry for the bug, i am searching in the code the source of the problem, but if the logic and structure of my code are ok maybe can be a error in EmguCV EigenObjectRecognizer class
if i can correct the bug i will update the code an download links, if isn't my error, i talk with the EmguCV team for solve this.
PDTA: Be patient, my life in this moment is very busy.
Good Evening!, I am currently working on my final year project (face recognition). First of all very thank you for your Project and sharing with us the informations and replying to others queries.
Your project is a great source for my idea and project. when i used your project when no face is added in the database it works as detecting faces(only rectangle no names displayed) in the current frame(video from camera) and when i add some names -faces to the binary database(trained images folder) it works as it should be recognizing added faces but some new face comes in the video frame the application displays the last added name. This the issue i am unable to rectify could you please help me how to resolve this issue. If some new person arrives in video it might display as "INTRUDER" or not displaying anything. Could you please help me ? or anyone who know how to resolve this please post your comment or send private message. i will send mail id or IM id.
Thank you very much for your awesome work.. i am currently working on face recognition project. with your project as base idea. When i tried your application it always shows the last added label as name of the face recognised could you please help me to find what had gone wrong while i am trying your project.
Effection code for face dection, I think this will help me a lot doing my projection.
However, i met issues when trying download source code.
I click the download link of source code on top of the article, while download page can not opened.
I tried many times but still can not open download page.
Error Message: Invalid length for a Base-64 char array. Error Source: mscorlib Target site: Byte[] FromBase64String(System.String) Error StackTrace: at System.Convert.FromBase64String(String s) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) at System.Web.UI.HiddenFieldPageStatePersister.Load()
Please help me to get out of this I am getting lots of error on daily basis
hi i'm going to develop a website to recognize faces through webcam and save their details. So can i use this imageBoxFrameGrabber (emgu.CV.UI) for a ASP.Net(C#) project? or is there any other way to open client's webcam through the web page and recognize their faces?
I have a problem with load previous trained faces. I trained a few faces and if I want to start application I have this error: "System.FormatException: Input string was not in a correct format."
What's wrong in it? Is this because of this line: NumLabels = Convert.ToInt16(Labels[0]) ?
can you help me for my project? i'm looking for C# source code of face recognition algorithm Evaluator.. PCA, LDA ,SVM and LBP algorithms are to be evaluated with the following criteria such as speed/ running time of execution , accuracy, false positive error and false negative error.. help me sir ..thank much sir.
i am using windows 7 ultimate 64bit. i tried to run the program it shows me nothing in binary database.... and also not showing my webcam video.. plz help..
HI all
I want to build a haarcascade but i am not clear how to do that? Plz tell me how?
I want to build a program that can detect profile face.
Thanks a lot.
Also, I am loading a static image and the app will detect multiple faces, but when I try to train them individually, it only saves the first face. Any ideas?
thank you for your source code.
but i still can not compile this app.
becaused by "Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. (MSB3091)"
Thank you for this code to work with this more a problem when I register more than one face, when I recognized the name of the mess he makes he gets confused, the trading name of the face. What can I do.
Hi,
Thanks for the wonderful work.
My program get stuck when I set images around 17.
The CvInvoke.cvCalcEigenObjects does not respond at all and get stuck there.
Any idea ?
Regards,
Ajith
Could you extend the program to scan image files instead of only webcam?
I would like a demo where i can teach the program detecting my family by giving it a some image files.
And maybe later let it scan my huge photo collection and make a list of which images contains photos of family members. (hope it makes sense)
p.s. The program crashes when it does not find a camera:
System.NullReferenceException: Error: Unable to create capture from camera0
at Emgu.CV.Capture..ctor(Int32 camIndex)
at Emgu.CV.Capture..ctor()
at MultiFaceRec.FrmPrincipal.button1_Click(Object sender, EventArgs e) in C:\Users\Sergio Gutiérrez\Desktop\FaceRecProOV\FaceRecProOV\MainForm.cs:line 73
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...this solution to detect a big "X" on the entire page?
I'm thinking in terms of batch scanning of documents with a sheet of paper with an "X" printed on the entire page to separate "groups" of related scanned documents.
Or if a page is practically blank?
I'm thinking to delete/remove the 2nd/back side of a double-sided scanned document when the page is "blank" (for example, less than 1% "black" on the page, I guess).
Too bad I ain't the ONE who created it; then again, if I did, I'd be bragging on myself.
You, Sergio, are the ONE to be bragging on!
Let's FACE it, everyONE should RECOGNIZE that you did a great job. You have an EYE towards great solutions. Pardon if I NOSE in on this just to MOUTH off, but it's awesome.
For those of us not as sophisticatedly knowledgeable as Sergio, CHIN up and get to thinking of simpler soltuions. That's right, get that "idea" light bulb above that FOREHEAD. Perhaps even become a PUPIL of Serio's solutions.
Sergio, your solution is HEAD & SHOULDERS above the rest.
(did you get the number of ONEs in the comment? Five, dude!)
Hi i am pradeep From SL(Sri lanka).Could u tell me if it's possible to create Training images in side folder separate for each person and when load faces take the Folder name as Person name???I think my q is clear...
What i done was this
try
{
//Load of previus trainned faces and labels for each image
string Labelsinfo = File.ReadAllText(Application.StartupPath + "/TrainedFaces/TrainedLabels.txt");
string[] Labels = Labelsinfo.Split('%');
NumLabels = Convert.ToInt16(Labels[0]);
ContTrain = NumLabels;
string[] LoadFacesd;
string LoadFaces;
}
catch(Exception e)
{
//MessageBox.Show(e.ToString());
MessageBox.Show("Nothing in binary database, please add at least a face(Simply train the prototype with the Add Face Button).", "Triained faces load", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
hi
thanks for your good article
i download your app and test it
it was very good and fast
but is recognize untrained person as last trained person
plz help me
thanks
Thank you for the tutorial. it is giving error: currentFrame grabber.QueryFrame = (). Resize (260, 200, Emgu.CV.CvEnum.INTER.CV_INTER_CUBIC);
grabber.QueryGrayFrame gray = (). Resize (260, 200, Emgu.CV.CvEnum.INTER.CV_INTER_CUBIC); What can I do help me please
hey.. that's really a nice work
but what is a haarcascade exactly ? I couldn't understand this..
and another thing can I use this for detection other things but not faces ? Like objects or something like that.
Hi Sergio in your project tracking markers shivers frame to frame can u pls take a look at this video and give some suggestion how could we do such tracking where tracking rectangle keeps its orientation ???