We have made our metadata that follows the “MetadataSearch-integration” guide, and are able to search via existing Milestone XProtect Smart Client people/vehicle search.
However, we have concerns with the Object ID, which is not defined on the document.
Will the Object ID be defined or used for the other scenario in your roadmap?
Or we can give any numbers or even letters without compatible concerns?
If the Object ID will be defined in the future, will you possibly give some guideline for it? Thank you!
While we do store the ObjectId internally as a string (so any combination of numbers and letters could work), to be ONVIF compliant, the ObjectId needs to be an integer.
We are currently using the ObjectId for grouping of results. If one object appears in multiple, consecutive frames, we group the frames as a single search result.
For example, consider a situation where a person is in front of a camera for multiple seconds / minutes. If the object recognition algorithm assigns it the same id across the time period, then the Metadata Search will group all the frames in a single search result.
So if the grouping functionality is desirable, including the ObjectId is mandatory.
We have no future plans to change or update the ObjectId.
"We are currently using the ObjectId for grouping of results. If one object appears in multiple, consecutive frames, we group the frames as a single search result.
For example, consider a situation where a person is in front of a camera for multiple seconds / minutes. If the object recognition algorithm assigns it the same id across the time period, then the Metadata Search will group all the frames in a single search result.
So if the grouping functionality is desirable, including the ObjectId is mandatory."
We did give ObjectID, but didn’t get the same grouping result of " If the object recognition algorithm assigns it the same id across the time period, then the Metadata Search will group all the frames in a single search result. " Actually, it shows the objectID on each frame.
But, we appreciate hearing from you that the ObjectId is meaningful, and has referred from " ONVIF Analytics Service Specification", and we may take it carefully for future updates.
I need to talk to Milestone Development regarding this case but many developers are out of office due to vacation. We will get back to you as soon as we have updates from them. I am sorry for the inconvenience.
I am sorry for delayed reply. Please see comment from Milestone development:
Generally speaking, objects are not grouped when the objects do not have the same ID, they are not in consecutive frames, or the camera has multiple sources of metadata (for example, multiple apps on the same camera that produce metadata).
There’s not a lot we can do without a sample of consecutive metadata frames. See below about how one can pull stored metadata the media database. :