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

    IMX 178 树莓派出图错误

    Scheduled Pinned Locked Moved VEYE MIPI camera
    24 Posts 2 Posters 7.0k 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.
    • veye_xummV Offline
      veye_xumm @xiaoxun
      last edited by

      @xiaoxun mv系列统一使用veye_mvcam驱动。
      第二个图是什么意思?

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

      X 1 Reply Last reply Reply Quote 0
      • X Offline
        xiaoxun @veye_xumm
        last edited by

        @veye_xumm said in IMX 178 树莓派出图错误:

        第二个图是什么意思?

        出的图想想是一个拼接的

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

          @xiaoxun 应该是摄像机实际尺寸和你预览的尺寸不一样。详细写一下你的指令。

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

          X 1 Reply Last reply Reply Quote 0
          • X Offline
            xiaoxun @xiaoxun
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • X Offline
              xiaoxun @veye_xumm
              last edited by

              @veye_xumm 我没有设置,只是在检测到设备节点后,用vlc 直接出的图,vlc 检测出的 图像信息里边也是 3088*2064 的 ,但是图像 的右1/3测实际是真实场景的左侧

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

                @xiaoxun 你按照我们的wiki取图吧。现在摄像机由于要支持任意位置的roi,所以驱动跟VLC并不能很好兼容的。

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

                X 1 Reply Last reply Reply Quote 0
                • X Offline
                  xiaoxun @veye_xumm
                  last edited by

                  @veye_xumm said in IMX 178 树莓派出图错误:

                  @xiaoxun 你按照我们的wiki取图吧。现在摄像机由于要支持任意位置的roi,所以驱动跟VLC并不能很好兼容的。

                  好的,您的意思是出图前要设置ROI 吗? 另外我下载的驱动代码是支持IMX178 的吗?另外我好像用命令设置IMX178 其他尺寸的时候会提示我设置尺寸参数失败,是这款摄像头只支持 3088*2064吗,应为我从设备信息列表里边也没有看到其他的分辨率支持

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

                    @xiaoxun 驱动支持的,roi也是支持的。你先按照wiki上跑一下吧

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

                    X 1 Reply Last reply Reply Quote 0
                    • X Offline
                      xiaoxun @veye_xumm
                      last edited by

                      @veye_xumm
                      你好,我试了一下,好像并没有probe 成功,但是已经检测到 IMX178 和出来了 /dev/video0 1680485999265.png

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

                        @xiaoxun 这个截图已经提示probe成功了。

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

                        X 1 Reply Last reply Reply Quote 0
                        • X Offline
                          xiaoxun @veye_xumm
                          last edited by

                          @veye_xumm
                          但是设置其他的 分辨率还是报错

                          X 1 Reply Last reply Reply Quote 0
                          • X Offline
                            xiaoxun @xiaoxun
                            last edited by

                            1680487466653.png

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

                              @xiaoxun
                              试一下执行此命令之前,先配置好正确的roi:

                              v4l2-ctl --set-selection=target=crop,top=0,left=0,width=2816,height=2164
                              

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

                              X 1 Reply Last reply Reply Quote 0
                              • X Offline
                                xiaoxun @veye_xumm
                                last edited by

                                @veye_xumm said in IMX 178 树莓派出图错误:

                                v4l2-ctl --set-selection=target=crop,top=0,left=0,width=2816,height=2164

                                是在用之前必须要配置好 ROI 吗?

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

                                  @xiaoxun 是的。因为set-format并不能提供配置roi的全部功能,所以在驱动实现中通过set selection接口做了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
                                  • X Offline
                                    xiaoxun
                                    last edited by

                                    imx78 树莓派
                                    export DISPLAY=:0

                                    v4l2-ctl --set-selection=target=crop,top=0,left=0,width=1920,height=1080
                                    v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat=UYVY

                                    gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1920, height=(int)1080, framerate=(fraction)22/1" ! v4l2convert ! "vi
                                    deo/x-raw,format=(string)NV12" ! autovideosink sync=false -v

                                    在屏幕上边并没有显示,是哪操作的不正确吗?

                                    1 Reply Last reply Reply Quote 0
                                    • X Offline
                                      xiaoxun
                                      last edited by

                                      37d0f1639b90d26fae987779fe38100.png

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

                                        @xiaoxun
                                        我觉得你的操作没有问题。现在这个pipeline是作为一种调试手段,其中用到的数据格式转换采用的是软件运算的方式,所以效率比较低。
                                        我测试了一下,改成640*480还是比较流畅的。
                                        你使用的树莓派型号是什么?

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

                                        X 1 Reply Last reply Reply Quote 0
                                        • X Offline
                                          xiaoxun @veye_xumm
                                          last edited by

                                          @veye_xumm CM4 的

                                          1 Reply Last reply Reply Quote 0
                                          • X Offline
                                            xiaoxun
                                            last edited by

                                            我将大小该到了 480*320 还是上图的显示 ,没有出图

                                            veye_xummV 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