CN112987910B - Testing method, device, equipment and storage medium of eyeball tracking equipment - Google Patents

Testing method, device, equipment and storage medium of eyeball tracking equipment Download PDF

Info

Publication number
CN112987910B
CN112987910B CN201911304381.1A CN201911304381A CN112987910B CN 112987910 B CN112987910 B CN 112987910B CN 201911304381 A CN201911304381 A CN 201911304381A CN 112987910 B CN112987910 B CN 112987910B
Authority
CN
China
Prior art keywords
distance
angle information
deviation angle
determining
point
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.)
Active
Application number
CN201911304381.1A
Other languages
Chinese (zh)
Other versions
CN112987910A (en
Inventor
相文
秦林婵
何苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qixin Yiwei Shenzhen Technology Co ltd
Beijing 7Invensun Technology Co Ltd
Original Assignee
Qixin Yiwei Shenzhen Technology Co ltd
Beijing 7Invensun Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qixin Yiwei Shenzhen Technology Co ltd, Beijing 7Invensun Technology Co Ltd filed Critical Qixin Yiwei Shenzhen Technology Co ltd
Priority to CN201911304381.1A priority Critical patent/CN112987910B/en
Publication of CN112987910A publication Critical patent/CN112987910A/en
Application granted granted Critical
Publication of CN112987910B publication Critical patent/CN112987910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/19Sensors therefor

Abstract

The embodiment of the invention discloses a testing method, a testing device, testing equipment and a storage medium of eyeball tracking equipment. The method comprises the following steps: acquiring a vertical distance between eyes of a user and a screen, and determining the vertical distance as a first distance; acquiring a plurality of calculation fixation points generated when a user gazes at a target fixation point; determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information; and determining a test result according to the deviation angle information. According to the technical scheme of the embodiment of the invention, the accuracy and precision of the eyeball tracking equipment are represented by the deviation angle information, so that the accuracy and reliability of the test of the eyeball tracking equipment can be improved.

Description

Testing method, device and equipment of eyeball tracking equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of eyeball tracking, in particular to a testing method, a testing device, testing equipment and a storage medium of eyeball tracking equipment.
Background
Along with the popularization and use of eyeball tracking technology on VR/AR head mounted device and electronic equipment, especially the realization and the development of virtual reality technique, eyeball tracking is regarded as the indispensable integrated technique of VR equipment, and its accuracy and accuracy become gradually and judge a VR equipment performance good and bad must judge the basis. The accuracy refers to the difference between a calculated fixation point and a real fixation point when a user uses the eyeball tracking equipment, and the accuracy refers to the discrete degree of eye movement data when the user continuously focuses on the same target fixation point.
Eyeball tracking, also known as gaze point tracking, is a technique that uses sensors to capture and extract eyeball feature information, measure eye movement, and estimate gaze direction or eye gaze point location. However, when the user uses the device, due to the characteristics of the eyeball tracking technology and the physiological characteristics of the human eyes, the accuracy of eyeball tracking differs with different spatial distribution, and the dispersion degrees of the eye movement data are different. The degree of dispersion of the eye movement data can be expressed as accuracy, which is an important index for determining the stability of the eyeball tracking.
However, since the accuracy and precision testing of the eye tracking equipment is a relatively complex process, there is no official and unified testing procedure. Therefore, there is a need for an eye tracking test method for determining the accuracy and stability of the gaze point of an eye tracking device in a three-dimensional application scene.
Disclosure of Invention
The invention provides a testing method, a testing device, testing equipment and a storage medium of eyeball tracking equipment, and aims to judge the accuracy and stability of a fixation point of the eyeball tracking equipment.
In a first aspect, an embodiment of the present invention provides a method for testing an eyeball tracking device, including:
acquiring a vertical distance between the eyes of a user and a screen, and determining the vertical distance as a first distance;
the method comprises the steps of obtaining a plurality of calculation fixation points generated when a user gazes at a target fixation point, wherein the target fixation point is a point displayed on a screen watched by the user, and the calculation fixation points are points calculated according to a sight tracking technology and watched by the user;
determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information;
and determining a test result according to the deviation angle information.
Further, the acquiring a plurality of calculated gaze points generated when the user gazes at the target gaze point includes:
acquiring a plurality of eye images generated when a user watches a target fixation point;
and determining a plurality of calculation fixation points according to the plurality of eye images.
Further, the acquiring a plurality of calculated gaze points generated when the user gazes at the target gaze point includes:
acquiring a gazing angle of a user, and comparing the gazing angle with a set maximum field angle;
and reserving the calculated fixation point with the fixation angle smaller than the set maximum field angle.
Further, the obtaining of the gaze angle of the user includes:
acquiring the eye parts of the user and the drop foot point of the screen;
obtaining the distance between the calculation gazing point and the foot drop point, and determining the distance as a second distance;
acquiring the ratio of the second distance to the first distance, and determining the ratio as the first ratio;
and performing arc tangent calculation on the first ratio to obtain a gazing angle of the user, wherein the gazing angle represents a gazing deviation angle of the user relative to the front-of-sight.
Further, determining deviation angle information from at least one of the plurality of calculated gaze points, the target gaze point and the first distance comprises:
determining a central fixation point according to the plurality of calculation fixation points;
acquiring the distance between the central fixation point and the target fixation point, and determining the distance as a third distance;
obtaining the distances between the plurality of calculated fixation points and the central fixation point respectively to obtain a plurality of fourth distances;
and determining deviation angle information according to the first distance, the third distance and the plurality of fourth distances.
Further, determining a central gaze point from the plurality of calculated gaze points comprises:
calculating the horizontal coordinate average value of a plurality of calculation fixation points, and taking the horizontal coordinate average value as the horizontal coordinate of the central fixation point;
and calculating the mean value of the vertical coordinates of the plurality of calculation fixation points, and taking the mean value of the vertical coordinates as the vertical coordinate of the central fixation point.
Further, determining deviation angle information according to the first distance, the third distance and the plurality of fourth distances, including:
acquiring the ratio of the third distance to the first distance, and determining the ratio as a second ratio;
and performing arc tangent calculation on the second ratio to obtain first deviation angle information.
Further, determining deviation angle information according to the first distance, the third distance and the plurality of fourth distances, including:
obtaining the ratio of the plurality of fourth distances to the first distance respectively, and determining the ratio as a plurality of third ratios;
performing arc tangent calculation on the third ratios respectively to obtain second deviation angle information;
and acquiring an average value of the plurality of second deviation angle information to acquire second target deviation angle information.
Further, when the target fixation point is plural, determining deviation angle information according to the first distance, the third distance and the fourth distance, including:
the method includes the steps of obtaining a plurality of first deviation angle information corresponding to a plurality of target fixation points respectively, calculating an average value of the plurality of first deviation angle information, and taking the average value of the plurality of first deviation angle information as new first deviation angle information.
Further, when the target fixation point is plural, determining deviation angle information according to the first distance, the third distance and the fourth distance, including:
and acquiring a plurality of second target deviation angle information corresponding to the plurality of target fixation points respectively, calculating an average value of the plurality of second target deviation angle information, and taking the average value of the plurality of second target deviation angle information as new second target deviation angle information.
Further, determining a test result according to the deviation angle information, comprising:
if the first deviation angle information is smaller than a first preset standard value and/or the second deviation angle information is smaller than a second preset standard value, the determined test result is qualified; otherwise, the determined test result is not qualified.
In a second aspect, an embodiment of the present invention further provides a testing apparatus for an eye tracking device, where the testing apparatus for an eye tracking device includes:
the first distance determining module is used for acquiring the vertical distance between the eyes of the user and the screen and determining the vertical distance as a first distance;
the system comprises a fixation point acquisition module, a fixation point acquisition module and a fixation point acquisition module, wherein the fixation point acquisition module is used for acquiring a plurality of calculation fixation points generated when a user gazes at a target fixation point, the target fixation point is a point displayed on a screen watched by the user, and the calculation fixation point is a point watched by the user calculated according to a sight tracking technology;
the angle information determining module is used for determining deviation angle information according to the plurality of calculation fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information;
and the test result determining module is used for determining a test result according to the deviation angle information.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for testing an eye tracking device as provided in any of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for testing an eye tracking device according to any of the embodiments of the present invention.
According to the embodiment of the invention, the vertical distance between the eyes of the user and the screen is obtained and determined as the first distance; the method comprises the steps of obtaining a plurality of calculation fixation points generated when a user watches a target fixation point, wherein the target fixation point is a point displayed on a screen watched by the user, and the calculation fixation point is a point watched by the user calculated according to a sight tracking technology; determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information; and determining a test result according to the deviation angle information. According to the testing method provided by the embodiment, the plurality of calculated fixation points are determined according to the plurality of eye images, and the deviation angle information is obtained according to the plurality of calculated fixation points so as to represent the accuracy and precision of the eyeball tracking equipment, so that the accuracy of testing the eyeball tracking equipment is improved. And determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance, representing the accuracy and the precision of the eyeball tracking equipment through the deviation angle information, and improving the accuracy and the reliability of the test of the eyeball tracking equipment.
Drawings
Fig. 1 is a flowchart of a testing method of an eye tracking device according to a first embodiment of the invention;
fig. 2 is a flowchart of a testing method of an eyeball tracking apparatus in the second embodiment of the invention;
fig. 3 is a flowchart of a testing method of an eyeball tracking apparatus in a third embodiment of the invention;
fig. 4 is a schematic structural diagram of a testing apparatus of an eyeball tracking device in a fourth embodiment of the invention;
fig. 5 is a schematic structural diagram of an apparatus in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them. The test method can also be applied to the test of AR equipment and telemetric eyeball tracking equipment.
Example one
Fig. 1 is a flowchart of a testing method for an eyeball tracking apparatus according to an embodiment of the present invention, the method is applicable to a situation of testing the eyeball tracking apparatus, the method can be executed by a testing device of the eyeball tracking apparatus, the testing device of the eyeball tracking apparatus can be implemented by software and/or hardware, the testing device of the eyeball tracking apparatus can be configured on a computing apparatus, and the method specifically includes the following steps:
step 110, a vertical distance between the eyes of the user and the screen is obtained and determined as a first distance.
The screen may be a virtual screen or a projection screen of the VR device, or may be any display screen with a display function.
Optionally, the vertical distance between the eyes of the user and the screen may be obtained by using methods such as distance measurement by a distance sensor, electromagnetic wave distance measurement, or image algorithm distance measurement. Specifically, the process of obtaining the first distance may be making a perpendicular line to the screen through the user's eyes, and taking a distance between the user's eyes and a perpendicular foot of the perpendicular line as the first distance.
And 120, acquiring a plurality of calculated fixation points generated when the user gazes at a target fixation point, wherein the target fixation point is a point displayed on a screen gazed by the user, and the calculated fixation points are points calculated according to a sight tracking technology and gazed by the user.
In this embodiment, the plurality of calculated gaze points may be obtained according to a gaze tracking technique, which may also be referred to as eye movement tracking, which is a technique for estimating a gaze direction and/or a gaze point of an eye by measuring eye movement. The method specifically comprises the steps that an eye image of a user to be detected is captured in real time, and the relative position of eye features is analyzed through the eye image of the user to be detected, so that the fixation point information of the user to be detected is obtained; or detecting eyeball movement through a capacitance value between the eyeballs and the capacitance plate to obtain the information of the fixation points of the user to be detected; or electrodes are arranged on the bridge of the nose, the forehead, the ears or the earlobes, eyeball movement is detected through a detected myoelectric current signal mode, and information of the fixation point of the user to be detected is obtained. Of course, other methods for acquiring the gaze point information of the user to be detected in real time may be adopted, which all fall within the scope of the present invention.
Taking the optical recording method as an example, the method for acquiring a plurality of calculated gaze points may comprise the steps of:
step 1201, acquiring a plurality of eye images generated when the user gazes at the target fixation point.
Optionally, the target fixation point may be multiple and may be located at any position of the whole screen;
optionally, the target fixation point should have a proper size, the color clearly contrasts with the background color, and the size and the depth are in a proper proportion.
Specifically, when the user gazes at the target fixation point, the eye tracking device collects eye images of the user at fixed time intervals, thereby obtaining a plurality of eye images.
Optionally, for example, if the display duration of the target gaze point is 2 seconds, the eye tracking device may perform eye pattern acquisition within a duration of 0.5 to 1.5 seconds, and not acquire eye patterns in the former and latter two periods of time, so as to prevent the user from not looking at the target gaze point urgently or getting away from the target gaze point too early, which may cause inaccurate gaze capture.
Step 1202, determining a plurality of target calculation fixation points according to the plurality of eye images.
Specifically, eye features are extracted from the collected multiple eye images and used for establishing a fixation point estimation model, and multiple calculation fixation points are obtained through calculation.
In this embodiment, the eye tracking apparatus includes an infrared camera and a near-infrared light source. Tracking of the eye can be achieved by optical recording. The principle of the optical recording method is that an infrared camera is used for recording the eye movement condition of a tested person, namely, an eye image capable of reflecting the eye movement is obtained, and eye features are extracted from the obtained eye image to be used for establishing an estimation model of a sight line. Wherein the eye features may include: pupil location, pupil shape, iris location, iris shape, eyelid location, canthus location, spot location (or purkinje spot), and the like. Optical recording methods include pupil-cornea reflectometry. The principle of the pupil-cornea reflection method is that a near-infrared light source irradiates an eye, an infrared camera shoots the eye, and meanwhile, a reflection point of the light source on the cornea, namely a light spot, is shot, so that an eye image with the light spot is obtained.
Along with the rotation of the eyeball, the relative position relationship between the pupil center and the position coordinates of the light spot in the image changes. The collected eye images with the light spots can reflect the position change of the pupil light spots, and the sight direction is estimated according to the pupil light spots, so that the gazing direction of the user is obtained.
A plurality of calculation fixation points are determined according to the eye images, and deviation angle information is obtained according to the calculation fixation points so as to represent the accuracy and precision of the eyeball tracking equipment, so that the accuracy of testing the eyeball tracking equipment is improved.
Of course, the eye tracking device may be a MEMS micro-electromechanical system, including, for example, a MEMS infrared scanning mirror, an infrared light source, an infrared receiver; or a capacitance sensor which detects the eyeball movement through the capacitance value between the eyeball and the capacitance plate; and may be myoelectric current detector for detecting eye movement via detected myoelectric current signal pattern by placing electrodes at bridge of nose, forehead, ear or earlobe.
At present, there are various methods for the gaze tracking technology to acquire the gaze information of the user, which are not described in detail herein.
Step 130, determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information includes first deviation angle information and second target deviation angle information.
The first deviation angle information may be used to characterize an accuracy of the eye tracking apparatus, and the second target deviation angle information may be used to characterize an accuracy of the eye tracking apparatus.
Specifically, a central gaze point is determined according to the plurality of calculation gaze points, first deviation angle information is determined according to the distance between the central gaze point and the target gaze point and the first distance, a plurality of second deviation angle information is determined according to the distance between the plurality of calculation gaze points and the central gaze point and the first distance, then an average value of the plurality of second deviation angle information is obtained, and second target deviation angle information is obtained.
And step 140, determining a test result according to the deviation angle information.
Specifically, when the first deviation angle information is smaller than a first preset standard value and/or the second deviation angle information is smaller than a second preset standard value, the test result of the eyeball tracking equipment is determined to be qualified, otherwise, the test result of the eyeball tracking equipment is determined to be unqualified.
Alternatively, the first predictive criterion value may be 0.5 ° and the second predictive criterion value may be 0.1 °.
It should be noted that the first prediction standard value and the second prediction standard value may be set to other values, and the specific set value is determined according to the accuracy of the design of the device itself and the specific requirements of the user.
According to the technical scheme of the embodiment, the vertical distance between the eyes of the user and the screen is obtained and determined as the first distance; the method comprises the steps of obtaining a plurality of calculation fixation points generated when a user watches a target fixation point, wherein the calculation fixation points are points watched by the user calculated according to a sight tracking technology; determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information; and determining a test result according to the deviation angle information. According to the testing method provided by the embodiment, the plurality of calculated fixation points are determined according to the plurality of eye images, and the deviation angle information is obtained according to the plurality of calculated fixation points so as to represent the accuracy and precision of the eyeball tracking equipment, so that the accuracy of testing the eyeball tracking equipment is improved. And determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance, representing the accuracy and precision of the eyeball tracking equipment through the deviation angle information, and improving the reliability of testing the eyeball tracking equipment.
Example two
Fig. 2 is a flowchart of a testing method of an eyeball tracking apparatus according to a second embodiment of the invention. The technical scheme of the embodiment is further detailed on the basis of the technical scheme, and specifically comprises the following steps:
step 210, a vertical distance between the eyes of the user and the screen is obtained and determined as a first distance.
And step 220, generating a plurality of calculation fixation points when the user watches the target fixation point, wherein the target fixation point is a point displayed on a screen watched by the user, and the calculation fixation points are points calculated according to a sight tracking technology and watched by the user.
The specific implementation of the above steps is the same as steps 110-120, and the description is not repeated here.
And step 230, acquiring the gazing angle of the user, and comparing the gazing angle with the set maximum field angle.
The gazing angle of the user can be understood as a deviation angle between a sight line when the user gazes at the target gazing point and a sight line when the user looks directly at the screen. The set maximum field angle may be understood as the maximum range that the user is allowed to gaze when the eye tracking device is tested.
Specifically, the process of obtaining the gaze angle of the user may be: firstly, acquiring the eye parts of the user and the drop foot point of the screen; obtaining the distance between the calculation gazing point and the foot drop point, and determining the distance as a second distance; acquiring the ratio of the second distance to the first distance, and determining the ratio as the first ratio; and performing arc tangent calculation on the first ratio to obtain the gazing angle of the user, wherein the gazing angle represents the gazing deviation angle of the user relative to the front of the front sight, and finally comparing a plurality of gazing angles obtained by a plurality of eye images with the set maximum field angle respectively.
The method for acquiring the drop foot point comprises the following steps: and (3) making a perpendicular line perpendicular to the screen through the positions of the eyes of the user, wherein the intersection point of the perpendicular line and the screen is a foot hanging point. The position of the eyes of the user can be the position of the left eye of the user, the position of the right eye of the user or the position of the middle point of the connecting line of the two eyes of the user.
Illustratively, let any one of the n calculated gaze points have coordinates of (x) i ,y i ) Wherein i can be any positive integer between 1 and n, and the coordinate of the foot point is (C) x ,C y ) Then, the pixel difference PixelCenter between the gazing point and the nearest gazing point is calculated as:
Figure BDA0002322682780000111
if the first distance is D and the ratio of the pixels converted into the distances is screen size, the eyeball deflection angle of a single user with the gaze point calculated is:
Figure BDA0002322682780000112
the screen size is a set proportion value, and is mainly related to the resolution of the image, and the resolution ppi (pixel per inch) expresses the number of pixels per inch of the image. Illustratively, ppi =300 means 300 pixels per inch, and 1 inch =2.54 cm, the ScreenSize =2.54/ppi can be scaled according to the above relationship, which is the scaled ratio of pixels to cm in the image at the current resolution.
And step 240, reserving the calculated fixation point with the fixation angle smaller than the set maximum field angle.
When the gaze angle is greater than or equal to the set maximum field angle, the fact that the sight line of the user drifts and does not fall in the screen or at the edge of the screen is indicated, the data collected at the position cannot be used as a sample for judging the accuracy and stability of the eyeball tracking equipment, and therefore the calculated gaze point with the gaze angle smaller than the set maximum field angle is selected.
Alternatively, the set maximum angle of view may be any value between 40 ° and 45 °. Other angle values are also possible.
Step 250, determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information includes first deviation angle information and second target deviation angle information.
And step 260, determining a test result according to the deviation angle information.
According to a large amount of experimental data, the accuracy and the precision of the eye tracking equipment are stable within a certain range, and the test result is not accurate after the accuracy exceeds the certain range. This range is defined empirically as the maximum angle of deflection of the eyeball. According to the technical scheme, the calculated fixation points are screened, the calculated fixation points with the fixation angle larger than or equal to the set maximum field angle are removed, and the problem that a user does not watch a target fixation point due to inattention or sampling inaccuracy due to fixation point drift during fixation conversion among different target fixation points is avoided.
EXAMPLE III
Fig. 3 is a flowchart of a testing method of an eyeball tracking device according to a third embodiment of the invention. The technical scheme of the embodiment is further refined on the basis of the technical scheme, and specifically comprises the following steps:
and 310, acquiring a vertical distance between the eyes of the user and the screen, and determining the vertical distance as a first distance.
And 320, acquiring a plurality of calculated fixation points generated when the user gazes at the target fixation point, wherein the target fixation point is a point displayed on a screen watched by the user, and the calculated fixation point is a point watched by the user calculated according to a sight tracking technology.
The specific implementation of the above steps is the same as steps 110-120, and the description is not repeated here.
Step 330, determining a central gaze point from the plurality of calculated gaze points.
A central gaze point is understood to mean the central position of a plurality of calculated gaze points. Specifically, the central gaze point may be obtained by: calculating the horizontal coordinate average value of a plurality of calculation fixation points, and taking the horizontal coordinate average value as the horizontal coordinate of the central fixation point; and calculating the mean value of the vertical coordinates of the plurality of calculated fixation points, and taking the mean value of the vertical coordinates as the vertical coordinate of the central fixation point.
Illustratively, let us assume that the coordinates of the gaze point are calculated as (x) 1 ,y 1 )、(x 2 ,y 2 )……(x n ,y n ) Wherein n is the number of the calculated fixation points corresponding to a single target fixation point, and the coordinate of the central fixation point is (X, Y), then the coordinate calculation mode of the central fixation point is as follows:
Figure BDA0002322682780000131
and 340, acquiring the distance between the central fixation point and the target fixation point, and determining the distance as a third distance.
Illustratively, let the central fixation point coordinate be
Figure BDA0002322682780000132
The coordinate of the target fixation point is (T) x ,T y ) According to the pythagorean theorem, the pixel difference PixelError from the central gazing point to the target gazing point is:
Figure BDA0002322682780000133
the ratio of the pixel conversion into the distance is screen size, and the pixel difference value from the central gazing point to the target gazing point is converted into the distance screen size × PixelError, that is, the third distance.
And step 350, obtaining the distances between the plurality of calculated fixation points and the central fixation point respectively, and obtaining a plurality of fourth distances.
Specifically, the distances between each of the calculated gazing points and the central gazing point are calculated as a plurality of different fourth distances.
Exemplarily, let the ith coordinate of the n calculated gazing points be (x) i ,y i ) Wherein i can be any positive integer between 1 and n, and the coordinate of the central fixation point is
Figure BDA0002322682780000134
Calculating the pixel difference PixelErri from the fixation point to the central fixation point according to the ith Pythagorean theorem i Comprises the following steps:
Figure BDA0002322682780000135
the proportional value of the distance converted by the pixel is Screen size, and the pixel difference value from the ith calculated fixation point to the central fixation point is converted into the distance Screen size pixel Erri i I.e. the ith fourth distance. A plurality of fourth distances is obtained according to the above formula.
And step 360, determining deviation angle information according to the first distance, the third distance and the plurality of fourth distances.
Wherein the deviation angle information includes first deviation angle information and second target deviation angle information.
Specifically, a ratio of the third distance to the first distance is obtained and determined as a second ratio; and performing arc tangent calculation on the second ratio to obtain first deviation angle information.
Wherein the first deviation angle information indicates an accuracy of the eye tracking apparatus, and the smaller the first deviation angle is, the higher the accuracy of the eye tracking apparatus is.
For example, if the first distance is D, the first deviation angle information angleraccuracy is:
Figure BDA0002322682780000141
specifically, the ratio of each of the plurality of fourth distances to the first distance is obtained and determined as a plurality of third ratios; performing arc tangent calculation on the third ratios respectively to obtain second deviation angle information; and acquiring an average value of the plurality of second deviation angle information to acquire second target deviation angle information.
Wherein the second target deviation angle information indicates the accuracy of the eye tracking device, and the smaller the second target deviation angle is, the smaller the degree of dispersion of the eye movement data is, and the higher the accuracy of the eye tracking device is.
Exemplarily, assuming that the first distance is D, the second deviation angle information singeleangleerri of the ith calculation gazing point i Comprises the following steps:
Figure BDA0002322682780000142
wherein, singleangleErri i It can be understood that the accuracy of the ith calculated point of regard is calculated.
When there are n calculated gazing points for a single target gazing point, n is a positive integer, and the second target deviation angle information anglepecision is:
Figure BDA0002322682780000143
specifically, when there are a plurality of target gaze points, a plurality of first deviation angle information corresponding to the plurality of target gaze points are obtained, an average value of the plurality of first deviation angle information is calculated, and the average value of the plurality of first deviation angle information is used as new first deviation angle information.
Specifically, when the target gaze points are multiple, multiple pieces of second target deviation angle information corresponding to the multiple target gaze points are obtained, an average value of the multiple pieces of second target deviation angle information is calculated, and the average value of the multiple pieces of second target deviation angle information is used as new second target deviation angle information.
And step 370, determining a test result according to the deviation angle information.
The embodiment of this step is the same as step 105, and will not be repeated here.
According to the technical scheme of the embodiment, the deviation angle information is determined according to the plurality of calculated fixation points, the target fixation point and the first distance, the accuracy and precision of the eyeball tracking equipment are represented through the deviation angle information, and the reliability of testing the eyeball tracking equipment can be improved.
Example four
Fig. 4 is a schematic structural diagram of a testing apparatus of an eye tracking device according to a fourth embodiment of the present invention, the testing apparatus of the eye tracking device includes: the first distance determining module 410, the gazing point obtaining module 420, the angle information determining module 430, and the test result determining module 440.
The first distance determining module 410 is configured to obtain a vertical distance between the eyes of the user and the screen, and determine the vertical distance as the first distance; a gaze point obtaining module 420, configured to obtain a plurality of calculated gaze points generated when a user gazes at a target gaze point, where the target gaze point is a point displayed on a screen gazed by the user, and the calculated gaze point is a point gazed by the user calculated according to a gaze tracking technology; an angle information determination module 430, configured to determine deviation angle information according to the plurality of calculated gaze points, the target gaze point, and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information; and a test result determining module 440, configured to determine a test result according to the deviation angle information.
According to the technical scheme, the problem that no official party uniformly tests the accuracy and the accuracy flow of the eyeball tracking equipment at the present stage is solved, and the effect of determining the accuracy and the stability of the fixation point of the eyeball tracking equipment in the three-dimensional application scene is achieved.
Optionally, the gazing point obtaining module 420 includes:
the image acquisition unit is used for acquiring a plurality of eye images generated when a user gazes at a target fixation point;
and the fixation point determining unit is used for determining a plurality of calculation fixation points according to the eye images.
Optionally, the gazing point determining module 420 further includes:
and the gazing angle determining unit is used for acquiring the gazing angle of the user.
And the fixation point selecting unit is used for comparing the fixation angle with the set maximum field angle and reserving the calculation fixation point of which the fixation angle is smaller than the set maximum field angle.
Furthermore, the gaze angle determination unit is also used for acquiring a foot drop point between the eyes of the user and the screen; obtaining the distance between the calculation gazing point and the foot drop point, and determining the distance as a second distance; acquiring the ratio of the second distance to the first distance, and determining the ratio as the first ratio; and performing arc tangent calculation on the first ratio to obtain the gazing angle of the user, wherein the gazing angle represents the gazing deviation angle of the user relative to the front of the front view.
Optionally, the angle information determining module 430 includes:
and the central fixation point determining unit is used for determining a central fixation point according to the plurality of calculation fixation points.
And the third distance determining unit is used for acquiring the distance between the central fixation point and the target fixation point and determining the distance as a third distance.
And the fourth distance determining unit is used for acquiring the distances between the plurality of calculated fixation points and the central fixation point respectively to acquire a plurality of fourth distances.
And the angle information determining unit is used for determining deviation angle information according to the first distance, the third distance and the plurality of fourth distances.
Further, the central fixation point determining unit is further configured to calculate an average of abscissa of the plurality of calculated fixation points, and use the average of the abscissa as an abscissa of the central fixation point; and calculating the mean value of the vertical coordinates of the plurality of calculated fixation points, and taking the mean value of the vertical coordinates as the vertical coordinate of the central fixation point.
Further, the angle information determining unit is further configured to obtain a ratio of the third distance to the first distance, and determine the ratio as a second ratio; and performing arc tangent calculation on the second ratio to obtain first deviation angle information.
Further, the angle information determining unit is further configured to obtain ratios of the plurality of fourth distances to the first distance, and determine the ratios as a plurality of third ratios; performing arc tangent calculation on the third ratios respectively to obtain second deviation angle information; and acquiring an average value of the plurality of second deviation angle information to acquire second target deviation angle information.
Further, the angle information determining unit is further configured to, when the target gaze point is multiple, obtain multiple first deviation angle information corresponding to the multiple target gaze points, respectively, and calculate an average value of the multiple first deviation angle information, and use the average value of the multiple first deviation angle information as new first deviation angle information.
Further, the angle information determining unit is further configured to, when the target gaze point is multiple, obtain multiple second target deviation angle information corresponding to the multiple target gaze points, respectively, and calculate an average value of the multiple second target deviation angle information, and use the average value of the multiple second target deviation angle information as new second target deviation angle information.
Optionally, the test result determining module 440 is specifically configured to: if the first deviation angle information is smaller than a first preset standard value and/or the second deviation angle information is smaller than a second preset standard value, determining that the test result is qualified; otherwise, the determined test result is not qualified.
The testing device for the eyeball tracking equipment provided by the embodiment of the invention can execute the testing method for the eyeball tracking equipment provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention, as shown in fig. 5, the apparatus includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 of the apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 5.
The memory 520 may be used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the testing method of the eye tracking apparatus according to the embodiments of the present invention (e.g., the first distance determining module 410, the gazing point obtaining module 420, the angle information determining module 430, and the testing result determining module 440). The processor 510 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory 520, so as to implement the testing method of the eye tracking device.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computing device, and may include a keyboard and a mouse, etc. The output device 540 may include a display device such as a display screen.
EXAMPLE six
A sixth embodiment of the present invention also provides a storage medium containing computer-executable instructions that, when executed by a computer processor, perform a method for testing an eye tracking apparatus.
Of course, the storage medium containing computer-executable instructions provided by the embodiments of the present invention is not limited to the above method operations, and may also perform related operations in a testing method of an eyeball tracking apparatus provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present invention.
It should be noted that, in the embodiment of the testing apparatus for eyeball tracking equipment, the included units and modules are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. A method of testing an eye tracking device, comprising:
acquiring a vertical distance between the eyes of a user and a screen, and determining the vertical distance as a first distance;
the method comprises the steps of obtaining a plurality of calculation fixation points generated when a user gazes at a target fixation point, wherein the target fixation point is a point displayed on a screen watched by the user, and the calculation fixation points are points calculated according to a sight tracking technology and watched by the user;
determining deviation angle information according to the plurality of calculated fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information;
determining a test result according to the deviation angle information;
wherein the determining deviation angle information from the plurality of calculated gaze points, the target gaze point, and the first distance comprises:
determining a central fixation point according to the plurality of calculation fixation points;
acquiring the distance between the central fixation point and the target fixation point, and determining the distance as a third distance;
obtaining the distances between the plurality of calculated fixation points and the central fixation point respectively to obtain a plurality of fourth distances;
determining deviation angle information according to the first distance, the third distance and the plurality of fourth distances.
2. The method of claim 1, wherein the obtaining a plurality of calculated gaze points generated when a user gazes at a target gaze point comprises:
acquiring a plurality of eye images generated when a user watches a target fixation point;
and determining a plurality of calculation fixation points according to the plurality of eye images.
3. The method of claim 2, wherein the obtaining a plurality of calculated gaze points generated when the user gazes at the target gaze point comprises:
acquiring a gazing angle of a user, and comparing the gazing angle with a set maximum field angle;
and reserving the calculated gazing point with the gazing angle smaller than the set maximum field angle.
4. The method of claim 3, wherein the obtaining the gaze angle of the user comprises:
acquiring the vertical foot points of the eyes of the user and the screen;
obtaining the distance between the calculation fixation point and the foot drop point, and determining the distance as a second distance;
acquiring the ratio of the second distance to the first distance, and determining the ratio as a first ratio;
and performing arc tangent calculation on the first ratio to obtain a gazing angle of the user, wherein the gazing angle represents a gazing deviation angle of the user relative to the front of the front view.
5. The method of claim 1, wherein determining a central gaze point from the plurality of calculated gaze points comprises:
calculating the horizontal coordinate average value of the plurality of calculation fixation points, and taking the horizontal coordinate average value as the horizontal coordinate of the central fixation point;
and calculating the mean value of the vertical coordinates of the plurality of calculation fixation points, and taking the mean value of the vertical coordinates as the vertical coordinate of the central fixation point.
6. The method of claim 1, wherein determining deviation angle information from the first distance, the third distance, and the plurality of fourth distances comprises:
acquiring the ratio of the third distance to the first distance, and determining the ratio as a second ratio;
and performing arc tangent calculation on the second ratio to obtain first deviation angle information.
7. The method of claim 1, wherein determining deviation angle information from the first distance, the third distance, and the plurality of fourth distances comprises:
obtaining ratios of the plurality of fourth distances to the first distance respectively, and determining the ratios as a plurality of third ratios;
performing arc tangent calculation on the third ratios respectively to obtain second deviation angle information;
and acquiring an average value of the plurality of second deviation angle information to acquire second target deviation angle information.
8. The method of claim 6, wherein when the target gaze point is plural, the determining deviation angle information from the first distance, the third distance, and the fourth distances comprises:
the method comprises the steps of obtaining a plurality of first deviation angle information corresponding to a plurality of target fixation points respectively, calculating an average value of the plurality of first deviation angle information, and taking the average value of the plurality of first deviation angle information as new first deviation angle information.
9. The method of claim 7, wherein when the target gaze point is plural, the determining deviation angle information from the first distance, the third distance, and the fourth distances comprises:
and acquiring a plurality of second target deviation angle information corresponding to the plurality of target fixation points respectively, calculating an average value of the plurality of second target deviation angle information, and taking the average value of the plurality of second target deviation angle information as new second target deviation angle information.
10. The method of claim 1, wherein determining a test result from the deviation angle information comprises:
if the first deviation angle information is smaller than a first preset standard value and/or the second deviation angle information is smaller than a second preset standard value, determining that the test result is qualified; otherwise, the determined test result is not qualified.
11. A test apparatus for an eye-tracking device, comprising:
the first distance determining module is used for acquiring the vertical distance between the eyes of the user and the screen and determining the vertical distance as a first distance;
the system comprises a fixation point acquisition module, a fixation point acquisition module and a fixation point acquisition module, wherein the fixation point acquisition module is used for acquiring a plurality of calculation fixation points generated when a user gazes at a target fixation point, the target fixation point is a point displayed on a screen watched by the user, and the calculation fixation point is a point watched by the user calculated according to a sight tracking technology;
an angle information determination module for determining deviation angle information according to the plurality of calculation fixation points, the target fixation point and the first distance; the deviation angle information comprises first deviation angle information and second target deviation angle information;
the test result determining module is used for determining a test result according to the deviation angle information;
wherein the angle information determining module includes:
a central fixation point determining unit for determining a central fixation point according to the plurality of calculation fixation points;
a third distance determining unit, configured to obtain a distance between the central gaze point and the target gaze point, and determine the distance as a third distance;
a fourth distance determining unit, configured to obtain distances between the plurality of calculated gaze points and the central gaze point, respectively, to obtain a plurality of fourth distances;
an angle information determining unit configured to determine deviation angle information according to the first distance, the third distance, and the plurality of fourth distances.
12. A test apparatus for an eye-tracking apparatus, the apparatus comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of testing an eye tracking apparatus according to any one of claims 1-10.
13. A storage medium containing computer-executable instructions for performing a method of testing an eye tracking device according to any one of claims 1-10 when executed by a computer processor.
CN201911304381.1A 2019-12-17 2019-12-17 Testing method, device, equipment and storage medium of eyeball tracking equipment Active CN112987910B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304381.1A CN112987910B (en) 2019-12-17 2019-12-17 Testing method, device, equipment and storage medium of eyeball tracking equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304381.1A CN112987910B (en) 2019-12-17 2019-12-17 Testing method, device, equipment and storage medium of eyeball tracking equipment

