AI-VMD: Alarm Integration

Last updated: January 2026

AI-VMD Alarm Configuration for Milestone XProtect

 


 

Support for [Intrusion Stop] and [Loitering Detection Event Stop] started with the following versions.

  • Milestone XProtect DP13.1 or later

  • AI-VMD : V3.50 or later

 


1. Basic Configuration

Prerequisites:
AI‑VMD supports the following detection types.
In this example, the procedure is explained using the [Intruder Human] detection type.

Detection modeDetection object
IntruderHuman
IntruderVehicle
IntruderBicycle
LoiteringHuman
LoiteringVehicle
LoiteringBicycle
DirectionHuman
DirectionVehicle
DirectionBicycle
Cross lineHuman
Cross lineVehicle
Cross lineBicycle

 

1.1 Camera Settings

This section explains the procedure for configuring AI-VMD on the camera.

1. Open the camera settings screen and go to [Ext. software] > [AI-VMD].
 

2. On the [1.Operation selection] screen, select a mode under [Mode Selection] and click [Set]. This is required only the first time. 
 

3. Detection Area Settings
Go to [Setup] > [Ext. software] > [AI-VMD] > [2.AI motion detection setting].
Specify the area, set the [Detection object] and [Detection mode], and click [Set]. 
Each detection area is assigned an area ID that corresponds to the color of the [Detection area].
This area ID will later be used as the value for [Motion Window] in step 3 of section 1.2.1

 

4. Detailed Settings
Go to [4. Detailed setting] > [Advanced setting] and configure the necessary settings.
*To display detailed information (such as object type) in alarm notifications on the XProtect side, set [Additional Information Type] to [With detected object information (alarm frame information)].
After completing the settings, click [Set].

 

5. Alarm Notification Settings
Go to [6.Alarm setting] and click [TCP alarm notification setup].
Verify that [TCP alarm notification], [Additional alarm data], and [AI-VMD alarm area information] are set to [On], and that the [Destination port] is assigned a port number by Milestone XProtect.
Additionally, the [Destination server address] under [Destination of notification] is configured.
This setting is automatically applied when you configure an event in Milestone XProtect.

 

6. Schedule Settings
Go to [Setup] > [Ext. software] > [Operation sched.].
Select [AI-VMD] and set the schedule to enable detection.

 

7. Time Synchronization
Go to [Setup] > [Basic], then under [Time & date] > [Date/time], check [Set PC time to the camera], and click [Set].

 

 

1.2 Set Up Alarm Settings in the XProtect Management Client

Configure events, rules, and alarms in the Management Client to receive alarms.

1.2.1 Configure Events

By configuring the event, you can receive AI-VMD alarms in Milestone XProtect.

1. Select the target camera device in [Servers] > [Recording Servers] and click [Events].

 

2. Click the [Add...] button, select an event from the [Select Driver Event] screen, and click the [OK] button. 
In step 5 of section 1.1, [AI-VMD alarm area information] is not set to [On], select an event labeled [(no area ID)].

 

3. Enter the area ID added in step 3 of section 1.1 into the [Motion Window] of the event.
After confirming the addition, save it by clicking [Save] at the top left of the screen.

 

1.2.2 Configure Rules

By configuring rules, you can execute specific actions when an event occurs.

1. Click [Rules and Events] > [Rules] in the [Site Navigation] area.
Then right click [Rules] in the [Rules] area and select [Add Rule...].

 

2. The [Manage Rule] screen will appear. Enter [Name] and select [Perform an action on <event>] in [Select the rule type you want to create].
Click [event] in [Edit the rule description].

 

3. The [Select an Event] screen will appear. Select [Devices] > [Configurable Events] > [Intruder Human] and click the [OK] button.

 

4. Click [device / recording server / management server] to open the [Select devices and groups] screen.

 

5. Click [Next].

 

6. Click [Next].

 

7. Select [Make new <log entry>] from [Select action to perform].
Click [log entry] in [Edit the rule description].

 

8. The [Select a Log Entry] screen will appear. Select [Rule name] and click the [OK] button.

 

9. Click [Next].

 

10. Click the [Finish] button.

 

1.2.3 Configure Alarms

By configuring alarms, you can display messages in the Alarm Manager of the Smart Client when AI‑VMD alarms are received.

