Motion Detection
Setting up Motion Detection

iSpy comes with a range of different motion detectors built in. Each motion detector has different performance impacts and is suited to different purposes.
Depending on which motion detector you select some of the checkboxes below may be greyed out. These options only apply to specific motion detectors. There is an option on the Alerts tab, "Alert on object count" that is only available if "Object Tracking" is selected as the motion detector. This option will cause alerts to only be sent if iSpy detects the set number of objects, regardless of the level of movement.
Detector Types
Detector Types:
- Two Frames: Probably the most common type you would use. iSpy just compares the last frame to the current frame.
- Custom Frame: iSpy stores one frame in memory and compares subsequent frames to this - good for detecting if things change - say someone takes a bag out of the scene.
- Background Modelling: iSpy takes a custom frame but adjusts it over time to morph it towards the current frame. This is good when you have something in your scene that is constantly moving - ispy will learn to ignore it.
- None: No motion detection, use this if you are just recording on a schedule or want to record a timelapse video or record on demand.
You can also trigger alerts on face detection. Face detection isn't a type of motion detection so doesn't fit here - it's available on the Alerts tab.
Sensitivity
Sensitivity Slider: This is probably the most important control in iSpy. This sets the trigger level for motion detection which controls all recording and alerting functions. As shown here the camera provides a live view of how much motion is being detected along with exactly where the trigger point is. The sensitivity slider is a live control, as you move the slider to the right (more sensitive) the trigger point moves to the left and vice versa.
Depending on your camera model and lighting conditions you will need to play with these setting to ensure that movement alerts are not continuously being reported due to signal noise. This can take a bit of experimentation. The control affects the camera in real time and the camera will flash red when movement is detected, so adjust the slider until you are happy with the level of movement required to set off an alert.
The text box at the end of the slider control enables you to specify a more accurate value for the sensitivity. This is useful if you have a high resolution, low signal noise camera and want to trigger on the slightest bit of movement.
HSL Filtering
A picture paints a thousand words...
HSL (Hue, Saturation and Luminosity) Filtering: This feature tells iSpy to ignore certain colour or luminosity ranges when looking for motion. There are many ways this can be useful, for example:
- Smoke detection
- Fire detection
- Fever detection (for use with thermal imaging cameras)
- Ignoring constantly moving objects (like trees or clouds)
- Tracking objects of a specific colour
Use the colour wheel on the left to select a range of colours to either ignore, or track (depending on the dropdown selection for "Fill type"). You can then specify the minimum and maximum levels for saturation and luminance. A live preview of what the motion detector is seeing is provided on the top right. Here you can see that the detector is set to only look for red colours and ignore everything else - this means that it will only record and alert if something red enters the frame.
Note that HSL filtering does add a significant amount of processing overhead and may slow down the framerate (depending on your computers capabilities).
Display Styles
Display Style: iSpy comes with a few different ways to highlight detected movement, there's Grid Highlight, Object Tracking, Border Highlighting (used here), Area Highlighting or None (default). Object tracking is a special case that enables iSpy to keep a count of the number of detected individual objects in the scene. If you select object tracking then you are able to set an alert on the alerts tab to fire only when iSpy counts a specific number of moving objects. There's a color box to the right of the display style that lets you specify the color of the highlight that gets applied to the image.
Process Every x Frames: This option is an easy way to reduce the processor usage that iSpy takes up. If you have a high framerate (20 fps or higher) then you only really need to check for motion every 4th or 5th frame. If you have a high resolution camera or are using a lot of cameras on one computer this option can significantly improve performance.
Keep Edges: This ensures that the noise suppression routines don't cancel out the edge highlighting.
Suppress Noise: This option applies some noise suppression filters to the image to reduce false alerts. Using this option does incur some extra processor overhead.
Motion Zones
Detection Zones: iSpy can monitor specific areas of the camera view and ignore others. You can add as many rectangular zones as you like. To add a zone, click and drag out a translucent rectangle. To clear all zones click "Clear Zones". Note that with no zones defined iSpy will monitor the entire camera view.