Eye state detection method and computer readable storage medium
A state detection and eye technology, applied in the field of image processing, can solve problems such as miscalibration, blink recognition errors, difficult operation, etc., and achieve the effect of improving accuracy and avoiding false detection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] Please refer to Figure 2-7 , Embodiment 1 of the present invention is: an eye state detection method, which can be applied to the eye state detection of low-resolution images, such as figure 2 described, including the following steps:
[0079] S1: Obtain the image to be tested, that is, collect the image through the camera.
[0080] S2: Using a face detection algorithm, identify a face area in the image to be tested. Further, if no human face is detected, the next image to be tested is obtained, that is, the execution returns to step S1.
[0081] The face detection algorithm in this embodiment can use dlib, mtcnn and other algorithms.
[0082] S3: Using the face feature point calibration algorithm, calibrate the eye calibration points in the face area.
[0083] In this embodiment, the 5-point calibration or 68-point calibration of dlib can be used to calibrate the facial feature points, and the obtained eye calibration points are 1 or 6. Among them, the schematic ...
Embodiment 2
[0118] Please refer to Figure 8-10 , this embodiment is another implementation manner of step S7 in the first embodiment.
[0119] In this embodiment, the feature extraction operator used is a growth-type feature extraction operator. At this time, the operator is no longer a fixed size, but is continuously enlarged according to the actual situation of the eye region image.
[0120] like Figure 8 As shown, the step S7 specifically includes the following steps:
[0121] S721: Use an initial feature extraction operator as a current feature extraction operator, where the size of the initial feature extraction operator is a preset initial size. Preferably, for a feature extraction operator with a cross-shaped mask area, its initial size may be 3*3; for a feature extraction operator with a m-shaped mask area, its initial size may be 5*5.
[0122] S722: Acquire a feature extraction area corresponding to the current pixel point according to the size of the current feature extract...
Embodiment 3
[0133] 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:
[0134] Get the image to be tested;
[0135] acquiring an eye region image in the image to be tested;
[0136] performing binarization processing on the eye region image according to a preset binarization threshold, and performing normalization processing on the binarized eye region image according to a preset normalization size;
[0137] Traversing the image of the eye region, sequentially acquiring one pixel as the current pixel;
[0138] Extract the feature value corresponding to the current pixel according to the preset feature extraction operator, the feature extraction operator is a square mask map, the pixel value of the pixel point in the mask area in the mask map is 1, and other The pixel value of the pixel points in the area is 0, a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



