> For the complete documentation index, see [llms.txt](https://nx.docs.scailable.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nx.docs.scailable.net/ai-manager-v6.1.4/ai-manager-plugin/configure-the-plugin.md).

# Configure the plugin

This page gives instructions on how to configure basic operations of the AI Manager Plugin

## Configure the Mediaserver

After the Mediaserver and desktop client are installed, the **Integrations** tab is visible in a camera's settings:

<figure><img src="/files/QYHYGkBjVFaGvhl5nlxr" alt="Camera Settings Integrations tab showing the AI Manager toggle in the off position"><figcaption><p>AI Manager Integration tab: plugin disabled</p></figcaption></figure>

The plugin can be enabled/disabled per device on the Integrations tab.

Once the plugin is enabled and started (toggle on, then click **Apply**), the settings panel shows the active AI pipeline and model controls directly in the Integrations tab:

<figure><img src="/files/pUQfIw2XyPGjxRb8KZmC" alt="Camera Settings Integrations tab showing the AI Manager toggle in the on position and a default pipeline"><figcaption><p>AI Manager Integration tab: plugin enabled with default pipeline</p></figcaption></figure>

To change a model, use the **AI Pipelines** dropdown to select from the models available on the server.

<figure><img src="/files/vL1uXwzKFN9Gld4ESbgb" alt="Camera Settings Integrations tab with plugin active, showing AI Pipeline dropdown, Device Active toggle, and Device Overview with active pipeline summary"><figcaption><p>Plugin active: AI pipeline and model settings</p></figcaption></figure>

When using a custom pipeline managed via the AI Manager Cloud, a **Manage Device** button is shown instead. Clicking it opens the AI Manager device panel to manage the model pipeline.

<figure><img src="/files/5SUJQ8dBfpitMbIrZGKb" alt="AI Manager panel with AI Pipeline set to Custom, showing the Manage Device button and Device Overview reporting the Face Detection model"><figcaption><p>Manage Device button: available when using a custom cloud pipeline</p></figcaption></figure>

<figure><img src="/files/Hu76aZ5dvO0eb6VNAeR9" alt="AI Manager device panel opened from the Manage Device button, showing the current model pipeline on device with pipeline settings"><figcaption><p>Device model pipeline management: opened via the Manage Device button</p></figcaption></figure>

For specific settings see [the model settings](/ai-manager-v6.1.4/ai-manager-plugin/configure-the-plugin/model-settings.md).

## Visualizing Bounding Boxes

If a model that outputs compatible bounding boxes is selected and running, view bounding boxes on the *Objects* tab in the right pane of the desktop client:

<figure><img src="/files/kVspz7hKhZgu0mwuEyuP" alt="Camera feed in the desktop client showing a detected person with face bounding boxes from the AI model"><figcaption><p>Visible bounding boxes in the desktop client</p></figcaption></figure>

{% hint style="warning" %}
**The objects tab is missing**

The Objects tab might not be available after a fresh install of the Mediaserver.

Restart the desktop client to make the Objects tab appear.
{% endhint %}

<figure><img src="/files/44yHQaiuk33tV614D0TE" alt="Objects tab selected after restarting the desktop client"><figcaption></figcaption></figure>

## Adding Event Rules

The AI Manager plugin can generate several different types of events. Nx Meta gives control over what these events do, from sending an email to showing a notification. This example shows a text overlay on the video.

Rules can be added from a camera's **General** tab in Camera Settings, using the **Camera Rules** link:

<figure><img src="/files/NIUjhmVAZUB5tXzsaYaF" alt="Camera Settings General tab showing camera name, IP address, Show on layout, Event Log, and Camera Rules links"><figcaption><p>The Camera Rules link, next to Show on layout and Event Log</p></figcaption></figure>

Rules can be added by navigating to the Camera Rules menu:

On the Event Rules window, click the **Add** button to add a new rule.

From here, several options are available. First, on the left side, select **Analytics Event** from the **When** context menu. This is the type of event the AI Manager plugin generates.

Select any, or multiple, camera(s) in the **At** context menu.

The **Event Type** context menu lists the event types the AI Manager plugin can generate, from alarms to counting objects. This example selects the *Objects Counted* type.

On the right side, configure what happens when one of these events triggers, such as an email or notification. This example selects **Show text overlay** in the **Do** context menu, at the source camera.

If set up correctly, with a model generating counts selected and running, an overlay on the camera feed shows the object counts:

<figure><img src="/files/XVSa9r5LjIG5RvTwFW2i" alt="Objects Counted text overlay on the camera feed"><figcaption><p>Example of Objects Counted text overlay</p></figcaption></figure>

## Confirming It Works <a href="#confirming-it-works" id="confirming-it-works"></a>

Once the plugin is configured and a model pipeline is active, switch to the **Objects** tab in the right pane of the desktop client. Bounding boxes and other model output only appear when the Objects tab is the active tab.

<figure><img src="/files/Y4TjSoQuSSe5D6jD6tMQ" alt="Live View with four people detected and labeled, and the Objects panel listing each detection with a thumbnail and timestamp"><figcaption><p>Objects tab active: bounding boxes are visible on the camera feed, with a thumbnail for each detection in the panel</p></figcaption></figure>

{% hint style="info" %}
If the Objects tab is not visible after enabling the plugin, restart the desktop client; this refreshes the tab list.
{% endhint %}

If no detections appear after a few seconds, check the [Troubleshooting](/ai-manager-v6.1.4/support-and-troubleshooting/troubleshooting.md) section.

{% hint style="warning" %}
**Bounding boxes are visible, but the Objects panel says "No objects"**

The Objects panel has its own filters (Any camera, Any plugin, Any type, and so on), separate from what is drawn on the video itself. Bounding boxes on the live video come from the AI Manager directly and always show if detections are happening. The Objects panel list only shows entries that match its current filters.

<img src="/files/0l0C1SiFFBLAEjnjC8yA" alt="Detections are visible on the video, but the Objects panel filter excludes them" data-size="original">

Check the **Any plugin** and **Any type** filters at the top of the Objects panel; a filter left over from a previous search can hide detections that are otherwise working correctly.
{% endhint %}
