Ask Your Question
0

createEigenFaceRecognizer problem

asked 2012-07-15 03:51:07 -0600

Koo gravatar image

With this code

Ptr<FaceRecognizer> model = createEigenFaceRecognizer();

I get an error message which is :

First-chance exception at 0x75049617 in Cs.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f518..

I had no idea about this. I tried many difference ways however still cannot figure out the problems. Please help me!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-07-15 13:01:41 -0600

updated 2012-07-15 15:04:53 -0600

This is far too less information to make any clues about your problem. I am copy and pasting from the OpenCV Wiki on reporting bugs. Please supply us with some of the informations, so the problem could be reproduced (http://code.opencv.org/projects/OpenCV/wiki/WikiStart):

  • Please, specify your platform (Windows 32/64bit, Linux x86/x64/ppc/..., MacOSX 32/64bit/ppc); compiler version; OpenCV version/revision; whether IPP, OpenMP, MMX, SSE ... have been enabled or not, and any other information that let us reproduce the environment, identify and localize the problem.

  • A sample code reproducing the problem helps us the most. Please check source://trunk/opencv/samples - for the preferred style (small code size, cross-platform). There is no need to provide any project files or makefiles, if it is a short single-file sample, we could build it and run in a minute.

  • If your application is complex, and the problem happens somewhere in the middle, often it is still possible to create a short standalone sample: First, capture and store the data that you pass to the function using FileStorage. Then copy the function call and put the corresponding reading from FileStorage in front of it.

If we can reproduce the problem, we can fix it quickly.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-15 03:51:07 -0600

Seen: 903 times

Last updated: Jul 15 '12