• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    CSI支持

    Scheduled Pinned Locked Moved Pi CM5
    48 Posts 3 Posters 3.2k Views
    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.
    • W
      wuming @george
      last edited by

      @george 没有关系,高就高一点,我们自己也没有条件做

      1 Reply Last reply Reply Quote 0
      • W
        wuming @george
        last edited by

        @george 如果这个csi口不能很好的用起来,就没有意义了

        G 1 Reply Last reply Reply Quote 0
        • G
          george @wuming
          last edited by

          @wuming 这个接口意义非常大,直接驱动4个摄像头可以做360环视。再加转换芯片以后可以做到8个摄像头同时工作。后续如果有这方面需求可以提出来,我们会有针对性的出一些转接小板。

          W 2 Replies Last reply Reply Quote 0
          • W
            wuming @george
            last edited by

            @george 你先把这个1转2的放在淘宝买起,其它的再慢慢搞

            1 Reply Last reply Reply Quote 0
            • W
              wuming @george
              last edited by

              @george :csi线开始卖没有?

              G 1 Reply Last reply Reply Quote 0
              • G
                george @wuming
                last edited by

                @wuming 本周上架。

                W 2 Replies Last reply Reply Quote 0
                • W
                  wuming @george
                  last edited by

                  @george 上架了在群里吼一声,再发个链接

                  1 Reply Last reply Reply Quote 0
                  • W
                    wuming @george
                    last edited by

                    @george 连接线.jpg 到货了,一下干了两条。

                    1 Reply Last reply Reply Quote 0
                    • W
                      wuming
                      last edited by wuming

                      使用一下代码,不能够打开mx219摄像头:a8411b3b-ccc6-4e99-9d5a-6619550a3ed7-c73827008f721de0edfd9b292ff34b1.jpg
                      import cv2
                      cap=cv2.VideoCapture(0)
                      while True:
                      ret,frame=cap.read()
                      cv2.imshow('frame',frame)
                      if cv2.waitKey(1)&0xFF==ord('q'):
                      break
                      cap.release()
                      cv2.destroyAllWindows()

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        george @wuming
                        last edited by george

                        @wuming 内核同步到最新,确认系统可以生成video11节点。mipi摄像头默认的设备节点是video11
                        然后运行如下命令更新ISP库:

                        sudo apt-get update
                        sudo apt-get dist-upgrade
                        
                        W 2 Replies Last reply Reply Quote 0
                        • W
                          wuming @george
                          last edited by

                          @george 0d03073f-02f6-4bfa-9835-73cbb1722f2a-image.png

                          G 1 Reply Last reply Reply Quote 0
                          • W
                            wuming @george
                            last edited by

                            @george 7cda6e76-b1a8-48e1-942b-cd3446f3f015-image.png

                            1 Reply Last reply Reply Quote 0
                            • G
                              george @wuming
                              last edited by

                              @wuming 先使用QV4L2打开video11节点,系统默认已经安装。

                              G W 2 Replies Last reply Reply Quote 0
                              • G
                                george @george
                                last edited by

                                @george 如下代码测试正常:

                                import cv2 as cv2
                                cap = cv2.VideoCapture(11)
                                while True:
                                    success, img = cap.read()
                                    cv2.imshow("Video", img)
                                    if cv2.waitKey(1) & 0xFF == ord('q'):
                                        break
                                cap.release()
                                cv2.destroyAllWindows()
                                
                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  wuming @george
                                  last edited by wuming

                                  @george QV4L2打开摄像头命令格式是怎样的?

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    wuming @george
                                    last edited by wuming

                                    @george ec8f905d-ae13-4ed4-99a4-c6f2255e1fcd-image.png 打开了设备,但是start capturing,然后没有,然后。感觉这个板子的可靠性、兼容性不佳,有上当的感觉f8479f15-157d-4581-a7b0-70b60a11d2c8-image.png

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      george @wuming
                                      last edited by

                                      @wuming dmesg打印一份传上来,这种情况是没有识别到摄像头模组。

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        wuming @george
                                        last edited by wuming

                                        @george b963e0e8-e66c-4336-bf5a-c23ceee38e1e-image.png
                                        请看看这个是怎么回事情

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          george @wuming
                                          last edited by

                                          @wuming 确认DTS文件有如下配置,如果没有就更新代码:
                                          d0f1439f-ed32-49cd-b6fa-dfbc2351335a-image.png

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            george @jugg
                                            last edited by

                                            @jugg 可以提交一下如下log信息,看IMX219有没有正常识别到。

                                            coolpi@Ubuntu:~$ dmesg |grep imx219
                                            [   10.459055] imx219 4-0010: driver version: 00.01.02
                                            [   10.459070] imx219 4-0010: Failed to get reset-gpios
                                            [   10.459077] imx219 4-0010: Failed to get power-gpios
                                            [   10.459084] imx219 4-0010: Failed to get pwdn-gpios
                                            [   10.459087] imx219 4-0010: imx219_video_probe
                                            [   10.459089] imx219 4-0010: imx219 power on
                                            [   10.550251] imx219 4-0010: xvclk matched OK
                                            [   10.583962] imx219 4-0010: Model ID 0x0219, Lot ID 0x798a91, Chip ID 0x06cf
                                            [   10.583964] imx219 4-0010: imx219_ctrls_init
                                            [   10.677433] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m01_f_imx219 4-0010:bus type 5
                                            [   13.246834] imx219 4-0010: imx219 power on
                                            [   13.338229] imx219 4-0010: xvclk matched OK
                                            [   13.380673] imx219 4-0010: imx219 power off
                                            [   14.004893] imx219 4-0010: imx219 power on
                                            [   14.096951] imx219 4-0010: xvclk matched OK
                                            [   14.127786] imx219 4-0010: imx219 power off
                                            [   14.162705] imx219 4-0010: imx219 power on
                                            [   14.244563] imx219 4-0010: xvclk matched OK
                                            [   59.475452] imx219 4-0010: imx219 stream  000
                                            [   59.479866] imx219 4-0010: imx219 stream  001
                                            [   59.640823] imx219 4-0010: imx219 stream  002
                                            [   75.813070] imx219 4-0010: imx219 stream  000
                                            
                                            W 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post