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/AM5728: OpenCV video capture issue

Part Number: AM5728


Tool/software: Linux

Hi all,

I have a process using opencv to capture video on 5728 custom board.It will show the following mistake sometimes:

/home/gtbldadm/processor-sdk-linux-morty-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/opencl/1.1.13.0-r0.0/git/host/src/core/dsp/tal/mbox_impl_msgq.cpp:87: MBoxMsgQ::MBoxMsgQ(Coal::DSPDevice*): Assertion `status == Ipc_S_SUCCESS || status == Ipc_S_ALREADYSETUP' failed.
Aborted (core dumped)

The capture succeed most of time only dumped in several times.

The related code is attahed below

  Mat image,imageSave;
VideoCapture capture(1);//open camera
capture.set(CV_CAP_PROP_FRAME_WIDTH,1280); 
capture.set(CV_CAP_PROP_FRAME_HEIGHT,720);
capture>>image;//get a frame
resize(image,imageSave,Size(300,300), 0, 0,INTER_LINEAR);
imwrite(finalNameFile,imageSave);//save picture
capture.release(); 
Any insight may be helpful,pls let me know if u want to know further infomation.
The PLSDK version is 04.00.00.04.