# Show AI inference framerate on video

The Nx AI Manager can display the inference speed (FPS) directly on the video feed using the Nx Meta Rules Engine. This works by generating an Analytics Event for each inference result and displaying it as a Text Overlay.

#### Create an Event Rule in Nx Meta

In the Nx Meta Desktop client, go to the Camera Settings for the camera running the AI plugin that you want to use for the FPS display.

<figure><img src="/files/ktwt00VN9Rf1Yp3OTeID" alt="Nx Meta Desktop Client showing a camera item in the resource tree, with right-click context menu visible"><figcaption><p>Open Camera Settings from the right-click context menu</p></figcaption></figure>

Go to the Event Rules section.

<figure><img src="/files/Jd1PdTPnFe03UgE2meUu" alt="Camera Settings dialog with the Event Rules tab selected"><figcaption><p>Camera Settings — Event Rules tab</p></figcaption></figure>

Click **Add a New Rule**.

<figure><img src="/files/1RT4nlf3B628KZo6dblS" alt="Event Rules window showing an empty rules list with the Add button highlighted"><figcaption><p>Event Rules window — click Add to create a new rule</p></figcaption></figure>

This opens a dialog where you can configure an event rule.

#### Set the "When" Condition

**Source**: Select the camera device.

<figure><img src="/files/JKSXaoTf9OUOGznmUvtv" alt="Event rule editor showing the camera selected in the At field under the When condition"><figcaption><p>Select the camera as the event source</p></figcaption></figure>

**Event**: Select **Analytics Event** and choose the inference framerate event type.

<figure><img src="/files/hLg9GYZlZiUEEFHjAcY9" alt="Event rule editor showing Analytics Event selected in the When condition with the FPS event type chosen"><figcaption><p>Select Analytics Event and the inference framerate event type</p></figcaption></figure>

#### Set the "Do" Action

**At**: Select the same camera as the source.

**Action**: Select **Show text overlay**.

<figure><img src="/files/b4PVaKaiDlo8LgENJ6vh" alt="Event rule editor showing the Do action set to Show text overlay at the source camera"><figcaption><p>Set the action to Show text overlay at the source camera</p></figcaption></figure>

**Text**: The default text uses `$eventText`, which contains the inference speed value from the analytics event. No custom text is needed for the FPS display.

<figure><img src="/files/xWHI26VCKIBTxwqZNWn5" alt="Completed event rule configuration showing the When and Do conditions filled in for FPS display"><figcaption><p>Completed event rule — click Save</p></figcaption></figure>

When the analytics event fires, the inference throughput in frames per second is shown as an overlay on the camera feed.

<figure><img src="/files/MMalJIWxaQGGgobafaBX" alt="Camera video feed showing a text overlay displaying the AI inference framerate in FPS"><figcaption><p>Inference framerate displayed as a text overlay on the video feed</p></figcaption></figure>

***


---

# 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://nx.docs.scailable.net/nx-ai-manager-v6.1.2/nx-ai-manager-plugin/howtos/show-ai-inference-framerate-on-video.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.
