Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide it is a kind of can be improved shopping efficiency based on eye tracking
Recommended method, device, computer equipment and the storage medium of vision algorithm.
A kind of recommended method based on eye tracking vision algorithm, which comprises
Acquire the eye motion data of tested user;
The eye motion data are inputted to the eye tracing model pre-established, obtain the Eyegaze side of tested user
To;
According to the Eyegaze direction of tested user, commercial product recommending is carried out to tested user.
The basis is tested the Eyegaze direction of user in one of the embodiments, carries out commodity to tested user
Recommend, comprising:
According to the Eyegaze direction of tested user, the end article in the Eyegaze direction is determined;
Based on the end article, Recommendations are obtained;
Show the Recommendations.
It is described in one of the embodiments, to be based on the end article, obtain Recommendations, comprising:
Obtain the feature of the end article;
Commodity similar in the determining feature with the end article;
According to commodity similar in the end article and feature, Recommendations are obtained.
The eye motion data include: to acquire the position of the video camera of eye motion image in one of the embodiments,
It sets, gaze vector, eyes image and lighting environment parameter;
Described that the eye motion data are inputted to the eye tracing model pre-established, the eye for obtaining tested user is solidifying
Apparent direction, comprising:
According to the eyes image, the configuration parameter of eye tracing model corresponding with eye shape is determined;
According to the position of the configuration parameter and the video camera, gaze vector and lighting environment parameter, the eye is utilized
Portion's tracing model obtains the Eyegaze direction of tested user.
A kind of recommendation apparatus based on eye tracking vision algorithm, which is characterized in that described device includes:
Data acquisition module, for acquiring the eye motion data of tested user;
Direction of visual lines determining module is obtained for the eye motion data to be inputted the eye tracing model pre-established
To the Eyegaze direction of tested user;
Commercial product recommending module, for carrying out commercial product recommending to tested user according to the Eyegaze direction for being tested user.
The commercial product recommending module includes: in one of the embodiments,
End article determining module, for determining the Eyegaze direction according to the Eyegaze direction for being tested user
End article;
Recommendations determining module obtains Recommendations for being based on the end article;
Display module, for showing the Recommendations.
The Recommendations determining module includes: in one of the embodiments,
Product features obtain module, for obtaining the feature of the end article;
Close commodity determining module, for commodity similar in the determining feature with the end article;
Recommendations determine submodule, are used for the commodity according to similar in the end article and feature, obtain Recommendations.
The eye motion data include: to acquire the position of the video camera of eye motion image in one of the embodiments,
It sets, gaze vector, eyes image and lighting environment parameter;The direction of visual lines determining module includes:
Configuration parameter determining module, for determining that eye corresponding with eye shape tracks mould according to the eyes image
The configuration parameter of type;
Direction of visual lines determines submodule, for according to the position of the configuration parameter and the video camera, gaze vector and
Lighting environment parameter obtains the Eyegaze direction of tested user using the eye tracing model.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
Acquire the eye motion data of tested user;
The eye motion data are inputted to the eye tracing model pre-established, obtain the Eyegaze side of tested user
To;
According to the Eyegaze direction of tested user, commercial product recommending is carried out to tested user.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Acquire the eye motion data of tested user;
The eye motion data are inputted to the eye tracing model pre-established, obtain the Eyegaze side of tested user
To;
According to the Eyegaze direction of tested user, commercial product recommending is carried out to tested user.
The above-mentioned recommended method based on eye tracking vision algorithm, device, computer equipment and storage medium, based on preparatory
Foundation eye tracing model, the eye motion data of current tested user are handled, the eye of tested user is obtained
Gaze-direction, and determine that the interested commodity of user are allowed users to carry out commercial product recommending according to the gaze-direction of user
Commodity based on recommendation quickly choose required commodity, and then improve shopping efficiency.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Recommended method provided by the present application based on eye tracking vision algorithm, can be applied to application as shown in Figure 1
In environment.Wherein, sales counter 102 includes display screen 104 and product display zone 106.Display screen 104 includes Recommendations region,
For showing the commodity sign of determining commodity to be recommended.Product display zone 106 is the region that display has all commodity, specifically
Ground, product display zone 106 can be the practical display position region of commodity, be also possible to all commodity shown by display screen
Display area, be not limited thereto.
In one embodiment, as shown in Fig. 2, providing a kind of recommended method based on eye tracking vision algorithm, with
This method is applied to be illustrated for the sales counter in Fig. 1, comprising the following steps:
S202 acquires the eye motion data of tested user.
Wherein, when eye motion data refer to commodity of the user in concern sales counter, eye motion and local environment
The relevant parameter of generation.For example, eye motion data may include: the position for acquiring the video camera of eye motion image, stare
One of vector, eyes image and lighting environment parameter are a variety of.Gaze vector, eyes image and lighting environment parameter
It is obtained according to the data of corresponding acquisition device acquisition.For example, the eye that gaze vector and eyes image can be acquired according to video camera
Portion's moving image obtains, and lighting environment parameter can be obtained according to illumination acquisition device.
Eye motion data are inputted the eye tracing model pre-established by S204, obtain the Eyegaze of tested user
Direction.
In the present embodiment, it is pre-established with eye tracing model, eye motion data are input to corresponding eye and are chased after
Track model, eye tracing model export to obtain Eyegaze direction.
Wherein, eye tracing model can be trained to obtain based on artificial eye training data.Firstly, passing through simulation eye
The training data in kinematic configuration eye motion data and Eyegaze direction establishes the eye model being made of eyeball.To tool
There is the head model of different facial expressions to be scanned, the eyeball grid scanned is extractd, and by established eye model
It is placed in the head model for having extractd eyeball grid, based in the eye motion data control head model in training data
Eye movement, to simulate eye gaze-direction.Further, since face deformation can also cause certain journey to Eyegaze direction
Therefore the influence of degree further creates facial deformation training data and illumination training data, facial deformation training data can be with
Including eyelid movement data and eyelashes exercise data, based on facial deformation training data, illumination training data, eye motion data
And the training data in Eyegaze direction is trained head model, based on the head model that training obtains, finally obtains
The eye tracing model and its configuration parameter of different eye shapes.
S206 carries out commercial product recommending to tested user according to the Eyegaze direction of tested user.
Eyegaze direction based on tested user, obtains user's commodity of interest, so according to the commodity of concern into
Row commercial product recommending.
The above-mentioned recommended method based on eye tracking vision algorithm, the eye tracing model based on preparatory foundation, to working as
The eye motion data of preceding tested user are handled, and obtain the Eyegaze direction of tested user, and staring according to user
Direction determines the interested commodity of user, to carry out commercial product recommending, allows users to the commodity based on recommendation and quickly chooses institute
The commodity needed, and then improve shopping efficiency.
In one embodiment, as shown in figure 3, according to the Eyegaze direction of tested user, commodity are carried out to tested user
Recommend, comprising:
S302 determines the end article in Eyegaze direction according to the Eyegaze direction of tested user.
End article refers to the commodity that tested user currently pays close attention to.The commodity that can be chosen there are many being displayed in sales counter,
In the present embodiment, the commodity that shopper displays in browsing sales counter determine current note according to the Eyegaze direction of shopper
Depending on commodity as end article.
Specifically, the position that crosses of tested user's sight and sales counter, knot can be obtained according to the Eyegaze direction of tracking
Close the commodity for the determining tested user's concern in position and commodity display position that crosses.
Sales counter is previously stored with the display position information of each commodity, is obtaining tested user's view based on Eyegaze direction
Behind the position that crosses of line and sales counter, the position that will will cross is compared with the display position information of commodity each in sales counter, sentences
Breaking off a friendship, it is corresponding with the wherein display position information of which commodity to converge position, according to corresponding display position information you can learn that this is old
The commodity of the corresponding display of column position information, namely the corresponding commodity in the position that crosses, and then the corresponding commodity conduct in the position that will cross
End article.
S304 is based on end article, obtains Recommendations.
Based on end article obtained, that is, it can determine the interested type of merchandise of tested user, and then according to tested use
The interested type of merchandise in family carries out the recommendation of commodity, obtains Recommendations.
S306 shows Recommendations.
Recommendations are shown by display screen, are quickly selected to be tested user according to the Recommendations of display
Purchase.
In one embodiment, as shown in figure 4, being based on end article, Recommendations are obtained, comprising:
S402 obtains the feature of end article.
End article is characterized in the attributive character for referring to that end article has, it may include the type of merchandise, Brand, quotient
Product effect etc. is one such or a variety of.
In the present embodiment, sales counter is stored with the product features of all display goods, when according to the eye for being tested user
When gaze-direction determines end article, store in sale case, the corresponding product features of the end article can be obtained.Wherein,
The feature of each commodity can be obtained and be stored in by the scanning means items scanning of sales counter and sold goods when carrying out commodity display
In the storage equipment of cabinet, it can also be written by way of being manually entered in the storage equipment of sales counter.
Commodity similar in the feature of S404, determination and end article.
Specifically, obtain the feature of other commodity in addition to end article itself in sales counter, and respectively with target quotient
The features of product carries out similarity calculation, obtains the similarity of other commodity and end article, and according to similarity and preset
Close commodity determine rule, commodity similar in the determining feature with end article.Wherein, preset close commodity determine that rule can
To be that similarity is greater than preset value or similarity ranking in preceding default ranking.
S406 obtains Recommendations according to commodity similar in end article and feature.
Using commodity similar in identified feature and end article as Recommendations, recommend to tested user.
In one embodiment, eye motion data include: the position for acquiring the video camera of eye motion image, stare arrow
Amount, eyes image and lighting environment parameter.Eye motion data are inputted to the eye tracing model pre-established, obtain tested use
The Eyegaze direction at family, comprising: according to eyes image, determine the configuration ginseng of eye tracing model corresponding with eye shape
Number;According to the position of configuration parameter and video camera, gaze vector and lighting environment parameter, using eye tracing model, obtain by
Survey the Eyegaze direction of user.
Wherein, video camera may include one or more.Based on different camera positions, can obtain different
Gaze vector and eyes image, and by being analyzed and processed to multi-group data, available more accurate Eyegaze side
To.Specifically, gaze vector may include the pitch and yaw angle of eyeball.
In the present embodiment, the eye tracing model for there are different configuration parameters is established previously according to different eye shapes,
The eye shape of tested user is obtained according to eyes image, and the eye shape of tested user is tracked with the eye pre-established
The corresponding eye shape of model configuration parameter is compared, and obtains and the most similar eye tracing model of tested user's eye shape
Configuration parameter can be obtained and carry out Eyegaze direction prediction based on the configuration parameter of identified eye tracing model
Eye tracing model, and then the position of video camera, gaze vector and lighting environment parameter are input to the eye of configured parameter
In tracing model, the Eyegaze direction of tested user is obtained.
The above-mentioned recommended method based on eye tracking vision algorithm, by by the eye shape of tested user with pre-establish
The corresponding eye shape of eye tracing model configuration parameter be compared, obtain and the tested most similar eye of user's eye shape
The configuration parameter of portion's tracing model utilizes eye according to the position of configuration parameter and video camera, gaze vector and lighting environment parameter
Portion's tracing model obtains the Eyegaze direction of tested user, and then determines that user is interested according to the gaze-direction of user
Commodity are recommended, and are shown the information of Recommendations by screen, information of the user based on Recommendations can be quick
Carry out choosing for commodity.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 5, providing a kind of recommendation apparatus based on eye tracking vision algorithm, packet
It includes: data acquisition module 502, direction of visual lines determining module 504 and commercial product recommending module 506, in which:
Data acquisition module 502, for acquiring the eye motion data of tested user.
Wherein, when eye motion data refer to commodity of the user in concern sales counter, eye motion and local environment
The relevant parameter of generation.
Direction of visual lines determining module 504 is obtained for eye motion data to be inputted the eye tracing model pre-established
The Eyegaze direction of tested user.
In the present embodiment, it is pre-established with eye tracing model, eye motion data are input to corresponding eye and are chased after
Track model, eye tracing model export to obtain Eyegaze direction.
Wherein, eye tracing model can be trained to obtain based on artificial eye training data.Firstly, passing through simulation eye
The training data in kinematic configuration eye motion data and Eyegaze direction establishes the eye model being made of eyeball.To tool
There is the head model of different facial expressions to be scanned, the eyeball grid scanned is extractd, and by established eye model
It is placed in the head model for having extractd eyeball grid, based in the eye motion data control head model in training data
Eye movement, to simulate eye gaze-direction.Further, since face deformation can also cause certain journey to Eyegaze direction
Therefore the influence of degree further creates facial deformation training data and illumination training data, facial deformation training data can be with
Including eyelid movement data and eyelashes exercise data, based on facial deformation training data, illumination training data, eye motion data
And the training data in Eyegaze direction is trained head model, based on the head model that training obtains, finally obtains
The eye tracing model and its configuration parameter of different eye shapes.
Commercial product recommending module 506, for carrying out commodity to tested user and pushing away according to the Eyegaze direction for being tested user
It recommends.
Eyegaze direction based on tested user, obtains user's commodity of interest, so according to the commodity of concern into
Row commercial product recommending.
The above-mentioned recommendation apparatus based on eye tracking vision algorithm, the eye tracing model based on preparatory foundation, to working as
The eye motion data of preceding tested user are handled, and obtain the Eyegaze direction of tested user, and staring according to user
Direction determines the interested commodity of user, to carry out commercial product recommending, allows users to the commodity based on recommendation and quickly chooses institute
The commodity needed, and then improve shopping efficiency.
In one embodiment, commercial product recommending module includes: end article determining module, Recommendations determining module and displaying
Module.
End article determining module, for determining the mesh in Eyegaze direction according to the Eyegaze direction for being tested user
Mark commodity.
Specifically, the position that crosses of tested user's sight and sales counter, knot can be obtained according to the Eyegaze direction of tracking
Close the commodity for the determining tested user's concern in position and commodity display position that crosses.
Sales counter is previously stored with the display position information of each commodity, is obtaining tested user's view based on Eyegaze direction
Behind the position that crosses of line and sales counter, the position that will will cross is compared with the display position information of commodity each in sales counter, sentences
Breaking off a friendship, it is corresponding with the wherein display position information of which commodity to converge position, according to corresponding display position information you can learn that this is old
The commodity of the corresponding display of column position information, namely the corresponding commodity in the position that crosses, and then the corresponding commodity conduct in the position that will cross
End article.
Recommendations determining module obtains Recommendations for being based on end article.Based on end article obtained,
It can determine the interested type of merchandise of tested user, and then pushing away for commodity carried out according to the interested type of merchandise of tested user
It recommends, obtains Recommendations.
Display module, for showing Recommendations.Recommendations are shown by display screen, to be tested user's root
It is quickly chosen according to the Recommendations of display.
In one embodiment, Recommendations determining module include: product features obtain module, close commodity determining module and
Recommendations determine submodule.
Product features obtain module, for obtaining the feature of end article.In the present embodiment, sales counter is stored with all
The product features of display goods can obtain sale case when determining end article according to the Eyegaze direction for being tested user
Middle storage, the corresponding product features of the end article.
Close commodity determining module, for commodity similar in the determining feature with end article.
Specifically, obtain the feature of other commodity in addition to end article itself in sales counter, and respectively with target quotient
The features of product carries out similarity calculation, obtains the similarity of other commodity and end article, and according to similarity and preset
Close commodity determine rule, commodity similar in the determining feature with end article.Wherein, preset close commodity determine that rule can
To be that similarity is greater than preset value or similarity ranking in preceding default ranking.
Recommendations determine submodule, are used for the commodity according to similar in end article and feature, obtain Recommendations.Specifically
To recommend to tested user using commodity similar in identified feature and end article as Recommendations.
In one embodiment, eye motion data include: to acquire the position of the video camera of eye motion image, stare arrow
Amount, eyes image and lighting environment parameter;Direction of visual lines determining module includes: that configuration parameter determining module and direction of visual lines determine
Submodule.Wherein, configuration parameter determining module, for determining that eye corresponding with eye shape tracks mould according to eyes image
The configuration parameter of type.Direction of visual lines determines submodule, for according to the position of configuration parameter and video camera, gaze vector and illumination
Environmental parameter obtains the Eyegaze direction of tested user using eye tracing model.
In the present embodiment, the eye tracing model for there are different configuration parameters is established previously according to different eye shapes,
The eye shape of tested user is obtained according to eyes image, and the eye shape of tested user is tracked with the eye pre-established
The corresponding eye shape of model configuration parameter is compared, and obtains and the most similar eye tracing model of tested user's eye shape
Configuration parameter can be obtained and carry out Eyegaze direction prediction based on the configuration parameter of identified eye tracing model
Eye tracing model, and then the position of video camera, gaze vector and lighting environment parameter are input to the eye of configured parameter
In tracing model, the Eyegaze direction of tested user is obtained.
The above-mentioned recommendation apparatus based on eye tracking vision algorithm, by by the eye shape of tested user with pre-establish
The corresponding eye shape of eye tracing model configuration parameter be compared, obtain and the tested most similar eye of user's eye shape
The configuration parameter of portion's tracing model utilizes eye according to the position of configuration parameter and video camera, gaze vector and lighting environment parameter
Portion's tracing model obtains the Eyegaze direction of tested user, and then determines that user is interested according to the gaze-direction of user
Commodity are recommended, and are shown the information of Recommendations by screen, information of the user based on Recommendations can be quick
Carry out choosing for commodity.
About the recommendation apparatus based on eye tracking vision algorithm it is specific restriction may refer to above for sight with
The restriction of the recommended method of track vision algorithm, details are not described herein.It is each in the recommendation apparatus of above-mentioned eye tracking vision algorithm
A module can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or
Independently of in the processor in computer equipment, can also be stored in a software form in the memory in computer equipment, with
It is called convenient for processor and executes the corresponding operation of the above modules.
In one embodiment, a kind of computer equipment is provided, which can be terminal, for example sell goods
Cabinet, internal structure chart can be as shown in Figure 6.The computer equipment include by system bus connect processor, memory,
Network interface, display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.It should
The memory of computer equipment includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operation
System and computer program.The built-in storage is that the operation of the operating system and computer program in non-volatile memory medium mentions
For environment.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program quilt
A kind of recommended method of eye tracking vision algorithm is realized when processor executes.The display screen of the computer equipment can be liquid
Crystal display screen or electric ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen,
Be also possible to the key being arranged on computer equipment shell, trace ball or Trackpad, can also be external keyboard, Trackpad or
Mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of when executing computer program
Acquire the eye motion data of tested user;
Eye motion data are inputted to the eye tracing model pre-established, obtain the Eyegaze direction of tested user;
According to the Eyegaze direction of tested user, commercial product recommending is carried out to tested user.
In one embodiment, it is also performed the steps of when processor executes computer program
According to the Eyegaze direction of tested user, the end article in Eyegaze direction is determined;
Based on end article, Recommendations are obtained;
Show Recommendations.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the feature of end article;
Commodity similar in the determining feature with end article;
According to commodity similar in end article and feature, Recommendations are obtained.
In one embodiment, it is also performed the steps of when processor executes computer program
According to eyes image, the configuration parameter of eye tracing model corresponding with eye shape is determined;
It is obtained according to the position of configuration parameter and video camera, gaze vector and lighting environment parameter using eye tracing model
To the Eyegaze direction of tested user.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Acquire the eye motion data of tested user;
Eye motion data are inputted to the eye tracing model pre-established, obtain the Eyegaze direction of tested user;
According to the Eyegaze direction of tested user, commercial product recommending is carried out to tested user.
In one embodiment, it is also performed the steps of when computer program is executed by processor
According to the Eyegaze direction of tested user, the end article in Eyegaze direction is determined;
Based on end article, Recommendations are obtained;
Show Recommendations.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the feature of end article;
Commodity similar in the determining feature with end article;
According to commodity similar in end article and feature, Recommendations are obtained.
In one embodiment, it is also performed the steps of when computer program is executed by processor
According to eyes image, the configuration parameter of eye tracing model corresponding with eye shape is determined;
It is obtained according to the position of configuration parameter and video camera, gaze vector and lighting environment parameter using eye tracing model
To the Eyegaze direction of tested user.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen
Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art,
Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection scope of the application.
Therefore, the scope of protection shall be subject to the appended claims for the application patent.