Ask Your Question
0

Cannot train fisher/eigen face recognizers

asked 2013-01-26 23:56:20 -0600

ranger gravatar image

I am working on a video processing and the preliminary steps include face recognition...I made a data base of the faces (100*100 and grayscale) and stored them in mat vector and corresponding labels in int vector but while I call the train function for the model it gives an error -1073741819 full code can be found here

edit retag flag offensive close merge delete

Comments

1

One post is enough. Please provide a minimal example with input data to reproduce the problem and please note the OpenCV Version? Operating System? 32 or 64 bit? Compiler?

Philipp Wagner gravatar imagePhilipp Wagner ( 2013-01-27 10:36:07 -0600 )edit

thanks a lot sir, atleast somebody commented.... the full code is available here https://github.com/kocchumon/qttracker . I compiled the code using mingw 4.4 using qt creator IDE in Windows 7 32 bit edition....and the when I run the code windows says :

Problem signature: Problem Event Name: APPCRASH Application Name: QtTracker3.exe Application Version: 0.0.0.0 Application Timestamp: 5105345b Fault Module Name: libopencv_core242.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 50da6896 Exception Code: c0000005 Exception Offset: 000ac3f6 OS Version: 6.1.7600.2.3.0.256.1 Locale ID: 1033

and Qt creator says - QtTracker3.exe exited with code -1073741819 Now about the program....the program is able to track human face and takes series of gray scale ......

ranger gravatar imageranger ( 2013-01-27 18:51:41 -0600 )edit

images and saves it in a folder with "label-number" format, so that i can later use these images to train the fisherface recognizer model. But when I execute the model->train statement its showin the above defined problem....I am wokring on it for a week..couldn't find a solution... I have uploaded the full directory of my code here : http://www.4shared.com/rar/ZQmAyz7K/QtTracker3.html

The exe in the debug folder doesnt seem to work directly on double click...but it executes when compiled and run inside Qt creator IDE...At first you need to ADD new face and using AUTO / TAKE SHOT in the child window you can save the images in grayscale as database...Ten once close the child window and exceute TRAIN in parent...then the error pops out...:-((((

ranger gravatar imageranger ( 2013-01-27 18:54:02 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-01-31 12:10:27 -0600

updated 2013-01-31 13:24:01 -0600

You are using MinGW 4.4, so may I ask against which libraries you are linking? I would suggest to build OpenCV by yourself, there are good tutorials over at:

Also in the error message you have provided, you can see that the faulting module is libopencv_core242:

Fault Module Name: libopencv_core242.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 50da6896 Exception Code: c0000005

If your application was crashing due to the FaceRecognizer, the contrib module (libopencv_contrib242) should be causing the error. So my suggestion is to rebuild OpenCV from source for your setup and I bet a lot of errors are going to disappear.

Also for a similar error please see:

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-26 23:56:20 -0600

Seen: 767 times

Last updated: Jan 31 '13