Motion detection

We will now make our focus a bit more wide-scale and detect any motion at all, not just faces. Again, we'll use Accord.Net for this and use the Motion detection sample. As with facial recognition, you will see just how simple it is to add this capability to your applications and instantly become a hero at work! Let's make sure you have the correct project loaded into Microsoft Visual Studio:

With motion detection, anything that moves on the screen we will highlighted in red, so using the following screenshot you can see that the fingers are moving but everything else remains motionless:

In the following screenshot, you can ...

Get Hands-On Neural Network Programming with C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.