A simple pipeline demonstrates how to handle files (input/output).
Tested on platforms:
- Nvidia Ampere
git clone https://github.com/insight-platform/Savant.git
cd Savant
git lfs pull
./utils/check-environment-compatibleNote: Ubuntu 22.04 runtime configuration guide helps to configure the runtime to run Savant pipelines.
The demo uses models that are compiled into TensorRT engines the first time the demo is run. This takes time. Optionally, you can prepare the engines before running the demo by using the command:
# you are expected to be in Savant/ directory
./scripts/run_module.py --build-engines samples/file_processing/module.ymldocker compose -f samples/file_processing/docker-compose.x86.yml upKnown issues and how to fix them: #1140
Place a file in data/your-video.mp4.
docker compose \
-f samples/file_processing/docker-compose.x86.yml \
--profile video-file-input \
run --rm \
-e LOCATION="/data/your-video.mp4" \
-e SOURCE_ID=your-source \
video-file-input
Check processing results in data/results/your-source/your-video/video.mov.