ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    4208x3120 resolution with IMX214 M0025-2 hires cam on VOXL 2

    VOXL 2
    5
    7
    474
    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.
    • Jeff DelauneJ
      Jeff Delaune
      last edited by Jeff Delaune

      Hello Team,

      This page indicates that the the IMX214 M0025-2 hires cam was tested at full resolution (4208x3120) on the VOXL2. Unfortunately, we can't seem to access images at that resolution with the latest VOXL 2 image. Are we missing anything? More details below

      Test configuration:
      system-image: 1.4.1-M0054-14.1a-perf
      kernel: #1 SMP PREEMPT Thu Oct 13 17:48:16 UTC 2022 4.19.125
      hw version: M0054
      voxl-suite: 0.9.5

      After running "voxl-configure-cameras" and changing the "preview_width" and "preview_height" entries of /etc/modalai/voxl-camera-server.conf to 4208 and 3120 respectively for the hires camera:

      "name": "hires",
      "enabled":      true,
      "frame_rate":   30,
      "type": "imx214",
      "camera_id":    3,
      "preview_width":        4208,
      "preview_height":       3120,
      "snapshot_width":       3840,
      "snapshot_height":      2160
      

      Running "voxl-camera-server" throws the following error:

      ERROR:   Camera 3 failed to find supported preview config: 4208x3120
      ERROR:   Failed to start camera: hires, exiting
      

      We could verify that 4208x3120 is listed as a supported resolution when running "voxl-camera-server --list"

      Stats for camera: 3:
      ANDROID_SCALER_AVAILABLE_RAW_SIZES:
              4208x3120, 4096x2160, 2104x1560, 1920x1080, 1280x720,
      ANDROID_SCALER_AVAILABLE_PROCESSED_SIZES:
              4208x3120, 4096x2160, 2104x1560, 1920x1080, 1280x 720,
      
      1 Reply Last reply Reply Quote 0
      • Zachary Lowell 0Z
        Zachary Lowell 0 ModalAI Team
        last edited by

        @Jeff-Delaune said in 4208x3120 resolution with IMX214 M0025-2 hires cam on VOXL 2:

        "name": "hires",
        "enabled": true,
        "frame_rate": 30,
        "type": "imx214",
        "camera_id": 3,
        "preview_width": 4208,
        "preview_height": 3120,
        "snapshot_width": 3840,
        "snapshot_height": 2160

        Hey @Jeff-Delaune - just tried recreating your issue on SDK 0.9 and can say that I also was unable to run the camera at 4208X3120:

        c1ba4b0e-52a5-46aa-8a97-b5ada9710acc-image.png

        Looks like the reasoning is because there was not a supported PREVIEW config of 4208x3120 - something to note is that the --list basically hits a hal3 api that returns what it believes are the correct camera resolutions. We are currently building out a table of configurable resolutions that are 100% working.

        Anyways - please try a preview config of 4096 x 2160 (still 4k) and that will solve this issue.

        Let me know if that is not an option though.

        Thanks,
        Zach

        Jeff Delaune _J 1 Reply Last reply Reply Quote 0
        • Jeff Delaune _J
          Jeff Delaune _ @Zachary Lowell 0
          last edited by

          Thanks for the quick reply @Zachary-Lowell-0 !

          We were planning a field test in 1 week for which the full resolution is needed => Is there any plan on your side to get the full resolution to work? If so, do you have a timeline for it?

          1 Reply Last reply Reply Quote 0
          • Chad SweetC
            Chad Sweet ModalAI Team
            last edited by Chad Sweet

            We are aware of the issue. It is a very time consuming task to fix Qualcomm's camera drivers. We are working on it though and hope it will be resolved in a release this summer.

            Jeff Delaune _J 2 Replies Last reply Reply Quote 0
            • Jeff Delaune _J
              Jeff Delaune _ @Chad Sweet
              last edited by

              Copy. Thanks @Chad-Sweet and team!

              1 Reply Last reply Reply Quote 0
              • Jeff Delaune _J
                Jeff Delaune _ @Chad Sweet
                last edited by

                Hi @Chad-Sweet,

                Would you be able to tell us what has been confirmed to work with the Qualcomm driver for the IMX214 hires cam?

                Can we get the full frame at a lower resolution?

                Which settings crop the image and which settings down-sample the image?

                We tried to explore that and now have a sense, but it would be nice if you could tell us what to expect.

                I apologize in advance if you already answered these questions to Andrew by email. He is on leave this week.

                modaltbM 1 Reply Last reply Reply Quote 0
                • modaltbM
                  modaltb ModalAI Team @Jeff Delaune _
                  last edited by modaltb

                  @Jeff-Delaune-_
                  This is a little late, but we have 4208x3120 working now. The changes weren't in the camera driver itself but the camera pipeline and camera-server... we have it available in a nightly build if you're up to trying a pre-release out!

                  182da38b-69b1-45f1-b775-d8f2f0bc2ec5-image.png

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors