WO2023231663A1 - 一种眼睛类型检测方法、装置、计算机设备、存储介质和计算机程序产品 - Google Patents
一种眼睛类型检测方法、装置、计算机设备、存储介质和计算机程序产品 Download PDFInfo
- Publication number
- WO2023231663A1 WO2023231663A1 PCT/CN2023/091183 CN2023091183W WO2023231663A1 WO 2023231663 A1 WO2023231663 A1 WO 2023231663A1 CN 2023091183 W CN2023091183 W CN 2023091183W WO 2023231663 A1 WO2023231663 A1 WO 2023231663A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- eye
- strabismus
- target object
- image
- angle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B3/00—Apparatus for testing the eyes; Instruments for examining the eyes
- A61B3/02—Subjective types, i.e. testing apparatus requiring the active assistance of the patient
- A61B3/08—Subjective types, i.e. testing apparatus requiring the active assistance of the patient for testing binocular or stereoscopic vision, e.g. strabismus
- A61B3/085—Subjective types, i.e. testing apparatus requiring the active assistance of the patient for testing binocular or stereoscopic vision, e.g. strabismus for testing strabismus
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B3/00—Apparatus for testing the eyes; Instruments for examining the eyes
- A61B3/10—Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions
- A61B3/14—Arrangements specially adapted for eye photography
Definitions
- the present disclosure relates to but is not limited to the field of artificial intelligence, and in particular, to an eye type detection method, device, computer equipment, storage medium and computer program product.
- Gaze usually represents the content of human attention or the intention of interaction.
- artificial intelligence technology can support line-of-sight-based interaction scenarios, such as in smart home scenes, smart mobile electronic devices, and smart driving scenarios, it supports line-of-sight detection of areas or objects that people are interested in, or line-of-sight control for air-to-air control.
- the Driver Monitor System will determine parameters such as eye gaze direction or gaze area based on the detection of the driver's eyes to determine whether the driver is distracted.
- the present disclosure provides an eye type detection method, device, computer equipment, storage medium and computer program product.
- an embodiment of the present disclosure provides an eye type detection method, which method includes:
- the eye strabismus type of the target object is calibrated according to the strabismus eye in the front face image.
- an eye type detection device which includes:
- the first acquisition module is configured to acquire the front face image of the target object collected by the image acquisition device when it is determined that the target object is facing the image acquisition device;
- a first determination module configured to respectively determine the pupil position of the left eye and the pupil position of the right eye of the target object in the front face image
- a second determination module configured to determine the gaze angle of the left eye based on the pupil position of the left eye, and determine the gaze angle of the right eye of the target object based on the pupil position of the right eye;
- a third determination module configured to determine the angle difference between the gaze angle of the left eye and the gaze angle of the right eye
- the fourth determination module is configured to determine the one with a larger absolute value of the gaze angles of the left eye and the right eye as the front face when the angle difference exceeds the first predetermined angle range. squinting eyes in the image;
- a calibration module configured to calibrate the eye strabismus type of the target object according to the strabismus eye in the front face image.
- an embodiment of the present disclosure provides a computer device, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the above eye type detection method.
- embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the above eye type detection method is implemented.
- embodiments of the present disclosure provide a computer program product, the computer program product comprising a computer program, when the computer program is run on a computer device, causing the computer device to perform the eye type as described above Steps in the detection method.
- the angle difference between the gaze angle of the left eye and the gaze angle of the right eye is determined based on the pupil position of the target object's left eye and the pupil position of the right eye in the front face image.
- the angle difference exceeds the third In the case of a predetermined angle range, the one with the larger absolute value of the gaze angle of the left eye and the right eye is determined as the strabismus eye in the front face image, and then the target object's eye strabismus type is calibrated.
- cover inspection method strabismus angle measurement method, or using a detection instrument for strabismus to detect strabismus.
- the embodiment of the present disclosure can conveniently and accurately detect the strabismus type of the target object's eyes through image processing.
- Figure 1 is a flowchart 1 of the implementation of an eye type detection method provided by an embodiment of the present disclosure
- Figure 2 is an example diagram of the gaze angle of the left eye and the gaze angle of the right eye in a camera coordinate system provided by an embodiment of the present disclosure
- Figure 3 is a flowchart 2 of the implementation of an eye type detection method provided by an embodiment of the present disclosure
- Figure 4 is a flowchart 3 of the implementation of an eye type detection method provided by an embodiment of the present disclosure
- Figure 5 is a schematic structural diagram of an eye type detection device provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram of a hardware entity of a computer device provided by an embodiment of the present disclosure.
- Embodiments of the present disclosure provide an eye type detection method, the execution subject of which may be an eye type detection device.
- the eye type detection method may be executed by a terminal device or a server or other electronic device, where the terminal device may be a user device (User).
- Equipment, UE mobile devices, user terminals, terminals, cellular phones, cordless phones, personal digital assistants (Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices, etc.
- the eye type detection method may be implemented by a processor calling computer readable instructions stored in a memory.
- the eye type detection device may include an image acquisition device, thereby obtaining an image using the image acquisition device.
- the eye type detection device can also receive images sent from other image acquisition devices.
- FIG 1 is an implementation flowchart 1 of an eye type detection method provided by an embodiment of the present disclosure. As can be seen from Figure 1, the method includes the following steps S11 to S16:
- Step S11 When it is determined that the target object is facing the image acquisition device, obtain the front face image of the target object collected by the image acquisition device;
- Step S12 Determine the pupil position of the left eye and the pupil position of the right eye of the target object in the front face image respectively;
- Step S13 Determine the gaze angle of the left eye according to the pupil position of the left eye, and determine the gaze angle of the right eye of the target object according to the pupil position of the right eye;
- Step S14 Determine the angle difference between the gaze angle of the left eye and the gaze angle of the right eye;
- Step S15 When the angle difference exceeds the first predetermined angle range, determine the one with the larger absolute value of the gaze angle of the left eye and the right eye as the strabismus in the front face image. Eye;
- Step S16 Calibrate the eye strabismus type of the target object based on the strabismus eye in the front face image.
- step S11 determines that the target object is facing the image acquisition device (such as a camera). It may be to output a prompt message requesting the camera to face the target object and then determine that the target object is facing the image acquisition device; or to determine the target in a specific scene.
- the object is facing the image acquisition device, such as the image acquisition device installed in the cabin facing the driver's seat. In the scene of the vehicle driving in a straight line at high speed, it is determined that the driver is facing the image acquisition device; or during the online consultation process, it is determined that the doctor is facing the computer. Camera. Therefore, when it is determined that the target object is facing the image acquisition device, a front face image of the target object facing the image acquisition device collected by the image acquisition device is obtained.
- the front face image obtained by the present disclosure of the target object may be a front face image filtered out based on the facial features in the extracted image among the images collected by the image acquisition device.
- the face rotation angle can be determined based on the facial features, and the image with the face rotation angle smaller than the threshold can be used as the front face image; it can also be determined based on the facial features, whether the nose is on the central axis of the face outline, and the nose is placed on the central axis of the face.
- the image on the central axis of the facial contour is used as the front face image.
- step S12 is executed to respectively determine the pupil position of the left eye and the pupil position of the right eye of the target object in the front face image.
- the pupil position (including the pupil position of the left eye and the pupil position of the right eye) can be the position of the pupil outline in the image coordinate system of the frontal image, or it can be the pupil center
- the position in the image coordinate system of the front face image; the image coordinate system can be a coordinate system in pixels with the upper left corner of the image as the origin.
- the abscissa and ordinate of the pixel are the number of columns in its image array respectively. and the row number, the image coordinate system is a two-dimensional rectangular coordinate system.
- the image can be converted into a grayscale image and binarized on the image, based on the binarized image Determine the pupil outline and obtain the pupil position.
- the centroid method can be used to determine the position of the pupil center in the pupil outline.
- the average value of the sum of all directions can also be calculated based on the sum of the displacement vectors in all directions and the gradient direction of each pixel within the pupil range, and the pupil range can be The coordinates of the point corresponding to the maximum average of the sums of all pixel points are used as the position of the pupil center.
- step S13 is performed to determine the gaze angle of the left eye based on the pupil position of the left eye, and determine the gaze angle of the right eye based on the pupil position of the right eye.
- the gaze angle represents the angle between the gaze direction of the left eye or the right eye and the normal direction of the imaging surface of the image acquisition device.
- the gaze angle can be positive or negative.
- the gaze direction is located in the normal direction of the imaging surface of the image acquisition device. On the left, the gaze angle is a negative value; the gaze direction is on the right side of the normal direction of the imaging surface of the image acquisition device, the gaze angle is a positive value, etc.
- the gaze angle of the present disclosure may be an angle in the image coordinate system, the angle in the image acquisition device coordinate system, or the angle in the world coordinate system, and the disclosure does not limit this.
- the coordinate system of the image acquisition device is a three-dimensional rectangular coordinate system established with the focus center of the image acquisition device as the origin and the optical axis as the Z-axis.
- the present disclosure can use the feature point detection method to extract the eye contour features in the front face image.
- the relative position of the pupil outline and the eye outline Determine the gaze angle of the eye in the image coordinate system.
- feature point detection methods include but are not limited to any of the following methods: local-based methods, global-based methods, hybrid-based methods, Active Shape Model (ASM) and Active Appearance Model (Active Appearance Model). , AAM).
- the present disclosure determines a first distance between the leftmost end of the pupil outline and the leftmost end of the eye outline and/or a second distance between the rightmost end of the pupil outline and the rightmost end of the eye outline based on the relative position of the pupil outline and the eye outline. Distance; determine the gaze angle of the eye based on the correspondence between the predetermined first distance and/or the second distance and the gaze angle.
- the width of the eyes is about 30 mm
- the horizontal gaze angle of one eye is between [-75, 75] degrees (the gaze angle when looking straight ahead is set to 0° (degrees))
- the first A distance of 15 mm corresponds to a gaze angle of 0 degrees
- a first distance of 5 mm corresponds to a gaze angle of -50 degrees (i.e. 50 degrees to the left)
- a first distance of 20 mm corresponds to a gaze angle of 50 degrees (i.e. to the left). 50 degrees to the right).
- the present disclosure can use the aforementioned feature point detection method to extract the eye contour features in the front-face image. According to the position of the pupil center in the eye contour area Relative position, determine the gaze angle of the eye in the image coordinate system corresponding to the relative position.
- the gaze angle of the eye in the coordinate system of the image acquisition device can be determined based on the internal parameters of the image acquisition device. In some embodiments, after determining the gaze angle in the coordinate system of the image acquisition device, the gaze angle of the eye in the world coordinate system may be determined based on external parameters of the image acquisition device.
- the front face image when determining the gaze angle of the corresponding eye according to the pupil position, can also be input into the gaze angle detection model to obtain the gaze angle of the left eye and the gaze angle of the right eye; wherein, the gaze angle detection model It can be trained based on deep learning networks, for example, based on training sample data and label values, training and parameter adjustment of networks such as convolutional neural networks (Convolutional Neural Networks, CNN), deep learning networks (Deep Neural Networks, DNN), etc. Finally, the gaze angle detection model is obtained; where the label value is the predetermined gaze angle.
- the present disclosure is based on a trained gaze angle detection model. By inputting the front face image of the target object into the model, the gaze angle of the left eye and the gaze angle of the right eye can be obtained.
- the gaze angle of the left eye can be determined according to the pupil position of the left eye
- the gaze angle of the right eye can be determined according to the pupil position of the right eye
- step S14 is performed to determine the angle difference between the gaze angle of the left eye and the gaze angle of the right eye.
- the angle difference may be the difference between the gaze angle of the left eye and the gaze angle of the right eye, or may be the result of a weighted calculation of the gaze angle of the left eye and the gaze angle of the right eye.
- step S15 of the present disclosure determines the one with the larger absolute value of the gaze angle of the left eye and the right eye as the strabismus eye in the front face image when the angle difference exceeds the first predetermined angle range. .
- the angle difference is the difference between the gaze angle of the left eye and the gaze angle of the right eye.
- the angle difference is a negative value, correspondingly, if the angle difference exceeds the first predetermined angle range, it can be less than the predetermined negative value; if the angle difference is a positive value, , correspondingly, the first predetermined angle range may be greater than the predetermined positive value, and the present disclosure does not limit the specific content of the first predetermined angle range.
- step S16 is performed to calibrate the strabismus type of the target object's eyes based on the determined strabismus eye, where the eye corner strabismus type includes at least one of the following: non-strabismus in both eyes, strabismus in the left eye, and strabismus in the right eye. .
- the eye strabismus type of the target object can be calibrated directly based on the strabismus in a single front face image.
- the strabismus type of the target object's eyes can be calibrated.
- Figure 2 is an example diagram of the gaze angle of the left eye and the gaze angle of the right eye in a camera coordinate system provided by an embodiment of the present disclosure.
- 21 is a camera, corresponding to the aforementioned image acquisition device, and 22 is the left eye of the target object.
- the pupil of The gaze angle of the normal line of the camera's imaging surface corresponds to the aforementioned gaze angle of the right eye, and ⁇ is greater than ⁇ .
- the angle difference is determined as ⁇ - ⁇ according to the gaze angle of the left eye and the right eye; when the angle difference exceeds the first predetermined angle range, the right eye corresponding to ⁇ is determined
- the eye is determined to be strabismus, thereby determining that the target object's eye strabismus type is right eye strabismus.
- the normal of the camera imaging plane in Figure 2 can be set to 0°
- the gaze angle ⁇ of the right eye is 30°
- the gaze angle ⁇ of the left eye is -10°
- the angle threshold ⁇ in the first angle range of the predetermined angle is is 10°
- the angle difference is the difference between the absolute value of the gaze angle of the right eye and the gaze angle of the left eye, that is, 20°, which exceeds the angle threshold ⁇ , so it can be determined that the right eye corresponding to ⁇ is a strabismus eye.
- the angle difference between the gaze angle of the left eye and the gaze angle of the right eye is determined based on the pupil position of the left eye and the pupil position of the right eye in the front face image.
- the one with the larger absolute value of the gaze angle of the left eye and the right eye is determined to be a strabismus.
- the strabismus angle measurement method, or using the method for strabismus detects strabismus.
- the embodiment of the present disclosure can conveniently and accurately detect the strabismus type of the target object's eyes through image processing.
- a medical seeker in a medical scenario, it is possible to determine whether a medical seeker has strabismus according to the eye type detection method of the present disclosure; in addition, the number of people with strabismus can also be counted based on the eye type detection results.
- whether the driver has strabismus can be determined based on the eye type detection method of the present disclosure.
- the eye type detection method of the present disclosure can be used to determine whether the driver has strabismus. This can be based on the monitoring of the gaze of the non-strabismus eye (i.e., the normal eye), such as the gaze angle and the gaze angle. The degree of change, gaze duration, etc., determine whether the driver is distracted, thereby improving the accuracy of the driver monitoring system.
- the driver's eyes are normal to detect whether the driver is driving safely, such as judging whether the driver is driving safely based on the difference between the gaze angle of the eyes and the deflection angle of the face.
- the driver is a person with strabismus.
- it is easy to mistakenly detect the result of unsafe driving.
- the absolute value of the gaze angle of the left eye and the right eye is larger.
- One is determined to be a strabismus, and the target object's eye strabismus type is calibrated so that in vehicle driving scenarios, the driver can be detected to drive safely based on non-strabismus eyes, which can improve the accuracy of driver status assessment in a DMS system, for example.
- the frontal face image includes multiple frames of frontal face images in the video stream of the target object collected by the image acquisition device;
- Calibrating the eye strabismus type of the target object based on the strabismus eye in the front face image includes:
- the eye type of the target object is calibrated as right eye strabismus.
- the acquired frontal face image includes multiple frames of frontal face images in the video stream of the target object collected by the image acquisition device, wherein the multiple frames of frontal face images may be consecutive frames of frontal face images, or may be Multi-frame front face images obtained by sampling at certain time intervals in the video stream.
- the present disclosure can count multiple frames when calibrating the eye strabismus type of the target object based on the strabismus in the front face image.
- the eye type of the target object is calibrated to be left eye strabismus; or, when the number of frames in the image in which the right eye is determined to be strabismus reaches the predetermined threshold,
- the eye type of the calibration target object is right eye strabismus.
- the number of frames of the image of the left eye with strabismus is positively correlated with the probability that the left eye is strabismus
- the number of frames of the image of the right eye with strabismus is positively correlated with the probability of the right eye with strabismus
- each front-face image can obtain a corresponding strabismus detection result.
- the present disclosure detects multiple front-face images, and the multiple detection results obtained may include those whose left eye is strabismus.
- the results also include the result that the right eye is strabismus.
- the number of frames of images in which the left eye is a strabismus and the number of frames in which the right eye is a strabismus can be obtained by counting the corresponding multiple detection results. The larger the number of frames, the more likely it is that the eye corresponding to the number of frames is a strabismus. The bigger. Therefore, determining the eye corresponding to the number of frames reaching the predetermined threshold as a strabismus and calibrating the eye type of the target object accordingly can further improve the accuracy of determining the eye type.
- the frontal face image includes N frames of frontal face images in the video stream of the target object collected by the image acquisition device, where N is a predetermined positive integer;
- the method also includes:
- Calibrating the eye strabismus type of the target object based on the strabismus eye in the front face image includes:
- the first frame number of the image in which both eyes are determined to be non-strabismus, the second frame number of the image in which the left eye is determined to be a strabismus, and the third frame number of the image in which the right eye is determined to be strabismus are determined. Frame numbers are compared;
- the strabismus eye in the front face image is the strabismus eye of the target object.
- the frontal face image includes N frames of frontal face images obtained based on the foregoing method in the video stream of the target object collected by the image acquisition device, where N is a predetermined positive integer.
- the angle difference does not exceed the first predetermined angle range, that is, the difference in the gaze angles of the two eyes is small and does not conform to the gaze angle characteristics of the strabismus human eye, therefore, it is determined that both eyes in the front face image are non-strabismus.
- the first frame number of the image in which both eyes are non- strabismus is determined. It can be understood that the first frame number is positively related to the probability that both eyes are non-strabismus.
- the first frame number After determining the first frame number, combining the second frame number (the number of frames corresponding to the image of the left eye with strabismus) and the third frame number (corresponding to the number of frames of the image of the right eye with strabismus) obtained based on the aforementioned method, Compare the first frame number, the second frame number and the third frame number.
- the target object's binocular type When the first frame number is greater than the second frame number and the third frame number, that is, when the probability of both eyes being non-strabismus is the highest, Calibrate the target object's binocular type to be binocular non-strabismus; or, when the first frame number is less than either of the second frame number and the third frame number, that is, when the probability of strabismus exists is high, calibrate the third The strabismus eye in the front face image corresponding to the larger of the second frame number and the third frame number is the strabismus eye of the target object.
- N frames of front face images In order to reduce the misdetection of strabismus by normal eyes due to occasional strabismus or low image quality of the front face image (such as overexposure, low resolution), etc., in the present disclosure, in N frames of front face images, The first frame number of the image in which both eyes are determined to be non-squinting eyes, the second frame number of the image in which the left eye is determined to be strabismus, and the third frame number of the image in which the right eye is determined to be strabismus are compared, and the strabismus is calibrated based on the comparison results. , improve the accuracy of calibrating strabismus.
- the N frames of frontal face images are N frames of frontal face images whose timing difference between any two frames in the video stream does not exceed the preset duration, so that eye type detection is performed on the N frames of frontal face images within the preset duration.
- the N frames of frontal images of the present disclosure are N frames of frontal images whose total timing does not exceed the preset duration.
- N is 10 and the preset duration is 15 minutes.
- the preset time period can be started from the time when the vehicle starts and the first frame of the front face image is collected, or it can be started from the time under other circumstances (such as the vehicle speed is greater than the predetermined speed threshold) and the first frame of the front face image is collected. This disclosure does not do this. limited.
- the larger N is in this disclosure, the higher the accuracy of the eye type calibration result.
- the setting of the preset duration needs to take into account the time required to complete the acquisition of N frames of frontal face images. On this basis, the shorter the preset duration, the higher the immediacy of the final determination of the eye type.
- N frames of frontal face images are not acquired within a preset time period, the detection of eye types is stopped, thereby reducing the power consumption caused by the eye type detection device being stuck in the detection of frontal face images for a long time.
- the present disclosure detects N frames of frontal face images and calibrates the strabismus of the target object. Compared with calibrating strabismus based on only one frame of frontal face images, the present disclosure can improve the accuracy of calibrating strabismus. Secondly, the timing difference between any two frames in the N-frame frontal face image of the present disclosure does not exceed the preset time, which improves the immediacy of eye type calibration while taking into consideration the improvement of eye type accuracy.
- determining the gaze angle of the left eye based on the pupil position of the left eye, and determining the gaze angle of the right eye based on the pupil position of the right eye includes:
- the position of the pupil center of the left eye in the front face image is the first position in the coordinate system of the image acquisition device, and the position of the right pupil center in the front face image is determined.
- the second position in the coordinate system of the image acquisition device is the first position in the coordinate system of the image acquisition device, and the position of the right pupil center in the front face image is determined.
- the gaze angle of the left eye is determined based on the angle between the connection line between the first position and the coordinate origin of the coordinate system of the image acquisition device and the normal line of the imaging plane of the image acquisition device. ;
- the gaze angle of the right eye is determined based on the angle between the connection line between the second position and the coordinate origin of the coordinate system of the image acquisition device and the normal line of the imaging surface of the image acquisition device. .
- the position of the pupil center (including the position of the left pupil center and the position of the right pupil center) may be the position of the center of the outline of the pupil area in the front face image in the image coordinate system.
- image capture device of the present disclosure can be installed directly in front of the head of the target subject to capture the front face image.
- the present disclosure places the pupil center in the two-dimensional image coordinate system.
- the coordinates are mapped to the three-dimensional coordinates in the coordinate system of the image acquisition device, so that the position of the center of the left pupil is mapped to the first position in the coordinate system of the image acquisition device, and the position of the center of the right pupil is mapped to the coordinate system of the image acquisition device.
- second position According to the connection between the first position and the coordinate origin of the coordinate system of the image acquisition device, the angle between the normal line of the imaging plane of the image acquisition device is determined as the gaze angle of the left eye.
- the angle between the line connecting the coordinate origins of the device's coordinate system and the normal line of the imaging surface of the image acquisition device is determined as the gaze angle of the right eye. Then, the eye type is calibrated based on the gaze angle of the left eye and the gaze angle of the right eye.
- the present disclosure may also be based on the first position and the coordinate system of the image acquisition device.
- the angle between the connection between the coordinate origins and the vehicle driving direction or the head direction is determined as the gaze angle of the left eye; according to the connection between the second position and the coordinate origin of the coordinate system of the image acquisition device, and
- the angle between the vehicle's driving direction or the vehicle's head direction is determined as the gaze angle of the right eye.
- the driving direction or head direction of the vehicle can be determined based on the rotation angle of the steering wheel, or the driving direction of the vehicle can be obtained by docking the vehicle DMS system.
- the present disclosure determines the gaze angle of the left eye and the gaze angle of the right eye based on the normal of the imaging surface of the image capture device, When the angle difference between the gaze angle of the left eye and the gaze angle of the right eye exceeds the first predetermined angle range, one of the absolute larger gaze angles of the left eye and the right eye is determined to be a strabismus eye to improve the calibration Accuracy of strabismus.
- the image acquisition device is an image acquisition device provided inside a vehicle, and the target object is the driver of the vehicle;
- the method also includes:
- obtaining the front face image of the target object collected by the image acquisition device includes:
- the front face image of the driver captured by the image acquisition device is acquired.
- the image capture device can be installed inside the vehicle, such as directly in front of the driver's seat, to facilitate capturing the driver's front face image.
- This disclosure can obtain the speed of the vehicle and the torsion angle of the steering wheel of the vehicle. It can obtain the values collected by the speed sensor and the angle sensor installed in the vehicle. It can also obtain the speed of the vehicle and the torsion angle of the steering wheel by docking the vehicle DMS system.
- the present disclosure determines that the target object is facing the image acquisition device based on the acquired vehicle speed and the steering wheel's twist angle, when the vehicle's speed is greater than a predetermined speed threshold and the steering wheel's twist angle is less than a predetermined angle threshold. And in response to the driver's squint calibration function being turned on, the facial image collected by the image acquisition device is used as a front face image, so that the driver's squint eyes are calibrated based on the front face image based on the aforementioned method.
- the driver's squint calibration function can be turned on by default when the vehicle is started, or it can be turned on after a preset period of time after the vehicle is started, or it can be turned on based on the driver's squint calibration function.
- the issued operation command turns on the strabismus calibration function, which is not limited in this disclosure.
- the embodiments of the present disclosure can reduce the disturbance to the user and improve the user experience.
- the method further includes:
- the facial image that satisfies the predetermined image quality condition is used as the front face image of the target object acquired when the target object faces the image acquisition device.
- the first prompt information indicating that the target subject is required to face the image collection device can be output through display screen text output or voice broadcast, etc., prompting the user to look towards the device that collects the face image.
- the image collection device collects the user's facial image after outputting the first prompt information.
- facial recognition technology such as FaceID technology, can be used to register facial images.
- the present disclosure determines whether the facial image meets the predetermined image quality conditions, uses the facial image that meets the predetermined image quality conditions as the front face image, and then performs the aforementioned eye type calibration based on the acquired front face image;
- the predetermined image quality conditions at least include that the face image is a frontal image, and may also include that the resolution is greater than a predetermined resolution threshold, the exposure is within a predetermined exposure range, and the signal-to-noise ratio is greater than a predetermined signal-to-noise ratio threshold, etc.
- the present disclosure calibrates eye types based on images that meet predetermined image quality conditions, which can improve the accuracy of determining eye types.
- the features can be used as the unique identification of the user, so that the calibrated strabismus eye can be associated and stored with the unique identification of the user.
- the acquired features in the user's facial image can be directly compared with the unique identifier.
- the feature similarity is greater than a predetermined
- the similarity threshold can directly determine the eye type detection result associated with the unique identifier as the eye type detection result of the target object in the facial image, without having to perform the aforementioned eye type detection method, thereby improving the immediacy of calibrating the eye type.
- the present disclosure obtains the facial image during the facial image registration process, and uses the facial image that meets the predetermined image quality conditions as the front face image, which can improve the accuracy and immediacy of the subsequent eye type calibration based on the front face image.
- the eye type detection device of the present disclosure can also directly obtain the facial image after successful facial image registration by other devices, and convert the facial image to as a frontal image.
- the present disclosure directly uses the facial image after successfully registering the facial image obtained from other devices as the front face image, which can improve the reuse degree of the facial image and eliminates the need to output to the user a request for the target object to look directly at the target object.
- the first prompt information of the image collection device reduces the disturbance to the user and improves the user experience.
- the method further includes:
- the eye type of the target object is calibrated as left-eye strabismus or right-eye strabismus, at least one of the following interactions is performed based on the gaze information of the target object's non-strabismus eye:
- the second prompt information is output in response to the gaze angle of the non-strabismic eye exceeding the second predetermined angle range within a predetermined period of time.
- interactive information can be output based on the gaze information of the non-strabismic eye; wherein the gaze information includes gaze angle and gaze duration.
- the interactive object corresponding to the gaze angle of the strabismus eye in the space is not the object that the strabismus eye really wants to gaze at.
- the present disclosure shields the strabismus eye and determines the corresponding interactive object in the space based on the gaze angle of the non- strabismus eye, thereby determining the object that the strabismus person really wants to gaze at, and outputs the object's information.
- Determining the interactive object based on the gaze angle of the non-strabismic eye may include determining the gaze point of the gaze angle in the space where the target object is located based on the gaze angle of the non-strabismic eye, thereby determining the object corresponding to the gaze point as the interactive object;
- the gaze range can also be determined based on the gaze angle of the non-strabismic eye, for example, the gaze angle range of plus or minus 20 degrees is used as the gaze range, and then the object whose gaze range covers the space where the target object is located is determined as the interactive object.
- the dashboard information such as vehicle speed, rotational speed, etc., can be displayed on the display screen of the vehicle center console.
- the present disclosure shields the strabismus eye when the target object is the driver of the vehicle and the vehicle speed is not 0, and when the gaze angle of the non-strabismus eye exceeds the second predetermined angle range within a predetermined period of time, it represents The driver may be distracted (such as not looking in the direction of travel for a long time), and the second prompt message is output.
- the gaze angle is a positive value
- exceeding the second predetermined angle range may be greater than the predetermined positive value
- the gaze angle is a negative value
- exceeding the second predetermined angle range may be less than the predetermined negative value.
- the present disclosure blocks the strabismic eye after determining the strabismic eye, and outputs interactive information based on the gaze information of the non-strabismic eye, which can reduce the erroneous output of interactive information based on the gaze information of the strabismic eye and improve the accuracy of interactive information output.
- FIG. 3 is a flowchart 2 of the implementation of an eye type detection method provided by an embodiment of the present disclosure. As can be seen from Figure 3, the method includes the following steps S31 to step S33:
- Step S31 Whether the facial image registration is successful; if yes, proceed to step S32; if not, continue to execute step S31.
- the facial image that satisfies the predetermined image quality condition will be used as the front face image of the target object acquired when the target object faces the image acquisition device.
- Step S32 Whether the difference between the left and right pupil directions is greater than the threshold; if so, execute step S33; if not, the detection process ends and it is determined that there is no strabismus.
- the left pupil direction is the gaze angle of the aforementioned left eye
- the right pupil direction is the gaze angle of the aforementioned right eye.
- the difference between the left and right pupil directions is the aforementioned angle difference
- the threshold is the aforementioned first predetermined angle range. The present disclosure determines whether the difference between the left and right pupil directions is greater than a threshold, that is, the aforementioned determination of the angle difference between the gaze angle of the left eye and the gaze angle of the right eye, and whether the angle difference exceeds the first predetermined angle range.
- Step S33 The eye with a greater deviation from the normal direction of the camera is regarded as a strabismus eye.
- the normal line of the camera is the normal line of the imaging surface of the image acquisition device
- the direction deviation from the normal line of the camera is the gaze angle of the left eye and the gaze angle of the right eye.
- the eye with a greater deviation from the normal direction of the camera is regarded as a strabismus. That is, when the angle difference exceeds the first predetermined angle range, the one with the larger absolute value of the gaze angle of the left eye and the right eye is determined. It is the squint in the front face image.
- the present disclosure uses the image after the face image registration is successful as a front face image for eye type detection, which can improve the degree of image reuse.
- this disclosure determines the difference between the left and right pupil directions based on the acquired front face image.
- the difference between the left and right pupil directions is greater than the threshold, the eye with a larger deviation from the normal direction of the camera is determined to be a strabismus.
- embodiments of the present disclosure can quickly and accurately detect the strabismus type of the target object's eyes through image processing.
- FIG. 4 is a flowchart 3 of the implementation of an eye type detection method provided by an embodiment of the present disclosure. As can be seen from Figure 4, the method includes the following steps S41 to step S45:
- Step S41 Whether the whole vehicle is in a high-speed scene; if so, execute step S42; if not, end the detection process.
- the high-speed scene is a scene in which the vehicle speed is greater than a predetermined speed threshold and the steering wheel twist angle is less than a predetermined angle threshold.
- N frames of facial images in the video stream collected by the image acquisition device are used as front-face images.
- Step S42 Whether the difference between the left and right pupil directions in this frame is greater than the threshold; if so, execute step S43; if not, execute step S44.
- the present disclosure determines whether the difference in direction between the left and right pupils in the current frame of the face image is greater than a threshold, that is, the aforementioned determination of the angle difference between the gaze angle of the left eye and the gaze angle of the right eye, and whether the angle difference exceeds the third A predetermined angle range.
- Step S43 The eye with a larger deviation angle from the driving direction ahead is regarded as a strabismus eye;
- the forward driving direction is the aforementioned vehicle driving direction
- the deviation angle from the forward driving direction is the gaze angle of the left eye and the gaze angle of the right eye based on the vehicle traveling direction.
- the eye with a larger deviation angle from the driving direction ahead is regarded as a strabismus. That is, when the angle difference exceeds the first predetermined angle range, the left eye and the right eye are regarded as squinting.
- the one with the larger absolute value of the angle is determined to be the squinting eye in the front face image.
- the number of image frames in which the left eye is strabismus is determined, corresponding to the aforementioned second frame number; and the number of frames in the image in which the right eye is strabismus is determined, corresponding to the aforementioned third frame number.
- Step S44 The driver is considered to be a normal person
- the present disclosure determines that the driver is driving when the difference between the left and right pupil directions is less than or equal to a threshold. If the person is a normal person and the aforementioned angle difference does not exceed the first predetermined angle range, the target object's binocular type is binocular non-strabismus. Based on this method, for N frames of frontal face images, the number of frames in which both eyes are non-squinting eyes is determined, corresponding to the aforementioned first number of frames.
- Steps S42 to S44 are executed in a loop N times, that is, the detection of N frames of images is completed. After executing steps S42 to S44 N times in a loop, the first frame number, the second frame number, and the third frame number are obtained, and step S45 is executed.
- Step S45 Vote on N results and output the result with the highest number of votes.
- N results are voted on to obtain the number of votes, where the number of votes for the left eye with strabismus corresponds to the second frame number, the number of votes for the right eye with strabismus corresponds to the third frame number, and the number of votes for both eyes without strabismus.
- the result with the highest number of votes is output; the result with the highest number of votes is the detection result of the eye type.
- the binocular type of the target object is calibrated to binocular non-strabismus; or, when the first frame number is less than the second frame number and the third frame
- the strabismus eye in the front face image corresponding to the larger of the second frame number and the third frame number is calibrated as the strabismus eye of the target object.
- the facial image collected by the image acquisition device is more likely to be a frontal face image, so that The process of filtering out front-face images from images collected by an image acquisition device can be reduced, thereby improving the immediacy of determining eye types based on front-face images.
- the front-face image is acquired in this scenario, the user cannot perceive it.
- the embodiment of the present disclosure can reduce the disturbance to the user. Improve user experience.
- the present disclosure determines the first frame number, the second frame number and the third frame number based on N frames of frontal images obtained when the whole vehicle is in a high-speed scene. Based on the first frame number, the second frame number and the third frame number, The comparison result of the third number of frames determines the final eye type. Compared with determining the eye type based only on one frame of the front face image, the embodiment of the present disclosure can improve the accuracy of determining the eye type.
- This disclosure is based on the FaceID registration process (i.e., the above-mentioned facial image registration).
- the camera collects the driver's front face image; then; , detect the pupil direction angles of the driver's eyes in the front face image (i.e., the gaze angle of the left eye and the right eye), and obtain the difference in gaze directions of the two pupils (i.e., the gaze angle of the left eye and the right eye) (angle difference between the gaze angles); finally, based on the angle difference and the first predetermined angle range, it is determined whether the driver is a strabismus person.
- a period of dynamic strabismus calibration will also be performed when the vehicle is running at high speed.
- the present disclosure detects the pupil direction angle of the driver's eyes on the picture that passes the FaceID registration requirement (ie, the above-mentioned front face image), that is, the picture that meets the driver's requirement of facing the camera. If the difference in pupil direction angles of both eyes (i.e., the angle difference between the gaze angle of the left eye and the gaze angle of the right eye) exceeds a certain threshold (i.e., the first predetermined angle range), it is considered that the driver has both pupils. There are non-parallel situations. Based on this scenario, the driver should be looking directly at the camera, so the eye with a larger deviation angle from the normal direction of the camera's imaging plane is output as a strabismus eye.
- the FaceID registration requirement ie, the above-mentioned front face image
- the DMS system is used to perform dynamic calibration of strabismus in certain scenarios during driving.
- a scene is created in which the driver looks towards a certain area with a high probability (that is, the above scene of the vehicle driving straight at high speed), and then in this scene, the driver can The eye with a larger pupil direction deviation area is output as a strabismus.
- This disclosure sets the DMS dynamic calibration scene as a high-speed driving scene, that is, when the vehicle is running at a high speed (>80km/h) and the steering wheel angle deflection is small, it is considered that the driver is basically looking ahead (i.e., the above-mentioned front-facing image acquisition device) driving status. Since the dynamic calibration process of DMS is the result of multiple rounds of voting, it has stronger robustness. Therefore, if the DMS dynamic calibration process is completely executed, the results of the DMS dynamic calibration can be used to replace the detection results during the FaceID registration process. Whether it is the FaceID registration process or the DMS dynamic calibration process, there is no need to explicitly inform the driver to cooperate in the detection, and they are all non-sensory strabismus detection processes.
- the number of testing rounds N can be appropriately increased; at the same time, in order to prevent the calibration process from being stuck in the calibration process for too long, a calibration time limit can be added. If N testing is not performed within a certain period of time, the current round of calibration will be abandoned.
- the present disclosure provides a driver-insensitive strabismus detection method; (2)
- the DMS dynamic calibration process provided by the present disclosure supplements the potential problems caused by the FaceID detection process. random error problem.
- FIG. 5 is a schematic structural diagram of an eye type detection device provided by an embodiment of the present disclosure. As can be seen from Figure 5, the eye type detection device 500 includes:
- the first acquisition module 501 is configured to acquire the front face image of the target object collected by the image acquisition device when it is determined that the target object is facing the image acquisition device;
- the first determination module 502 is configured to respectively determine the pupil position of the left eye and the pupil position of the right eye of the target object in the front face image;
- the second determination module 503 is configured to determine the gaze angle of the left eye according to the pupil position of the left eye, and determine the gaze angle of the right eye of the target object according to the pupil position of the right eye;
- the third determination module 504 is configured to determine the angle difference between the gaze angle of the left eye and the gaze angle of the right eye;
- the fourth determination module 505 is configured to determine the larger absolute value of the gaze angle of the left eye and the right eye as the correct angle when the angle difference exceeds the first predetermined angle range. squinting eyes in face images;
- the calibration module 506 is configured to calibrate the eye strabismus type of the target object according to the strabismus eye in the front face image.
- the frontal face image includes multiple frames of frontal face images in the video stream of the target object collected by the image acquisition device;
- the calibration module 506 is configured to calibrate the eye type of the target object as left eye strabismus when the number of frames in the multi-frame frontal face image in which it is determined that the left eye is strabismus reaches a predetermined threshold; or when In the multi-frame frontal face images, if the number of frames in which it is determined that the right eye is strabismus reaches a predetermined threshold, the eye type of the target object is calibrated as right eye strabismus.
- the frontal face image includes N frames of frontal face images in the video stream of the target object collected by the image acquisition device, where N is a predetermined positive integer;
- the eye type detection device 500 also includes:
- the fifth determination module 507 is configured to determine that both eyes in the front face image are non-strabismus eyes when the angle difference does not exceed the first predetermined angle range;
- Calibration module 506 includes:
- the determination sub-module is configured to determine, in the N frames of front face images, the first frame number of the image in which both eyes are non-strabismus, the second frame number of the image in which the left eye is determined to be strabismus, and the determination of the right eye to be strabismus.
- the third frame number of the eye image is compared;
- a calibration submodule configured to calibrate the binocular type of the target object as binocular non-strabismus when the first frame number is greater than the second frame number and the third frame number; or in the first When the number of frames is less than any one of the second number of frames and the third number of frames, calibrate the front face image corresponding to the larger one of the second number of frames and the third number of frames.
- the squinting eye is the squinting eye of the target subject.
- the second determination module 503 includes:
- the first determination sub-module is configured to determine the first position of the pupil center of the left eye in the front face image in the coordinate system of the image acquisition device according to the internal parameters of the image acquisition device, and the The position of the center of the right pupil in the frontal image is at the second position in the coordinate system of the image acquisition device;
- the second determination sub-module is configured to determine the angle between the connection line between the first position and the coordinate origin of the coordinate system of the image acquisition device and the normal line of the imaging surface of the image acquisition device, Determine the gaze angle of the left eye;
- the third determination sub-module is configured to determine the angle between the connection line between the second position and the coordinate origin of the coordinate system of the image acquisition device and the normal line of the imaging surface of the image acquisition device, Determine the gaze angle of the right eye.
- the image acquisition device is an image acquisition device provided inside a vehicle, and the target object is the driver of the vehicle;
- the eye type detection device 500 also includes:
- the second acquisition module 508 is configured to acquire the speed of the vehicle and the twist angle of the steering wheel of the vehicle;
- the sixth determination module 509 is configured to determine that the target object is facing the image acquisition device when the speed is greater than a predetermined speed threshold and the twist angle of the steering wheel is less than a predetermined angle threshold;
- the first acquisition module 501 is configured to acquire the driver's front face image collected by the image acquisition device in response to the driver's squint calibration function being turned on when it is determined that the target object is looking directly at the image acquisition device.
- the eye type detection device 500 further includes:
- the output module 510 is configured to, during the facial image registration process, output the first prompt information requesting the target subject to face the image collection device;
- the third acquisition module 511 is configured to acquire a facial image based on the first prompt information
- the seventh determination module 512 is configured to use the facial image that meets the predetermined image quality condition as a target pair.
- the eye type detection device 500 further includes:
- the interaction module 513 is configured to perform at least one of the following interactions based on the gaze information of the target object's non-strabismus eyes when the eye type of the target object is calibrated as left-eye strabismus or right-eye strabismus: output the non-strabismus eye.
- the gaze angle exceeds the second predetermined angle range, the second prompt information is output.
- Figure 6 is a schematic diagram of the hardware entity of a computer device provided by an embodiment of the present disclosure.
- the hardware entity of the computer device 800 includes: a processor 801, a communication interface 802 and a memory 803, where: the processor 801 usually Controls the overall operation of computer device 800.
- the communication interface 802 can enable the computer device to communicate with other terminals or servers through a network.
- the memory 803 is configured to store instructions and applications executable by the processor 801, and can also cache data to be processed or processed by the processor 801 and each module in the computer device 800 (for example, image data, audio data, voice communication data and Video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be carried out between the processor 801, the communication interface 802 and the memory 803 through the bus 804.
- the processor 801 is used to execute some or all steps in the above method.
- Embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, some or all of the steps in the above method are implemented.
- Embodiments of the present disclosure provide a computer program product, which includes a computer program that, when the computer program is run on a computer device, causes the computer device to execute some or all of the steps in the above method.
- the disclosed devices and methods can be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the units is only a logical function division.
- the coupling, direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be electrical, mechanical, or other forms. of.
- the units described above as separate components may or may not be physically separated; the components shown as units may or may not be physical units; they may be located in one place or distributed to multiple network units; Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present disclosure can be all integrated into one processing unit, or each unit can be separately used as a unit, or two or more units can be integrated into one unit; the above-mentioned integration
- the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the aforementioned program can be stored in a computer-readable storage medium.
- the execution includes: The steps of the above method embodiment; and the aforementioned storage media include: mobile storage devices, read-only memory (Read Only Memory, ROM), magnetic disks or optical disks and other various media that can store program codes.
- the above-mentioned integrated units of the present disclosure are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
- the technical solution of the present disclosure can be embodied in the form of a software product in essence or that contributes to related technologies.
- the computer software product is stored in a storage medium and includes a number of instructions to enable a computer.
- a computer device (which may be a personal computer, a server, a network device, etc.) executes all or part of the methods described in various embodiments of the present disclosure.
- the aforementioned storage media include: mobile storage devices, ROMs, magnetic disks or optical disks and other media that can store program codes.
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Ophthalmology & Optometry (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Eye Examination Apparatus (AREA)
- Image Analysis (AREA)
Abstract
Description
Claims (12)
- 一种眼睛类型检测方法,所述方法包括:在确定目标对象正视图像采集设备的情况下,获取所述图像采集设备采集的所述目标对象的正脸图像;分别确定所述正脸图像中所述目标对象的左眼的瞳孔位置和右眼的瞳孔位置;根据所述左眼的瞳孔位置确定所述左眼的注视角度,以及根据所述右眼的瞳孔位置确定所述目标对象的右眼的注视角度;确定所述左眼的注视角度与所述右眼的注视角度之间的角度差异;在所述角度差异超过第一预定角度范围情况下,将所述左眼和所述右眼中所述注视角度的绝对值较大的一者,确定为所述正脸图像中的斜视眼;根据所述正脸图像中的斜视眼标定所述目标对象的眼睛斜视类型。
- 根据权利要求1所述的方法,其中,所述正脸图像包括所述图像采集设备采集的所述目标对象的视频流中的多帧正脸图像;所述根据所述正脸图像中的斜视眼标定所述目标对象的眼睛斜视类型,包括:在所述多帧正脸图像中,确定左眼为斜视眼的图像的帧数达到预定阈值的情况下,标定所述目标对象的眼睛类型为左眼斜视;或者在所述多帧正脸图像中,确定右眼为斜视眼的图像的帧数达到预定阈值的情况下,标定所述目标对象的眼睛类型为右眼斜视。
- 根据权利要求1所述的方法,其中,所述正脸图像包括所述图像采集设备采集的所述目标对象的视频流中的N帧正脸图像,N为预定正整数;所述方法还包括:在所述角度差异未超过第一预定角度范围的情况下,确定所述正脸图像中的双眼为非斜视眼;所述根据所述正脸图像中的斜视眼标定所述目标对象的眼睛斜视类型,包括:在所述N帧正脸图像中,对确定双眼为非斜视眼的图像的第一帧数、确定左眼为斜视眼的图像的第二帧数、确定右眼为斜视眼的图像的第三帧数进行比较;在所述第一帧数大于所述第二帧数和所述第三帧数的情况下,标定所述目标对象的双眼类型为双眼非斜视;或者在所述第一帧数小于所述第二帧数和所述第三帧数中的任意一个的情况下,标定所述第二帧数和所述第三帧数中较大的一个对应的正脸图像中的斜视眼为所述目标对象的斜视眼。
- 根据权利要求3所述的方法,其中,所述N帧正脸图像为所述视频流中任意两帧的时序差异均不超过预设时长的N帧正脸图像。
- 根据权利要求1至4中任一所述的方法,其中,所述根据所述左眼的瞳孔位置 确定所述左眼的注视角度,以及根据所述右眼的瞳孔位置确定所述右眼的注视角度,包括:根据所述图像采集装置的内参数,确定所述正脸图像中左眼的瞳孔中心的位置在所述图像采集装置的坐标系中的第一位置,以及所述正脸图像中右瞳孔中心的位置在所述图像采集装置的坐标系中的第二位置;根据所述第一位置与所述图像采集装置的坐标系的坐标原点之间的连线,与所述图像采集装置的成像面的法线之间的夹角,确定所述左眼的注视角度;根据所述第二位置与所述图像采集装置的坐标系的坐标原点之间的连线,与所述图像采集装置的成像面的法线之间的夹角,确定所述右眼的注视角度。
- 根据权利要求1至5中任一所述的方法,其中,所述图像采集设备为车辆内部设置的图像采集设备,所述目标对象为所述车辆的驾驶员;所述方法还包括:获取所述车辆的速度以及所述车辆的方向盘的扭转角;在所述速度大于预定速度阈值,并且所述方向盘的扭转角小于预定角度阈值的情况下,确定所述目标对象正视所述图像采集设备;所述在确定目标对象正视图像采集设备的情况下,获取所述图像采集设备采集的所述目标对象的正脸图像,包括:在确定目标对象正视图像采集设备的情况下,响应于所述驾驶员斜视标定功能开启,获取所述图像采集设备采集的所述驾驶员的正脸图像。
- 根据权利要求1至5中任一所述的方法,其中,所述方法还包括:在脸部图像注册过程中,输出请求目标对象正视图像采集设备的第一提示信息;基于所述第一提示信息,获取脸部图像;将满足预定图像质量条件的所述脸部图像,作为目标对象正视图像采集设备的情况下获取的所述目标对象的正脸图像。
- 根据权利要求1至7中任一所述的方法,其中,所述方法还包括:在标定所述目标对象的眼睛类型为左眼斜视或右眼斜视的情况下,根据所述目标对象的非斜视眼的注视信息进行以下至少一项交互:输出所述非斜视眼的注视角度在所述目标对象所处空间内对应的交互对象的信息;在所述目标对象为车辆的驾驶员且车速不为0的情况下,响应于预定时长内所述非斜视眼的注视角度超过第二预定角度范围,输出的第二提示信息。
- 一种眼睛类型检测装置,所述装置包括:第一获取模块,配置为在确定目标对象正视图像采集设备的情况下,获取所述图像采集设备采集的所述目标对象的正脸图像;第一确定模块,配置为分别确定所述正脸图像中所述目标对象的左眼的瞳孔位置和右眼的瞳孔位置;第二确定模块,配置为根据所述左眼的瞳孔位置确定所述左眼的注视角度,以及根 据所述右眼的瞳孔位置确定所述目标对象的右眼的注视角度;第三确定模块,配置为确定所述左眼的注视角度与所述右眼的注视角度之间的角度差异;第四确定模块,配置为在所述角度差异超过第一预定角度范围情况下,将所述左眼和所述右眼中所述注视角度的绝对值较大的一者,确定为所述正脸图像中的斜视眼;标定模块,配置为根据所述正脸图像中的斜视眼标定所述目标对象的眼睛斜视类型。
- 一种计算机设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行如权利要求1至8中任一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求1至8中任一项所述的方法。
- 一种计算机程序产品,所述计算机程序产品包括计算机程序,在所述计算机程序在计算机设备上运行的情况下,使得所述计算机设备执行如权利要求1至8中任一项所述的眼睛类型检测方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210615649.9 | 2022-05-31 | ||
| CN202210615649.9A CN114903424A (zh) | 2022-05-31 | 2022-05-31 | 眼睛类型检测方法及装置、计算机设备、存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023231663A1 true WO2023231663A1 (zh) | 2023-12-07 |
Family
ID=82771157
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/091183 Ceased WO2023231663A1 (zh) | 2022-05-31 | 2023-04-27 | 一种眼睛类型检测方法、装置、计算机设备、存储介质和计算机程序产品 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114903424A (zh) |
| WO (1) | WO2023231663A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117574463A (zh) * | 2023-12-28 | 2024-02-20 | 珠海格力电器股份有限公司 | 终端界面的操作方法、装置和计算机可读存储介质 |
| CN119636579A (zh) * | 2025-01-24 | 2025-03-18 | 广汽本田汽车有限公司 | 基于机器视觉和环境感知的车辆外后视镜调节方法和系统 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114903424A (zh) * | 2022-05-31 | 2022-08-16 | 上海商汤临港智能科技有限公司 | 眼睛类型检测方法及装置、计算机设备、存储介质 |
| CN116098794B (zh) * | 2022-12-30 | 2024-05-31 | 广州视景医疗软件有限公司 | 一种脱抑制视觉训练方法及装置 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109288493A (zh) * | 2017-07-25 | 2019-02-01 | 珠海学院有限公司 | 一种数字化斜视诊断方法、装置和系统 |
| CN112989939A (zh) * | 2021-02-08 | 2021-06-18 | 佛山青藤信息科技有限公司 | 一种基于视觉的斜视检测系统 |
| US20210357024A1 (en) * | 2018-04-28 | 2021-11-18 | Boe Technology Group Co., Ltd. | Geometric parameter measurement method and device thereof, augmented reality device, and storage medium |
| CN114027782A (zh) * | 2021-11-30 | 2022-02-11 | 首都医科大学附属北京同仁医院 | 一种基于虚拟现实和眼动追踪技术的非共同性斜视诊断方法 |
| KR20220053209A (ko) * | 2020-10-22 | 2022-04-29 | 순천향대학교 산학협력단 | 사시 진단의 지원을 위한 사시각의 측정 장치 및 방법 |
| CN114903424A (zh) * | 2022-05-31 | 2022-08-16 | 上海商汤临港智能科技有限公司 | 眼睛类型检测方法及装置、计算机设备、存储介质 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3990619B2 (ja) * | 2002-10-11 | 2007-10-17 | 株式会社東海理化電機製作所 | 顔の向き検知装置 |
| KR102099223B1 (ko) * | 2017-11-28 | 2020-04-09 | 전남대학교산학협력단 | 사시 진단 시스템 및 방법, 시선 영상 획득 시스템, 컴퓨터 프로그램 |
| WO2020161813A1 (ja) * | 2019-02-06 | 2020-08-13 | 三菱電機株式会社 | 情報処理装置、プログラム及び情報処理方法 |
| CN114495252B (zh) * | 2022-01-26 | 2025-07-22 | 上海商汤临港智能科技有限公司 | 视线检测方法、装置、电子设备及存储介质 |
-
2022
- 2022-05-31 CN CN202210615649.9A patent/CN114903424A/zh active Pending
-
2023
- 2023-04-27 WO PCT/CN2023/091183 patent/WO2023231663A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109288493A (zh) * | 2017-07-25 | 2019-02-01 | 珠海学院有限公司 | 一种数字化斜视诊断方法、装置和系统 |
| US20210357024A1 (en) * | 2018-04-28 | 2021-11-18 | Boe Technology Group Co., Ltd. | Geometric parameter measurement method and device thereof, augmented reality device, and storage medium |
| KR20220053209A (ko) * | 2020-10-22 | 2022-04-29 | 순천향대학교 산학협력단 | 사시 진단의 지원을 위한 사시각의 측정 장치 및 방법 |
| CN112989939A (zh) * | 2021-02-08 | 2021-06-18 | 佛山青藤信息科技有限公司 | 一种基于视觉的斜视检测系统 |
| CN114027782A (zh) * | 2021-11-30 | 2022-02-11 | 首都医科大学附属北京同仁医院 | 一种基于虚拟现实和眼动追踪技术的非共同性斜视诊断方法 |
| CN114903424A (zh) * | 2022-05-31 | 2022-08-16 | 上海商汤临港智能科技有限公司 | 眼睛类型检测方法及装置、计算机设备、存储介质 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117574463A (zh) * | 2023-12-28 | 2024-02-20 | 珠海格力电器股份有限公司 | 终端界面的操作方法、装置和计算机可读存储介质 |
| CN119636579A (zh) * | 2025-01-24 | 2025-03-18 | 广汽本田汽车有限公司 | 基于机器视觉和环境感知的车辆外后视镜调节方法和系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114903424A (zh) | 2022-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114903424A (zh) | 眼睛类型检测方法及装置、计算机设备、存储介质 | |
| CN112257696B (zh) | 视线估计方法及计算设备 | |
| CN106598221B (zh) | 基于眼部关键点检测的3d视线方向估计方法 | |
| CN111652086B (zh) | 人脸活体检测方法、装置、电子设备及存储介质 | |
| WO2023272453A1 (zh) | 视线校准方法及装置、设备、计算机可读存储介质、系统、车辆 | |
| CN110991266A (zh) | 一种双目人脸活体检测方法及装置 | |
| CN105205458A (zh) | 人脸活体检测方法、装置及系统 | |
| CN104915656B (zh) | 一种基于双目视觉测量技术的快速人脸识别方法 | |
| CN102149325A (zh) | 视线方向判定装置及视线方向判定方法 | |
| JP2016173313A (ja) | 視線方向推定システム、視線方向推定方法及び視線方向推定プログラム | |
| CN101489467A (zh) | 视线方向检测装置和视线方向检测方法 | |
| CN110781712B (zh) | 一种基于人脸检测与识别的人头空间定位方法 | |
| WO2022257120A1 (zh) | 瞳孔位置的确定方法、装置及系统 | |
| JP2021531601A (ja) | ニューラルネットワーク訓練、視線検出方法及び装置並びに電子機器 | |
| CN118587689B (zh) | 驾驶员疲劳状态检测方法和系统 | |
| CN112329727A (zh) | 一种活体检测方法和装置 | |
| CN103528562A (zh) | 一种基于单摄像头检测人眼与显示终端距离的方法 | |
| CN112183200A (zh) | 一种基于视频图像的眼动追踪方法和系统 | |
| CN110909561A (zh) | 眼睛状态检测系统及眼睛状态检测系统的操作方法 | |
| CN118414658A (zh) | 凝视点获取方法和装置、电子设备和存储介质 | |
| CN114495252A (zh) | 视线检测方法、装置、电子设备及存储介质 | |
| WO2023249694A1 (en) | Object detection and tracking in extended reality devices | |
| US20180055353A1 (en) | Method and apparatus for detecting the viewing direction of a person | |
| JP6906943B2 (ja) | 車載器 | |
| JP2018101212A (ja) | 車載器および顔正面度算出方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23814849 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23814849 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/05/2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23814849 Country of ref document: EP Kind code of ref document: A1 |