Tool/software: Linux
Hello every one
I have a TDA2sx platform and is implementing the opencv code in it,and have implemented some simple OpenCV example in the A15 core of the TDA2sx.
However,when I want to use the "load" function of OpenCV CascadeClassifier,it always come out with the "segmentation fault".I tried many diffent ways to use this function and tried old version of XML file,but the result is always the same error:segmentation fault.
The main code is as shown below:
CascadeClassifier face_cascade;
string face_cascade_name = "/haarcascade_frontalface_alt.xml";
if( !face_cascade.load( face_cascade_name ) ){ printf("--(!)Error loading face cascade\n"); };
This error has benn unsettled me for a week,Any suggestion will be very grateful.