To reduce night-time false positives from face and lane detectors, camera-health processing will run only during daytime. A new configurable flag (useDayNightFlagForBadMounting) controls this behavior.
Note: This change is applicable only post APK version 1.23.0.
What is changing?
Camera-health checks will be skipped during night hours whenever the day/night indicator reports “night”. This bypass prevents spurious camera-health alerts that stem from poor detector performance in low light. A new configuration option, useDayNightFlagForBadMounting, lets one to enable or disable this behavior.
Why are we making this change?
We observed that lot of false positives in camera-health events were at night. Analysis shows these are largely due to decreased accuracy of face and lane detectors under low-light conditions, not actual hardware or mounting faults. Bypassing camera-health processing at night reduces noise and improves overall precision of the event.
How does it work?
Before running camera-health logic, the module checks the day/night indicator. If it’s night and useDayNightFlagForBadMounting is enabled, the camera-health pipeline is skipped for that time window. During daytime the module runs normally detecting any Bad Mounting events.
What is the new configuration parameter?
useDayNightFlagForBadMounting (boolean) — when true, camera-health processing is bypassed at night; when false, camera-health runs regardless of day/night state. Default value: false(bypass disabled).
How is day/night determined?
The day/night state is computed based on the amount of light observed from the road-facing camera.