Giter Site home page Giter Site logo

Comments (2)

Andrea-Fox avatar Andrea-Fox commented on July 17, 2024

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:

  1. something is detected in zone A but nothing is in zone B (at this moment the array has value 0100 or 0200)
  2. something is detected in both zones (0130 or 0230)
  3. something is detected in zone B but nothing is in zone A (0132 or 0231)
  4. 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.

kentwk avatar kentwk commented on July 17, 2024

// 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.

image

from peoplecounter.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.