Skip to content

Commit be45374

Browse files
authored
Merge branch 'main' into dependabot/pip/metro-ai-suite/image-based-video-search/src/feature-matching/python-multipart-0.0.22
2 parents df10916 + 1b378c8 commit be45374

File tree

15 files changed

+112
-135
lines changed

15 files changed

+112
-135
lines changed

metro-ai-suite/sensor-fusion-for-traffic-management/deployments/how_to_generate_kitti_format_dataset/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ envisage==7.0.4
3232
executing==2.2.0
3333
fastjsonschema==2.21.1
3434
Flask==3.1.1
35-
fonttools==4.59.0
35+
fonttools==4.61.1
3636
fqdn==1.5.1
3737
gmplot==1.4.1
3838
h11==0.16.0
@@ -62,7 +62,7 @@ jupyter_client==8.6.3
6262
jupyter_core==5.8.1
6363
jupyter_server==2.16.0
6464
jupyter_server_terminals==0.5.3
65-
jupyterlab==4.4.5
65+
jupyterlab==4.4.8
6666
jupyterlab_pygments==0.3.0
6767
jupyterlab_server==2.27.3
6868
jupyterlab_widgets==3.0.15
@@ -149,6 +149,6 @@ wcwidth==0.2.13
149149
webcolors==24.11.1
150150
webencodings==0.5.1
151151
websocket-client==1.8.0
152-
Werkzeug==3.1.3
152+
Werkzeug==3.1.5
153153
widgetsnbextension==4.0.14
154154
zipp==3.23.0

metro-ai-suite/sensor-fusion-for-traffic-management/deployments/how_to_support_yolov6_model/requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ cycler==0.12.1
1313
defusedxml==0.7.1
1414
Deprecated==1.2.18
1515
dill==0.4.0
16-
filelock==3.13.1
16+
filelock==3.20.3
1717
flatbuffers==25.2.10
18-
fonttools==4.58.4
18+
fonttools==4.61.1
1919
fsspec==2024.6.1
2020
grapheme==0.6.0
2121
grpcio==1.73.0
@@ -60,8 +60,8 @@ openvino-telemetry==2025.1.0
6060
packaging==25.0
6161
pandas==2.2.3
6262
pillow==11.0.0
63-
pip==25.1.1
64-
protobuf==6.31.1
63+
pip==26.0
64+
protobuf==6.33.5
6565
psutil==7.0.0
6666
pycocotools==2.0.8
6767
pydot==3.0.4
@@ -86,13 +86,13 @@ tensorboard==2.19.0
8686
tensorboard-data-server==0.7.2
8787
thop==0.1.1.post2209072238
8888
threadpoolctl==3.6.0
89-
torch==2.7.1
90-
torchaudio==2.7.1
89+
torch==2.8.0
90+
torchaudio==2.8.0
9191
torchvision==0.22.1
9292
tqdm==4.67.1
9393
triton==3.3.1
9494
typing_extensions==4.12.2
9595
tzdata==2025.2
9696
urllib3==2.6.3
97-
Werkzeug==3.1.3
97+
Werkzeug==3.1.5
9898
wrapt==1.17.2

metro-ai-suite/sensor-fusion-for-traffic-management/deployments/model_evaluation_tools/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ certifi==2025.6.15
22
charset-normalizer==3.4.2
33
contourpy==1.3.2
44
cycler==0.12.1
5-
filelock==3.13.1
6-
fonttools==4.58.4
5+
filelock==3.20.3
6+
fonttools==4.61.1
77
fsspec==2024.6.1
88
idna==3.10
99
Jinja2==3.1.6
@@ -28,7 +28,7 @@ opencv-python==4.11.0.86
2828
packaging==25.0
2929
pandas==2.3.0
3030
pillow==11.0.0
31-
pip==25.1.1
31+
pip==26.0
3232
psutil==7.0.0
3333
py-cpuinfo==9.0.0
3434
pyparsing==3.2.3
@@ -40,8 +40,8 @@ scipy==1.15.3
4040
setuptools==80.9.0
4141
six==1.17.0
4242
sympy==1.13.3
43-
torch==2.7.1
44-
torchaudio==2.7.1
43+
torch==2.8.0
44+
torchaudio==2.8.0
4545
torchvision==0.22.1
4646
tqdm==4.67.1
4747
triton==3.3.1

