Skip to main content
# Go to the Aivero Python Interface Installation folder
cd /opt/aivero/apyi-install

# Source our environment
source dddq_environment.sh

# Run the 'write_session_to_tiff' sample
python3 scripts/write_session_to_tiff.py --session="/path/to/session/folder" --output_filename=out -c -d -i1
{"success":true}

Initialize

Write the recording session to tiff frames.

To run this sample you just need to pass to the script:

  • The recording session folder using the '--session' argument.
  • The output file folder to which you want to write the frames to using the '--output_filename' argument.
  • The streams that you wish to include - this you can do by passing the stream flags: -d for fdepth, -c for color, -i1 for infra1 and -i2 for infra2