Notebook computer cover closing judgment method and device, computer and storage medium

The embodiment of the invention discloses a notebook computer cover closing judgment method and device, a computer and a storage medium. The method comprises the steps: when a light sensor of a notebook computer detects that the ambient light intensity is smaller than a first threshold value, contro...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: CHEN QINGJIA
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a notebook computer cover closing judgment method and device, a computer and a storage medium. The method comprises the steps: when a light sensor of a notebook computer detects that the ambient light intensity is smaller than a first threshold value, controlling a camera of the notebook computer to shoot a first image; judging whether the first image is matched with a preset image or not; if the first image is matched with the preset image, judging that the notebook computer is in a closed state. According to the embodiment of the invention, the coverclosing of the notebook computer is accurately judged, the space of the notebook computer is saved, and the cost of the notebook computer is reduced. 本发明实施例公开了一种笔记本电脑合盖的判断方法、装置、电脑和存储介质。该笔记本电脑合盖的判断方法包括:当笔记本电脑的光线传感器检测到环境光强小于第一阈值时,控制所述笔记本电脑的摄像头拍摄第一图像;判断所述第一图像是否与预设图像吻合;若所述第一图像与所述预设图像吻合,判断所述笔记本电脑为合盖状态。本发明实施例实现了准确的判断笔记本电脑的合盖、节省了笔记本电脑的空间以及降低了笔记本电脑成本。