Use both RSI camera on jetson nano

Dear All,
i need to make a timelapse of growing plants and i need to have two angles for the plant: frontal and from the top.
I was planning to take picture every 30 mins and compile a video after. I would like to use jetson nano and two raspberry cameras v2. I found that nanostil can be used to take pictures (and it works with one camera) but i do not know if when two cameras are connected, the software automatically will take picture with both cameras or not.

does anyone have any other idea?

cheers
Luigi

Hi @luigi.fainotwhpp, it doesn’t appear that nanostill project has support for changing which CSI camera is used. However, there is the nvgstcapture-1.0 program that comes with JetPack that can capture images and video from different cameras.

For example, to save an image from CSI camera 0, use the following command:

# change sensor-id to use a different CSI camera
nvgstcapture-1.0 --sensor-id=0 --file-name="camera0" --automate --capture-auto

The jpg image will be saved to the current working directory, with the specified --file-name used a prefix to the timestamp.

Note that to save image from USB camera, use the following command:

# change --cap-dev-node=N to your desired /dev/video* node
nvgstcapture-1.0 --camsrc=0 --cap-dev-node=N --file-name="cameraN" --automate --capture-auto

For documentation on the command line options, please see here:

https://docs.nvidia.com/jetson/l4t/Tegra%20Linux%20Driver%20Package%20Development%20Guide/accelerated_gstreamer.html#wwpID0E0UC0HA