raspi 4b 64bits 怎么用MV IMX296 实现快速采集
-
您好,我是采用V4L2模式进行采取,使用的是这个文档Mv series camera appnotes 4 rpi/zh,里面的命令,我写成了一个脚本,循序采集,每秒只能采取几张图,而这款相机的帧率是60,怎么才能实现1s几十张图的采取呢?
-
@hujun
首先,你可以参考6.6.3的命令进行摄像机帧率的测量。如果测得不是60帧,那么说明是配置错误,如果是60帧,说明是:- 你的采集程序的调度方法的问题。过长时间的占用了v4l2的buffer。导致驱动无法及时得到buffer进行数据接收。
- 你的采集程序的性能优化问题。处理一帧数据的速度太慢。
-
@hujun
脚本的话,一般调度和处理都是很慢的。 执行最快的办法是用c/c++写应用程序。或者用python调用底层为c/c++写的库。你可以参考6.5.2的yavta的代码。
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