1. Click [Alarm] > [Alarm Definitions] in the [Site Navigation] area.
Then right click [Alarm Definitions] in the [Alarm Definitions] area and select [Add Rule...].

 

2. After configuring the settings, save them with [Save] at the top left of the screen.
Enable:Check the checkbox
Name:Enter the user defined name
Triggering event(The first drop-down):[Device event]
Triggering event(The second drop-down):[Intruder Human]
 *This setting is shown in the [Message] column of the [Alarm Manager] screen in the [XProtect Smart Client].
Sources:[All Cameras] or [Select target camera]

 

1.3 Verify the Receipt of AI-VMD Alarms in Alarm Manager of the XProtect Smart Client

Verify that AI-VMD alarms are displayed in Alarm Manager of the XProtect.

1. Start the [XProtect Smart Client] and click the [Connect] button.

 

2. Click [Setup].

 

3. Select a camera to view and drag it to a view area.

 

 

4. Click the [Alarm Manager] tab, and the alarm history will be displayed.

 

5. The intruder detection area number appears in the [Object] column.
The triggering event name set in step 2 of section 1.2.3 appears in the [Message] column.

 

 

2. Configuring Stop Event Alarms

Support for [Intrusion Stop] and [Loitering Detection Event Stop] is available starting from the following versions.

  • Milestone XProtect DP13.1 or later

  • AI-VMD : V3.50 or later

Refer to the table below for the Stop Events corresponding to the Start Events.

Start EventsStop Events
Intruder HumanIntrusion Stopped
Intruder VehicleIntrusion Stopped
Intruder BicycleIntrusion Stopped
Loitering Human Loitering detection event stopped
Loitering VehicleLoitering detection event stopped
Loitering BicycleLoitering detection event stopped

 

2.1 Configure the Basic Settings for AI-VMD

The setup procedure is the same as for regular AI-VMD, but please add the following settings to the procedure described in Camera Settings.

2.2 Configure Detailed Settings for the AI-VMD Stop Events

Go to [Setup] > [Ext. software] > [AI-VMD] > [4. Detailed setting]. Click [+ Advanced settings] and set [Alarm notification at the completion of detection] to [On]. After completing the settings, click [Set].

 

3. Bounding Box Options

3.1 New Configuration Options in AI-VMD V4.10

With AI-VMD V4.10 or later, you can select from the following bounding box options:

OptionDescription
Always notifyThe bounding box is always displayed in all areas. (Default)
Notify frames in detection area onlyThe bounding box is displayed only within the detection area.
Notify frames immediately after alarm in detection areaThe bounding box is displayed in the detection area for a few seconds after an alarm occurs.

 

How to Configure
1. Open the camera settings screen via the browser and go to [Ext. software] > [AI-VMD].
2. Go to [4. Detailed setting].
3. Click [+Advanced setting], then select the desired option under [Detection frame notification].
4. Click [Set].

 

Sample
The following example shows the detection area on the right side.

 

Always notify
The bounding box is always displayed in all areas.

 

Notify frames in detection area only
The bounding box is displayed only for a person in the detection area. While a person remains in the detection area, the bounding box is continuously displayed.

 

Notify frames immediately after alarm in detection area
The bounding box is displayed in the detection area after an alarm occurs. 

 

After the bounding box is displayed for a few seconds, it disappears. When the alarm is triggered again, the bounding box is displayed for a few seconds.

 

3.2 Example of Setting to Hide Bounding Boxes for Stationary Objects

To hide the bounding box of a stationary vehicle, use this option together with the following settings [Notify frames immediately after alarm in detection area] and [An alarm is issued only when a motion is detected for the first time].

How to Configure
1. Open the camera settings screen via the browser and go to [Ext. software] > [AI-VMD].
2. Go to [4. Detailed setting].
3. Select [An alarm is issued only when a motion is detected for the first time] under [AI-VMD alarm].
4. Click [Set].

 

Sample

[Notify frames immediately after alarm in detection area] and [An alarm is issued only when a motion is detected for the first time]
This behavior can be achieved by applying the setting [An alarm is issued only when a motion is detected for the first time]. When both settings are enabled, the bounding box is displayed for a few seconds on initial detection. However, even if the vehicle remains in the detection area, no alarm is triggered and the bounding box is not shown.

 

Milestone XProtect Management Client 2023 R3 / DP 13.1