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

# Source our environment
source dddq_environment.sh

# Sample the output file
python3 scripts/preview_3dq_sample.py input.mkv -d -i1

# Write sample streams to TIFF frames.
# Remember to specify the input file, the output folder and the streams to write.
python3 scripts/write_to_tiff_frames.py sample.mkv out/ -d -i1 -c

# v7labs upload
# Note that you also need to pass your V7 Darwin API key as `--key API_KEY`
# or log in using `darwin authenticate`.
python3 scripts/upload_to_v7.py --path out/ --dataset test-01

Initialise

Sample file

Now that you have your file that contains the whole contents you can use the preview_3dq_ sample.py to preview and use the instructions on screen to sample the file, giving a name to the new sample (we assume the sample name is sample.mkv for the next steps).

Convert file to TIFF format

If you would like to convert your sample to TIFF files, tou can use the write_to_tiff_frames.py to write your chosen streams to frames.

Upload tiffs to v7labs

To upload the files in out/ format to v7labs you can use any of the ways defined in their API docs.

E.g. https://docs.v7labs.com/docs/import-image-or-video-data

Moreover, we also provide a Python script that allows you to upload to V7.