Comments (2)
The array of 4 elements is the one which detects if a passage is detected.
The counter topic sends a message (either 1 or 2) only whenever the array has values 0132 or 0231. This can happen only when this happens:
- something is detected in zone A but nothing is in zone B (at this moment the array has value 0100 or 0200)
- something is detected in both zones (0130 or 0230)
- something is detected in zone B but nothing is in zone A (0132 or 0231)
- nothing is detected in both zones
If you want to simulate the passage with your hand you have to move slowly (the same speed when you are walking). Moreover, try changing the value of the threshold percentage, as it might be too high for your case
from peoplecounter.
// this value has to be true if you don't need to compute the threshold every time the device is turned on
static bool save_calibration_result = false;
Default value is false...try set to true, then will working.
from peoplecounter.
Related Issues (18)
- Count People at two entrance HOT 7
- Automation Example with Choose HOT 1
- Code question advised_oriantation_of_the_sensor HOT 1
- Possible enhancement with 4 ROIs HOT 7
- ESPHome compatible sketch? HOT 6
- Pls help check my hardware support anot? HOT 29
- Possible to use ESP8266 ? HOT 2
- ESP32 & VL53L3CX HOT 3
- install for esp8266
- Feature request: Use a single MQTT publisher topic and ArduinoJson.h HOT 1
- Using without MQTT
- Wifi connection issues HOT 13
- People in the room now: 111227 HOT 3
- Configure MQTT for HomeAssistant HOT 1
- Updated ST algorithm V2 HOT 3
- Esphome integration HOT 3
- High power consumption -> not possible to run via battery HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peoplecounter.