Skip to content

Prevent overcrowding in exhibitions using FogFlow to distribute people

License

Notifications You must be signed in to change notification settings

lrsb/people-counter-fogflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

People distribution using FogFlow

Abstract

The organizers of an exhibition with several booths are trying to avoid overcrowding, so visitors could be distributed smoothly and enjoy the exhibition. They mount sensors at each booth so to know the number of people currently at each booth. Each booth has an informative panel which, based on the data from other booths, suggests visitors the closest booth to visit next in a way that the population is smoothly distributed. The overall number of visitors of each booth is reported to the cloud for information aggregation to be queried for the crowded time of the day and other metrics.

How to run

Requirements

  • node
  • angular
  • docker
  • docker-compose
  • curl

If you want to modify the fog function:

  • maven
  • account on docker hub

Run

Update with your ip (if running on your machine only update the ones with *):

  • main/start.sh
  • main/config.json * (update with your internal ip)
  • main/prometheus.yml * (update with your internal ip)
  • dashboard/proxy.js * (update with your internal ip, PROVIDING_APPLICATION only)
  • dashboard/src/app/app.component.ts
  • dashboard/src/app/app.module.ts

Run inside main folder:

./start.sh

You can then find FogFlow here.

You can then find Grafana here (data visualization tool, username & password: admin). How to configure: grafana

Wait 15 secs.

Run inside dashboard folder:

npm run start_dashboard
npm run start_server

You can then find the people counter dashboard here.

Docs

Inside docs folder.

About

Prevent overcrowding in exhibitions using FogFlow to distribute people

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published