metro-ai-suite/smart-traffic-intersection-agent/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The Smart Traffic Intersection Agent application analyzes various traffic scenar
77
- [System Requirements](docs/user-guide/system-requirements.md): Hardware and software requirements for running the agent.
88

99
## How It Works
10-
- [How It Works](docs/user-guide/Overview.md): A high-level introduction to the agent.
11-
- [How to Build from Source](docs/user-guide/build-from-source.md): Instructions for building the agent from source code.
10+
- [Overview](docs/user-guide/index.md): A high-level introduction to the agent.
11+
- [How It Works](docs/user-guide/how-it-works.md): Instructions for building the agent from source code.
1212

1313
## Learn More
1414
- [Release Notes](docs/user-guide/release-notes.md): Information on the latest updates, improvements, and bug fixes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.. toctree::
2+
3+
user-guide/index
Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
# Get Started
22

3-
The **Smart Traffic Intersection Agent (STIA)** provides comprehensive traffic analysis capabilities including real-time intersection monitoring, directional traffic density analysis, and VLM-powered traffic insights. This guide provides step-by-step instructions to:
3+
The **Smart Traffic Intersection Agent (STIA)** provides analytics that include, but not limited to, real-time intersection, directional traffic density, and VLM-powered traffic. This section shows you how to:
44

55
- Set up the agent using the automated setup script for quick deployment.
6-
- Run predefined tasks to explore its functionality.
7-
- Learn how to modify configurations to suit specific requirements.
6+
- Run predefined tasks to explore the agent's functionality.
7+
- Edit configurations to suit specific requirements.
88

99
## Prerequisites
1010

1111
Before you begin, ensure the following:
1212

