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

10 Downloads

Updated 28 Oct 2016

View Version History

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

Cite As

Dan Doherty (2020). Creating a Cloud Based People Counter Using MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/58435-creating-a-cloud-based-people-counter-using-matlab), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (10)

Prithvi Raj Jain

If I have to use built in laptop webcam what changes should I do?

Syahirah Nasir

work nicely, except for the dateshift part.

Jeremiah Tetteh

Hello,
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 tettehjeremiah@ymail.com

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')

Vicky Lahimade

How do I make the code only detect and count. Without IoT

yi liang

Zoheir BOUDIA

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

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

Julius MANILA

Sir How about tin can object counter with color

Molebogeng Maponya

nice! A good learning experience!!!

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

Inspired by: ThingSpeak Support Toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!