Publications (2)

Publication Number Publication Date
CN112987910A CN112987910A (en) 2021-06-18
CN112987910B true CN112987910B (en) 2023-04-07

Family

ID=76342484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304381.1A Active CN112987910B (en) 2019-12-17 2019-12-17 Testing method, device, equipment and storage medium of eyeball tracking equipment

Country Status (1)

Country Link
CN (1) CN112987910B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589532A (en) * 2021-07-30 2021-11-02 歌尔光学科技有限公司 Display calibration method and device of head-mounted equipment, head-mounted equipment and storage medium
CN114578975B (en) * 2022-05-09 2022-07-22 南昌虚拟现实研究院股份有限公司 Method and system for evaluating quality of fixation point of eye movement tracking equipment
CN114646457B (en) * 2022-05-20 2022-08-12 南昌虚拟现实研究院股份有限公司 Eye movement tracking accuracy testing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003307774A (en) * 2002-04-17 2003-10-31 Canon Inc Optical apparatus with line-of-sight detecting function
CN104808836A (en) * 2014-01-23 2015-07-29 京瓷办公信息系统株式会社 Electronic Device, Method, and Program for Supporting Touch Panel Operation
CN108968907A (en) * 2018-07-05 2018-12-11 四川大学 The bearing calibration of eye movement data and device
CN109558012A (en) * 2018-12-26 2019-04-02 北京七鑫易维信息技术有限公司 Eyeball tracking method and device
CN109976514A (en) * 2019-03-01 2019-07-05 四川大学 Eye movement data bearing calibration based on eyeball error model
CN110427101A (en) * 2019-07-08 2019-11-08 北京七鑫易维信息技术有限公司 Calibration method, device, equipment and the storage medium of eyeball tracking

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10073518B2 (en) * 2013-08-19 2018-09-11 Qualcomm Incorporated Automatic calibration of eye tracking for optical see-through head mounted display

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003307774A (en) * 2002-04-17 2003-10-31 Canon Inc Optical apparatus with line-of-sight detecting function
CN104808836A (en) * 2014-01-23 2015-07-29 京瓷办公信息系统株式会社 Electronic Device, Method, and Program for Supporting Touch Panel Operation
CN108968907A (en) * 2018-07-05 2018-12-11 四川大学 The bearing calibration of eye movement data and device
CN109558012A (en) * 2018-12-26 2019-04-02 北京七鑫易维信息技术有限公司 Eyeball tracking method and device
CN109976514A (en) * 2019-03-01 2019-07-05 四川大学 Eye movement data bearing calibration based on eyeball error model
CN110427101A (en) * 2019-07-08 2019-11-08 北京七鑫易维信息技术有限公司 Calibration method, device, equipment and the storage medium of eyeball tracking

