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
- Subscribe for camera events
- Camera side motion detection
- Viewer side motion detection
- Motion detection sensitivity
- Mask the video image
- Send snapshot in e-mail
- Upload image to FTP server
- Send video alarm in e-mail
- Upload video to FTP server
- Make VoIP phone call alarm
- Send Contact ID alarms
- Detect if camera goes offline
- IP camera to SIP video call
- Configure Onvif IP cam remotely
- Onvif IP camera video server
- Video stream on website
- Onvif Network Video Analytics
- 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 use camera side motion detection in C#
This article is about demonstrating the definition of motion detection and explaining the theoretical background of camera side motion detection. For the viewer side motion detection implementation please visit our How to setup viewer side motion detection in C# page.
What is a Motion Detector?
A motion detector is a device that detects moving objects, particularly people and motion detection is the concept of
detecting moving object on a video image. The detector is often integrated as a
component of the system that automatically performs a task or alerts a user to the motion in an area.
Motion detection is widely used in domestic and commercial applications. One common everyday application is activation of automatic door openers in businesses or in security systems of public buildings.
Types of camera motion detection
We can implement two types of motion detection with Onvif cameras:
Viewer side motion detection
This is a great solution if your camera device does not support motion detection directly on the device. In this case you need to detect motions on the software side with some image processing algorythms. OZEKI Camera SDK gives you great solution for detecting motion detections on the viewer side.
Camera side motion detection
It is useful when you do not want to use the most of your CPU to image processing. Instead you can subscribe on the motion detection of the Onvif camera (if it is supported).
Camera side motion detection subscription
An average camera contains many events that a user can subscribe on. One of them is the motion detection event which occures when a motion is detected in the camera image or in a specified ROI. The camera is able to detect the motion with it's sensors. If the event occurs the user is notified and can react as he/she wishes.
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.)
I moved my hand and it has not been detected. Why?
The pixel intensity (sensitivity of movement) has a default value, but in the next chapter we will learn how to change it.