Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    UNSOLVED raspi 4b 64bits 怎么用MV IMX296 实现快速采集

    Raspberry Pi App Software
    2
    3
    419
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hujun last edited by

      您好,我是采用V4L2模式进行采取,使用的是这个文档Mv series camera appnotes 4 rpi/zh,里面的命令,我写成了一个脚本,循序采集,每秒只能采取几张图,而这款相机的帧率是60,怎么才能实现1s几十张图的采取呢?

      veye_xumm 2 Replies Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @hujun last edited by

        @hujun
        首先,你可以参考6.6.3的命令进行摄像机帧率的测量。如果测得不是60帧,那么说明是配置错误,如果是60帧,说明是:

        1. 你的采集程序的调度方法的问题。过长时间的占用了v4l2的buffer。导致驱动无法及时得到buffer进行数据接收。
        2. 你的采集程序的性能优化问题。处理一帧数据的速度太慢。
        1 Reply Last reply Reply Quote 0
        • veye_xumm
          veye_xumm @hujun last edited by veye_xumm

          @hujun
          脚本的话,一般调度和处理都是很慢的。 执行最快的办法是用c/c++写应用程序。或者用python调用底层为c/c++写的库。你可以参考6.5.2的yavta的代码。

          1 Reply Last reply Reply Quote 0
          • First post
            Last post