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
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();