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 视频捕获问题

Guru**** 2595805 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/648060/linux-am5728-opencv-video-capture-issue

器件型号:AM5728

工具/软件:Linux

大家好、

我有一个使用 OpenCV 在5728定制板上捕获视频的过程。它有时会显示以下错误:

/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*):断言`s状态= IPC_S_SUCCESS ||状态= IPC_S_ALREADYSETUP'失败。
已中止(转储内核)

捕获成功的大部分时间仅转储了几次。

相关代码如下所示

 MAT 图像,imageSave;
VideoCapture Capture(1);//打开 摄像机
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);//保存 图片
capture.release();  
如果您想了解更多信息、请告诉我。
PLSDK 版本是  04.00.00.04。