Webcam Zone Trigger

This is a general-purpose motion detection software, it can be used for home-security, art, automation, DIY project... truly a versatile program.

MORE INFO >
Media Zone Trigger

Designed for interactive display, this software has an embedded media player controlled by motion detection. Useful for creating info booths, advertising or greeting systems, games...

MORE INFO >
Audio Zone Trigger

This software listens for sound from any microphone on the computer, and performs actions based on the current volume. Useful for alarms, statistics, automation...

MORE INFO >

Using Microsoft Kinect with software on PC


Updated march 2016



3D motion detection software for the Kinect

This document explains how to use the Kinect camera to detect presence in Hot Spots in 3D space, and how to trigger actions and relay motion events to other software. This is useful for DIY projects, interactive media, and even for security.

Kinect One depth

Installation

The following software/drivers must be installed on the PC:



If you want to use an old Kinect for Xbox 360, you will need to install
Microsoft Kinect SDK 1.8
These devices may not be sold in stores much anymore, but can certainly be found on classified ads.


If you want to use the current Kinect One, you will need to install
Microsoft Kinect for Window SDK 2.0
This device can be purchased in stores and online, but requires a USB adapter to be connected to a PC.



Webcam Zone Trigger is the software that will connect to the Kinect and capture its 3D data.
You will need to run the software in "Pro" mode.
Webcam Zone Trigger Pro 3.x
Webcam Zone Trigger DIY software

Installation details...

Download the drivers and software (listed above), connect the Kinect device on the PC. Make sure the Kinect is also powered from its DC connection.

The Kinect is 2 cameras in one

The Kinect provides both a “depth” image and a normal “color” image as video sources. It is possible to acquire either or both. This can be useful for your project; this way you can run separate motion tests for both 3D and colors. You can also use one source to test, and save images or video on the second source.

How to trigger Actions with 3D Hot Spots

Webcam Zone Trigger detects motion with a feature called “Hot Spots”. A Hot Spot is a zone on the image that you specify, this is where the software will look for motion. You can specify many Hot Spots, and each spot can have a different Action to execute when it detects motion.

Diagram for setting up 3D motion detection

When the live stream is a Depth image, the Hot Spots are in “3D Presence” mode. You must first set it in 3D space:

Whenever something moves in or out of the space occupied by the Hot Spot, the software will execute an Action. Note that you also get to specify if the Hot Spot should execute the action when...

Advanced 3D Hot Spot scenarios

You might want to setup a more complex scenario than a single Hot Spot. With the software it is possible to have a whole array of Hot Spots in the space in front of the camera.

  1. Create the first hot spot, as is described above.
  2. Click on the property button next to the spot name, select “Duplicate Hot Spot”
  3. Change its name to something relevant. When you have many Hot Spots on the screen it gets confusing.
  4. Move it and/or adjust its Distance from the camera
  5. Go to step 2 and duplicate it again

Create multiple motion detection hot spots
Example 1. The subject moves and trips Hot Spots

In the example above, a bunch of Hot Spots are gridded in space. Webcam Zone Trigger will now be able to tell where the subject is, and can perform action (play sounds, run commands) or relay this info to another software.

Example of a setup for a virtual touch-screen using Kinect
Example 2. The Kinect is used as a virtual touch-screen

In example 2, the Kinect is looking down in front of a screen. A bunch of Hot Spots have been placed in space one inch in front of screen, aligned with the buttons on the display. Whenever the subject brings his hand near a displayed button, Webcam Zone Trigger will detect that the hand is entering a 3D Hot Spot and will relay this information to the software managing the display.

This system is also aware that someone is standing in front of the display, using the Hot Spot placed where the subject should be. This added bonus allows the interactive system to greet and guide the subject when he arrives.

When setting up 3D Hot Spots, it is much easier to do with help. One person is in front of the camera and indicating where the Hot Spots should be in space, someone else is at the computer moving, sizing and setting the depth distance for each Hot Spot.

At any time you can go back to adjust Hot Spots. Some Hot Spots may be overlapped by others and it may be impossible to click on them, this is why there is a drop-list that lets you select a Hot Spot by name. Make sure you give relevant names to each new spot so that you can identify each in the list.

The Kinect can see in the dark

One of the biggest problems with motion detection is that it is often vulnerable to light changes in the environment; the Sun, shadows, or lights on/off in a room. Bad lighting can be a big problem too, as this will compromise the image quality for most webcams.

The Kinect's Depth image, however, does not rely on the environment's light. It has its own infra-red laser projector, and this is all it needs to get a constant reliable 3D image. An interesting side-effect is that it can scan in the dark, which makes it an interesting solution for security systems, as well as interactive art projects.

It is possible to use many Kinects on the same computer.

In the case where you need to cover a large view, it is possible to have many Kinects working on the computer at the same time, but there are a few conditions:

What about skeleton and gestures?

Webcam Zone Trigger is a general-purpose motion detection software, it does not process skeletons or gestures. If you are interested in having custom features added to this software, or if you need a completely new custom software, give us a call, we might be able to help. Check out the OEM section of this site...

ARTICLES
Introduction to video capture and
motion detection

Tricks for better
motion detection
High Framerate cameras
(60-120fps+)

3D detection with Kinect

Setting up a HTTP server at home

Interactive Signage How-To

Troubleshooting webcams

USB bandwidth issues