I run the people counting demo for some days in order to experiment the accuracy. I commented the lines that create and save the fHist matrix because it would just be an overload the memory.
But after working almost fine in the first couple of days (except for a ghost detected almost constantly where a TV screen is, any idea why?) it has now started to print "Lost sync at frame xxx Reason: S contains NaN ... Found sync at fram xxx" many times per second and I don't know why. I wondered if it was a computational problem but the CPU and RAM of the machine are only 50% busy.
The real problem is that now the cloud point plot shows a number of points moving, but no inference on groups of points are made and the people count keeps counting 0 people when there is more than one.
Any suggestion?
Thank you!