Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2SX: OpenCV load xml file

Part Number: TDA2SX

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.