Hi, Is there a possibility to use the motion detection metadata to create our own simple motion detection alarms on specific areas of the camera image?

It’s something like the smart search option that we need but on live images and easy to setup for the operator working with the smart client.

We are replacing a Geutebrück system with Milestone and this was a standard feature in the client software.

They could easily draw a rectangle and each motion in that rectangle gives an alarm. This could be done on several cams at the same time.

Can this be done with the SDK?

Motion detection is not live data, it will come after the images have been analyzed.

When I now answer based on the assumption you work with playback data I might miss the point. (?)

I think what you describe fits nicely with the Smart Search sample..

http://doc.developer.milestonesys.com/html/index.html?base=samples/smartsearch.html&tree=tree_search.html?search=smart+search

Note: The sample documentation mention that this will work faster for XProtect Corporate and Expert, this is actually true for all e-code XProtect.

Please also note that if your users use the Smart Client the Smart Search is an integrated functionality on the Sequence Explorer. It will not make sense to develop this if you are developing a Smart Client plugin, if you are developing your own client application it will make a lot of sense.

Hi,

Sorry for my late answer.

In the Geutebrück system this is done on live images, and the operators can draw a rectangle on a camera stream and all motion within this rectangle gives an alarm.

Geutebrück describes this feature as following:

Additional benefit: Motion search (MOS) signals an alarm to the operating personnel regarding motion on live images that occurs in areas of the images freely defined.

If we do this with the smart search option, is Smart search fast enough to keep up with the last recorded video images?

Sometimes this is done on multiple cameras at the same time.

You can get the motion detection event, but currently they do not hold any metadata on the actual motion. I will based on your question make a request for enhancement to Milestone Product Management, because I see the benefits clearly if this metadata was available for integration work such as yours.

Such an request will be prioritized by Milestone Product Management, if prioritized for development it will be developed but not in the near future. I will not be able to say when or even if it will be developed.

I have been thinking whether I can make suggestions on a workaround. It would be possible to create an integration where you using the Configuration API could set the motion detection areas like you do it in the Management Client, this could be a Smart Client plugin allowing the operator to set the motion detections areas. A problem with this is that what will be set will be the general setup. In this way the operator will do the setup which again might be used for governing recording etc. Also as this is the general setup two operators will not be able to set different settings, only one set of settings can be applied at any one time. All in all I think this workaround will not usable and I will not recommend it.

As I see it you will have to implement your own motion detection routine, I hope you will find a solution that fits your customer.