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

    SC130M搭配RK3588不出图

    Scheduled Pinned Locked Moved VEYE MIPI camera
    26 Posts 3 Posters 11.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 @m4416202
      last edited by

      有可能是:
      vicap模块缺少数据类型的支持。Y10 和Y12都不支持。
      参考一下下面的代码,手动增加一下数据格式。
      kernel\drivers\media\platform\rockchip\cif\capture.c
      capture.c.txt

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

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        m4416202 @veye_xumm
        last edited by

        @veye_xumm 我们对比了下这个文件,发现原来的文件缺少很多东西,我们尝试增加进去修改下看看

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

          @m4416202 只把与数据格式相关的地方加进去即可。

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

          M 乔 2 Replies Last reply Reply Quote 0
          • M Offline
            m4416202 @veye_xumm
            last edited by

            @veye_xumm 您好,我们现在出图了。raw格式就这个样子吗?目前只是参照您给的capture.c增加了y8和y12两种数据格式(增加了2个case的代码)。还需要修改其他的吗?
            5bc6ca12-21ab-4f80-a495-342fd362d2cd-image.png

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

              @m4416202 看起来像是数据格式认知错误。 SC130M是黑白的。
              你看一下我们的wiki文档上,按照步骤抓一下raw8数据看看。

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

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                m4416202 @veye_xumm
                last edited by

                @veye_xumm wiki文档是指How to use MV and RAW series cameras on Firefly's board.md这篇吗?

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

                  @m4416202 是的。

                  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
                  • M Offline
                    m4416202
                    last edited by

                    运行抓图指令,看到了“<<<<<”,应该是抓图成功。但是生成的文件却是0KB。2.png

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

                      @m4416202 在有的厂家的固件上我们遇到过这个问题。应该是v4l2-ctl工具的问题。
                      你试试用我们文档上提到的yavta工具试试。

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

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        m4416202 @veye_xumm
                        last edited by

                        @veye_xumm 这个是用yavta工具生成的RAW文件,这个RAW文件好像打不开,您那用什么软件打开的?

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

                          @m4416202 看part6.5

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

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            m4416202 @veye_xumm
                            last edited by

                            @veye_xumm 生成的图像还是绿底的
                            cf6e591c-fde6-4156-a160-2378877bf1bd-image.png

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

                              @veye_xumm !E2DA8C03-20AA-48ED-A669-4242A9088FAA.jpeg 目前只增加了605、612行的两个case,请问这是您说的跟格式有关的部分吗?还需要修改其他地方吗

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

                                @m4416202
                                你为啥把图像理解成UYVY格式呢?是不是看错文章了啊?
                                看一下part7.4.4. https://wiki.veye.cc/index.php/MV_Camera_on_Firfly_Boards/zh#.E6.B5.81.E6.A8.A1.E5.BC.8F
                                uyvy是彩色数据格式,SC130M是黑白的啊。

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

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  m4416202 @veye_xumm
                                  last edited by

                                  @veye_xumm 是用这个播放器?
                                  9ba542ee-d734-4468-8047-ef10aecb770f-image.png

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

                                    @m4416202 是的

                                    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
                                    • 乔 Offline
                                      乔康 @veye_xumm
                                      last edited by

                                      @veye_xumm 现在这个绿色的图像,只有左侧一半有图像。是capture.c没有修改对吗

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

                                        @乔康

                                        @veye_xumm said in SC130M搭配RK3588不出图:

                                        你为啥把图像理解成UYVY格式呢?

                                        你做预览的时候,不应该用uyvy格式去预览啊。

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

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          m4416202 @veye_xumm
                                          last edited by

                                          @veye_xumm 使用vooya打开了图像
                                          364335c7-cb24-4c35-be07-4752de0a4ad6-image.png

                                          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