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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.