Making a new LPR plugin

I need to create a new kind of LPR solution, where all I have to work with is images and a plate number. The customer would prefer to use the default Alarm Manager tab to link each alarm to 3 JPEGs: A underside vehicle stitch, a driver mugshot and the license plate number. Is there a simple way to link images to an alarm?

My first idea was to use 3 framework driver instances to save the jpegs of each picture, and so I could associate the new cameras to an alarm and Bobs your uncle.

My second choice is to create a sepetate tab to show all this data to avoid using the framework drivers for this.

Any ideas?

Edit: Can we add custom view items to the alarm manager depending on the alarm?

Analytics Events and Alarms include fields for images, this is what SnapShotList / SnapShot is for. It seems to fit nicely what you are asking for.

Please see this AnalyticsEvent Class Reference, you will find SnapshotList there.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_analytics_event.html&tree=tree_search.html?search=analyticsevent

In the Smart Client Alarm Manager, when you pick an Alarm in the alarm list, the a picture from the camera and all snapshot will be shown in the alarm preview.

NOTE: XProtect Alarms are stored in the SQL Server database. When alarms have snapshots, all the snapshots are also stored in the database. This means, there might be a risk that the database consumes lots of data due to the snapshots if you send many events or alarms with snapshots, there is 10 GB limitation for SQL Server Express databases (which is default edition coming with XProtect).

Hi Rie, thank you for that great answer I was not aware of it.

Saving all the iamges would be costly. At what point would the snapshots get deleted? Is it when closing the alarm?

Hi Eric,

I am sorry but many developers are out of office due to Easter. We will get back to you as soon as possible. Sorry for the inconvenience.

When alarms delete, snapshots get deleted. You can also configure it in Management Client (Tools → Options → Alarms and Events)