File Exchange

image thumbnail

Creating a Cloud Based People Counter Using MATLAB

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

21 Downloads

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.
https://www.youtube.com/watch?v=G9IdzMcWIbw

Comments and Ratings (6)

yi liang

Hi,
How can I resolve this:
Error using matlab.webcam.internal.WebcamController/getCurrentFrame
Time out occured while trying to get a frame from the webcam.

I Already installed Image Acquisition Toolbox Support Package for OS Generic Video Interface and Computer Vision System Toolbox OpenCV Interface and MATLAB Support Package for USB Webcams

Can you please send me the solution to: pehack@hotmail.fr

PS: I'm using Matlab2016b on MacOS

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!!!

Updates

1.1.0.1

Fixed an error that was happening in some cases.

1.0.0.1

Adding the YouTube link to the description

1.0.0.1

Updated license

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

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