Patent ID: 11962909
Assignee: ZHEJIANG UNIVIEW TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 12:
13. A device for switching between a day mode and a night mode, comprising:
a memory, which is configured to store a computer program; and
a processor, which is configured to execute the computer program to implement:
in response to a current camera mode being the night mode, determining a color temperature value of a current imaging picture;
determining visible light illuminance of the current imaging picture by utilizing the color temperature value and an infrared light contribution ratio of picture brightness obtained based on white balance statistical information of the current imaging picture, and using the visible light illuminance of the current imaging picture as first visible light illuminance; and
determining whether to switch from the current night mode to the day mode by utilizing a magnitude relationship between the first visible light illuminance and a first preset illuminance threshold;
wherein before determining the color temperature value of the current imaging picture in response to the current camera mode being the night mode, the processor is configured to execute the computer program to further implement:
determining whether entering of the current night mode is due to switchback after false switching;
in response to determining that entering of the current night mode is not due to the switchback after false switching, directly initiating the step of determining the color temperature value of the current imaging picture; or
in response to determining that entering of the current night mode is due to the switchback after false switching, determining real-time change information related to the current night mode, and determining whether the real-time change information satisfies a preset condition; and, initiating the step of determining the color temperature value of the current imaging picture based on a determination result that the real-time change information satisfies the preset condition.