Is there a way to save an image (JPEG, BMP) of an alert (snapshot) to a disk so that it can be processed by an external system?

Scenario:

We have a big milestone setup and it is generating over 60k alarms a day, when the team brainstorm the issue we came up with a possible way to reduce the footprint of the alarms significantly but that would require that an image (or a series of images) of the alert to be extracted or saved somewhere and for further processing.

Questions:

  1. Is the image extraction from an alert possible\doable with the SDK?
  2. What if I want to extract a series of images from the alarm event, let’s say 5 seconds back and 5 after the event?
  3. Do we have samples or know which SDK Libraries\Classes I would need to leverage?

1.Yes, it is possible.

3. My colleague has a similar sample that is a standalone application that would on event fetch a picture from the camera. Please explore this sample -

http://download.milestonesys.com/MIPSDK/Samples/AlarmEventPictures.zip

Also this article explains how to save a Jpeg image file based on Jpegdata , this might be useful for you -

https://developer.milestonesys.com/s/article/How-to-save-a-JPEG-image-file-based-on-JpegData

Thanks, I’ll give it a try.