# Camera Management

```
This guide is focused on explaining the purpose behind each game module. 
For a detailed documentation of the methods and attributes of the classes, 
check the doxygen documentation.
```

## System Overview

The camera management system is in charge of retrieving a video feed from the robot and process it to obtain the different game elements. It is based on the [*listener* design pattern](https://en.wikipedia.org/wiki/Observer_pattern), also called *observer pattern*. It is composed by a `ImageManager` that retrieves the images coming from the robot and generates an image event that is sent to the corresponding `ImageEventListener`. The `ProcessorImageEventListener` receives the image from the camera feed and extracts from it the enemies detected, whose information is sent to the [MentalMap](/robotdevastation-developer-manual/robotdevastation/managers/data-management/mental-map.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://asrob-uc3m.gitbook.io/robotdevastation-developer-manual/robotdevastation/managers/camera-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
