When running the sc3336 camera, the first frame is always dropped

  • 确实应该直接从VI中获取数据,而且在我的程序中也是这样做的。

    我注意到:在您提供的示例中loopCount初始化为0,当g_s32FrameCnt设置为1时,实际上RK_MPI_VI_GetChnFrame执行了两次才关闭相机。

    Code: Select all

    if ((g_s32FrameCnt >= 0) && (loopCount > g_s32FrameCnt)) {
    			system("i2ctransfer -f -y 4 w3@0x30 0x01 0x00 0x00");
    		}