IMX307采用视频预览模式读取图片有延时
-
IMX307使用视频预览模式,间隔10s取一张图(cap.read()一次),图片有极大的延时,该如何解决?是什么原因导致的延时?
-
@lyj 请问你使用的主板是什么?
-
@veye_xumm jetson TX2
-
@lyj 图片有极大的延时的意思是什么时刻到什么时刻的延时?
-
@veye_xumm 就是我取到的图片不是当下的图,是好多分钟前的一张图
-
@lyj 应该是你的程序没有把V4l2 buffer中的图像取干净,滞留在buffer中了。
建议改一下程序,触发完成,尝试循环取图几次,把buffer中的图像取干净。这样就不会造成buffer中的滞留问题。 -
@veye_xumm 我用pickone这种,也会有buffer吗?那用不用这个不是没啥差异?就是pickmode设成0还是1都有buffer,没什么本质区别
-
@veye_xumm 这个buffer可以修改吗?我希望buffer的长度是1,不要太多
-
@lyj 我说的这个buffer不是camera里面的buffer,而是jetson主板上为了接收图像而创建的buffer。 不能设置为1,需要有一定的冗余才好。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login