Also Published As

Publication number Publication date
CN112987910A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112987910B (en) Testing method, device, equipment and storage medium of eyeball tracking equipment
CN109008944B (en) Sight line measuring device, ROM, and sight line measuring method
US9398848B2 (en) Eye gaze tracking
US20110228975A1 (en) Methods and apparatus for estimating point-of-gaze in three dimensions
KR101255219B1 (en) Method of eye-gaze tracking and system adopting the method
KR102099223B1 (en) System and method for diagnosing for strabismus, aparratus for acquiring gaze image, computer program
JP2018196730A (en) Method and system for monitoring eye position
JP6604271B2 (en) Gaze position detection device, gaze position detection method, and computer program for gaze position detection
CN114931353B (en) Convenient and fast contrast sensitivity detection system
JP2019215688A (en) Visual line measuring device, visual line measurement method and visual line measurement program for performing automatic calibration
JP6881755B2 (en) Line-of-sight detection calibration methods, systems, and computer programs
Tatler et al. Eye movement recordings in natural settings
AU2014234955A1 (en) Automatic detection of task transition
JP5719216B2 (en) Gaze measurement apparatus and gaze measurement program
JP2002000567A (en) Method of measuring pupil center position and method of detecting view point position
EP3922166B1 (en) Display device, display method and display program
CN115471903A (en) Cognitive assessment system
EP4185184A1 (en) Method for determining a coronal position of an eye relative to the head
CN113491502A (en) Eyeball tracking calibration inspection method, device, equipment and storage medium
CN114740966A (en) Multi-modal image display control method and system and computer equipment
CN112784655A (en) Living body detection method and device based on gazing information and detection equipment
JP2021096537A (en) Biological information acquisition device, terminal device, biological information acquisition method, biological information acquisition program, and computer readable recording medium
CN109634431B (en) Medium-free floating projection visual tracking interaction system
CN103764015A (en) Blink measurement device, method therefor and program
RU2818028C1 (en) Method and device for calibration in oculography

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant