Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0028703e authored by KADDOUR Sidi Mohammed's avatar KADDOUR Sidi Mohammed
Browse files

update readme.md

parent f94584b9
No related branches found
No related tags found
No related merge requests found
......@@ -105,8 +105,24 @@ This surveillance system is designed to process video feeds using a distributed
These commands will automatically find the `Dockerfile` in each service's directory (`./services/camera`, `./services/motion_detector`, and `./services/object_recognizer`). The `latest` tag is used to mark the most recent image.
### Step 2: Create or Update `docker-compose.yml`
Make sure the `docker-compose.yml` file is set up correctly. Here's an example for reference:
#### Services Envirment Variables
**Object Recognizer**:
- No environment variables specified.
**Motion Detector**:
- `INDEX`: A unique identifier for each motion detector instance (e.g., `1`, `2`, `3`).
- `OR_HOST`: The hostname of the **object recognizer** service (set to `object_recognizer`).
- `OR_PORT`: The port on which the **object recognizer** service is listening (set to `9999`).
**Camera**:
- `CAMERA`: Set to `true`, indicating that the container is a camera service.
- `ANIMAL_NAME`: The name of the animal being observed by the camera (e.g., `tiger`, `bear`, `wolf`).
- `APPEARANCE_RATE`: The frequency at which the animal appears in the footage (in frames per minute).
- `MDHOST`: The hostname of the corresponding **motion detector** (e.g., `motion_detector_1`, `motion_detector_2`, `motion_detector_3`).
- `MDPORT`: The port on which the corresponding **motion detector** is listening (set to `9998`).
- `INDEX`: A unique identifier for each camera (e.g., `1`, `2`, `3`).
Here's an example for reference. Make sure the `docker-compose.yml` file is set up correctly:
```yaml
version: '3'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment