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
    3646
    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 @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
                                • veye_xumm
                                  veye_xumm @lakers last edited by

                                  @lakers

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

                                  我用您提供的sample中的 show.grey.py文件可以看见图像但帧率极低,用qv4l2却看不到图像,显示一片黑

                                  python这个demo是帧率很低的。因为是纯软件跑到cpu上作的数据搬移。你回头开发自己的程序的时候,可以避免这一点。

                                  qv4l2这个可能是因为分辨率太高了,qv4l2这个软件的兼容性的问题。

                                  整体来看,我觉得驱动已经通了,你可以跑跑我们wiki上其他的例子了。

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