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

    Pictures from Stereo Camera

    VOXL m500 Reference Drone
    2
    4
    115
    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.
    • S
      Samuel Bryan
      last edited by 12 Aug 2024, 19:57

      I want to take pictures from the stereo cameras. Is there a way to do this through voxl-send-command or any other terminal command?

      A 1 Reply Last reply 13 Aug 2024, 21:45 Reply Quote 0
      • A
        Alex Kushleyev ModalAI Team @Samuel Bryan
        last edited by 13 Aug 2024, 21:45

        @Samuel-Bryan , you can use a tool voxl-record-raw-image which can save the monochrome stereo images in RAW8 format (8 bits per pixel).

        voxl2:~/$ voxl-record-raw-image -h
        
        
        Record a raw image from an MPA pipe to disk
        This is typically used for inspecting raw or YUV
        image data formatting or for loading into something
        like MATLAB or OpenCV for post-processing.
        
        Optional arguments are:
        -d, --dir {dir}       directory to save output files in (default: /data/raw-images/)
        -h, --help            print this help message
        -n, --num-images {n}  number of images to save from the pipe (default 1)
        
        typical usage:
        /# voxl-record-video tracking
        /# voxl-record-video tracking -d /data/tracking_test_1/ -n 10
        
        S 1 Reply Last reply 13 Aug 2024, 22:08 Reply Quote 0
        • S
          Samuel Bryan @Alex Kushleyev
          last edited by 13 Aug 2024, 22:08

          @Alex-Kushleyev Thanks for the reply. We tried this on our voxl1, but it didn't work. We get an error saying "Invalid option -- "d"". Is there a way to get this working on voxl1 on the m500?

          A 1 Reply Last reply 15 Aug 2024, 16:21 Reply Quote 0
          • A
            Alex Kushleyev ModalAI Team @Samuel Bryan
            last edited by 15 Aug 2024, 16:21

            @Samuel-Bryan , you may have an older version of the voxl-mpa-tools package. You can try upgrading it from here (you may also need to upgrade libmodal-pipe to 2.10.1).

            Alex

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post
            Powered by NodeBB | Contributors