Navigation

    VEYE IMAGING Forum

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

    SOLVED orin nano4g板卡使用MV-MIPI-IMX264M的问题

    Machine Vision camera
    2
    28
    3641
    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.
    • L
      lakers last edited by

      3.jpg

      1 Reply Last reply Reply Quote 0
      • veye_xumm
        veye_xumm @lakers last edited by

        @lakers 硬件连接看起来没毛病。
        可能是之前你的尝试把数据格式换了。
        你用脚本,把摄像头恢复一下默认值
        https://wiki.veye.cc/index.php/Mv_mipi_i2c.sh_user_guide#factoryparam

        ./mv_mipi_i2c.sh -w -f factoryparam -b 10
        

        然后重启主板。
        然后再尝试一下qv4l2。

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

          @veye_xumm 我按照您的方法重置了摄像头,使用qv4l2查看,但是画面不对,而且我晃动摄像头画面没变化4.jpg

          veye_xumm 1 Reply Last reply Reply Quote 0
          • L
            lakers @veye_xumm last edited by

            @veye_xumm 还有一个关于Image拷贝的问题想问一下您,官网上说xavier系列需要拷贝Image.sig文件到root下,那orin nano 需要吗?

            veye_xumm 1 Reply Last reply Reply Quote 0
            • veye_xumm
              veye_xumm @lakers last edited by

              @lakers 需要的。但是你现在已经过了那个阶段了。驱动已经正常加载了。

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

                @veye_xumm 嗯嗯,好的。那这个摄像头为什么不出画面呢?会不会是dtb中i2c的问题呢?

                1 Reply Last reply Reply Quote 0
                • L
                  lakers @veye_xumm last edited by

                  @veye_xumm 老师如果说我要以别的格式看画面的话那我的gstreamer指令应该怎么修改呢?

                  1 Reply Last reply Reply Quote 0
                  • veye_xumm
                    veye_xumm @lakers last edited by

                    @lakers
                    执行一下这个,看看是否正常出帧率?

                    export WIDTH=2432
                    export HEIGHT=2056
                    export FPS=28
                    v4l2-ctl --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=GREY --stream-mmap --stream-count=-1 --stream-to=/dev/null
                    
                    L 1 Reply Last reply Reply Quote 0
                    • L
                      lakers @veye_xumm last edited by

                      @veye_xumm 我这边执行了,它没有提示任何东西,一直在执行命令

                      veye_xumm 1 Reply Last reply Reply Quote 0
                      • veye_xumm
                        veye_xumm @lakers last edited by

                        @lakers 不停的打大于号吗?显示的帧率是多少?
                        如果是这样,说明功能是正常的在采集和输出图像了。但是不知为何你用qv4l2的时候图像特别黑。
                        你的镜头光圈打开了吗?

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          lakers @veye_xumm last edited by

                          @veye_xumm 我这边没有您说的大于号和帧率,没有任何显示5.jpg

                          veye_xumm 1 Reply Last reply Reply Quote 0
                          • veye_xumm
                            veye_xumm @lakers last edited by

                            @lakers
                            那不对。你现在执行一下dmesg,看一下驱动层的输出。

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              lakers @veye_xumm last edited by

                              @veye_xumm 6.jpg

                              veye_xumm 1 Reply Last reply Reply Quote 0
                              • veye_xumm
                                veye_xumm @lakers last edited by

                                @lakers 没看到报错啊。你有没有配置触发模式之类的东西?

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

                                  @veye_xumm 我之前配置了软触发和流模式

                                  veye_xumm 1 Reply Last reply Reply Quote 0
                                  • veye_xumm
                                    veye_xumm @lakers last edited by

                                    @lakers 你现在用脚本读取一下是不是流模式? 如果不是流模式,配置回流模式,再尝试测试。

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      lakers @veye_xumm last edited by

                                      @veye_xumm 还有一个就是RAW-MIPI-IMX462M摄像头我用qv4l2能读取画面但是,显示是这个样子7.jpg

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        lakers @veye_xumm last edited by

                                        @veye_xumm 请问一下这个怎么查流模式呢?您这个回流模式怎么配置呢?

                                        veye_xumm 1 Reply Last reply Reply Quote 0
                                        • veye_xumm
                                          veye_xumm @lakers last edited by

                                          @lakers

                                          @lakers said in orin nano4g板卡使用MV-MIPI-IMX264M的问题:

                                          还有一个就是RAW-MIPI-IMX462M摄像头我用qv4l2能读取画面但是,显示是这个样子

                                          IMX462不支持raw8,所以无法用qv4l2直接显示预览。你需要抓图之后用专门的yuv播放器进行图像显示。

                                          @lakers said in orin nano4g板卡使用MV-MIPI-IMX264M的问题:

                                          请问一下这个怎么查流模式呢?您这个回流模式怎么配置呢?

                                          不是【回流】模式,而是配置回去到流模式。 你之前不是配置过吗? 用

                                          v4l2-ctl --get-ctrl trigger_mode
                                          

                                          可以读取当前模式。
                                          用mv_mipi_i2c.sh也可以的。具体查一下文档。

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            lakers @veye_xumm last edited by

                                            @veye_xumm 不好意思理解错了,我这个是流模式的,我用您提供的sample中的 show.grey.py文件可以看见图像但帧率极低,用qv4l2却看不到图像,显示一片黑8.jpg 9.jpg

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