Build Webcam and IP camera solutions efficiently in C#.Net
- Download the SDK
- Copy the C# code example into Visual Studio
- Build your IP Camera project
Did you know?This SDK was used to build:
Ozeki Phone System XE - VoIP PBX Software for Developers Which is a high performance PBX system supporting Mobile and Desktop phones.
It was also used to create Ozeki 3D VoIP softphone. A cool SIP client that allows 3D Video calls.
How to implement take away events in C#
This article shows you how to detect when an object has been removed from a user-defined area of interest. With creating a ROI on an Onvif IP Camera video stream you will able to monitor an object and detect when this object removed from this area. It can quickly identify when a particular static item was removed from the scene.
Steps of implementing take away events
If you want to handle take away events, first of all you need to know more about background subtraction what is an image processing technique, with blob recognition and detection to be able to select the desired object. (How to implement object tracking).
After these steps we will be able to detect an object on the video image. You should set a user-defined area of interest which contains the selected object to observe. Finally we need to check if this object is still in the specified region. When the object steps out the ROI you will be able to indicate it with a take away event and handle the alarm.
Why is it useful?
This behavior is ideal for those who want to detect the removal of high value objects, such as a painting from a wall, a statue from a pedestal, a safe from a bank. It can also be used when reviewing recorded footage, for example of a warehouse or a store room. It is recommened to ignore moving foreground objects.
Figure 1 - Take away alarm when object has been removed from the user-defined area of interest
Below you can find the answers for the most frequently asked questions related to this topic:
How can I get the URL of the camera?
You can get the URL from the producer of the camera. (In the 10th tutorial you can find information on how to create an own IP camera discoverer program.)