Build Webcam and IP camera solutions efficiently in C#.Net
- Quick start
- Online manual
- Start Onvif programming
- C# Onvif.IP.Camera.Viewer
- C# Onvif IP Camera Viewer Git repository
- IP video camera viewer
- PTZ IP camera motion control
- Onvif network video recorder
- Motion detection and alarms
- IP camera to SIP video call
- Configure Onvif IP cam remotely
- Onvif IP camera video server
- Video stream on website
- Onvif Network Video Analytics
- Events based on changes
- Implement object tracking
- Implement tripwire
- Implement loitering
- Implement take away events
- Leave-behind events
- Number plate recognition
- Object classification
- Onvif IP Camera Manager
- Computer Vision Technology
- Motion recognition and analysis
- Object detection
- Object categorization
- Image Manipulation
- Ozeki SDK for Linux
- Commercial information
- Download the SDK
- Copy the C# code example into Visual Studio
- Build your IP Camera project
Did you know?
Did you know, that this SDK was used to build Ozeki Camera Recorder?
If you don't want to write code, it could be just what you need. Download it now from the follolwing page: Download Ozeki Camera Recorder.
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.)