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

    关于第三方载板对接RAW_MIPI_SC132M遇到的问题

    Scheduled Pinned Locked Moved Machine Vision camera
    4 Posts 2 Posters 2.1k 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.
    • R Offline
      robot
      last edited by

      我们正在计划在自行研发的Tx2Nx控制器上面使用RAW_MIPI_SC132M这个模块,目前在调试阶段已经调到可以出图了,但是出图不对,看图像数据也都是00和FF,不像是正常图像微信图片_20230921153900.png
      这个是我们用v4l2命令导出后用vooya打开的图像,我们不太清楚是哪里的问题,想得到您的指点

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

        @robot

        1. 是不是没有装镜头啊?
        2. 这个camera只有手动曝光模式,所以图像需要在装好镜头的情况下调节一下曝光时间。
        3. 请参考一下7.2.8,jetson平台为了处理效率,buffer做了64字节对齐。如果你的这张图片格式是GREY的,那么1080/64=16.875。
          所以,jetson平台实际为每张图片申请的buffer,对应的图像宽度是17x64=1088。 你使用vooya打开图片的时候,要用1088x1280分辨率才可以。

        为了前期使用简单起见。可以设置ROI为16x64=1024。

        v4l2-ctl --set-ctrl roi_x=0
        v4l2-ctl --set-ctrl roi_y=0
        v4l2-ctl --set-fmt-video=width=1024,height=1280,pixelformat=GREY
        

        然后再启用qv4l2或者抓图,都可以省掉buffer对齐的烦恼。

        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.)

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          robot @veye_xumm
          last edited by

          @veye_xumm 是的,确实是未装镜头导致的,实际图像正常,感谢您的指点

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

            @robot 不客气。

            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