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

    RAW_MIPI_SC535M设置ROI

    Scheduled Pinned Locked Moved VEYE MIPI camera
    3 Posts 2 Posters 1.8k 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.
    • 毛 Offline
      毛宪历
      last edited by

      您好,
      我使用的相机是RAW_MIPI_SC535M,开发板是RK3588S-PC,系统是firefly5.10,我在使用v4l2的VIDIOC_CROPCAP指令获取该相机的裁切能力时,相机反馈不支持裁切,使用VIDIOC_S_CROP直接设置ROI时相机也无法成功设置。请问我应该使用什么方式持久化设置相机的ROI呢?
      ps:我使用的开发语言是c++,框架是Qt5.12.5

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @毛宪历
        last edited by

        @毛宪历
        三种方法:
        1.命令行
        参考part7.4.1
        https://wiki.veye.cc/index.php/MV_Camera_on_Firfly_Boards/zh#.E4.BD.BF.E7.94.A8media-ctl.E9.85.8D.E7.BD.AE.E5.9B.BE.E5.83.8F.E6.A0.BC.E5.BC.8F
        2. C语言代码
        参考7.4.4中yavta的源码。
        3. 如果你应用中roi只想配置一次,相机保存,后面不需要配置。也可以使用:
        mv_mipi_i2c.sh配置一下roi,然后读取确认。之后,执行paramsave命令,将参数保存到摄像机里面。
        这样,每次上电的时候,驱动能自动读取相机当前roi值。你的程序就不需要再次配置了。

        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
        • 毛 Offline
          毛宪历 @veye_xumm
          last edited by

          @veye_xumm 感谢

          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