Method, device, system and computer-readable medium for correcting and calibrating pupil position
By obtaining and correcting the abnormal coordinates of the calibrated pupil in VR technology, the problem of incorrect calculation of the sight point caused by the abnormal position of the calibrated pupil is solved, and the VR experience is improved.
Patent Information
- Application Number
- CN201910555541.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-25
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-03-21
AI Technical Summary
In VR technology, abnormal calibration pupil position will lead to errors in the calculation of the line of sight, requiring recalibration, which reduces the VR experience.
By obtaining multiple calibration points arranged according to preset rules on the target screen and the pupil coordinates of the human eye when looking at these calibration points, calculate the distance between the calibration points and the pupil, determine and correct the abnormal pupil coordinates, and use the relative position of the normal pupil to Correct the positional relationship to avoid recalibration.
It effectively avoids the need for users to re-calibrate, reduces calibration time, and improves the VR experience.
Smart Images

Figure CN112132755B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a method, device, system and computer-readable medium for correcting and calibrating pupil position. Background Art
[0002] VR (Virtual Reality) technology is a computer technology that can create and experience a virtual world, and it has been widely used in the field of eye tracking.
[0003] In practical applications, VR devices can estimate the line of sight of distant devices based on the pupil center coordinates and corneal reflection in the 3D approximate spherical model based on the eyeball. Currently, a nonlinear line of sight mapping model can be used to locate the pupil center. Before calculating the nonlinear line of sight mapping model, a calibration process is required to obtain the mapping relationship between the pupil position and the target screen, so as to calculate the coordinates of the user's gaze point on the target screen based on the pupil center position obtained when the user observes any point on the screen.
[0004] However, if there is an abnormal deviation in the position of the pupil during the calibration process, the obtained mapping model will not be able to correctly calculate the line of sight point, and re-calibration is required, which will greatly reduce the VR experience.
[0005] Therefore, how to correct the abnormally positioned calibrated pupil, thereby eliminating the need for users to recalibrate and improving the VR experience, is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0006] The present invention provides a method, device, system and computer-readable medium for correcting and calibrating pupil position, so as to solve the problem that the sight point cannot be correctly calculated due to abnormal calibrated pupil position.
[0007] In a first aspect, a method for correcting and calibrating a pupil position provided in an embodiment of the present invention includes:
[0008] Acquire first coordinates of a plurality of calibration points arranged according to a preset rule on a target screen, and second coordinates of a calibration pupil when a human eye is gazing at each of the calibration points, wherein the first coordinates refer to the coordinates of each of the calibration points in a coordinate system established on the target screen, and the second coordinates refer to the coordinates of a calibration pupil corresponding to each of the calibration points in a coordinate system established in the acquired human eye image;
[0009] Determining the distance between the calibration points and the distance between the calibration pupils respectively according to the first coordinates of the calibration points and the second coordinates of the calibration pupils;
[0010] Determine the second coordinate of the abnormally positioned calibration pupil according to the relationship between the distance between any two of the calibration points and the distance between the two calibration pupils corresponding to the any two calibration points;
[0011] According to the second coordinate of the abnormally positioned calibrated pupil and the relative position relationship between the calibrated pupils in normal positions, the second coordinate of the abnormally positioned calibrated pupil is corrected.
[0012] In a possible implementation, in the method for correcting the calibrated pupil position provided in an embodiment of the present invention, determining the second coordinate of the abnormally positioned calibrated pupil according to the relationship between the distance between any two of the calibrated points and the distance between the two calibrated pupils corresponding to the any two calibrated points specifically includes:
[0013] The following steps are performed for each of the calibrated pupils:
[0014] Calculate the distance between the calibration point corresponding to the current calibration pupil and other calibration points, calculate the distance between the current calibration pupil and other calibration pupils, and respectively calculate all first ratios of the distances between the calibration point corresponding to the current calibration pupil and other calibration points and the distances between the current calibration pupil and other calibration pupils;
[0015] Determining whether the first ratio is within a preset threshold range;
[0016] When all of the first ratios are within the preset threshold range, determining that the position of the currently calibrated pupil is normal;
[0017] When there is a situation where the first ratio exceeds the preset threshold range, all second ratios corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils are calculated respectively, wherein the second ratio represents the ratio of each distance between the calibration point corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the calibration points corresponding to the remaining calibration pupils and each distance between the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils;
[0018] determining that the second ratio is within the preset threshold range;
[0019] When all the second ratios are within the preset threshold range, it is determined that the position of the current calibrated pupil is abnormal, and the positions of the other calibrated pupils are normal;
[0020] When there is a second ratio that exceeds the preset threshold range, determining the other calibration pupils corresponding to the second ratio that exceeds the preset threshold as the current calibration pupil;
[0021] The above steps are executed repeatedly until the second coordinate is determined or the calibration fails.
[0022] In a possible implementation, in the method for correcting the calibrated pupil position provided in an embodiment of the present invention, the second coordinates of the calibrated pupil with an abnormal position are corrected according to the relative position relationship between the second coordinates of the calibrated pupil with an abnormal position and the calibrated pupil with a normal position, specifically including:
[0023] Determine the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points;
[0024] The coordinates of the pupil after the position abnormality calibration correction are determined according to the estimated coordinates and the current second coordinates.
[0025] In a possible implementation, in the method for correcting the position of a calibrated pupil provided in an embodiment of the present invention, determining the estimated coordinates of the calibrated pupil with an abnormal position according to the second coordinates of the calibrated pupil with a normal position and the relative position relationship between the calibration points specifically includes:
[0026] Calculate the average distance between adjacent normal-positioned calibrated pupils;
[0027] Determining the relative position relationship between the abnormally positioned calibrated pupil and its adjacent calibrated pupil according to the arrangement rule of the calibrated points;
[0028] The estimated coordinates of the abnormally calibrated pupil are determined according to the average value of the distances and the relative position relationship.
[0029] In a possible implementation manner, in the method for correcting the calibrated pupil position provided in an embodiment of the present invention, determining the coordinates of the abnormally calibrated pupil after correction according to the estimated coordinates and the current second coordinates specifically includes:
[0030] The coordinates of the malpositioned calibrated pupil after correction are determined by the following formula:
[0031] (X adjust , Y adjust )=a×(X estimate , Y estimate )+(1-a)(x j ,y j );
[0032] Among them, (X adjust , Y adjust ) is the coordinate of the abnormal calibrated pupil after correction, (X estimate , Y estimate ) is the estimated coordinate of the abnormal calibrated pupil, (x j,y j ) is the abnormal coordinate of the abnormal calibrated pupil, a is the weight, and its value is less than or equal to 1.
[0033] In a possible implementation, in the method for correcting the calibrated pupil position provided in an embodiment of the present invention, after determining the second coordinate of the calibrated pupil with an abnormal position according to the relationship between the distance between any two of the calibrated points and the distance between the two calibrated pupils corresponding to the any two calibrated points, the method further includes:
[0034] When the number of calibrated pupils with abnormal positions is greater than a preset number, it is determined that the correction has failed, and the first coordinates of multiple calibration points on the target screen arranged according to preset rules and the second coordinates of the calibrated pupils when the human eye is looking at each of the calibration points are re-acquired and re-calibrated.
[0035] In a second aspect, in the pupil calibration correction device provided in an embodiment of the present invention, the device includes:
[0036] A coordinate acquisition module, used to acquire first coordinates of a plurality of calibration points arranged according to a preset rule on a target screen, and second coordinates of a calibration pupil when a human eye is gazing at each of the calibration points, wherein the first coordinates refer to the coordinates of each of the calibration points in a coordinate system established on the target screen, and the second coordinates refer to the coordinates of a calibration pupil corresponding to each of the calibration points in a coordinate system established in the acquired human eye image;
[0037] A distance determination module, used for determining the distance between each calibration point and the distance between each calibration pupil according to the first coordinates of the calibration point and the second coordinates of the calibration pupil;
[0038] An abnormality determination module, used for determining the second coordinate of the calibration pupil with abnormal position according to the relationship between the distance between any two of the calibration points and the distance between the two calibration pupils corresponding to the any two calibration points;
[0039] According to the second coordinate of the abnormally positioned calibrated pupil and the relative position relationship between the calibrated pupils in normal positions, the second coordinate of the abnormally positioned calibrated pupil is corrected.
[0040] In a possible implementation manner, in the pupil calibration correction device provided in an embodiment of the present invention, the abnormality determination module is specifically used for:
[0041] The following steps are performed for each of the calibrated pupils:
[0042] Calculate the distance between the calibration point corresponding to the current calibration pupil and other calibration points, calculate the distance between the current calibration pupil and other calibration pupils, and respectively calculate all first ratios of the distances between the calibration point corresponding to the current calibration pupil and other calibration points and the distances between the current calibration pupil and other calibration pupils;
[0043] Determining whether the first ratio is within a preset threshold range;
[0044] When all of the first ratios are within the preset threshold range, determining that the position of the currently calibrated pupil is normal;
[0045] When there is a situation where the first ratio exceeds the preset threshold range, all second ratios corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils are calculated respectively, wherein the second ratio represents the ratio of each distance between the calibration point corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the calibration points corresponding to the remaining calibration pupils and each distance between the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils;
[0046] determining that the second ratio is within the preset threshold range;
[0047] When all the second ratios are within the preset threshold range, it is determined that the position of the current calibrated pupil is abnormal, and the positions of the other calibrated pupils are normal;
[0048] When there is a second ratio that exceeds the preset threshold range, determining the other calibration pupils corresponding to the second ratio that exceeds the preset threshold as the current calibration pupil;
[0049] The above steps are executed repeatedly until the second coordinate is determined or the calibration fails.
[0050] In a possible implementation manner, in the pupil calibration correction device provided in an embodiment of the present invention, the correction coordinate determination module is specifically used for:
[0051] Determine the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points;
[0052] The coordinates of the pupil after the position abnormality calibration correction are determined according to the estimated coordinates and the current second coordinates.
[0053] In a possible implementation manner, in the pupil calibration correction device provided in an embodiment of the present invention, the correction coordinate determination module is further used to:
[0054] Calculate the average distance between adjacent normal-positioned calibrated pupils;
[0055] Determining the relative position relationship between the abnormally positioned calibrated pupil and its adjacent calibrated pupil according to the arrangement rule of the calibrated points;
[0056] The estimated coordinates of the abnormally calibrated pupil are determined according to the average value of the distances and the relative position relationship.
[0057] In a possible implementation manner, in the pupil calibration correction device provided in an embodiment of the present invention, the correction coordinate determination module is further used to:
[0058] The coordinates of the malpositioned calibrated pupil after correction are determined by the following formula:
[0059] (X adjust, Y adjust )=a×(X estimate , Y estimate )+(1-a)(x j ,y j );
[0060] Among them, (X adjust , Y adjust ) is the coordinate of the abnormal calibrated pupil after correction, (X estimate , Y estimate ) is the estimated coordinate of the abnormal calibrated pupil, (x j ,y j ) is the abnormal coordinate of the abnormal calibrated pupil, a is the weight, and its value is less than or equal to 1.
[0061] In a possible implementation manner, the pupil calibration correction device provided in the embodiment of the present invention further includes:
[0062] The abnormal calibration pupil result determination module is used to determine the calibration failure when the number of calibration pupils with abnormal positions is greater than a preset number, re-acquire the first coordinates of multiple calibration points arranged according to preset rules on the target screen, and the second coordinates of the calibration pupil when the human eye is looking at each of the calibration points, and re-calibrate.
[0063] In a third aspect, an embodiment of the present invention further provides a computer-readable medium comprising a program code. When the program code is run on a computing device, the program code is used to cause the computing device to execute the steps of the method for correcting and calibrating the pupil position as provided in any embodiment of the first aspect.
[0064] In a fourth aspect, an embodiment of the present invention provides a nonlinear sight line mapping system, comprising a calibration pupil correction device, an image acquisition device, a pupil positioning device, a sight line mapping calibration device and a sight line calculation device provided in the embodiment of the second aspect;
[0065] The image acquisition device is used to acquire an image of the human eye area;
[0066] The pupil positioning device is used to process the image of the human eye area, calculate the center of the pupil, and establish a coordinate system of the image of the human eye area with the center of the pupil as a reference point;
[0067] The sight mapping calibration device is used to determine, according to a preset rule, the second coordinates of the calibrated pupil corresponding to the coordinate system of the image of the human eye area when the pupil is fixated on each calibration point on the target screen;
[0068] The sight line calculation device is used to determine the nonlinear mapping model according to the corrected coordinates of each calibrated pupil and the nonlinear mapping function, and calculate the coordinates of the gaze point of the human eye on the target screen according to the pupil center position obtained when the human eye gazes at any point on the screen.
[0069] The beneficial effects of the present invention are as follows:
[0070] The embodiment of the present invention provides a method, device, system and computer-readable medium for correcting the position of the calibrated pupil. The method for correcting the position of the calibrated pupil obtains the first coordinates of multiple calibration points arranged according to a preset rule on the target screen, and the second coordinates of the calibration pupil when the human eye is looking at each of the calibration points. According to the first coordinates of the calibration points and the second coordinates of the calibration pupils, the distance between each of the calibration points and the distance between each of the calibration pupils are determined respectively; according to the relationship between the distance between any two of the calibration points and the distance between the two calibration pupils corresponding to the any two calibration points, the second coordinate of the calibration pupil with abnormal position is determined; according to the second coordinate of the calibration pupil with abnormal position and the relative position relationship between the calibration pupils with normal positions, the second coordinate of the calibration pupil with abnormal position is corrected. By correcting the position of the calibrated pupil by the above method, the user can avoid recalibration, reduce the calibration time and improve the VR user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A flow chart of a method for correcting and calibrating pupil position provided by an embodiment of the present invention;
[0072] Figure 2 A schematic diagram of the arrangement of calibration points on a target screen provided by an embodiment of the present invention;
[0073] Figure 3 A schematic diagram of the arrangement of the calibrated pupils provided in an embodiment of the present invention;
[0074] Figure 4 A schematic diagram of the structure of a nonlinear line of sight mapping system provided by an embodiment of the present invention;
[0075] Figure 5 A schematic diagram of the structure of an image acquisition device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0076] With the rapid development of VR artificial intelligence technology, users are in urgent need of a convenient, accurate and robust interactive system. Therefore, non-invasive gaze tracking technology has become a research hotspot in this field. At present, the nonlinear mapping model method is commonly used in gaze tracking systems. The model function is as follows:
[0077]
[0078] Before calculating the model, it is necessary to obtain the mapping relationship between the pupil center and the target screen. This process is called calibration. In the calibration process, a 9-point calibration method is generally adopted (of course, other regular calibration point methods can also be used. The principle is the same, but the arrangement rules are different). 9 sets of mapping relationships are obtained and substituted into the above formula to obtain the mapping model. However, this method has a flaw: if there is an abnormal deviation in the calibration pupil among the 9 calibration points, the obtained mapping model will not be able to correctly calculate the sight point, and recalibration is required, which will greatly reduce the VR experience.
[0079] In view of the above problems, the present invention provides a method, device, system and computer-readable medium for correcting and calibrating the pupil position. In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0080] The shapes and sizes of the components in the drawings do not reflect the actual proportions, and are only intended to illustrate the contents of the present invention.
[0081] The present invention provides a method for correcting and calibrating pupil position, such as Figure 1 As shown, including:
[0082] S101, obtaining first coordinates of a plurality of calibration points arranged according to a preset rule on a target screen, and second coordinates of a calibration pupil when a human eye is gazing at each calibration point, wherein the first coordinate refers to the coordinate of each calibration point in a coordinate system established on the target screen, and the second coordinate refers to the coordinate of a calibration pupil corresponding to each calibration point in a coordinate system established in the acquired human eye image;
[0083] S102, determining the distance between each calibration point and the distance between each calibration pupil according to the first coordinate of the calibration point and the second coordinate of the calibration pupil;
[0084] S103, determining the second coordinate of the abnormally positioned calibration pupil according to the relationship between the distance between any two calibration points and the distance between two calibration pupils corresponding to the any two calibration points;
[0085] S104, correcting the second coordinates of the abnormally positioned calibrated pupil according to the relative position relationship between the second coordinates of the abnormally positioned calibrated pupil and the normally positioned calibrated pupil.
[0086] Among them, the preset rule of the calibration points on the target screen can be arranged in a matrix manner so that the distances between adjacent calibration points are equal, or one calibration point can be at the center of the circle and the other calibration points can be on the circle, so that the distances from other calibration points to the calibration point at the center of the circle are the same, and the distances between the calibration points on the circle are equal. Of course, it can also be other regularly arranged graphics, as long as the corresponding positional relationship between the calibration points is ensured, so as to facilitate the correction of abnormal calibration pupils according to the relative positional relationship between the calibration pupils when determining the calibration pupils.
[0087] It should be noted that the arrangement rule of the calibration points in the first coordinate and the arrangement rule of the calibration pupils in the second coordinate are the same, and the shape of the pattern formed by all the calibration points is the same as the shape of the pattern formed by all the calibration pupils, but there will be a difference in the ratio between the pattern formed by all the calibration points and the pattern formed by all the calibration pupils.
[0088] Specifically, in the method for correcting the position of the calibrated pupil provided in an embodiment of the present invention, by obtaining the first coordinates of a plurality of calibration points arranged according to a preset rule on the target screen, and the second coordinates of the calibrated pupil when the human eye is gazing at each calibration point, the distance between each calibration point and the distance between each calibration pupil are determined respectively according to the first coordinates of the calibration point and the second coordinates of the calibration pupil; the second coordinate of the calibrated pupil with an abnormal position is determined according to the relationship between the distance between any two calibration points and the distance between two calibrated pupils corresponding to any two calibration points; the second coordinate of the calibrated pupil with an abnormal position is corrected according to the relative position relationship between the second coordinate of the calibrated pupil with an abnormal position and the calibrated pupil with a normal position. By correcting the position of the calibrated pupil by the above method, the user can avoid recalibration, reduce the calibration time, and improve the VR user experience.
[0089] like Figure 2 As shown, the above method is specifically described by taking the calibration points on the target screen as a 3×3 matrix as an example:
[0090] Obtain the coordinates of 9 calibration points on the target screen (m1, n1), (m2, n2), ..., (m9, n9) and the position coordinates of 9 calibration pupils (x1, y1), (x2, y2), ..., (x9, y9);
[0091] Among them, the position coordinates of the 9 calibrated pupils. After the calibration starts, the user looks at the 9 calibration points in the order of 1-2-3-4-5-6-7-8-9. Each time the user looks at a calibration point, the corresponding calibration pupil position is recorded;
[0092] It should be noted that when looking at the calibration points, you need to look at them in a certain order, such as looking at the 9 calibration points in the order of 1-2-3-4-5-6-7-8-9. The looking order can be changed, such as 9-8-7-6-5-4-3-2-1. The setting of the looking order is to match the calibration point recording order in the current program. If the recording order in the program is changed, the corresponding looking order will also change.
[0093] Optionally, in the method for correcting the position of the calibrated pupil provided in an embodiment of the present invention, determining the first distance between the calibration points and the second distance between the calibration pupils respectively according to the first coordinates of the calibration points and the second coordinates of the calibration pupils, specifically includes:
[0094] Determine a first distance between the calibration points according to the first coordinates of the two calibration points;
[0095] According to the second coordinates of the two calibrated pupils, a second distance between the calibrated pupils is determined.
[0096] Specifically, Figure 2 As shown, among the 9 calibration points, 4 are located at the 4 vertices of the square, 4 are located at the centers of the 4 sides of the square, and the remaining 1 is located at the center of the square. The side length of the square is set to 2L. Therefore, the distance between each calibration point can be obtained; accordingly, the distance between the 9 corresponding calibration pupils is calculated. Taking the first calibration point as an example, the first distance from the first calibration point (m1, n1) to other calibration points (m2, n2), ..., (m9, n9) is calculated respectively, and L1_ 1,2 、L1_ 1,3 、L1_ 1,4 、L1_ 1,5 、L1_ 1,6 , L1_ 1,7 、L1_ 1,8 and L1_ 1,9 ; Then calculate the second distance from the first calibrated pupil (x1, y1) to the other calibrated pupils (x2, y2), ..., (x9, y9) to get L2_ 1,2 , L2_ 1,3, L2_ 1,4 , L2_ 1,5 , L2_ 1,6 , L2_ 1,7 , L2_ 1,8 and L2_ 1,9 ; The above is to calculate the distance from the first calibration point / first calibration pupil to other calibration points / other calibration pupils. The calculation of other calibration points / other calibration pupils is the same as above and will not be repeated here.
[0097] Optionally, in the method for correcting the position of the calibrated pupil provided in an embodiment of the present invention, determining the second coordinate of the calibrated pupil with an abnormal position according to the relationship between the distance between any two calibration points and the distance between two calibrated pupils corresponding to the any two calibration points specifically includes:
[0098] For each calibration pupil, perform the following steps:
[0099] Calculate the distance between the calibration point corresponding to the current calibration pupil and other calibration points, calculate the distance between the current calibration pupil and other calibration pupils, and respectively calculate all first ratios of the distances between the calibration point corresponding to the current calibration pupil and other calibration points and the distances between the current calibration pupil and other calibration pupils;
[0100] Determining whether the first ratio is within a preset threshold range;
[0101] When all of the first ratios are within the preset threshold range, determining that the position of the currently calibrated pupil is normal;
[0102] When there is a situation where the first ratio exceeds the preset threshold range, all second ratios corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils are calculated respectively, wherein the second ratio represents the ratio of each distance between the calibration point corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the calibration points corresponding to the remaining calibration pupils and each distance between the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils;
[0103] determining that the second ratio is within the preset threshold range;
[0104] When all the second ratios are within the preset threshold range, it is determined that the position of the current calibrated pupil is abnormal, and the positions of the other calibrated pupils are normal;
[0105] When there is a second ratio that exceeds the preset threshold range, determining the other calibration pupils corresponding to the second ratio that exceeds the preset threshold as the current calibration pupil;
[0106] The above steps are executed repeatedly until the second coordinate is determined or the calibration fails.
[0107] Specifically, in the method for correcting and calibrating the pupil position provided in the embodiment of the present invention, the ratio of the first distance L1 to the second distance L2 is calculated, that is, L1_ 1,2 With L2_ 1,2 , L1_ 1,3 With L2_ 1,3 , L1_ 1,4 With L2_ 1,4 , L1_ 1,5 With L2_ 1,5 , L1_ 1,6 With L2_ 1,6 , L1_ 1,7 With L2_ 1,7 , L1_ 1,8 With L2_ 1,8 , L1_ 1,9 With L2_ 1,9 The ratio of 12 , K 13 , K 14 , K 15 , K 16 , K 17 , K 18 and K 19 ; Determine whether each first ratio is greater than a preset threshold value; when all first ratios are less than or equal to the preset threshold value, determine that the position of the first calibrated pupil is normal.
[0108] When there is a first ratio greater than a preset threshold, it is assumed that K 12 , it is prompted that an abnormal calibration pupil appears, and the second distance between the second calibration pupil (x2, y2) and other calibration pupils (x3, y3)...(x9, y9) is calculated, as well as the first distance between the second calibration point (m2, n2) corresponding to the second calibration pupil and other calibration points (m3, n3)...(m9, n9), and the second ratio K between the first distance and the second distance is calculated. 23 , K 24 , K 25 , K 26 , K 27 , K 28 and K 29 If the second ratio is not greater than the preset threshold, it is determined that the position of the first calibrated pupil is abnormal (such as Figure 3 As shown), the positions of other calibrated pupils are normal; if there is a second ratio greater than the preset threshold, if it is K 23, then calculate the second distance between the third calibrated pupil (x3, y3) and other calibrated pupils (x4, y4)…(x9, y9), and the first distance between the third calibration point (m3, n3) corresponding to the third calibrated pupil and other calibration points (m4, n4)…(m9, n9), and calculate the third ratio, and judge the comparison value until the coordinates of the calibrated pupil with abnormal position are determined or the calibration fails.
[0109] It should be noted that if the third ratio is still greater than the preset threshold, it means that the positions of at least three calibrated pupils are abnormal, which indicates that there are too many abnormally calibrated pupils and the calibration has failed, and recalibration is required.
[0110] Optionally, in the method for correcting the position of the calibrated pupil provided in an embodiment of the present invention, the second coordinate of the calibrated pupil with an abnormal position is corrected according to the relative position relationship between the second coordinate of the calibrated pupil with an abnormal position and the calibrated pupil with a normal position, specifically including:
[0111] Determine the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points;
[0112] According to the estimated coordinates and the current second coordinates, the coordinates of the pupil after the position abnormality calibration correction are determined.
[0113] Specifically, in the method for correcting the position of the calibrated pupil provided in an embodiment of the present invention, the estimated coordinates of the calibrated pupil with an abnormal position are determined according to the second coordinates of the calibrated pupil with a normal position and the relative position relationship between the calibration points, specifically including:
[0114] Calculate the average distance between adjacent normal-positioned calibrated pupils;
[0115] According to the arrangement rule of the calibration points, the relative position relationship between the abnormally positioned calibration pupil and its adjacent calibration pupil is determined;
[0116] According to the average value of the distance and the relative position relationship, the estimated coordinates of the abnormally calibrated pupil are determined.
[0117] Optionally, in the method for correcting the calibrated pupil position provided in an embodiment of the present invention, determining the coordinates of the abnormally calibrated pupil after correction according to the estimated coordinates and the current second coordinates specifically includes:
[0118] The coordinates of the malpositioned calibrated pupil after correction are determined by the following formula:
[0119] (X adjust , Y adjust )=a×(X estimate , Y estimate)+(1-a)(x j ,y j );
[0120] Among them, (X adjust , Y adjust ) is the coordinate of the abnormal calibrated pupil after correction, (X estimate , Y estimate ) is the estimated coordinate of the abnormal calibrated pupil, (x j ,y j ) is the abnormal coordinate of the abnormal calibrated pupil, a is the weight, and its value is less than or equal to 1.
[0121] Optionally, in the method for correcting the calibrated pupil position provided in an embodiment of the present invention, after determining the second coordinate of the calibrated pupil with an abnormal position according to the relationship between the distance between any two calibration points and the distance between two calibrated pupils corresponding to the any two calibration points, the method further includes:
[0122] When the number of calibrated pupils with abnormal positions is greater than a preset number, it is determined that the correction has failed, and the first coordinates of multiple calibration points on the target screen arranged according to preset rules and the second coordinates of the calibrated pupils when the human eye is looking at each calibration point are re-acquired and re-calibrated.
[0123] Optionally, in the method for correcting and calibrating pupil position provided in an embodiment of the present invention, the calibration points are arranged in an array on the target screen.
[0124] Based on the same inventive concept, an embodiment of the present invention further provides a pupil calibration correction device, comprising:
[0125] A coordinate acquisition module, used to acquire first coordinates of a plurality of calibration points arranged according to a preset rule on a target screen, and second coordinates of a calibration pupil when a human eye is gazing at each calibration point, wherein the first coordinate refers to the coordinate of each calibration point in a coordinate system established on the target screen, and the second coordinate refers to the coordinate of a calibration pupil corresponding to each calibration point in a coordinate system established in the acquired human eye image;
[0126] A distance determination module, used to determine the distance between the calibration points and the distance between the calibration pupils according to the first coordinates of the calibration points and the second coordinates of the calibration pupils;
[0127] An abnormality determination module, used for determining the second coordinate of the abnormally positioned calibration pupil according to the relationship between the distance between any two calibration points and the distance between two calibration pupils corresponding to the any two calibration points;
[0128] The correction coordinate determination module is used to correct the second coordinate of the abnormally positioned calibrated pupil according to the relative position relationship between the second coordinate of the abnormally positioned calibrated pupil and the normally positioned calibrated pupil.
[0129] Optionally, in the pupil calibration correction device provided by the embodiment of the present invention, the abnormality determination module is specifically used for:
[0130] For each calibration pupil, perform the following steps:
[0131] Calculate the distance between the calibration point corresponding to the current calibration pupil and other calibration points, calculate the distance between the current calibration pupil and other calibration pupils, and respectively calculate all first ratios of the distances between the calibration point corresponding to the current calibration pupil and other calibration points and the distances between the current calibration pupil and other calibration pupils;
[0132] Determining whether the first ratio is within a preset threshold range;
[0133] When all of the first ratios are within the preset threshold range, determining that the position of the currently calibrated pupil is normal;
[0134] When there is a situation where the first ratio exceeds the preset threshold range, all second ratios corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils are calculated respectively, wherein the second ratio represents the ratio of each distance between the calibration point corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the calibration points corresponding to the remaining calibration pupils and each distance between the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils;
[0135] determining that the second ratio is within the preset threshold range;
[0136] When all the second ratios are within the preset threshold range, it is determined that the position of the current calibrated pupil is abnormal, and the positions of the other calibrated pupils are normal;
[0137] When there is a second ratio that exceeds the preset threshold range, determining the other calibration pupils corresponding to the second ratio that exceeds the preset threshold as the current calibration pupil;
[0138] The above steps are executed repeatedly until the second coordinate is determined or the calibration fails.
[0139] Optionally, in the pupil calibration correction device provided by an embodiment of the present invention, the correction coordinate determination module is specifically used for:
[0140] Determine the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points;
[0141] According to the estimated coordinates and the current second coordinates, the coordinates of the pupil after the position abnormality calibration correction are determined.
[0142] Optionally, in the pupil calibration correction device provided by the embodiment of the present invention, the correction coordinate determination module is further used for:
[0143] Calculate the average distance between adjacent normal-positioned calibrated pupils;
[0144] According to the arrangement rule of the calibration points, the relative position relationship between the abnormally positioned calibration pupil and its adjacent calibration pupil is determined;
[0145] According to the average value of the distance and the relative position relationship, the estimated coordinates of the abnormally calibrated pupil are determined.
[0146] Optionally, in the pupil calibration correction device provided by the embodiment of the present invention, the correction coordinate determination module is further used for:
[0147] The coordinates of the malpositioned calibrated pupil after correction are determined by the following formula:
[0148] (X adjust , Y adjust )=a×(X estimate , Y estimate )+(1-a)(x j ,y j );
[0149] Among them, (X adjust , Y adjust ) is the coordinate of the abnormal calibrated pupil after correction, (X estimate , Y estimate ) is the estimated coordinate of the abnormal calibrated pupil, (x j ,y j ) is the abnormal coordinate of the abnormal calibrated pupil, a is the weight, and its value is less than or equal to 1.
[0150] Optionally, the pupil calibration correction device provided in the embodiment of the present invention further includes:
[0151] The abnormal calibration pupil result determination module is used to determine the calibration failure when the number of calibration pupils with abnormal positions is greater than the preset number, re-acquire the first coordinates of multiple calibration points arranged according to preset rules on the target screen, and the second coordinates of the calibration pupils when the human eye is looking at each calibration point, and re-calibrate.
[0152] Optionally, in the calibration pupil correction device provided by an embodiment of the present invention, the calibration points are arranged in an array on the target screen.
[0153] Based on the same inventive concept, the embodiment of the present invention also provides a nonlinear sightline mapping system, such as Figure 4As shown, it includes the calibration pupil correction device 4, the image acquisition device 1, the pupil positioning device 2, the sight line mapping calibration device 3 and the sight line calculation device 5 provided in the above embodiment;
[0154] The image acquisition device 1 is used to acquire an image of the human eye area;
[0155] The pupil positioning device 2 is used to process the image of the human eye area, calculate the center of the pupil, and establish a coordinate system of the image of the human eye area with the center of the pupil as a reference point;
[0156] The sight mapping calibration device 3 is used to determine the second coordinates of the calibrated pupil corresponding to the coordinate system of the image of the human eye area when the pupil is gazing at each calibration point on the target screen according to a preset rule;
[0157] The sight line calculation device 5 is used to determine the nonlinear mapping model according to the corrected coordinates of each calibrated pupil and the nonlinear mapping function, and calculate the coordinates of the gaze point of the human eye on the target screen according to the pupil center position obtained when the human eye looks at any point on the screen.
[0158] Specifically, in the nonlinear sightline mapping system provided by the embodiment of the present invention, the image acquisition device is used to obtain the image of the human eye area under the irradiation of the infrared LED light when the user wears VR glasses; Figure 5 As shown, the image acquisition device includes a high-speed infrared camera 11, two Fresnel lenses 12 and 13, six infrared light sources (infrared light source 14, infrared light source 15, infrared light source 16, infrared light source 17, infrared light source 18, infrared light source 19), and a VR shell; the high-speed infrared camera 11 is located directly below the Fresnel lens 13, with the central axis of the camera pointing to the center of the human eye area, and the camera sampling frequency is 100 Hz; the six infrared light sources are located around the Fresnel lens 13 in the shape of a regular hexagon, and the wavelength of the infrared light source is 850nm. The infrared light source provides uniform fill light for the eye, which is conducive to segmenting the pupil from the iris area and obtaining a clearer pupil image.
[0159] Specifically, in the nonlinear sightline mapping system provided by the embodiment of the present invention, the pupil positioning device is mainly used to preliminarily determine the position coordinates of the pupil, and the specific implementation method is:
[0160] 1. Preprocess the human eye image collected in the image acquisition module. The preprocessing method is: first convert the original image into a grayscale image, and then perform Gaussian filtering on the image to filter out image noise;
[0161] 2. Binarize the image. The threshold selected during binarization is an empirical value. The grayscale value of the pupil part in the obtained binary image is 0. Then, an opening operation is performed on the binary image to remove the white hole in the pupil.
[0162] 3. Calculate the contour of the pupil area and eliminate non-pupil contours (judged by the size and shape of the contour). Finally, use the centroid method to find the center coordinates of the pupil to locate the center of the pupil.
[0163] Specifically, in the nonlinear sight line mapping system provided by the embodiment of the present invention, the specific function of the sight line mapping model calibration device is: 9 calibration points are set on the target screen, and the distribution of the 9 calibration points is as follows: Figure 2 As shown, after the calibration starts, the user looks at 9 calibration points in the order of 1-2-3-4-5-6-7-8-9, and records the corresponding pupil position each time he looks at a calibration point.
[0164] Specifically, in the nonlinear line of sight mapping system provided by an embodiment of the present invention, the line of sight calculation device is used to determine the nonlinear mapping model based on the coordinates of each calibrated pupil after correction and the nonlinear mapping function, and calculate the coordinates of the gaze point of the human eye on the target screen based on the pupil center position obtained when the human eye looks at any point on the screen.
[0165] Among them, the role of the calibration pupil correction device has been explained in detail in the above embodiments, and can be implemented by referring to the above embodiments, which will not be repeated here.
[0166] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable medium, including a program code. When the program code is run on a computing device, the program code is used to enable the computing device to execute the steps of the method for correcting and calibrating the pupil position provided in any of the above embodiments.
[0167] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0168] The display product according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a server device. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with information transmission, an apparatus or a device.
[0169] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than a readable storage medium, which may transmit, propagate, or transfer a program for use by or in conjunction with a periodic network action system, apparatus, or device.
[0170] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0171] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device.
[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0173] Those skilled in the art will appreciate that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.
[0174] Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description of the embodiment, or can be changed accordingly and located in one or more devices different from the present embodiment. The modules in the above embodiment can be combined into one module, or can be further divided into multiple sub-modules.
[0175] In summary, the embodiments of the present invention provide a method, device, system and computer-readable medium for correcting the position of the calibrated pupil. The method for correcting the position of the calibrated pupil obtains the first coordinates of multiple calibration points arranged according to preset rules on the target screen, and the second coordinates of the calibrated pupil when the human eye is looking at each of the calibration points. According to the first coordinates of the calibration points and the second coordinates of the calibration pupils, the distance between each of the calibration points and the distance between each of the calibration pupils are determined respectively; according to the relationship between the distance between any two of the calibration points and the distance between the two calibration pupils corresponding to the any two calibration points, the second coordinate of the abnormally positioned calibrated pupil is determined; according to the second coordinate of the abnormally positioned calibrated pupil and the relative position relationship between the normal calibrated pupils, the second coordinate of the abnormally positioned calibrated pupil is corrected. By correcting the position of the calibrated pupil by the above method, the user can avoid recalibration, reduce the calibration time and improve the VR user experience.
[0176] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for correcting and calibrating pupil position, characterized in that: include: Acquire first coordinates of a plurality of calibration points arranged according to a preset rule on a target screen, and second coordinates of a calibration pupil when a human eye is gazing at each of the calibration points, wherein the first coordinates refer to the coordinates of each of the calibration points in a coordinate system established on the target screen, and the second coordinates refer to the coordinates of a calibration pupil corresponding to each of the calibration points in a coordinate system established in the acquired human eye image; Determining the distance between the calibration points and the distance between the calibration pupils respectively according to the first coordinates of the calibration points and the second coordinates of the calibration pupils; The following steps are performed for each of the calibrated pupils: Calculate the distance between the calibration point corresponding to the current calibration pupil and other calibration points, calculate the distance between the current calibration pupil and other calibration pupils, and respectively calculate all first ratios of the distances between the calibration point corresponding to the current calibration pupil and other calibration points and the distances between the current calibration pupil and other calibration pupils; Determining whether the first ratio is within a preset threshold range; When all of the first ratios are within the preset threshold range, determining that the position of the currently calibrated pupil is normal; When there is a situation where the first ratio exceeds the preset threshold range, all second ratios corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils are calculated respectively, wherein the second ratio represents the ratio of each distance between the calibration point corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the calibration points corresponding to the remaining calibration pupils and each distance between the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils; determining that the second ratio is within the preset threshold range; When all the second ratios are within the preset threshold range, it is determined that the position of the current calibrated pupil is abnormal, and the positions of the other calibrated pupils are normal; When there is a second ratio that exceeds the preset threshold range, determining the other calibration pupils corresponding to the second ratio that exceeds the preset threshold as the current calibration pupil; The above steps are executed repeatedly until the second coordinate is determined or the calibration fails. According to the second coordinate of the abnormally positioned calibrated pupil and the relative position relationship between the calibrated pupils in normal positions, the second coordinate of the abnormally positioned calibrated pupil is corrected.
2. The method for correcting and calibrating pupil position according to claim 1, characterized in that: The method of correcting the second coordinate of the abnormally positioned calibrated pupil according to the relative position relationship between the second coordinate of the abnormally positioned calibrated pupil and the normally positioned calibrated pupil specifically includes: Determine the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points; The coordinates of the pupil after the position abnormality calibration correction are determined according to the estimated coordinates and the current second coordinates.
3. The method for correcting and calibrating pupil position according to claim 2, characterized in that: Determining the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points specifically includes: Calculate the average distance between adjacent normal-positioned calibrated pupils; Determining the relative position relationship between the abnormally positioned calibrated pupil and its adjacent calibrated pupil according to the arrangement rule of the calibrated points; The estimated coordinates of the abnormally calibrated pupil are determined according to the average value of the distances and the relative position relationship.
4. The method for correcting and calibrating pupil position according to claim 2, characterized in that: Determining the coordinates of the pupil after the position abnormality calibration correction according to the estimated coordinates and the current second coordinates specifically includes: The coordinates of the malpositioned calibrated pupil after correction are determined by the following formula: (X adjust ,AND adjust )=a×(X estimate ,AND estimate )+(1-a)(x j ,and j ); Among them, (X adjust ,Y adjust ) is the coordinate of the abnormal calibrated pupil after correction, (X estimate ,Y estimate ) is the estimated coordinate of the abnormal calibrated pupil, (x j ,y j ) is the abnormal coordinate of the abnormal calibrated pupil, a is the weight, and its value is less than or equal to 1.
5. The method for correcting and calibrating pupil position according to any one of claims 1 to 4, characterized in that: After determining the second coordinate of the abnormally positioned calibration pupil according to the relationship between the distance between any two of the calibration points and the distance between the two calibration pupils corresponding to the any two calibration points, the method further includes: When the number of calibrated pupils with abnormal positions is greater than a preset number, it is determined that the correction has failed, and the first coordinates of multiple calibration points on the target screen arranged according to preset rules and the second coordinates of the calibrated pupils when the human eye is looking at each of the calibration points are re-acquired and re-calibrated.
6. The method for correcting and calibrating pupil position according to any one of claims 1 to 4, characterized in that: The calibration points are arranged in an array on the target screen.
7. A pupil calibration device, characterized in that: include: A coordinate acquisition module, used to acquire first coordinates of a plurality of calibration points arranged according to a preset rule on a target screen, and second coordinates of a calibration pupil when a human eye is gazing at each of the calibration points, wherein the first coordinates refer to the coordinates of each of the calibration points in a coordinate system established on the target screen, and the second coordinates refer to the coordinates of a calibration pupil corresponding to each of the calibration points in a coordinate system established in the acquired human eye image; A distance determination module, used for determining the distance between each calibration point and the distance between each calibration pupil according to the first coordinates of the calibration point and the second coordinates of the calibration pupil; The abnormality determination module is used to perform the following steps for each of the calibrated pupils: Calculate the distance between the calibration point corresponding to the current calibration pupil and other calibration points, calculate the distance between the current calibration pupil and other calibration pupils, and respectively calculate all first ratios of the distances between the calibration point corresponding to the current calibration pupil and other calibration points and the distances between the current calibration pupil and other calibration pupils; Determining whether the first ratio is within a preset threshold range; When all of the first ratios are within the preset threshold range, determining that the position of the currently calibrated pupil is normal; When there is a situation where the first ratio exceeds the preset threshold range, all second ratios corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils are calculated respectively, wherein the second ratio represents the ratio of each distance between the calibration point corresponding to the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the calibration points corresponding to the remaining calibration pupils and each distance between the calibration pupil whose first ratio with the current calibration pupil exceeds the threshold range and the remaining calibration pupils; determining that the second ratio is within the preset threshold range; When all the second ratios are within the preset threshold range, it is determined that the position of the current calibrated pupil is abnormal, and the positions of the other calibrated pupils are normal; When there is a second ratio that exceeds the preset threshold range, determining the other calibration pupils corresponding to the second ratio that exceeds the preset threshold as the current calibration pupil; The above steps are executed repeatedly until the second coordinate is determined or the calibration fails. The correction coordinate determination module is used to correct the second coordinate of the abnormally positioned calibrated pupil according to the relative position relationship between the second coordinate of the abnormally positioned calibrated pupil and the normally positioned calibrated pupil.
8. The pupil calibration correction device according to claim 7, characterized in that: The correction coordinate determination module is specifically used for: Determine the estimated coordinates of the abnormally positioned calibrated pupil according to the second coordinates of the normally positioned calibrated pupil and the relative position relationship between the calibration points; The coordinates of the pupil after the position abnormality calibration correction are determined according to the estimated coordinates and the current second coordinates.
9. The pupil calibration correction device according to claim 8, characterized in that: The correction coordinate determination module is also used for: Calculate the average distance between adjacent normal-positioned calibrated pupils; Determining the relative position relationship between the abnormally positioned calibrated pupil and its adjacent calibrated pupil according to the arrangement rule of the calibrated points; The estimated coordinates of the abnormally calibrated pupil are determined according to the average value of the distances and the relative position relationship.
10. The pupil calibration correction device according to claim 8, characterized in that: The correction coordinate determination module is also used for: The coordinates of the malpositioned calibrated pupil after correction are determined by the following formula: (X adjust ,AND adjust )=a×(X estimate ,AND estimate )+(1-a)(x j ,and j ); Among them, (X adjust , Y adjust ) is the coordinate of the abnormal calibrated pupil after correction, (X estimate , Y estimate ) is the estimated coordinate of the abnormal calibrated pupil, (x j ,y j ) is the abnormal coordinate of the abnormal calibrated pupil, a is the weight, and its value is less than or equal to 1.
11. The pupil calibration correction device according to any one of claims 7 to 10, characterized in that: Also includes: The abnormal calibration pupil result determination module is used to determine the calibration failure when the number of calibration pupils with abnormal positions is greater than a preset number, re-acquire the first coordinates of multiple calibration points arranged according to preset rules on the target screen, and the second coordinates of the calibration pupil when the human eye is looking at each of the calibration points, and re-calibrate.
12. A computer readable medium, characterized in that The method comprises a program code, and when the program code is run on a computing device, the program code is used to cause the computing device to execute the steps of the method for correcting and calibrating the pupil position according to any one of claims 1 to 6.
13. A nonlinear sightline mapping system comprising the pupil calibration correction device according to any one of claims 7 to 11, characterized in that: It also includes an image acquisition device, a pupil positioning device, a sight line mapping calibration device and a sight line calculation device; The image acquisition device is used to acquire an image of the human eye area; The pupil positioning device is used to process the image of the human eye area, calculate the center of the pupil, and establish a coordinate system of the image of the human eye area with the center of the pupil as a reference point; The sight mapping calibration device is used to determine, according to a preset rule, the second coordinates of the calibrated pupil corresponding to each calibration point on the target screen in the coordinate system of the image of the human eye area; The sight line calculation device is used to determine the nonlinear mapping model according to the corrected coordinates of each calibrated pupil and the nonlinear mapping function, and calculate the coordinates of the gaze point of the human eye on the target screen according to the pupil center position obtained when the human eye gazes at any point on the screen.
