This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Description
Hi @Andrea-Fox and @noxhirsch, Thanks so much for what you have done here!
I have been thinking of possible ways to make the sensor more accurate on wider doorways.
My thinking behind this is to use more than 2 ROIs but rather use 4 zones of 8x8 two would be in the front zone and two in the back zone. ( Note I haven't had much success with an ROI set to 8 x 16 but 8x8 works well but sometimes misses counts if you approach a doorway from an angle)
I am working on trying to implement this but would be interested in your opinion on the idea?
I was considering two possible ways of implementing this.
option 1: feed the two values from the front zone into the counting algorithm at the same time and the same for the back zone
option 2: feed the lowest measurement reading from the two zones in the front and back into the algorithm.
Thank you
Mark