Re: When running the sc3336 camera, the first frame is always dropped
Posted: 2025-02-12 9:29
确实应该直接从VI获取数据,并且在我的程序中也是这样做的。
我注意到在你提供的示例中loopCount初始化设置为0,当g_s32FrameCnt = 1时实际上是VI获取两帧后才关闭相机。
我注意到在你提供的示例中loopCount初始化设置为0,当g_s32FrameCnt = 1时实际上是VI获取两帧后才关闭相机。
Code: Select all
if ((g_s32FrameCnt >= 0) && (loopCount > g_s32FrameCnt)) {
system("i2ctransfer -f -y 4 w3@0x30 0x01 0x00 0x00");
}