Manuscript draft of a privacy-preserving system for detecting and predicting occupancy in a building, deployed in a real application