How to Build Source#
This guide provides step-by-step instructions for building Live Video Alert Agent Sample Application from source.
Building the Images#
To build the Docker image for Live Video Alert application, follow these steps:
Ensure you are in the project directory:
cd edge-ai-suites/metro-ai-suite/live-video-analysis/live-video-alert
Run the following
docker composecommand:docker compose build
Run the Application#
Run the application using the following command:
docker compose up
Ensure that the application is running by checking the container status:
docker psAccess the application by opening your web browser and navigate to
http://localhost:9000to view the dashboard UI.(OPTIONAL) To force a clean rebuild run the following:
docker compose up --build
Notes:
Ensure your environment variables are configured, especially
RTSP_URL.The default port is
9000, but can be changed using thePORTenvironment variable.