Online-sales recommendation method and apparatus, and device and storage medium
Collect image data through user selection and shooting operations, and combine it with the preset image library and historical data to identify products that do not exist in the current image data, solving the problem of low recommendation efficiency on online shopping platforms and achieving more accurate and efficient Product recommendations.
Patent Information
- Application Number
- PCT/CN2023/081235
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2024-09-19
AI Technical Summary
When recommending products, existing online shopping platforms cannot accurately push products in different fields that users have not browsed or purchased, resulting in low push efficiency and high limitations.
Collect image data through user selection and shooting operations, identify the main object and the characteristics around the edges, combine it with the data in the preset image library, identify products that do not exist in the current image data, and generate recommendation data based on the user's historical browsing and consumption data .
It expands the scope of product recommendations, improves the accuracy of recommendations and user experience, reduces user search steps, and improves shopping efficiency.
Smart Images

Figure CN2023081235_19092024_PF_FP_ABST
Abstract
Description
Online sales recommendation method, device, equipment and storage medium Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an online sales recommendation method, device, equipment and storage medium. Background Art
[0002] With the development of online shopping platforms, the variety of goods is becoming more and more abundant. With the improvement of people's living standards, people often use online shopping to select goods in their daily lives, especially for furniture, clothing, decorative items, etc.
[0003] Currently, the existing product sales recommendation method is to recommend products based on the user's historical shopping or browsing record data. However, it is impossible to accurately push products that the user has not purchased or browsed, that is, products in other different fields, resulting in low efficiency of product push and inability to take into account products used in various fields, which makes product push highly limited.
[0004] Therefore, there is an urgent need for an online sales recommendation method that can improve the efficiency and accuracy of product push and take into account products with different uses in different fields.
[0005] Summary of the Invention
[0006] The present invention provides an online sales recommendation method, device, equipment and storage medium to solve the technical problems in the prior art of low efficiency and accuracy of product push and high limitations of product push.
[0007] In order to solve the above technical problems, an embodiment of the present invention provides an online sales recommendation method, comprising:
[0008] In response to a user's selection and shooting operation, collecting and acquiring first image data of the current scene;
[0009] Identify the main object of the first image data to obtain main object features and edge surrounding features;
[0010] Indexing second image data having the same features as the main object in a preset image library, and performing object recognition on the main object features in the second image data to obtain first product data; wherein the preset image library pre-stores image data corresponding to each main object feature and each edge feature, and the first product data includes objects that exist in the second image data but not in the first image data;
[0011] Indexing third image data having the same periphery features as the edge features in a preset image library, and performing object recognition on the periphery features in the third image data to obtain second product data; wherein the second product data includes objects that exist in the third image data but not in the first image data;
[0012] Combining the first product data and the second product data, generating and pushing product recommendation data.
[0013] As a preferred solution, in response to the user's selection and shooting operation, collecting and acquiring the first image data of the current scene is specifically:
[0014] In response to the user's selection of a shooting mode, the corresponding shooting mode is called to shoot, and first image data of the current scene is acquired; wherein the shooting mode includes human body shooting and spatial structure shooting.
[0015] As a preferred solution, when the user selects a shooting mode for human body shooting, the subject object is identified on the first image data to obtain subject object features and edge surrounding features, specifically:
[0016] Performing human body object recognition on the first image data to obtain human body object features and edge periphery features; wherein the main object features are human body object features;
[0017] When the user selects the spatial structure shooting mode, the subject object is identified on the first image data to obtain the subject object features and edge surrounding features, specifically:
[0018] The three-dimensional structure of the first image data is recognized to generate a three-dimensional space model, and the three-dimensional space model is used as a main object feature, and objects in the three-dimensional space model are used as edge surrounding features.
[0019] As a preferred solution, the method of indexing second image data having the same features as the main object in a preset image library and performing object recognition on the main object features in the second image data to obtain the first product data is as follows:
[0020] When the subject object feature is a human object feature, second image data having the same human object feature as the human object feature is indexed in a preset image library, and an object that does not exist in the human object feature in the first image data is identified based on the human object feature in the second image data, thereby using the object as the first product data;
[0021] When the main object feature is a three-dimensional space model, second image data identical to the three-dimensional space model is indexed in the preset image library, and in the three-dimensional space model in the second image data, an object that does not exist in the three-dimensional space model in the first image data is searched and identified, thereby using the object as the first product data.
[0022] As a preferred solution, the third image data having the same edge perimeter features as the third image data is indexed in a preset image library, and object recognition is performed on the edge perimeter features in the third image data to obtain the second product data, specifically:
[0023] When the subject object feature is a human object feature, third image data identical to the object surrounding the edge of the human body is indexed in a preset image library, and an object that does not exist on the same object surrounding the edge in the first image data is identified in the third image data, thereby using the object as the second product data;
[0024] When the main object feature is a three-dimensional space model, third image data having the same object as the object in the three-dimensional space model is indexed in the preset image library, and in the third image data, the object used in conjunction with the first product data is identified, so that the object is used as the second product data.
[0025] As a preferred solution, before generating and pushing the product recommendation data, the method further includes:
[0026] Obtaining historical browsing data of the user and determining characteristics of the product corresponding to the historical browsing data;
[0027] generating, based on the features of the products corresponding to the historical browsing data, objects having a feature correlation greater than a first preset value as third product data;
[0028] Product recommendation data is obtained by fusing and screening the first product data, the second product data, and the third product data.
[0029] As a preferred solution, after generating the object with a feature correlation greater than a first preset value as the third commodity data, the method further includes:
[0030] Obtaining historical consumption data of the user and determining characteristics of the product corresponding to the historical consumption data;
[0031] generating, based on the characteristics of the product corresponding to the historical consumption data, an object having a characteristic correlation greater than a second preset value as fourth product data;
[0032] The third product data is corrected and adjusted using the fourth product data in combination with the preset weight distribution to obtain adjusted third product data.
[0033] Accordingly, the present invention also provides an online sales recommendation device, comprising: a collection module, a feature recognition module, a main object module, an edge surrounding module and a combination module;
[0034] The acquisition module is configured to acquire first image data of the current scene in response to a user's selection and shooting operation;
[0035] The feature recognition module is used to identify the main object of the first image data to obtain the main object features and edge surrounding features;
[0036] The subject object module is configured to index second image data having the same features as the subject object from a preset image library, and perform object recognition on the subject object features in the second image data to obtain first product data; wherein the preset image library pre-stores image data corresponding to each subject object feature and each edge feature, and the first product data includes objects that exist in the second image data but not in the first image data;
[0037] The edge surrounding module is configured to index third image data having the same edge surrounding features as the edge surrounding features in a preset image library, and perform object recognition on the edge surrounding features in the third image data to obtain second product data; wherein the second product data includes objects that exist in the third image data but not in the first image data;
[0038] The combining module is used to combine the first commodity data and the second commodity data to generate and push commodity recommendation data.
[0039] As a preferred solution, in response to the user's selection and shooting operation, collecting and acquiring the first image data of the current scene is specifically:
[0040] In response to the user's selection of a shooting mode, the corresponding shooting mode is called to shoot, and first image data of the current scene is acquired; wherein the shooting mode includes human body shooting and spatial structure shooting.
[0041] As a preferred solution, when the user selects a shooting mode for human body shooting, the subject object is identified on the first image data to obtain subject object features and edge surrounding features, specifically:
[0042] Performing human body object recognition on the first image data to obtain human body object features and edge periphery features; wherein the main object features are human body object features;
[0043] When the user selects the spatial structure shooting mode, the subject object is identified on the first image data to obtain the subject object features and edge surrounding features, specifically:
[0044] The three-dimensional structure of the first image data is recognized to generate a three-dimensional space model, and the three-dimensional space model is used as a main object feature, and objects in the three-dimensional space model are used as edge surrounding features.
[0045] As a preferred solution, the method of indexing second image data having the same features as the main object in a preset image library and performing object recognition on the main object features in the second image data to obtain the first product data is as follows:
[0046] When the subject object feature is a human object feature, second image data having the same human object feature as the human object feature is indexed in a preset image library, and an object that does not exist in the human object feature in the first image data is identified based on the human object feature in the second image data, thereby using the object as the first product data;
[0047] When the main object feature is a three-dimensional space model, second image data identical to the three-dimensional space model is indexed in the preset image library, and in the three-dimensional space model in the second image data, an object that does not exist in the three-dimensional space model in the first image data is searched and identified, thereby using the object as the first product data.
[0048] As a preferred solution, the third image data having the same edge perimeter features as the third image data is indexed in a preset image library, and object recognition is performed on the edge perimeter features in the third image data to obtain the second product data, specifically:
[0049] When the subject object feature is a human object feature, third image data identical to the object surrounding the edge of the human body is indexed in a preset image library, and an object that does not exist on the same object surrounding the edge in the first image data is identified in the third image data, thereby using the object as the second product data;
[0050] When the main object feature is a three-dimensional space model, third image data having the same object as the object in the three-dimensional space model is indexed in the preset image library, and in the third image data, the object used in conjunction with the first product data is identified, so that the object is used as the second product data.
[0051] As a preferred solution, before generating and pushing the product recommendation data, the method further includes:
[0052] Obtaining historical browsing data of the user and determining characteristics of the product corresponding to the historical browsing data;
[0053] generating, based on the features of the products corresponding to the historical browsing data, objects having a feature correlation greater than a first preset value as third product data;
[0054] Product recommendation data is obtained by fusing and screening the first product data, the second product data, and the third product data.
[0055] As a preferred solution, after generating the object with a feature correlation greater than a first preset value as the third commodity data, the method further includes:
[0056] Obtaining historical consumption data of the user and determining characteristics of the product corresponding to the historical consumption data;
[0057] generating, based on the characteristics of the product corresponding to the historical consumption data, an object having a characteristic correlation greater than a second preset value as fourth product data;
[0058] The third product data is corrected and adjusted using the fourth product data in combination with the preset weight distribution to obtain adjusted third product data.
[0059] Correspondingly, the present invention also provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the online sales recommendation method as described in any one of the above items is implemented.
[0060] Accordingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the online sales recommendation methods described above.
[0061] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0062] The technical solution of the present invention obtains the first image data of the current scene in response to the user's selection and shooting operation, thereby identifying the main object based on the first image data, obtaining the main object features and the surrounding edge features, and indexing the second image data and the third image data corresponding to the main object features and the surrounding edge features respectively in the preset image library, and identifying the products that do not exist in the first image data in the second image data and the third image data, so as to expand the scope of product recommendations so that it is not limited to the user's consumption and browsing record data. While expanding the scope of product recommendations, the first image data obtained by the user's own selection and shooting operation ensures that the recommended products are based on the user's own conditions and needs, ensuring the accuracy of product recommendations, reducing the steps for users to search and retrieve products, improving user shopping efficiency, and thus improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] FIG1 is a flowchart of the steps of an online sales recommendation method provided by an embodiment of the present invention;
[0064] FIG2 is a schematic diagram of a human body object with a hand as a feature provided by an embodiment of the present invention;
[0065] FIG3 is a schematic structural diagram of an online sales recommendation device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0066] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0067] Example 1
[0068] Referring to FIG. 1 , an online sales recommendation method according to an embodiment of the present invention includes the following steps S101 to S105 :
[0069] Step S101: In response to a user's selection and shooting operation, first image data of the current scene is collected and acquired.
[0070] As a preferred solution of this embodiment, in response to the user's selection and shooting operation, collecting and acquiring the first image data of the current scene is specifically:
[0071] In response to the user's selection of a shooting mode, the corresponding shooting mode is called to shoot, and first image data of the current scene is acquired; wherein the shooting mode includes human body shooting and spatial structure shooting.
[0072] In this embodiment, the user selects a shooting mode and can then select a corresponding shooting template for shooting. For example, if the user selects human body photography, corresponding guide lines are set in the shooting image to facilitate the user to place the subject to be photographed within the guide lines during the human body photography process, and also facilitate the subsequent rapid and efficient identification of the subject. Similarly, for spatial structure photography, corresponding guide lines or shooting methods are also provided for guidance. For example, when photographing an indoor space, a panoramic camera can be used to capture a real-life image. The real-life image includes a panorama or multiple perspective images captured from multiple perspectives, wherein the multiple perspective images are stitched together to obtain the corresponding panorama.
[0073] In this preferred embodiment, when photographing the human body, different genders can also be selected to provide product recommendations more efficiently and accurately. You can further select the parts of the human body to be photographed, such as hands, arms, feet, legs, etc., so that you can subsequently make product recommendations for local human body positions. For example, for hands, you can provide recommendations for products such as rings, bracelets, watches, and gloves; for feet, you can provide recommendations for products such as shoes, boots, slippers, and socks.
[0074] Furthermore, objects captured by the spatial structure shooting mode include but are not limited to toilets, rooms, balconies, and living rooms.
[0075] Step S102: identifying the main object of the first image data to obtain main object features and edge periphery features.
[0076] In this embodiment, preferably, the subject and edge recognition of the image data can be performed using a preset trained subject recognition model, thereby obtaining subject object feature data information and edge surrounding feature data information of the image taken by the user.
[0077] As a preferred solution of this embodiment, when the user selects a shooting mode for human body shooting, the subject object is identified on the first image data to obtain subject object features and edge surrounding features, specifically:
[0078] The first image data is subjected to human object recognition to obtain human object features and edge periphery features; wherein the main object features are human object features.
[0079] It should be noted that, since a shooting template is used in the shooting process, most of the captured image data is standardized, that is, during the subject object recognition process, the human object features of the captured image data can be quickly identified through the image recognition model. Preferably, the human object features include the human body or local positions of the human body (arms, hands, feet, head, etc.), and then by identifying the edges around the subject object features, the edge surrounding features can be identified. Preferably, the edge surrounding features generally include the edges that can be identified on the ground, wall, etc.
[0080] When the user selects the spatial structure shooting mode, the subject object is identified on the first image data to obtain the subject object features and edge surrounding features, specifically:
[0081] The three-dimensional structure of the first image data is recognized to generate a three-dimensional space model, and the three-dimensional space model is used as a main object feature, and objects in the three-dimensional space model are used as edge surrounding features.
[0082] It should be noted that since the user has selected the spatial structure shooting mode, the user can be guided by the guide lines or shooting methods to shoot real-scene images, and then through the splicing and generation of real-scene images, a three-dimensional space model corresponding to the indoor scene space and a three-dimensional object model of the objects in the indoor space are obtained. The three-dimensional space model is used as the main object feature, and the three-dimensional object model is the object in the three-dimensional space model as the edge surrounding feature.
[0083] Step S103: Indexing second image data with the same features as the main object in a preset image library, and performing object recognition on the main object features in the second image data to obtain first product data; wherein, the preset image library pre-stores image data corresponding to each main object feature and each edge surrounding feature, and the first product data includes objects that exist in the second image data but not in the first image data.
[0084] In this embodiment, the preset image library pre-stores image data corresponding to the object features of each subject and the features around each edge, including but not limited to image data of human body object features, image data of object features at local positions of the human body, three-dimensional space model data, three-dimensional object model data, etc.
[0085] It can be understood that in this embodiment, the second image data with the same main object features as those in the first image data is mainly obtained by indexing from a preset image library, and then object recognition is performed on the main object features in the second image to identify the object that is not in the first image but exists in the second image, that is, the object is used as the recommendable first product data to recommend the product. It can search and recommend products in a larger range and different fields. Compared with simply based on shopping data and browsing data, it can significantly improve the scope and quantity of product recommendations and enhance the breadth and depth of product data recommendations.
[0086] As a preferred solution of this embodiment, the second image data having the same features as the main object is indexed in the preset image library, and the main object features in the second image data are subjected to object recognition to obtain the first product data, specifically:
[0087] When the subject object feature is a human object feature, second image data identical to the human object feature is indexed in the preset image library, and an object that does not exist on the human object feature in the first image data is identified based on the human object feature in the second image data, thereby using the object as the first commodity data; when the subject object feature is a three-dimensional space model, second image data identical to the three-dimensional space model is indexed in the preset image library, and an object that does not exist on the three-dimensional space model in the first image data is searched for and identified in the three-dimensional space model in the second image data, thereby using the object as the first commodity data.
[0088] In this embodiment, as an exemplary scheme, the subject object feature is taken as a human object feature for illustration, please refer to Figure 2. If the user takes a first image data with a hand as a human object feature, the second image data with the same feature as the hand is indexed in the preset image library. The second image data can be multiple images, and by comparing the hand features in the first image data and the second image data, the objects that exist on the hand in the second image data but do not exist on the hand in the second image data are identified, where the number of objects can be one or more, and one set of second image data can identify one or more objects, such as watches, bracelets, rings, etc., so that the identified objects are used as the first product data to achieve product recommendations.
[0089] As another exemplary scheme, taking the main object feature as a three-dimensional space model as an example, if the user takes the first image data with the three-dimensional space model as the main object feature, the second image data with the same feature as the three-dimensional space model is indexed in the preset image library. For example, the three-dimensional space model of the first image data is a bathroom, then the second image data of the bathroom is indexed in the preset image library, so that in the bathroom of the second image data, objects that do not exist in the bathroom in the first image data, such as toilets, washbasins and showers, are searched and identified as the first product data to realize product recommendations.
[0090] In this embodiment, by indexing the second image of the first image data with different subject object features, and then performing object recognition on the second image, compared with the analysis of big data such as a large amount of historical shopping data and browsing data, direct image indexing and object recognition are obviously more efficient than big data analysis, and the scope of product recommendation is wider.
[0091] Step S104: Indexing third image data with the same edge surrounding features as the preset image library, and performing object recognition on the edge surrounding features in the third image data to obtain second product data; wherein, the second product data includes objects that exist in the third image data but not in the first image data.
[0092] It can be understood that by indexing the third image data with the same edge features in the preset image library, and then performing object recognition on the edge features in the third image book, the objects around the edges that exist in the third image data but do not exist in the first image data are obtained as the second product data, and the products are recommended and pushed, thereby improving the breadth and depth of product data recommendations.
[0093] As a preferred solution of this embodiment, the third image data having the same edge perimeter features as those in the preset image library is indexed, and object recognition is performed on the edge perimeter features in the third image data to obtain the second product data, specifically:
[0094] When the main object feature is a human object feature, third image data identical to the object around the edge of the human body is indexed in the preset image library, and in the third image data, an object that does not exist on the same object around the edge in the first image data is identified, and the object is used as the second product data; when the main object feature is a three-dimensional space model, third image data identical to the object in the three-dimensional space model is indexed in the preset image library, and in the third image data, an object used in conjunction with the first product data is identified, and the object is used as the second product data.
[0095] In this embodiment, as an exemplary scheme, the main object feature is taken as a human object feature for illustration, and the edge surrounding features in the first image data taken include but are not limited to walls, desktops or bed surfaces. Therefore, through the edge surrounding features in the first image data, the image of the same edge surrounding features in the third image data is further indexed, such as the wall, desktop or bed surface, and then objects that exist on the wall, desktop or bed surface in the third image data but do not exist on the wall, desktop or bed surface in the first image data can be identified, thereby serving as the second product data.
[0096] As another exemplary solution, the main object feature is a three-dimensional space model as an example. For example, if a restroom is used, the objects in the three-dimensional space model in the first image are edge features, including but not limited to toilets, electric water heaters, washbasins, and closets, which are the first product data when the main object feature is a three-dimensional space model. Then, third image data having the same object as the object in the three-dimensional space model is indexed in the preset image library. For example, the third image data includes the toilet, the third image data includes the electric water heater, the third image data includes the washbasin, the third image data includes the closet, etc. Then, in the third image data, objects that can be used in conjunction with the first product data are identified through a pre-trained object recognition model. For example, for a toilet, toilet brushes, toilet cleaners, and tissue boxes can be identified; for a closet, toothbrushes, towel racks, and hair dryers can be identified. The pre-trained object recognition model can be obtained by training a large amount of image data containing main object features and edge features. In this exemplary solution, it is image data in various restrooms, image data of toilet decorations, and image data of washbasin decorations.
[0097] Step S105: Combining the first product data and the second product data, generating and pushing product recommendation data.
[0098] In this embodiment, by combining the first product data and the second product data, and dividing the combined products into categories, the product recommendation data to be pushed is obtained, and the product recommendation data is displayed according to different categories, thereby completing the push of the product recommendation data and realizing online sales recommendations of products.
[0099] As a preferred solution of this embodiment, before generating and pushing product recommendation data, the following steps are further included:
[0100] By obtaining the user's historical browsing data, the characteristics of the products corresponding to the historical browsing data are determined; based on the characteristics of the products corresponding to the historical browsing data, objects with a characteristic correlation greater than a first preset value are generated as third product data; and product recommendation data is obtained by fusing and screening the first product data, the second product data, and the third product data.
[0101] In this embodiment, in order to ensure that the recommended product data is more in line with the user's own needs, the user's historical browsing data can be obtained to determine the approximate product data required by the user, and then the feature correlation of the browsed product data and the first product data and / or the second product data can be calculated, thereby generating an object with a feature correlation greater than a first preset value as the third product data. Among them, the feature correlation calculation step includes: first obtaining the product data of the historical browsing data and the first product data and / or the second product data, converting the product data one-to-one into the corresponding product feature word vector through a vector conversion tool, and processing the product feature word vector to obtain a product feature vector, and then calculating the feature correlation between the products through the product feature vector; preferably, the vector conversion tool is a text transformation model, including but not limited to a word2vec model. The first preset value can be set according to the actual situation.
[0102] Furthermore, the first commodity data, the second commodity data and the third commodity data are fused and screened. Preferably, comprehensive screening is performed based on factors such as sales volume, evaluation and time to market of each commodity.
[0103] As a preferred solution of this embodiment, after generating the object with a feature correlation greater than the first preset value as the third commodity data, the method further includes:
[0104] By obtaining the user's historical consumption data, the characteristics of the product corresponding to the historical consumption data are determined; based on the characteristics of the product corresponding to the historical consumption data, an object with a characteristic correlation greater than a second preset value is generated as fourth product data; based on the fourth product data and combined with the preset weight distribution, the third product data is corrected and adjusted to obtain adjusted third product data.
[0105] In this embodiment, to further improve the accuracy of product recommendations for users and better meet their needs, the user's historical consumption data can be further obtained to determine the characteristics of the products corresponding to the historical consumption data, thereby calculating the characteristic correlation between the fourth product data and the first product data and / or the second product data, and obtaining objects with characteristic correlation greater than a second preset value as the fourth product data. At the same time, the fourth product data and the third product data are corrected and adjusted based on the preset weight distribution, so that the relationship between historical browsing data and historical consumption data can be combined and more accurately integrated and filtered with the first and second product data to obtain product recommendation data.
[0106] The implementation of the above embodiment has the following effects:
[0107] The technical solution of the embodiment of the present invention obtains the first image data of the current scene in response to the user's selection and shooting operation, thereby identifying the main object based on the first image data, obtaining the main object features and the surrounding edge features, and indexing the second image data and the third image data corresponding to the main object features and the surrounding edge features respectively in the preset image library, and identifying the products that do not exist in the first image data in the second image data and the third image data, so as to expand the scope of product recommendations so that it is not limited to the user's consumption and browsing record data. While expanding the scope of product recommendations, the first image data obtained by the user's own selection and shooting operation ensures that the recommended products are based on the user's own conditions and needs, ensuring the accuracy of product recommendations, reducing the steps for users to search and retrieve products, improving user shopping efficiency, and thus improving the user experience.
[0108] Example 2
[0109] Please refer to FIG. 3 , which shows an online sales recommendation device according to an embodiment of the present invention, including: a collection module 201 , a feature recognition module 202 , a main object module 203 , an edge surrounding module 204 and a combination module 205 .
[0110] The acquisition module 201 is configured to acquire and obtain first image data of the current scene in response to a user's selection and shooting operation.
[0111] The feature recognition module 202 is configured to recognize the main object of the first image data and obtain main object features and edge periphery features.
[0112] The subject object module 203 is used to index second image data with the same features as the subject object in a preset image library, and perform object recognition on the subject object features in the second image data to obtain first product data; wherein, the preset image library pre-stores image data corresponding to each subject object feature and each edge surrounding feature, and the first product data includes objects that exist in the second image data but not in the first image data.
[0113] The edge surrounding module 204 is used to index third image data with the same edge surrounding features as the preset image library, and perform object recognition on the edge surrounding features in the third image data to obtain second product data; wherein, the second product data includes objects that exist in the third image data but not in the first image data.
[0114] The combining module 205 is configured to combine the first commodity data and the second commodity data to generate and push commodity recommendation data.
[0115] As a preferred solution, in response to the user's selection and shooting operation, collecting and acquiring the first image data of the current scene is specifically:
[0116] In response to the user's selection of a shooting mode, the corresponding shooting mode is called to shoot, and first image data of the current scene is acquired; wherein the shooting mode includes human body shooting and spatial structure shooting.
[0117] As a preferred solution, when the user selects a shooting mode for human body shooting, the subject object is identified on the first image data to obtain subject object features and edge surrounding features, specifically:
[0118] The first image data is subjected to human object recognition to obtain human object features and edge periphery features; wherein the main object features are human object features.
[0119] When the user selects the spatial structure shooting mode, the subject object is identified on the first image data to obtain the subject object features and edge surrounding features, specifically:
[0120] The three-dimensional structure of the first image data is recognized to generate a three-dimensional space model, and the three-dimensional space model is used as a main object feature, and objects in the three-dimensional space model are used as edge surrounding features.
[0121] As a preferred solution, the method of indexing second image data having the same features as the main object in a preset image library and performing object recognition on the main object features in the second image data to obtain the first product data is as follows:
[0122] When the subject object feature is a human object feature, second image data identical to the human object feature is indexed in the preset image library, and an object that does not exist on the human object feature in the first image data is identified based on the human object feature in the second image data, thereby using the object as the first commodity data; when the subject object feature is a three-dimensional space model, second image data identical to the three-dimensional space model is indexed in the preset image library, and an object that does not exist on the three-dimensional space model in the first image data is searched for and identified in the three-dimensional space model in the second image data, thereby using the object as the first commodity data.
[0123] As a preferred solution, the third image data having the same edge perimeter features as the third image data is indexed in a preset image library, and object recognition is performed on the edge perimeter features in the third image data to obtain the second product data, specifically:
[0124] When the main object feature is a human object feature, third image data identical to the object around the edge of the human body is indexed in the preset image library, and in the third image data, an object that does not exist on the same object around the edge in the first image data is identified, and the object is used as the second product data; when the main object feature is a three-dimensional space model, third image data identical to the object in the three-dimensional space model is indexed in the preset image library, and in the third image data, an object used in conjunction with the first product data is identified, and the object is used as the second product data.
[0125] As a preferred solution, before generating and pushing the product recommendation data, the method further includes:
[0126] By obtaining the user's historical browsing data, the characteristics of the products corresponding to the historical browsing data are determined; based on the characteristics of the products corresponding to the historical browsing data, objects with a characteristic correlation greater than a first preset value are generated as third product data; and product recommendation data is obtained by fusing and screening the first product data, the second product data, and the third product data.
[0127] As a preferred solution, after generating the object with a feature correlation greater than a first preset value as the third commodity data, the method further includes:
[0128] By obtaining the user's historical consumption data, the characteristics of the product corresponding to the historical consumption data are determined; based on the characteristics of the product corresponding to the historical consumption data, an object with a characteristic correlation greater than a second preset value is generated as fourth product data; based on the fourth product data and combined with the preset weight distribution, the third product data is corrected and adjusted to obtain adjusted third product data.
[0129] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0130] The implementation of the above embodiment has the following effects:
[0131] The embodiment of the present invention obtains first image data of the current scene in response to the user's selection and shooting operation, thereby identifying the main object based on the first image data, obtaining the main object features and the surrounding edge features, and indexing the second image data and the third image data corresponding to the main object features and the surrounding edge features respectively in the preset image library, and identifying the products that do not exist in the first image data in the second image data and the third image data, so as to expand the scope of product recommendations so that it is not limited to the user's consumption and browsing record data. While expanding the scope of product recommendations, the first image data obtained by the user's own selection and shooting operation ensures that the recommended products are based on the user's own conditions and needs, ensures the accuracy of product recommendations, reduces the steps of user search and retrieval of products, improves user shopping efficiency, and thus improves the user experience.
[0132] Example 3
[0133] Accordingly, the present invention also provides a terminal device, comprising: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the online sales recommendation method as described in any one of the above embodiments is implemented.
[0134] The terminal device of this embodiment includes: a processor, a memory, and a computer program or computer instructions stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the first embodiment described above, such as steps S101 to S105 shown in FIG1 . Alternatively, when the processor executes the computer program, it implements the functions of the modules / units of the apparatus embodiment described above, such as feature recognition module 202.
[0135] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the terminal device. For example, the feature recognition module 202 is configured to identify the main object in the first image data and obtain main object features and edge perimeter features.
[0136] The terminal device may be a computing device such as a desktop computer, laptop, PDA, or cloud server. The terminal device may include, but is not limited to, a processor and memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a terminal device and does not limit the terminal device. The terminal device may include more or fewer components than shown, or a combination of certain components, or different components. For example, the terminal device may also include input / output devices, network access devices, buses, and the like.
[0137] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.
[0138] The memory can be used to store the computer programs and / or modules, and the processor realizes various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile terminal, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0139] Wherein, if the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by a computer program to instruct the relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of each of the above-mentioned method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0140] Example 4
[0141] Accordingly, the present invention also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the online sales recommendation method described in any one of the above embodiments.
[0142] The specific embodiments described above further illustrate the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. An online sales recommendation method, characterized in that: include: In response to the user's selection and shooting operation, collecting and acquiring first image data of the current scene; Identify the main object of the first image data to obtain main object features and edge periphery features; Indexing second image data having the same features as the main object in a preset image library, and performing object recognition on the main object features in the second image data to obtain first commodity data; wherein the preset image library pre-stores image data corresponding to each main object feature and each edge surrounding feature, and the first commodity data includes objects that exist in the second image data but not in the first image data; Indexing third image data having the same edge periphery features as the edge periphery features in a preset image library, and performing object recognition on the edge periphery features in the third image data to obtain second commodity data; wherein the second commodity data includes objects existing in the third image data but not in the first image data; Combining the first commodity data and the second commodity data, commodity recommendation data is generated and pushed.
2. An online sales recommendation method as claimed in claim 1, characterized in that: In response to the user's selection and shooting operation, collecting and acquiring the first image data of the current scene is specifically: In response to the user's selection of a shooting mode, the corresponding shooting mode is called to shoot, and first image data of the current scene is acquired; wherein the shooting mode includes human body shooting and space structure shooting.
3. An online sales recommendation method as claimed in claim 2, characterized in that: When the user selects a shooting mode for human body shooting, the subject object is identified on the first image data to obtain the subject object features and edge periphery features, specifically: Performing human body object recognition on the first image data to obtain human body object features and edge periphery features; wherein the main object features are human body object features; When the user selects the spatial structure shooting mode, the subject object is identified on the first image data to obtain the subject object features and edge surrounding features, specifically: The three-dimensional structure of the first image data is recognized to generate a three-dimensional space model, and the three-dimensional space model is used as a main object feature, and objects in the three-dimensional space model are used as edge surrounding features.
4. An online sales recommendation method as claimed in claim 3, characterized in that: The step of indexing the second image data having the same features as the main object in the preset image library and performing object recognition on the main object features in the second image data to obtain the first commodity data is specifically as follows: When the subject object feature is a human object feature, second image data having the same human object feature as the human object feature is indexed in a preset image library, and an object that does not exist in the human object feature in the first image data is identified based on the human object feature in the second image data, thereby using the object as the first commodity data; When the main object feature is a three-dimensional space model, second image data identical to the three-dimensional space model is indexed in a preset image library, and in the three-dimensional space model in the second image data, an object that does not exist in the three-dimensional space model in the first image data is searched and identified, thereby using the object as the first product data.
5. An online sales recommendation method as claimed in claim 4, characterized in that: The step of indexing the third image data having the same edge periphery feature as the edge periphery feature in the preset image library, and performing object recognition on the edge periphery feature in the third image data to obtain the second commodity data is specifically as follows: When the subject object feature is a human object feature, third image data identical to the edge surrounding object of the human body is indexed in a preset image library, and an object not existing on the same edge surrounding object in the first image data is identified in the third image data, thereby taking the object as the second commodity data; When the main object feature is a three-dimensional space model, third image data having the same object as the three-dimensional space model is indexed in the preset image library, and the object used in conjunction with the first product data is identified in the third image data, so that the object is used as the second product data.
6. An online sales recommendation method as claimed in claim 1, characterized in that: Before generating and pushing the product recommendation data, the method further includes: By acquiring the user's historical browsing data, determining the characteristics of the product corresponding to the historical browsing data; According to the features of the commodities corresponding to the historical browsing data, an object having a feature correlation greater than a first preset value is generated as third commodity data; By fusing and screening the first commodity data, the second commodity data and the third commodity data, Get product recommendation data.
7. An online sales recommendation method as claimed in claim 6, characterized in that: After generating the object whose feature correlation is greater than the first preset value as the third commodity data, the method further includes: By obtaining the user's historical consumption data, determining the characteristics of the product corresponding to the historical consumption data; According to the characteristics of the commodity corresponding to the historical consumption data, an object having a characteristic correlation greater than a second preset value is generated as fourth commodity data; The third product data is corrected and adjusted by using the fourth product data in combination with the preset weight distribution to obtain adjusted third product data.
8. An online sales recommendation device, characterized in that: include: Acquisition module, feature recognition module, main object module, edge surrounding module and combination module; The acquisition module is used to acquire and obtain first image data of the current scene in response to the user's selection and shooting operation; The feature recognition module is used to recognize the main object of the first image data to obtain the main object features and edge surrounding features; The subject object module is used to index second image data with the same features as the subject object in a preset image library, and perform object recognition on the subject object features in the second image data to obtain first commodity data; wherein the preset image library pre-stores image data corresponding to each subject object feature and each edge surrounding feature, and the first commodity data includes objects that exist in the second image data but not in the first image data; The edge surrounding module is used to index third image data having the same edge surrounding features as the edge surrounding features in a preset image library, and perform object recognition on the edge surrounding features in the third image data to obtain second commodity data; wherein the second commodity data includes objects that exist in the third image data but not in the first image data; The combining module is used to combine the first commodity data and the second commodity data to generate and push commodity recommendation data.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the online sales recommendation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the online sales recommendation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Store commodity recommendation method and device
CN111784372A
Commodity recommendation method, server, shopping cart and shopping system
CN114169952A
Commodity recommendation method and device, three-dimensional scene model generation method and device and storage medium
CN114842135A
Recommendations utilizing visual image analysis
US20150363943A1
