Method and system for measuring user visual experience
By obtaining the user's eye image in real time and calculating features such as pupils and cornea, and combining relevant parameters and modules to obtain the coordinates and residence time of the user's vision on the UI, the problem of being unable to accurately measure the user's UI visual experience in the existing technology is solved, and the problem of realizing the realization of the user's UI is realized. It has improved the accuracy of the visual attractiveness of various parts of the UI and the scientific improvement of product optimization.
Patent Information
- Application Number
- CN202011097755.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-14
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-10-14
AI Technical Summary
The prior art cannot accurately and objectively measure the user's visual experience of each part of the Internet application product user interface (UI), especially due to the user's subjective factors and external environment, resulting in inaccurate data.
By obtaining the user's eye image in real time, calculating the coordinates of features such as pupil and cornea, and combining relevant parameters and modules to obtain the coordinates and residence time of the user's field of vision on the UI, quantifying the user's visual experience of the product UI.
It realizes accurate measurement of user visual experience, reduces subjective factors and external environment influence, can accurately measure the visual attractiveness of each part of the UI, and improves the scientific nature of product optimization and service improvement.
Smart Images

Figure CN113723155B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual tracking, and in particular to a method and system for measuring user visual experience through image recognition. Background Art
[0002] Internet technology is developing rapidly, and Internet application providers often need to know users' real and objective experience with their products in order to further optimize their products and improve service quality.
[0003] Currently, user experience is generally measured by counting click-through rates, asking users to manually rate products, collecting user comments, etc. However, these data alone cannot accurately quantify and objectively measure user experience of a product.
[0004] Take the statistics of web page click rate as an example, which usually contains a lot of content such as text, pictures, video frames, etc. The user's click behavior will only be recorded when the user clicks on a link with a jump function. In this way, the attractiveness of some page elements that do not support the click jump function to users cannot be measured. On the other hand, due to the existence of some functional link entrances or misoperation, the content that the user actually clicks may not be the content that he is really interested in.
[0005] Taking user ratings and comments as an example, the data collected in the form of questionnaires is only the user's overall evaluation of the product, which cannot be detailed to the specific page and all the elements contained in the page. Moreover, due to subjective factors and external environmental influences, ratings and comments are also greatly affected by subjective factors. Sometimes users do not cooperate enough, and ratings and comments are quite arbitrary. There are situations where the data collected are inconsistent with the user's actual perception, resulting in the data being unable to objectively reflect the actual situation.
[0006] The products of Internet application providers are usually presented to users in the form of user interfaces (UIs) such as APPs or web pages. Currently, it is impossible to objectively measure and count the visual appeal of each part of the UI in the existing technology.
[0007] Therefore, there is an urgent need for a method and system that allows Internet application providers to accurately and objectively measure user experience, so as to reduce the impact of user subjective factors or external environment on the measurement results by accurately measuring the user visual experience of the product, especially measuring the visual appeal of each part of the product's UI to the user, thereby reducing the impact of user subjective factors or external environment on the measurement results, and then optimizing products and improving services in a targeted and more scientific manner. Summary of the invention
[0008] This Summary is provided to introduce some concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter; nor is it intended to be used to determine or limit the scope of the claimed subject matter.
[0009] The present invention proposes a method and system for quantitatively calculating the user's visual experience of a product based on image recognition.
[0010] Glossary of terms: Throughout the text, "product" refers to the Internet service provided by an Internet application provider, which can be a service in the form of an app or other web page. The product is presented to the user through the user interface "UI" on the display screen of the "device" and attracts the user's visual attention. "UI elements" are local content such as text, buttons, pictures and videos presented on the user interface. "Known UI elements" are UI elements with known coordinates used for initialization. "Current UI elements" are UI elements that the user is looking at and the duration of their gaze is to be measured. "UI image" refers to the UI reflected in the eye image relative to the "actual UI" displayed on the display screen.
[0011] The method of the present invention obtains the user's eye image in real time and calculates the coordinates of features such as the pupil and cornea. By obtaining the coordinates of the user's field of vision focused on the UI and the dwelling time of the gaze at this coordinate through relevant parameters and modules, the user's visual experience of the product's UI can be quantified, and it can be concluded which parts of the product are more visually attractive and which parts are less attractive.
[0012] The solution of the present invention connects to a camera and obtains a real-time image of the user's eyeball taken by the camera, and through image processing, calculates the coordinate point or coordinate range (visual hotspot) on the UI of the product where the user's sight is focused, and further objectively measures the user's attraction to the range point by counting the time spent at this coordinate point or coordinate range.
[0013] A method for measuring the user visual experience of a product of the present invention comprises the following steps: obtaining a reference eyeball image and initialization parameter values, including popping up a known UI element that attracts the user's visual field focus at a known coordinate on the UI and shooting the reference eyeball image, the initialization parameter value including the known UI element information and the known UI element coordinates, and the characteristic elements in the reference eyeball image and their reference characteristic values, wherein the characteristic elements include the pupil, the cornea, and the UI image, and the reference characteristic values include the size and the coordinates; based on the size of the UI image in the reference eyeball image, combined with the size of the actual UI, the ratio of the two is calculated to obtain the mapping parameter value; obtaining a real-time eyeball image and a real-time parameter value, the real-time parameter value including the real-time characteristic value of the current characteristic element, and the step can be performed cyclically, including tracking and shooting the real-time eyeball during the UI change period image; calculate the difference between the real-time parameter value and the initialization parameter value, determine the coordinates of the current UI element, generate a vision hotspot, and find the current UI element information corresponding to the vision hotspot, including calculating the line of sight information based on known UI element information, known UI element coordinates, a reference eyeball image, and real-time parameter values, the size of the actual UI, and the projection parameter value, the line of sight information includes the distance from the user's eyes to the device, the distance the user's line of sight moves on the UI, and the coordinates where the user's line of sight falls on the UI; time the time the user's field of vision stays on the vision hotspot; and combine the obtained time timing results of the vision hotspot and the current UI element information to perform result statistics to obtain the user's visual experience; save the result statistics in the form of key-value pairs; and send the obtained user visual experience to a remote server.
[0014] A system for measuring the user visual experience of a product of the present invention comprises an initialization module, a human eye recognition module, an image processing module, a UI information module, a ratio calculation module, a timing module, and a result statistics module, and may further comprise a multithreading module and a remote networking module. Among them, the initialization module is used to pop up a known UI element at a known coordinate on the UI to obtain a reference eyeball image; the human eye recognition module is used to shoot a real-time eyeball image, extract the parameters of the human eye image from it, and convert it into a characteristic element and a characteristic value; the image processing module is used to crop and retain the real-time eyeball image; the UI information module is used to read the information of the actual UI, including the actual UI size, UI element information, the actual size and coordinates of the UI element; the ratio calculation module combines the size parameters of the UI image in the eyeball and the actual UI size parameters to calculate the proportional relationship between the two; the timing module is used to record the dwell time of the user's sight on the current UI element; and the result statistics module performs result statistics on the dwell time timing result and the information of the current UI element to obtain the user's visual experience. The multithreading module automatically starts multithreading to enable the initialization module and the human eye recognition module to run simultaneously, and the remote networking module is used to remotely transmit the information obtained by the result statistics module to the server.
[0015] The human eye recognition module further includes: a user image capture module for acquiring the current user image taken by the camera in real time, a face recognition module for acquiring the user face image parameters in the taken user image in real time, an eye image recognition module for extracting human eye image parameters from the acquired user face image parameters, the human eye image parameters include the coordinates and size of the eye image, a device image recognition module for identifying the coordinates and size of the imaging of UI elements in the eye, and an eye binarization module for converting the results obtained by the device image recognition module into feature elements and feature values such as grayscale values to obtain the size and coordinates of the cornea and pupil.
[0016] The method and system for quantitatively counting the user's visual experience of a product based on image recognition of the present invention can quantify the user's visual experience and more accurately measure the user's visual experience of the product's UI. For elements presented in the user's line of sight, whether clickable or not, their user's visual experience can be accurately measured. The number of users participating in the test can be very large. Users can be scattered around to carry out the test on their own, or they can be concentrated together to carry out the test at the same time (multiple people watching TV, computer, mobile phone screens, etc. at the same time, as long as the camera can capture the user's face). During the initialization operation, all feature references that can be extracted from the picture (such as pupils, corneas, etc., as long as they are linear relationships) are calculated, and relevant parameters are saved to cope with different situations when the user's field of view changes. Therefore, when measuring, the operation is more accurate and more stable.
[0017] In addition, the method and system for quantifying and counting the user's visual experience of a product based on image recognition of the present invention is highly portable, low-cost, and has no additional hardware requirements. It only requires that the camera of the hardware device can clearly capture the user's eye image. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The present invention will be described in more detail below with reference to specific embodiments shown in the accompanying drawings.
[0019] Figure 1 It is a schematic diagram of the operating environment of the method and system for quantitatively counting the user's visual experience of a product based on image recognition of the present invention;
[0020] Figure 2 It is a flow chart of a method for quantitatively counting user's visual experience of a product based on image recognition according to the present invention;
[0021] Figure 3 This is a schematic diagram of the module architecture of a system that quantifies and counts users' visual experience of a product based on image recognition.
[0022] The flowcharts and block diagrams in the accompanying drawings show the system architecture, functions and operations that may be implemented by the system and method according to the embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and the module, program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. DETAILED DESCRIPTION
[0023] The present invention will be described in more detail below by referring to the specific embodiments shown in the accompanying drawings. By reading the detailed description of the specific embodiments below, various advantages and benefits of the present invention will become clear to those of ordinary skill in the art. However, it should be understood that the present invention can be implemented in various forms and should not be limited by the various embodiments set forth herein. The following embodiments are provided in order to be able to more thoroughly understand the present invention. Unless otherwise stated, the technical terms or scientific terms used in this application should be the common meanings understood by those skilled in the art to which this application belongs.
[0024] Figure 1 The diagram is a schematic diagram of the operating environment of the method and system for quantifying and counting the user's visual experience of a product based on image recognition of the present invention. The method and system of the present invention do not require special additional hardware support, and any electronic device with a camera function can be used. Figure 1 A common desktop computer 101, a laptop computer 102, and a mobile phone 103 are shown in the figure. They all have a display screen to show the user the user interface UI of the Internet service provider's product, and also have a camera to track the user's vision. It can be understood by those skilled in the art that the type of camera is not limited to that shown in the figure, and any suitable device such as a wearable device can also be conceived. As long as the camera can clearly capture the user's eye image.
[0025] Combine the following Figure 2 The flowchart is used to describe in detail the method of the present invention for quantitatively counting the user's visual experience of a product based on image recognition.
[0026] In step 201, an initialization operation is performed to obtain initialization parameter values, and the initialization includes: popping up any known UI elements that can be triggered and responded to, such as a login button, a picture, etc., through known coordinate points or within a coordinate range on the UI to attract the user's attention, and tracking the user's attention focused on these known coordinate points or within the coordinate range, and obtaining and saving the initialization parameter values.
[0027] The initialization parameter values include: the coordinates of the known UI elements (e.g. x=100px, y=50px) and the reference eye image when the user's line of sight is focused on this coordinate (as a comparison reference for the subsequent real-time eye image), the image information displayed by the UI during initialization, the login button and other UI element information. The reference eye image includes characteristic elements (such as pupil, cornea, UI image, etc.) and their characteristic values (such as size, coordinates, etc.), such as pupil size and pupil coordinates h=250px, i=150px; corneal size and corneal coordinates n=200px, m=50px; the image size of the UI in the reference eye image and its coordinates z=260px, k=120px in the reference eye image, etc. If the characteristic value changes, it is based on linear changes.
[0028] In step 202, based on the coordinates and size (length, width) and other parameters of the image of the UI in the reference eyeball image, combined with the actual size of the UI, the ratio between the two is calculated. For example, if the width of the image of the UI in the reference eyeball image is 10px and the height is 20px, and the actual width of the UI is 100px and the height is 200px, then the ratio is 1:10. Further, a mapping parameter value of the two is obtained.
[0029] Then, when the user continues to pay attention to the various UI elements presented on the UI, a real-time eyeball image is obtained in step 203, and the user's real-time line of sight information can be obtained. Combined with the known UI element coordinates obtained in step 201, the initialized UI element information and the initialized reference eyeball image, and the mapping parameter value obtained in step 202, the difference between the real-time parameter value and the initialized parameter value can be calculated, that is, the difference in the size of the user's field of view relative to the initialized known coordinate displacement, the distance from the user's eyes to the device, the distance the user's line of sight moves in real time on the UI, and the coordinates where the user's line of sight falls on the UI and other real-time parameter values. It can be known that at this moment, the coordinates or coordinate range on which the user's field of view is focused on the UI (generating a vision hotspot). Find out what the UI elements within the current coordinates or coordinate range display.
[0030] For example, the coordinates of the pupil of the feature element in the real-time eyeball image become (h=240px, i=150px). Because the image obtained by the camera is opposite to the real object display, all coordinate movements in the picture taken by the camera are opposite. The movement size of the pupil h to the right is 10px*10 (ratio is 1:10), so the coordinates of the user's field of view focused on the UI are (x=100px+10px*10, y=50px). If the ratio changes, then the calculation based on the initialization of the relevant feature elements and feature values will also change accordingly.
[0031] Then in step 204, if the user's sight line calculated in the above steps does not change within a period of time, then this period of time is the dwell time of the user's visual field focused on the visual hotspot, and the dwell time is timed.
[0032] In step 205, the result statistics are performed based on the length of time the user's field of vision focuses on the coordinate range, combined with the information of the current UI element corresponding to the coordinate, and the result value is saved in the form of a key-value pair, such as {information of the coordinates of the current UI element: [coordinates of the result, dwell time]} format. In this way, the user's visual experience of the product can be accurately obtained.
[0033] Finally, in step 206, the obtained user visual experience is sent to a remote server.
[0034] Wherein, step 203 is performed cyclically, including tracking and capturing real-time eyeball images during UI changes.
[0035] The following combination Figure 3 Describes the architecture of each module of a system that quantifies and statistics the user's visual experience of a product based on image recognition.
[0036] The system of the present invention includes: an initialization module, a human eye recognition module, an image processing module, a UI information module, a ratio calculation module, a timing module, a result statistics module, etc. Among them:
[0037] Initialization module 301 is used to Figure 2 The initialization operation in step 201 is to attract the user's field of vision and focus it on a specific point of known coordinates set by the UI pop-up element, such as a login box, button, picture, or any other known element that can be triggered and responded to, and obtain a reference eye image of the user's field of vision focused on the set specific point;
[0038] The human eye recognition module 303 further includes a user image capture module 3031 for acquiring the user image captured by the current camera in real time, a face recognition module 3032 for acquiring various parameters of the user face image in the captured image in real time, an eyeball image recognition module 3033 for acquiring relevant parameters from the face recognition module and extracting parameters of the human eye image (including the coordinates and size of the eyeball image in the entire image), a UI image recognition module 3034 for recognizing the coordinates and size of the image of the product UI in the eyeball from the eyeball image recognition module 3033, and an eyeball binarization module 3035 for converting characteristic elements and characteristic values such as grayscale values to obtain the size and coordinates of the cornea and pupil;
[0039] The image processing module 305 performs image cropping and retains the real-time eyeball image through the image coordinates, parameters and size obtained by the human eye recognition module;
[0040] The UI information module 302 reads the element information of the UI image of the product, including the size, the displayed content at the current coordinates, the UI elements, etc.;
[0041] The proportional relationship calculation module 306 calculates the coordinates and size of the UI image in real time, and combines the size of the actual UI to calculate the proportional relationship between the two, thereby further obtaining the mapping parameter value between the two.
[0042] The timing module 307 is used to record the time the user's sight stays on the current UI element; and the result statistics module 308 saves the real-time calculation results in the form of key-value pairs.
[0043] In addition, the system of the present invention may also include a multi-thread module ( Figure 3 and a remote networking module 309 for remotely transmitting the information obtained by the result statistics module to the server.
[0044] The present invention obtains the user's eyeball image in real time and calculates the coordinates of features such as the pupil and cornea, and then obtains the coordinates of the user's field of vision focused on the product and the dwell time of the gaze at this coordinate through relevant parameters and modules, which can quantify the user's sensory experience of various parts of the product UI, with high accuracy, a wide test range, a large number of testable users, flexible testing methods, strong portability, low cost, more accurate operation, and stronger stability. It can be widely used in the detection of user visual behaviors such as mobile APPs, mobile web pages, and PC programs, and quantify the user's visual perception of the product UI. It helps to improve the accuracy and efficiency of the user visual experience measurement of the product, thereby reducing costs and improving product optimization effects.
Claims
1. A method for measuring a user's visual experience of a product, comprising: Acquire a reference eyeball image and initialization parameter values, wherein the initialization parameter values include known UI element information and known UI element coordinates, and feature elements in the reference eyeball image and their reference feature values, wherein the known UI elements are UI elements with known coordinates used for initialization, the UI elements are content presented on the user interface, the feature elements include at least pupils, corneas, and UI images, and the reference feature values include sizes and coordinates; Based on the size of the UI image in the reference eyeball image and the size of the actual UI, a ratio of the two is calculated to obtain a mapping parameter value; Acquire a real-time eyeball image and a real-time parameter value, wherein the real-time parameter value includes a real-time feature value of a current feature element; Calculating the difference between the real-time parameter value and the initialization parameter value, determining the coordinates of the current UI element, generating a vision hotspot, and searching for the current UI element information corresponding to the vision hotspot, wherein calculating the difference between the real-time parameter value and the initialization parameter value includes calculating the sight line information according to the known UI element information, the known UI element coordinates, the reference eyeball image, the real-time parameter value, the size of the actual UI, and the mapping parameter value, wherein the sight line information includes the distance from the user's eyes to the UI, the distance that the user's sight line moves on the UI, and the coordinates where the user's sight line falls on the UI; Timing the time the user's field of vision stays on the visual hotspot; as well as The obtained dwell time timing result of the visual hotspot and the current UI element information are combined to perform result statistics to obtain the user's visual experience.
2. The method according to claim 1, characterized in that The step of obtaining the initialization parameter value includes popping up a known UI element that attracts the user's visual field focus at a known coordinate on the UI and capturing a reference eyeball image.
3. The method according to claim 1, characterized in that The steps of acquiring real-time eyeball images and real-time parameter values are performed in a loop, including tracking and capturing real-time eyeball images during UI changes.
4. The method according to claim 1, characterized in that The result statistics are saved in the form of key-value pairs.
5. The method according to claim 1, characterized in that The method also includes sending the obtained user visual experience to a remote server.
6. A system for measuring a user's visual experience of a product, for implementing the method for measuring a user's visual experience of a product according to any one of claims 1 to 5, comprising: An initialization module, the initialization module is used to pop up a known UI element at a known coordinate on the UI and obtain a reference eyeball image; The human eye recognition module is used to capture real-time eyeball images, extract parameters of the human eye images, and convert them into characteristic elements and characteristic values. The human eye recognition module further includes: A user image capture module that obtains the current user image captured by the camera in real time; A face recognition module that obtains the user's face image parameters in the captured user image in real time; An eyeball image recognition module that extracts eyeball image parameters from the acquired user face image parameters, wherein the eyeball image parameters include coordinates and size of the eyeball image; A UI image recognition module that recognizes the coordinates and size of the UI element imaged in the eyeball; and An eyeball binarization module for converting the result obtained by the UI image recognition module into characteristic elements and characteristic values of grayscale values to obtain the size and coordinates of the cornea and pupil; An image processing module, the image processing module is used to crop and retain the real-time eyeball image; A UI information module, which is used to read information about the actual UI, including actual UI size, UI element information, and actual sizes and coordinates of UI elements; A ratio calculation module, which combines the size parameters of the UI image in the eyeball and the actual UI size parameters to calculate the ratio between the two; A timing module, which is used to record the time the user's gaze stays on the current UI element; and A result statistics module is used to perform result statistics on the dwell time timing result and the information of the current UI element to obtain the user visual experience.
7. The system according to claim 6, characterized in that It further includes a multi-thread module that automatically starts multi-threading to allow the initialization module and the human eye recognition module to run simultaneously.
8. The system according to claim 6, characterized in that It further includes a remote networking module for remotely transmitting the information obtained by the result statistics module to a server.
