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

    Pictures from Stereo Camera

    VOXL m500 Reference Drone
    2
    4
    111
    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.
    • Samuel BryanS
      Samuel Bryan
      last edited by

      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?

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @Samuel Bryan
        last edited by

        @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
        
        Samuel BryanS 1 Reply Last reply Reply Quote 0
        • Samuel BryanS
          Samuel Bryan @Alex Kushleyev
          last edited by

          @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?

          Alex KushleyevA 1 Reply Last reply Reply Quote 0
          • Alex KushleyevA
            Alex Kushleyev ModalAI Team @Samuel Bryan
            last edited by

            @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
            • First post
              Last post
            Powered by NodeBB | Contributors