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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Drones
  3. VOXL m500 Reference Drone
  4. How to use voxl-logger to sample hires camera?

How to use voxl-logger to sample hires camera?

Scheduled Pinned Locked Moved VOXL m500 Reference Drone
3 Posts 3 Posters 1.1k Views
  • 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.
  • M Offline
    M Offline
    Matthew Howlett
    Contributor
    wrote on last edited by Matthew Howlett
    #1

    Hello,
    I am able use the voxl-logger for both the stereo and tracking camera, but for some unknown reason I cannot sample the hires camera. What am I missing here?

    I can provide more information if needed.

    Thanks

    1 Reply Last reply
    0
    • James StrawsonJ Offline
      James StrawsonJ Offline
      James Strawson
      ModalAI Team
      wrote on last edited by
      #2

      Hi Matthew,

      When you try to run voxl-logger with the hires camera it should have given the following error message:

      voxl:/$ voxl-logger --cam hires --samples 1
      connected to ch 0 cam server: /run/mpa/hires/
      ERROR only support RAW8, RAW16, and FLOAT32 images right now
      got NV21 instead
      

      The reason these are the only formats currently supported is because it uses opencv to save/load images. OpenCV is quick enough for black and white images, but simply too slow to be practical for large color images.

      As an experiment I just made a new branch of voxl-mpa-tools with a slow but functional switch-case for the NV21 images produced by the hires camera. This will work for saving one or two images, but won't be able to keep up with a steady 30fps stream.

      Here is the code if you want to try:
      https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-mpa-tools/-/commit/633adfdaf8162548d5df4218243a32e06d2ea7b1

      Migrating voxl-logger to use a faster image compression library and/or hardware acceleration is in the pipeline but I can't promise a release date for that I'm afraid.

      I hope this helps,
      James

      1 Reply Last reply
      1
      • David SmythD Offline
        David SmythD Offline
        David Smyth
        Contributor
        wrote on last edited by
        #3

        +1 for this functionality if possible. Would it be possible to merge the color branch into dev/master for the next release? If speed is a problem I think it would be acceptable to limit this to lower resolutions as a starting point

        1 Reply Last reply
        2

        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