File Exchange

image thumbnail

Creating a Cloud Based People Counter Using MATLAB

version (3.28 KB) by Dan Doherty
Learn how to use MATLAB to create a cloud based people counter


Updated 28 Oct 2016

View License

Learn how to use MATLAB to create a cloud based people counter. This demo uses a USB webcam and the Computer Vision System Toolbox to detect faces within a video feed. The ThingSpeak IoT platform is used to track the number of people by transferring data to the cloud.

Comments and Ratings (4)

Abhiraj Saha

An error is coming in this program
Undefined function 'dateshift' for input arguments of type 'double'.

Error in PeopleCounterDemo (line 17)
if dateshift(latestDate,'start','day') < datetime('today','TimeZone','local')

Mr Smart


Sir How about tin can object counter with color

nice! A good learning experience!!!


Fixed an error that was happening in some cases.

Adding the YouTube link to the description

Updated license

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: ThingSpeak Support Toolbox

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor