Illegal Instruction on createEigenFaceRecognizer
Hi hoping someone can help us out. We have built OpenCV on an Intel Edison and the extended modules and got the very last stage of setting up the trainer but we are faced with Illegal Operation as soon as the code gets to:
Ptr<FaceRecognizer> model = createEigenFaceRecognizer();
We have tried suggestions about illegal instruction found on this forum but none of them have fixed it, could anyone help us fix it please? It is really very urgent. Thanks in advance.
opencv /compiler version ? what is the exact error ? does it happen at compile or runtime ?
Hi thanks for the reply, the exact error is Illegal Instruction. OpenCV 3.1.0, it is using Intel IoT IDE and is i586-poky-linux-g++ It happens at runtime.
http://answers.opencv.org/question/18...
This was almost exactly the same situation, we have tried the solution but it also did not solve things. Could it be related to missing something that was required in ccmake it was the first time I have used ccmake so possible I missed something out when making.
yea, you can start to disable compiler options in cmake, but that's pretty much a "whack-a-mole" game ;(
Ok thanks, ugh. ;)
the constructor code for the EigenFaceRecognizer does not do anything special, i'd rather assume, it's
cv::Ptr
. if you could reproduce it with something simple as:then you'd have good reason to progress to an official issue
(devs there probably have better ideas than we here !)
You missed variable ;)
That works fine no crash.
you're right ofc. (and thanks for testing) !
but again, try to come up with a minimal example reproducing your problem, and try an official issue
(i don't think, we can help you here, unfortunately)