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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. VOXL SDK
  4. voxl-camera-server default exposure results in black snapshots + snapshot filename aliasing

voxl-camera-server default exposure results in black snapshots + snapshot filename aliasing

Scheduled Pinned Locked Moved VOXL SDK
1 Posts 1 Posters 537 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.
  • A Offline
    A Offline
    AndriiHlyvko
    Contributor
    wrote on last edited by
    #1

    Hi dev-team, I found a few minor bugs in the voxl-camera-server related to snapshot capturing. The first bug is that when you use the default exposure setting of AE_ISP and you also don't have any video streams open and try to capture camera snapshots you will get very underexposed images. Here is an example taken using an IMX412 camera with default settings. It was taken in our office in the middle of the day.

    hires-2024-07-03_17:28:12.jpg

    Basically the fix I found for that is to explicitly tell the Camera3 HAL not to use auto exposure by setting the default ae_mode to AE_LME_MSV.

    The other bug that I found is that you cannot capture snapshots faster than 1Hz. This is because the snapshot filenames are timestamps with 1s resolution. So when multiple snapshot commands come in in the same second they will have the same filename and overwrite each other on disk. The solution to that is to add a millis to the timestamp in the filename.

    I made a merge request for this https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/merge_requests/45

    On a separate note I would like to add in a feature to voxl-camera-server that adds XMP metadata to the snapshot images. This will be helpful for embedding UAV state information like attitude in the jpeg snapshots so they can later be used for mapping. For example DJI uses XMP to save its attitude and gimbal information. Would the modalai team be interested in me bringing in this feature?

    Thanks.

    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

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