Research Article
Privacy-Preserving Sensing and Two-Stage Building Occupancy Prediction Using Random Forest Learning
Algorithm 2
Feature extraction from raw data.
Result: Extract number of blobs | threshold=25; | % Static or dynamic value based on moving average | Find active cells; | for i=1:64 do | Reshape 8x8 matrix as a frame; | ifthen | Cell = active; | else | Cell = inactive | end | end | ifthen | Blob found; | Increase counter value | end | Read counter value; |
|