Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lrsb/people-counter-fogflow
Prevent overcrowding in exhibitions using FogFlow to distribute people
https://github.com/lrsb/people-counter-fogflow
dashboard docker fogflow grafana metrics people-counter
Last synced: 27 days ago
JSON representation
Prevent overcrowding in exhibitions using FogFlow to distribute people
- Host: GitHub
- URL: https://github.com/lrsb/people-counter-fogflow
- Owner: lrsb
- License: mit
- Created: 2021-03-28T20:15:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-11T14:28:13.000Z (about 3 years ago)
- Last Synced: 2024-09-27T15:41:03.494Z (about 1 month ago)
- Topics: dashboard, docker, fogflow, grafana, metrics, people-counter
- Language: Go
- Homepage:
- Size: 7.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
* curlIf 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.tsRun inside main folder:
```console
./start.sh
```
You can then find FogFlow [here][1].You can then find Grafana [here][2] (data visualization tool, username & password: admin).
How to configure:
![grafana](main/grafana.png)Wait 15 secs.
Run inside dashboard folder:
```console
npm run start_dashboard
npm run start_server
```
You can then find the people counter dashboard [here][3].[1]: http://localhost
[2]: http://localhost:3000
[3]: http://localhost:4200## Docs
Inside docs folder.