Hi All,
I saw that the example LPREventViewer displays two types of events
-
Old event obtained from alarmClientManager.GetAlarmClient
-
New event (live event) obtained by the new message types NewEventIndication
The events at point 2 can be cast into AnalyticsEvent and then I can get the Confidence and other data.
It’s possible for the events at point 1 to get the information as confidence and X Y coordinates of the rectangle that contains the license plate?
In other world: it’s possibile get confidence and rectangle that contains the license plate from old event (stored in DB)?
Thanks in advance
I don’t have access to try it out right now, but I think that if you call the method GetEvent on the Alarm Client it will return you the same event information as is provided with the NewEventIndication.
alarmClient.GetEvent return an BaseEvent than don’t have properties like Confidence and XY coord.
The BaseEvent can’t be casted to AnalyticsEvent.
There is a method to get the AnalyticsEvent from the BaseEvent?
Thanks
Sorry - my mistake. It is GetEventLines that returns something that can be casted to AnalyticsEvent. Sorry for the confusion.
Thanks for reply.
It’s possible insert in the eventfilter a condition with camera’s guid as target?
If you add a Condition with Target == ObjectId to the EventFilter that should do it.