13-
- **System Requirements**: Verify that your system meets the [minimum requirements](./system-requirements.md).
14-
- **Docker Installed**: Install Docker. For installation instructions, see [Get Docker](https://docs.docker.com/get-docker/).
15-
- **MQTT Broker**: Ensure access to an MQTT broker for traffic data streaming (or use the included broker).
16-
17-
This guide assumes basic familiarity with Docker commands and terminal usage. If you are new to Docker, see [Docker Documentation](https://docs.docker.com/) for an introduction.
13+
- **System requirements**: Verify that your system meets the [minimum requirements](./system-requirements.md).
14+
- **Docker platform**: Install Docker platform. For installation instructions, see [Get Docker](https://docs.docker.com/get-docker/).
15+
- **Message Queuing Telemetry Transport (MQTT) Broker**: Ensure access to an MQTT broker for traffic data streaming, or use the included broker.
16+
- **Docker commands and terminal usage**: You are familiar with Docker commands and using the terminal. If you are new to Docker, see [Docker Documentation](https://docs.docker.com/) for an introduction.
1817

1918
## Quick Start with Setup Script
2019

21-
The Smart Traffic Intersection Agent includes an automated setup script that handles environment configuration, submodule and dependencies setup, secrets generation, building, and deployment. This is the **recommended approach** for getting started.
20+
Intel recommends using the automated setup script that handles environment configuration, submodule and dependencies setup, secrets generation, building, and deployment of the Smart Traffic Intersection Agent.
2221

2322
### 1. Clone the Repository
2423

@@ -29,42 +28,44 @@ cd metro-ai-suite/smart-traffic-intersection-agent/
2928

3029
### 2. Run the Complete Setup
3130

32-
Easiest way to setup the service is to use the default configurations without making any changes. Run the setup script with --setup option for quick setup of the application with default configuration :
31+
The easiest way to set up the service is to use default configurations without making any changes. Run the setup script with the --setup option to set up the agent quickly with default configurations:
3332

3433
```bash
3534
source setup.sh --setup
3635
```
3736

3837
This single command will:
3938

40-
- Set all required environment variables with default values
41-
- Setup all dependencies and submodules required for Traffic Intersection Agent
42-
- Generate required TLS certificates and authentication files
39+
- Set required environment variables with default values
40+
- Set up dependencies and submodules required for Smart Traffic Intersection Agent
41+
- Generate the required TLS certificates and authentication files
4342
- Download demo video files for testing
4443
- Build Docker images
45-
- Start all services in the Traffic Intersection Agent application stack
44+
- Start services in the Smart Traffic Intersection Agent's application stack
4645

4746
### 3. Access Services
4847

49-
Once the script is completed successfully, it will show the URLs to access the services. Head to these URLs for the respective services to access them in a web browser.
48+
When the script completes, it will show the URLs to access the services. Go to these URLs so that the respective services can access them in a web browser.
49+
50+
## Running Multiple Instances (Test or Development Only)
5051

51-
## Running Multiple Instances (Test/Dev Only)
52+
For testing or development purposes, you can run multiple instances of the Smart Traffic Intersection Agent to simulate multiple intersections on the same development machine or node. The easiest way to do this is to clone and set up the application `n times` in n different locations on the same machine for `n` required instances.
5253

53-
For testing or development purposes, you might want to run multiple instances of the Smart Traffic Intersection Agent to simulate multiple intersections on the same development machine/node. Easiest way to do this is to clone and setup the application `n times` in n different locations on the same machine for `n` required instances. Please note that in production environments, only a single Traffic Intersection Agent instance is deployed on a given node.
54+
> **Note**: In production environments, only a single Traffic Intersection Agent instance is deployed on a given node.
5455
55-
> **Recommendation**: The number of instances you can run on a single machine, depends on available resources. Systems with higher resources can support more instances.
56+
> **Intel's recommendation**: The number of instances you can run on a single machine depends on available resources. Systems with higher resources can support more instances.
5657
57-
### Setting up Instance #1
58+
### Set up Instance #1
5859

59-
#### 1. Clone the repository into a new directory:
60+
1. Clone the repository into a new directory:
6061

6162
```bash
6263
# First instance
6364
git clone --depth 1 https://github.com/open-edge-platform/edge-ai-suites.git edge-ai-suites-instance1
6465
cd edge-ai-suites-instance1/metro-ai-suite/smart-traffic-intersection-agent/
6566
```
6667

67-
#### 2. Edit deployment config file for Instance #1
68+
2. Edit the deployment configuration file for instance #1:
6869

6970
```bash
7071
nano src/config/deployment_instance.json
@@ -82,15 +83,15 @@ Update the `latitude` and `longitude` values as required. If not required, use t
8283
}
8384
```
8485

85-
#### 3. Run Setup for Instance #1
86+
3. Run the setup for instance #1:
8687

8788
```bash
8889
source setup.sh --setup
8990
```
9091

91-
### Setting up Instance #2
92+
### Set up Instance #2
9293

93-
#### 1. Clone the repository into a new directory:
94+
1. Clone the repository into a new directory:
9495

9596
Open a new terminal window and move to different directory and run the following.
9697

@@ -99,13 +100,13 @@ git clone --depth 1 https://github.com/open-edge-platform/edge-ai-suites.git edg
99100
cd edge-ai-suites-instance2/metro-ai-suite/smart-traffic-intersection-agent/
100101
```
101102

102-
#### 2. Edit deployment config for Instance #2
103+
2. Edit the deployment configuration for instance #2:
103104

104105
```bash
105106
nano src/config/deployment_instance.json
106107
```
107108

108-
Following is a sample value for the Instance #2 deployment config:
109+
The following is a sample value for instance #2 deployment configuration:
109110

110111
```json
111112
{
@@ -116,30 +117,30 @@ Following is a sample value for the Instance #2 deployment config:
116117
"agent_ui_port": "7861"
117118
}
118119
```
119-
#### 3. Run Setup for Instance #2
120+
3. Run Setup for Instance #2
120121

121122
```bash
122123
source setup.sh --setup
123124
```
124125

125-
> __**NOTE**__ : Keep `agent_backend_port` and `agent_ui_port` values empty to use random ephemeral ports and avoid port conflicts.
126+
> **Note**: Keep the `agent_backend_port` and `agent_ui_port` values empty to use random ephemeral ports and avoid port conflicts.
126127
127128

128129
Ensure each instance has their `deployment_instance.json` updated with:
129130
- A unique value for `name` field
130131
- Unique latitude and longitude co-ordinates
131-
- Different `agent_backend_port` and `agent_ui_port` values to avoid port conflicts (optional — if not specified, an ephemeral port is picked automatically)
132+
- Different `agent_backend_port` and `agent_ui_port` values to avoid port conflicts. This is optional. If not specified, an ephemeral port is picked automatically.
132133

133-
### Deploying more instances
134+
### Deploying More Instances
134135

135-
There are functionally no limits on number of instances which you can spin-up to simulate multi-node setup using the provided script. However, the machine on which the multiple deployment is being done, will likely start throttling these instances if resource limits are reached. Hence, deploy new instances only if you have the required resource bandwidth.
136+
There are functionally no limits on the number of instances that you can spin up to simulate a multi-node setup using the provided script. However, the machine on which the multiple deployments are deployed to, will likely start throttling these instances if resource limits are reached. Hence, deploy new instances only if you have the required resource bandwidth.
136137

137-
To spin-up more instances - say `n number of new instances`, repeat the steps mentioned to [Setting up Instance #2](#setting-up-instance-2), by changing to a new directory `n` times.
138+
To spin-up more instances - say `n number of new instances`, repeat the steps mentioned in [Setting up Instance #2](#setting-up-instance-2), by changing to a new directory `n` times.
138139

139140

140141
## Advanced Environment Configuration
141142

142-
For advanced users who need more control over the configuration, following environment variables can be configured before running the setup script to override the default behaviour.
143+
For advanced users who need more control over the configuration, you can configure the following environment variables before running the setup script to override the default behaviour:
143144

144145
```bash
145146
# Set log level to debug to help in debugging issues, default value is info
@@ -163,9 +164,9 @@ export TRAFFIC_BUFFER_DURATION=20 # Default value 30; Analysis window of tr
163164

164165
## Accessing the Services
165166

166-
As the setup process, as mentioned above, completes successfully, the URLs for all services are displayed on the terminal. We can get the URL for **Traffic Intersection Agent UI** and **Traffic Intersection Agent API Docs** from the response and access it in a web browser.
167+
After the setup process completes, the URLs for all services are displayed on the terminal. You can get the URL for **Traffic Intersection Agent UI** and **Traffic Intersection Agent API Docs** from the response, and access it in a web browser.
167168

168-
Following is a sample response you might get at the completion of script, which displays all the URLs to access the relevant services:
169+
The following is a sample response that you might get at script completion, which displays the URLs for accessing the relevant services:
169170

170171
![alt text](./_images/service_endpoints.png)
171172

@@ -174,7 +175,7 @@ Following is a sample response you might get at the completion of script, which
174175

175176
### Port Conflicts for Traffic Intersection Agent Backend or UI
176177

177-
Please make sure the the config file at `src/config/deployment_instance.json` for all instances (deployed from different directories, in case of multiple deployment on same machine) has empty values for following fields `agent_backend_port`, `agent_ui_port` as follows:
178+
Ensure that the config file at `src/config/deployment_instance.json` for all instances (deployed from different directories, in case of multiple deployment on same machine) has empty values for the `agent_backend_port` and `agent_ui_port` fields:
178179

179180
```bash
180181
...
@@ -183,5 +184,5 @@ Please make sure the the config file at `src/config/deployment_instance.json` fo
183184
...
184185
```
185186

186-
It is recommended to keep these values empty and let Docker use ephemeral ports for minimal hassle. However, if it is required to provide a explicit port, then make sure all such port values for all instances are unique. Also, make sure no other external services are running on these ports.
187+
Intel recommends to keep these values empty and let the Docker engine use ephemeral ports for minimal hassle. However, if you need to provide an explicit port, ensure port values for all instances are unique. Also, ensure no other external services are running on these ports.
187188

metro-ai-suite/smart-traffic-intersection-agent/docs/user-guide/build-from-source.md renamed to metro-ai-suite/smart-traffic-intersection-agent/docs/user-guide/how-it-works.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# How to Build from Source
1+
# How It Works
22

3-
Build the Scene Intelligence microservice from source to customize or extend its functionality. This guide covers building the containerized Traffic Intersection Agent.
3+
This section shows how to build the Smart Traffic Intersection Agent from source to customize or extend its functionality.
44

55
## Prerequisites
66

7-
- **System Requirements**: Verify your system meets the [minimum requirements](./system-requirements.md).
8-
- **Docker**: Install Docker from [Get Docker](https://docs.docker.com/get-docker/).
7+
- **System Requirements**: Verify that your system meets the [minimum requirements](./system-requirements.md).
8+
- **Docker platform**: Install Docker platform from [Get Docker](https://docs.docker.com/get-docker/).
99
- Basic familiarity with Git and Docker commands.
1010

1111
## Build Traffic Intersection Agent
@@ -60,7 +60,7 @@ curl http://localhost:8081/api/v1/traffic/current
6060

6161
## Rebuild After Changes
6262

63-
When you modify code:
63+
After you have edited the code, rebuild:
6464

6565
```bash
6666
# Rebuild the image
@@ -74,7 +74,7 @@ docker compose -f docker/compose.yaml logs traffic-intersection-agent
7474
```
7575

7676

77-
## Supporting Resources
77+
## Learn More
7878

7979
- [Get Started Guide](get-started.md)
8080
- [Environment Variables](environment-variables.md)
Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
11
# System Requirements
22

3-
This page provides detailed hardware, software, and platform requirements to help you set up and run the microservice efficiently.
3+
This section shows the hardware, software, and platform requirements to help you set up and run Smart Traffic Intersection Agent efficiently.
44

5-
## Supported Platforms
5+
The agent currently supports CPU- and GPU-based runs, and runs in the context of video summary pipeline. Hence, the system requirements is as per the documentation in the sample application.
66

7-
This microservice currently supports CPU and GPU based runs. This microservice is intended to run in the context of video summary pipeline. Hence, supported platform, OS configuration etc. is as per the documentation in the sample application. The documentation here, hence, does not provide separate requirements.
7+
## Supported Operating Systems
88

9-
**Operating Systems**
9+
- As per the sample application documentation.
1010

11-
- As per sample application documentation.
11+
## Hardware Requirements
1212

13-
**Hardware Platforms**
14-
15-
- As per sample application documentation.
16-
17-
## Minimum Requirements
18-
19-
- As per sample application documentation.
13+
- As per the sample application documentation.
2014

2115
## Software Requirements
2216

23-
**Required Software**:
24-
25-
- Docker 24.0
26-
- Python 3.10
17+
- Docker engine version 24.0
18+
- Python programming language version 3.10
2719
- Docker Compose: [Installation Guide](https://docs.docker.com/compose/install/).
2820

21+
## Other Requirements
22+
23+
- As per the sample application documentation.
24+
2925
## Validation
3026

3127
- Ensure all required software are installed and configured before proceeding to [Get Started](./get-started.md).
3228

33-
## Supporting Resources
29+
## Learn More
3430

3531
- [Overview](Overview.md)
3632
- [API Reference](api-reference.md)

0 commit comments

Comments
 (0)