Accurate people counting is critical for occupancy analytics, space planning, energy control, and safety. Ghost detections are spurious sensor readings that an algorithm interprets as a person or movement when no actual person exists.
What are ghost detections?
Ghost detections can be single false counts, persistent phantom tracks, or intermittent noise that inflates occupancy metrics.
Why they matter
- They distort analytics and downstream decisions such as HVAC scheduling or retail conversion metrics.
- They erode trust in sensor systems and create extra operational overhead to investigate anomalies.
- They can lead to unnecessary interventions, like triggering alerts or adjusting building systems.
Different sensing technologies are vulnerable to different ghost mechanisms. Understanding root causes helps select appropriate mitigation strategies.
Common causes by sensor type
Radar (mmWave) sensors
- Multipath reflections: pulses reflecting off walls, glass, or metal return delayed echoes that appear as phantom objects.
- Side-lobe and secondary reflections: strong reflectors create false angle or distance estimates.
- Environmental motion: moving fans, curtains, or HVAC components generate Doppler signatures misinterpreted as people.
Depth cameras and stereo vision
- Reflections and specular surfaces: shiny floors and glass produce erroneous depth readings.
- Occlusion and silhouette artifacts: partial views produce fragmented depth blobs that confuse tracking.
- Lighting variations: IR interference from sunlight or other sources introduces noise for structured light systems.
Thermal / heat-based sensors
- Thermal reflections: hot or reflective surfaces can create misleading heat signatures.
- Ambient temperature gradients: HVAC vents or sunlit areas can create ghost hotspots.
- Low resolution: coarse thermal imaging can merge nearby people or produce spurious small hot spots.
Vision cameras (RGB)
- Shadows and lighting changes: moving shadows can be mistaken for motion.
- Reflections in glass or polished floors: mirrored images multiply apparent people.
- Background motion: screens, signage, and dynamic displays introduce false motion.
Wireless / BLE / Wi‑Fi sensing
- Multipath and signal fluctuation: RF propagation changes create perceived motion.
- Device phantom presence: lingering MAC addresses or probe traffic can be interpreted as people.
Robust solutions combine hardware choices, installation practices, and software filtering. Multiple layers of mitigation address transient noise and systematic false positives.
Detection and mitigation strategies
Hardware and installation best practices
- Mounting and orientation: place sensors to minimize direct view of reflective surfaces and discourage multipath; adjust elevation and angle to remove reflection paths.
- Coverage planning: avoid HVAC vents, rotating equipment, or screens that produce repeated environmental motion.
- Choose the right sensor: match technology to space—anonymous heat-based sensors often avoid optical and reflective issues that affect cameras and depth sensors.
Signal preprocessing
- Background subtraction: maintain a slowly updating model of the static scene and filter out persistent non-human heat or motion sources.
- Elevation gating: discard detections outside expected human height ranges when elevation data is available.
- Temporal filtering: require minimum duration or continuity for detections to be counted to debounce short spikes.
Tracking and model-based filters
- Multi-frame tracking: validate tracks over time and discard short-lived tracks without human-like motion.
- Motion and trajectory heuristics: apply speed and acceleration thresholds consistent with human movement.
- Confidence scoring: combine size, persistence, and motion pattern into a confidence score tuned per environment.
Sensor fusion
- Combine complementary sensors: fuse thermal + radar or depth + passive infrared to leverage strengths of each modality.
- Cross-validation: require corroboration from two independent sensors before declaring occupancy in sensitive applications.
Regular calibration and monitoring
- Periodic recalibration: update background models after layout changes to prevent new ghost sources.
- Health checks and analytics: monitor for sudden shifts in baseline counts and investigate environmental changes or sensor drift.