VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    3 Posts 2 Posters 1.6k Views 1 Watching
    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 Offline
      hujun
      last edited by

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

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

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

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

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        1 Reply Last reply Reply Quote 0
        • veye_xummV Offline
          veye_xumm @hujun
          last edited by veye_xumm

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

          Questions will be answered as soon as possible, please be patient.
          如果你使用中文,请直接用中文提问。
          May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

          1 Reply Last reply Reply Quote 0

          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
          • First post
            Last post