I’m using AlertEventViewer sample to get the LPR events in real-time but it doesn’t include snapshots. How can I get it using MIP SDK?
Or, where else are the images stored and how to get it directly from there.
I’m using AlertEventViewer sample to get the LPR events in real-time but it doesn’t include snapshots. How can I get it using MIP SDK?
Or, where else are the images stored and how to get it directly from there.
Like you have experienced: The Alarm and Event Viewer will show you how to utilize the analytics events raised by the Milestone LPR. The sample shows both reading of past events and subscribing to events real time.
The idea is that when you have the LPR Event you have all the information needed to get the image, basically knowing the camera and the time of the event is all you need. You can then ask the XProtect VMS for the recorded image (from that time and camera).
We have an old extended sample that shows how to get the image that was recorded at the time of the event. (This sample was created for a support case and is not part of the official pool of samples but should be a perfect fit for what you are asking.)
http://download.milestonesys.com/MIPSDK/Samples/AlarmEventPictures.zip
Thanks!! That worked like magic.
Can I get plate patch or cropped from the SDK? The reason is I want to keep the full image to small size and sometimes the plate is not clear when you zoom in the picture.