Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Voxl2 camera RAW

Voxl2 camera RAW

Scheduled Pinned Locked Moved Ask your questions right here!
6 Posts 3 Posters 795 Views 1 Watching
  • 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.
  • R Offline
    R Offline
    robertociuch
    Contributor
    wrote on last edited by
    #1

    Hi everyone,

    is there a way to take some raw snapshot from the HiRes camera (IMX412 w microcoax wires)?
    I see that the file created by "voxl-send-command hires_large_color snapshot" is pretty small (less then 800KB)
    The preview on the voxl portal seems even better compared to the jpg image

    thank you in advance!

    1 Reply Last reply
    0
    • Riccardo BenedettiR Offline
      Riccardo BenedettiR Offline
      Riccardo Benedetti
      wrote on last edited by
      #2

      Hi all, I work with Roberto, adding here the voxl-camera-server.conf file we are currently using.

      {
      	"version":	0.1,
      	"fsync_en":	true,
      	"fsync_gpio":	109,
      	"cameras":	[{
      			"type":	"imx412",
      			"name":	"hires",
      			"enabled":	true,
      			"camera_id":	1,
      			"fps":	30,
      			"en_preview":	false,
      			"preview_width":	640,
      			"preview_height":	480,
      			"en_raw_preview":	false,
      			"en_small_video":	true,
      			"small_video_width":	1024,
      			"small_video_height":	768,
      			"small_venc_mode":	"h264",
      			"small_venc_br_ctrl":	"cqp",
      			"small_venc_Qfixed":	30,
      			"small_venc_Qmin":	15,
      			"small_venc_Qmax":	40,
      			"small_venc_nPframes":	9,
      			"small_venc_mbps":	2,
      			"small_venc_osd":	false,
      			"en_large_video":	true,
      			"large_video_width":	4056,
      			"large_video_height":	3040,
      			"large_venc_mode":	"h264",
      			"large_venc_br_ctrl":	"cqp",
      			"large_venc_Qfixed":	40,
      			"large_venc_Qmin":	15,
      			"large_venc_Qmax":	50,
      			"large_venc_nPframes":	29,
      			"large_venc_mbps":	40,
      			"large_venc_osd":	false,
      			"en_snapshot":	true,
      			"en_snapshot_width":	4056,
      			"en_snapshot_height":	3040,
      			"exif_focal_length":	4.5,
      			"exif_focal_length_in_35mm_format":	25,
      			"exif_fnumber":	4.5,
      			"ae_mode":	"off",
      			"gain_min":	54,
      			"gain_max":	8000,
      			"snapshot_jpeg_quality":	100
      		}]
      }
      
      

      We are using the snapshots for one of our projects and we would need to have the most detailed image possible to be processed with an external algo.
      Thanks

      R 1 Reply Last reply
      0
      • Riccardo BenedettiR Riccardo Benedetti

        Hi all, I work with Roberto, adding here the voxl-camera-server.conf file we are currently using.

        {
        	"version":	0.1,
        	"fsync_en":	true,
        	"fsync_gpio":	109,
        	"cameras":	[{
        			"type":	"imx412",
        			"name":	"hires",
        			"enabled":	true,
        			"camera_id":	1,
        			"fps":	30,
        			"en_preview":	false,
        			"preview_width":	640,
        			"preview_height":	480,
        			"en_raw_preview":	false,
        			"en_small_video":	true,
        			"small_video_width":	1024,
        			"small_video_height":	768,
        			"small_venc_mode":	"h264",
        			"small_venc_br_ctrl":	"cqp",
        			"small_venc_Qfixed":	30,
        			"small_venc_Qmin":	15,
        			"small_venc_Qmax":	40,
        			"small_venc_nPframes":	9,
        			"small_venc_mbps":	2,
        			"small_venc_osd":	false,
        			"en_large_video":	true,
        			"large_video_width":	4056,
        			"large_video_height":	3040,
        			"large_venc_mode":	"h264",
        			"large_venc_br_ctrl":	"cqp",
        			"large_venc_Qfixed":	40,
        			"large_venc_Qmin":	15,
        			"large_venc_Qmax":	50,
        			"large_venc_nPframes":	29,
        			"large_venc_mbps":	40,
        			"large_venc_osd":	false,
        			"en_snapshot":	true,
        			"en_snapshot_width":	4056,
        			"en_snapshot_height":	3040,
        			"exif_focal_length":	4.5,
        			"exif_focal_length_in_35mm_format":	25,
        			"exif_fnumber":	4.5,
        			"ae_mode":	"off",
        			"gain_min":	54,
        			"gain_max":	8000,
        			"snapshot_jpeg_quality":	100
        		}]
        }
        
        

        We are using the snapshots for one of our projects and we would need to have the most detailed image possible to be processed with an external algo.
        Thanks

        R Offline
        R Offline
        robertociuch
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev
        We updated the voxl-camera-server to the last release, now setting the snapshot quality to 100 we get a bigger file, but it is still compressed.
        I read on a different topic that you already saw something about this

        thank you

        Alex KushleyevA 1 Reply Last reply
        0
        • R robertociuch

          @Alex-Kushleyev
          We updated the voxl-camera-server to the last release, now setting the snapshot quality to 100 we get a bigger file, but it is still compressed.
          I read on a different topic that you already saw something about this

          thank you

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by
          #4

          @robertociuch , jpg quality of 100 will still result in a lossy / compressed output. What is your goal ?

          R 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @robertociuch , jpg quality of 100 will still result in a lossy / compressed output. What is your goal ?

            R Offline
            R Offline
            robertociuch
            Contributor
            wrote on last edited by
            #5

            @Alex-Kushleyev

            We need to take snapshot with the best possible image quality, without compression if possible.
            It would be nice if we can save the single frames of the hires (few snapshots) in YUV NV12, which is the native format for the software we are using

            thanks

            Alex KushleyevA 1 Reply Last reply
            0
            • R robertociuch

              @Alex-Kushleyev

              We need to take snapshot with the best possible image quality, without compression if possible.
              It would be nice if we can save the single frames of the hires (few snapshots) in YUV NV12, which is the native format for the software we are using

              thanks

              Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by
              #6

              @robertociuch , you can use a tool voxl-record-raw-image which is a part of voxl-mpa-tools package, should be installed by default in the VOXL2 SDK. (see help for details for the tool)

              This allows you to save any image (whether it is bayer or yuv) at any time from command line. Would that work for you?

              Alex

              1 Reply Last reply
              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups