Getting Started
NOTE:
By default the application runs by pulling the pre-built images. If you want to build the images locally and then run the application, set the flag:
REGISTRY=false
usage: make <command> REGISTRY=false (applicable for all commands like benchmark, benchmark-stream-density..)
Example: make run-demo REGISTRY=false
(If this is the first time, it will take some time to download videos, models, docker images and build images)
Step by step instructions:
-
Download the models using download_models/downloadModels.sh
make download-models -
Update github submodules
make update-submodules -
Download sample videos used by the performance tools
make download-sample-videos -
Run the order accuracy application
make run-render-mode -
The above series of commands can be executed using only one command:
make run-demo
- To build the images locally step by step:
- Follow the following steps:
make download-models REGISTRY=false make update-submodules REGISTRY=false make download-sample-videos make run-render-mode REGISTRY=false -
The above series of commands can be executed using only one command:
make run-demo REGISTRY=false -
Verify Docker containers
Result:docker ps --allNAMES STATUS IMAGE src-ClientGst-1 Up 17 seconds (healthy) dlstreamer:dev model-downloader Exited(0) 17 seconds model-downloader:latest -
Verify Results
After starting Order Accuracy you will begin to see result files being written into the results/ directory. Here are example outputs from the 3 log files.
gst-launch_
pipeline
r
-
Stop the containers: When pre-built images are pulled-
When images are built locally-make downmake down REGISTRY=false