The pipeline determines if people are located in the delimited areas on the frame and counts the amount of people for each area displaying the counts on the sidebar.
Preview:
Tested on platforms:
- Nvidia Turing, Ampere
- Nvidia Jetson Orin family
Demonstrated operational modes:
- real-time processing: RTSP streams (multiple sources at once);
Demonstrated adapters:
- Video loop adapter;
- Always-ON RTSP sink adapter;
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/area_object_counting/module.yml# you are expected to be in Savant/ directory
# if x86
docker compose -f samples/area_object_counting/docker-compose.x86.yml up
# if Jetson
docker compose -f samples/area_object_counting/docker-compose.l4t.yml up
# open 'rtsp://127.0.0.1:554/stream/town-centre' in your player
# or visit 'http://127.0.0.1:888/stream/town-centre/' (LL-HLS)
# Ctrl+C to stop running the compose bundle