- Getting started
- C# nuget package
- C# git repository
- IP video camera viewer
- PTZ IP camera motion control
- Onvif network video recorder
- SMS notifications
- 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
- Object detection
- Object categorization
- Image Manipulation
- Ozeki SDK for Linux
- Supported cameras
- 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 build motion detection and alarm system in C#
In this tutorial you can learn about writing codes in C#, which handle an IP camera using Ozeki Camera SDK.
The motion detection is an essential part of a security system. If nobody is in front of the screen, and you still want to know if something unexpected happens then this is the best tutorial for you. We will show you a number of ways to create and program motion detectors using IP cameras.
Ozeki Camera SDK can help you to create these detectors easily. With just a few lines of code you can build motion detection functionality in your C# application and than it can send a snapshot/video about the detected event e.g. firecase, burglary, etc. in email or upload them to an FTP server. And that is not all, it can even send an alarm for you or a monitoring center (police, central station) via a VoIP phone call or in a Contact ID message. In case of VoIP phone call alarms, your system can send a text message that will be read out by the text-to-speech engine or it can send a prerecorded audio file (wav).
You can extend these functionalities with limiting the watching area by masking. This is especially good, when your IP camera doesn't support zooming. You can also set the sensitivity of the detection e.g. ignoring the falling leaves in your garden.
Furthermore, if a hooligan causes harm to the IP camera or it goes offline for any technical reason, your application can detect it and alarm you to have it fixed immediately.
You can find clear explanations (including code snippets and GUI screenshots) for every example related to the functionalities mentioned above. The full source code of each example project can be downloaded and the FAQ section gives answers for the most common questions.
After reading through this lecture, you will be able to subscribe for IP camera events if you want to be notified about certain detections. Start now
It is worth to separate the IP camera and the view sides. This lecture shows how to use the camera side motion detection. Start now
In this lecture, you can learn more about how to setup the viewer side motion detection. Start now
In this lecture you can learn about how to adjust the accuracy of the monitoring of pixel changes during the motion detection. Start now
If you would like to hide certain areas of the video image, check this lecture that explains how to mask those areas. Start now
Start to build your alarm system here! Find out how to handle alarms by taking a snapshot picture and sending it as an e-mail. Start now
Get more information about how to handle alarms by taking a snapshot picture and uploading it to an FTP server. Start now
From this lecture you can learn how to manage alarms by recording a video clip and sending it as an e-mail. Start now
This lecture will introduce how to record a video clip and upload that to an FTP server to be able to handle alarms effectively. Start now
Learn about how to handle alarms by making a VoIP phone call to an alarm monitoring center with text-to-speech. Start now
This lecture is meant to introduce how to send a Contact ID alert message to an alarm monitoring center. Start now
Find out how to detect if an IP camera goes offline and how to make an alarm phone call using a prerecorded voice. Start now