# Pictures from Stereo Camera

Source: https://forum.modalai.com/topic/3715/pictures-from-stereo-camera
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: m500
Posted: 2024-08-12 19:57:06 UTC by Samuel Bryan
Replies: 3 · Views: 1327

## Samuel Bryan · 2024-08-12 19:57:06 UTC

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?

## Reply by Alex Kushleyev (ModalAI staff) · 2024-08-13 21:45:51 UTC

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

## Reply by Samuel Bryan · 2024-08-13 22:08:16 UTC (in reply to Alex Kushleyev)

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

## Reply by Alex Kushleyev (ModalAI staff) · 2024-08-15 16:21:42 UTC (in reply to Samuel Bryan)

@Samuel-Bryan , you may have an older version of the `voxl-mpa-tools` package. You can try upgrading it from [here](http://voxl-packages.modalai.com/dists/apq8096/sdk-1.3/binary-arm64/voxl-mpa-tools_1.1.9.ipk) (you may also need to upgrade libmodal-pipe to 2.10.1).

Alex
