Eye state detection method based on gradient and computer readable storage medium
A state detection and eye technology, applied in computer components, calculation, acquisition/recognition of eyes, etc., can solve problems such as high computational complexity, miscalibration, and blink recognition errors, and achieve low algorithm complexity and ensure accuracy Sexuality, the effect that improves the effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] Please refer to Figure 2-5 , Embodiment 1 of the present invention is: a gradient-based eye state detection method, which can be applied to the human-computer interaction of blinking when the user wears glasses, such as figure 2 described, including the following steps:
[0070] S1: Sequentially acquire a frame of the image to be tested as the current frame image, that is, collect continuous images to be tested through the camera, and sequentially acquire a frame of the image to be tested as the current frame image.
[0071] S2: Using a face detection algorithm, identify a face area in the current frame image. Further, if no human face is detected, acquire the next frame of the image to be tested, that is, return to step S1.
[0072] The face detection algorithm in this embodiment can use dlib, mtcnn and other algorithms.
[0073] S3: Using a face feature point calibration algorithm, calibrate to obtain eye calibration points in the face area, and record the positi...
Embodiment 2
[0109] This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:
[0110] Sequentially acquire a frame of the image to be tested as the current frame image;
[0111] Through the face detection algorithm and the face feature point calibration algorithm, the eye calibration points are obtained by calibration in the current frame image, and the positions of the eye calibration points are recorded;
[0112] Calculate the gradient information of the current frame image to obtain the gradient map corresponding to the current frame image;
[0113] According to the corresponding gradient map, it is judged whether both eyes in the current frame image are in a preset initial state;
[0114] If not, continue to execute the step of sequentially acquiring a frame of the image to be tested as the current frame image;
[...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com