I have made a component integration in order to search for LPR events on the Milestone server. I have a narrow time slot (5-15 seconds) where I need to search for a LPR event from a specific location.
I have observed a situation where I have requested all LPR events at 13:53:02 and 15 seconds back (13:52:47), but I got no LPR events back. But I can see in the XProtect client that there was a LPR event at 13:52:55 wich is within the timespan in my request.
So my assumption is that the LPR event at 13:52:55 was not ready in the server at 13:53:02 - is this possible?
How long latency can we expect in the Milestone server?
Here is the code that executes the request:
var alarmClient = nummerpladeLaeserLoginProvider.Connection.GetAlarmClient(EnvironmentManager.Instance.MasterSite.ServerId);
var events = alarmClient.GetEventLines(0, 5,
new EventFilter
{
Conditions = new[]
{
new Condition {Operator = Operator.Equals, Target = Target.Type, Value = "LPR Event"},
new Condition {Operator = Operator.Contains, Target = Target.SourceName, Value = kameraNavn},
new Condition {Operator = Operator.GreaterThan, Target = Target.Timestamp, Value = timeStamp.ToUniversalTime()}
}
});
For optimization of Milestone XProtect LPR, please consult the documentation or ask questions in the support community. (This is not related to software development with the MIP SDK, which is the focus of this forum. You should get better help from the partners using the support community.)