CN115526675A - Clothing recommendation method and equipment - Google Patents
Clothing recommendation method and equipment Download PDFInfo
- Publication number
- CN115526675A CN115526675A CN202110714989.2A CN202110714989A CN115526675A CN 115526675 A CN115526675 A CN 115526675A CN 202110714989 A CN202110714989 A CN 202110714989A CN 115526675 A CN115526675 A CN 115526675A
- Authority
- CN
- China
- Prior art keywords
- user
- clothing
- attribute information
- image
- acquiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000000694 effects Effects 0.000 claims abstract description 77
- 238000012545 processing Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 14
- 238000011156 evaluation Methods 0.000 claims description 7
- 230000005012 migration Effects 0.000 claims description 4
- 238000013508 migration Methods 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 6
- 238000007405 data analysis Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000011521 glass Substances 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Item recommendations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
- G06Q30/0643—Graphical representation of items or shoppers
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention belongs to the field of image processing, and particularly relates to a clothing recommendation method and equipment. The invention aims to solve the problem that the experience sense of the existing user is poor when the user performs virtual fitting. The clothing recommendation method comprises the following steps: acquiring a human body image and a clothing image of a user; identifying the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of a user; acquiring clothing attribute information corresponding to the clothing image, wherein the clothing attribute information is used for representing the style characteristics of clothing; acquiring the wearing and putting effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information; and displaying the stringing and lapping effect. By the method, the virtual fitting of the user can be realized directly according to the human body image and the clothing image, and the experience of the user in the virtual fitting is greatly improved.
Description
Technical Field
The embodiment of the invention belongs to the field of image processing, and particularly relates to a clothing recommendation method and equipment.
Background
Along with the improvement of living standard, people pay more and more attention to wearing and putting up of clothing, under the general condition, people mostly go to the inside of market and try on to confirm whether the clothes fit to and holistic collocation effect, but go to the market and try on can greatly waste people's time, consequently, people begin to select the mode of carrying out the clothing recommendation through virtual fitting.
In the related art, the virtual fitting method is to provide a dynamic image by a user station in front of a camera, then acquire data of the user according to the dynamic image of the user to construct a three-dimensional (3-Dimension, abbreviated as 3D) model of the user, and attach clothes on the body of the model to perform fitting, so as to recommend proper clothes for the user.
However, according to the method, the user is required to stand in front of the camera in real time to provide the dynamic image, when the user is inconvenient to provide the dynamic image, the user cannot perform fitting experience, then a model needs to be built, and then the user tries to wear clothes, so that the implementation process is complex, and the fitting experience of the user is greatly reduced.
Disclosure of Invention
In order to solve the above problem in the prior art, that is, to solve the problem that the experience of the existing user is poor when performing virtual fitting, an embodiment of the present invention provides a clothing recommendation method, including: acquiring a human body image and a clothing image of a user; identifying the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of a user; acquiring clothing attribute information corresponding to the clothing image, wherein the clothing attribute information is used for representing the style characteristics of the clothing; acquiring the wearing and putting-on effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information; and displaying the stringing and lapping effect.
In a preferred embodiment of the clothing recommendation method, the method further includes: receiving an evaluation score of the cross-matching effect input by a user; and if the evaluation score is larger than a preset threshold value, recording the identity Identification (ID) and the putting-through effect of the user in the cloud database.
In a preferred technical solution of the clothing recommendation method, acquiring a wearing and fitting effect of a user and a clothing in a clothing image according to user attribute information and clothing attribute information includes: generating a wearing and fitting effect of the user and the clothes according to the user attribute information and the clothes attribute information; or if the cloud database stores user attribute information or garment attribute information, acquiring a wearing and fitting effect of the user and the garment from the cloud database, wherein the user attribute information comprises an ID of the user, and the garment attribute information comprises an ID of the garment.
In a preferred technical solution of the clothing recommendation method, the acquiring clothing attribute information corresponding to the clothing image includes: identifying the clothing image according to an image identification algorithm to obtain clothing attribute information; or if the cloud database stores the clothing attribute information, acquiring the clothing attribute information from the cloud database.
In a preferred embodiment of the clothing recommendation method, the user attribute information further includes at least one of the following: age information, stature information, gender information, and accessory information; the garment attribute information further includes at least one of: type information, color information, pattern information, and plate type information.
In a preferred embodiment of the clothing recommendation method, the method further includes: acquiring a target background to be migrated according to an instruction of a user; and replacing the currently displayed background with the target background by utilizing a style migration algorithm.
In a preferred technical solution of the clothing recommendation method, the obtaining a target background to be migrated according to an instruction of a user includes: carrying out voice recognition on voice input audio data to acquire a background style indicated by a user; acquiring a target background corresponding to the background style from a cloud database; or, receiving a background style input by a user; and acquiring a target background corresponding to the background style from the cloud database.
The embodiment of the invention also provides a garment recommendation device, which comprises: the image acquisition device is used for acquiring a human body image and a clothing image of a user; the computer equipment is connected with the image acquisition device and used for identifying and processing the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of a user and obtaining clothing attribute information corresponding to the clothing image, the clothing attribute information is used for representing the style characteristics of clothing, and the wearing and lapping effect of the user and the clothing in the clothing image is obtained according to the user attribute information and the clothing attribute information; and the display equipment is connected with the computer equipment and is used for displaying the wearing and putting-on effect.
The embodiment of the invention also provides a clothing recommendation device, which comprises: the first acquisition module is used for acquiring a body image and a clothing image of a user; the processing module is used for identifying the human body image according to an image identification algorithm to obtain user attribute information, and the user attribute information is used for representing the appearance characteristics of a user; the second acquisition module is used for acquiring clothing attribute information corresponding to the clothing image, and the clothing attribute information is used for representing the style characteristics of the clothing; the third acquisition module is used for acquiring the wearing and putting-on effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information; and the display module is used for displaying the wearing and putting-on effect.
An embodiment of the present invention further provides an electronic device, including: a processor, a memory, an interactive interface; the memory is used for storing executable instructions of the processor; wherein the processor is configured to execute the above clothing recommendation method via execution of executable instructions.
The embodiment of the invention also provides a readable storage medium, wherein a computer program is stored on the readable storage medium, and when being executed by a processor, the computer program realizes the clothing recommendation method.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program is used for realizing the clothing recommendation method when being executed by a processor.
As can be understood by those skilled in the art, the clothing recommendation method provided by the embodiment of the invention includes: acquiring a human body image and a clothing image of a user; identifying the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of a user; acquiring clothing attribute information corresponding to the clothing image, wherein the clothing attribute information is used for representing the style characteristics of clothing; acquiring the wearing and putting-on effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information; and displaying the stringing and lapping effect. By the method, the virtual fitting of the user can be realized directly according to the human body image and the clothing image, and the experience of the user in the virtual fitting process is greatly improved.
Drawings
Preferred embodiments of the oil screen apparatus of the present invention will be described below with reference to the accompanying drawings in conjunction with a range hood. The attached drawings are as follows:
fig. 1 is a schematic view of an application scenario of a clothing recommendation method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a clothing recommendation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a clothing recommendation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a clothing recommendation device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
First, it should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention. And can be adjusted as needed by those skilled in the art to suit particular applications.
Furthermore, it should be noted that in the description of the embodiments of the present invention, the terms "first", "second", "third", "fourth", etc. (if present) are used for distinguishing similar objects, and are not necessarily used for describing a specific order or sequence. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Furthermore, it should be noted that in the description of the embodiments of the present invention, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art provided in the background art, in a scheme in which a user recommends a garment through a virtual fitting, at least the following technical problems exist:
the user is required to stand in front of the camera in real time to provide dynamic images, the user cannot perform fitting experience when the user inconveniently provides the dynamic images, then a model needs to be constructed, and then the user tries to wear clothes, the implementation process is complex, and fitting experience of the user is greatly reduced.
Aiming at the problems, the invention provides a clothing recommendation method and equipment, a user provides two-dimensional images of a human body and clothing through a high-definition camera, computer equipment processes the two-dimensional images by adopting an image recognition algorithm to obtain user attribute information and clothing attribute information, the user attribute information comprises appearance characteristics and the like of the user, the clothing attribute information comprises style characteristics and the like of the clothing, clothing matched with the clothing can be recommended for the user according to the appearance characteristics of the user, and a putting-on and putting-on effect can be displayed. In addition, when the user wants to replace the background, the user can select the background which the user wants through voice control to replace the background, and a real fitting scene is generated, so that fitting immersion and fitting experience of the user can be improved.
Fig. 1 is a schematic view of an application scenario of the clothing recommendation method according to an embodiment of the present invention, as shown in fig. 1, in the scenario, an image capture device, a computer device, and a display device are disposed in a clothing recommendation device. Taking the clothes fitting experience of a user at home by using the clothes recommendation device as an example, the image acquisition device can be a high-definition camera, a high-quality human body image and a high-quality clothes image can be acquired through an acquisition module in the high-definition camera, and the acquired human body image and the clothes image are sent to the computer device through a sending module, so that the computer device can better identify and process the human body image and the clothes image.
The computer equipment is any equipment capable of processing images, after the high-definition images acquired by the high-definition camera are acquired, the computer equipment utilizes the image processing module to process the human body images through an image recognition algorithm to obtain user attribute information, the user attribute information comprises the appearance characteristics of a user, the clothing attribute information can be acquired according to the clothing images, the clothing attribute information comprises the style characteristics of clothing, and after the computer acquires the user attribute information and the clothing attribute information, the computer equipment can recommend the most appropriate clothing matched for the user.
The display device is any device capable of displaying images, after the computer device recommends clothes to the user, the computer device can generate a putting-on and putting-on effect according to the recommended clothes, send the putting-on and putting-on effect to the display device, and display the putting-on and putting-on effect through a display module in the display device. In the process of displaying the putting-on and putting-on effect, because the current scene of the user is at home, if the user wants to replace the currently displayed background, the user can control the clothing recommendation device to replace the background through voice.
In the virtual fitting process, if the fitting effect recommended to the clothing recommendation device is satisfactory, the favorite fitting scheme can be stored in the cloud server, so that the clothing recommendation device can be directly recommended to the user next time. The user can also store the user attribute information and the clothing attribute information of the user into the cloud server, and in the next recommendation process, the user attribute information and the clothing attribute information can be directly obtained from the cloud server to perform clothing recommendation.
The principles and features of embodiments of the present invention are described below in conjunction with the following drawings, which are presented by way of example only to illustrate embodiments of the present invention and not to limit the scope of embodiments of the present invention.
Fig. 2 is a flowchart of a clothing recommendation method according to an embodiment of the present invention, and as shown in fig. 2, the clothing recommendation method includes the following steps:
s201: and acquiring a human body image and a clothing image of the user.
In the step, the human body image and the clothing image of the user can be acquired through the image acquisition device, and the image acquisition device can select the high-definition camera, so that the acquired human body image and the clothing image have better quality, and better user attribute information and clothing attribute information can be acquired and better data analysis can be performed when the human body image and the clothing image are processed.
S202: and identifying the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of the user.
In this step, the user attribute information may include age information, stature information, gender information, and accessory information of the user, and since the age, stature, and gender of the user determine the style of the clothing worn by the user when recommending clothing for the user, the accessory information indicates whether the user wears a hat, glasses, or not, and a more appropriate matching scheme may be recommended for the user through the accessory information, after the user provides a human body image, the human body image needs to be identified by using an image identification algorithm to obtain the data of the user, and if the quality of the human body image is higher, the clothing recommended for the user is more accurate.
In the scheme, the user attribute information can also comprise the ID of the user, and the ID of the user can be used as the index of the user attribute information, so that the corresponding user attribute information can be quickly acquired according to the index after the user attribute information is stored in the cloud server.
S203: and acquiring clothing attribute information corresponding to the clothing image, wherein the clothing attribute information is used for representing the style characteristics of the clothing.
In this step, the garment attribute information may include type information, color information, pattern information, and layout information (for example, sleeve length, collar type, number of codes, etc.) of the garment, and for different users, the garment most matched with the user is different, for example, for a user with a fat stature, a garment with a loose layout may be recommended for the user, and for a user with a thin stature, a garment with a loose stature may be less suitable for the user, and therefore, after the garment image is obtained, the data of the garment may be obtained according to the garment image, and the higher the quality of the garment image is, the more accurate the obtained garment attribute information is.
In the scheme, the clothing attribute information can further comprise the ID of the clothing, and the ID of the clothing can be used as an index of the clothing attribute information, so that the corresponding clothing attribute information can be quickly obtained according to the index after the clothing attribute information is stored in the cloud server.
S204: and acquiring the wearing and putting effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information.
In this step, after the user attribute information and the clothing attribute information are obtained, data analysis can be performed on the user attribute information and the clothing attribute information, so that the most suitable clothing is recommended for the user, including upper clothing, lower clothing, shoes, jewelry and the like are recommended for the user, for example, for a female group, after the upper clothing, the lower clothing and the shoes are recommended, the proper earrings, necklaces and the like can be recommended for the female group on the basis of current matching, and therefore a virtual wearing and putting effect is generated.
S205: and displaying the stringing and lapping effect.
In this step, after the putting on effect of the user and the garment in the garment image is obtained, the putting on effect may be displayed on the display device. When the putting-on effect is displayed, if the current background of the user is single, the user can control the switching of the backgrounds through voice, for example, the user wants to participate in a dance hall, the user can say that the user wants to wear clothes to participate in the dance hall to the clothing recommendation device, and the background on the display device can be switched from the current background to the background of the dance hall, so that the user can experience the more immersive putting-on effect.
In the scheme, if the user is satisfied with the current wearing and matching effect, the user can select to store the current wearing and matching scheme into the cloud database and take the ID information of the user as an index, so that when clothes are recommended for the user next time, the stored wearing and matching scheme can be displayed for the user on the display device, whether the clothes matching needs to be carried out again is determined according to the user requirement, and therefore the problem of frequently and repeatedly calling a recommendation algorithm can be solved, and the use of an internal memory can be saved.
In one implementation, the method further comprises: receiving an evaluation score of the putting-through effect, which is input by a user; and if the evaluation score is larger than a preset threshold value, recording the identity Identification (ID) and the putting-through effect of the user in the cloud database.
In the scheme, when the putting-on and putting-on effect is displayed, a preset threshold value can be preset, a user can score the putting-on and putting-on effect of the currently recommended putting-on and putting-on scheme, under the condition that the score value is larger than the preset threshold value, the user can select to store the putting-on and putting-on effect corresponding to the current putting-on and putting-on scheme into the cloud database, and the clothing recommendation device can set the ID of the user to be index information of the putting-on and putting-on effect corresponding to the current putting-on and putting-on scheme.
In the above scheme, if the ID information of the user is not matched in the cloud database, the user may be used as a new user, the user attribute information of the user is stored in the cloud database, then the putting-on effect of the user is obtained according to the user attribute information of the user and the clothing attribute information existing in the cloud database, and if the user likes the putting-on effect of the recommended putting-on scheme, the putting-on effect corresponding to the putting-on scheme may also be selected to be stored in the cloud database, so as to be displayed to the user when the user is recommended next time.
In one specific implementation, acquiring a wearing and fitting effect of a user and a garment in a garment image according to user attribute information and garment attribute information includes: generating a wearing and fitting effect of the user and the clothes according to the user attribute information and the clothes attribute information; or if the cloud database stores user attribute information or garment attribute information, acquiring a wearing and fitting effect of the user and the garment from the cloud database, wherein the user attribute information comprises an ID of the user, and the garment attribute information comprises an ID of the garment.
In the scheme, the cloud database can continuously store various user attribute information and clothing attribute information and a corresponding wearing and assembling effect of the wearing and assembling scheme in the using process of a user, so that when the wearing and assembling effect of the user and clothing in a clothing image is obtained according to the user attribute information and the clothing attribute information, whether the corresponding user attribute information and clothing attribute information exist in the cloud database can be checked, if the user attribute information and the clothing attribute information do not exist in the cloud database, the wearing and assembling effect of the user and the clothing needs to be generated according to the user attribute information and the clothing attribute information provided by the current user, and the user attribute information, the clothing attribute information and the corresponding wearing and assembling effect of the user can be stored in the cloud database.
In the above scheme, if the cloud database stores the user attribute information or the garment attribute information, the putting-on and putting-on effect corresponding to the ID of the user can be directly obtained according to the ID of the user.
In one specific implementation, acquiring garment attribute information corresponding to a garment image includes: identifying the clothing image according to an image identification algorithm to obtain clothing attribute information; or if the cloud database stores the clothing attribute information, acquiring the clothing attribute information from the cloud database.
In the scheme, if the user uses the clothing recommendation device for the first time or the clothing attribute information suitable for the user cannot be acquired in the cloud database, a clothing image can be shot for the user through a high-definition camera, and then the clothing image is identified according to an image identification algorithm, so that the clothing attribute information can be acquired; if the clothing attribute information is stored in the cloud database, the clothing attribute information can be directly obtained from the cloud database.
In one implementation, the method further comprises: acquiring a target background to be migrated according to an instruction of a user; and replacing the currently displayed background with the target background by utilizing a style migration algorithm.
In the scheme, the target background to be migrated can be a background pre-stored in a cloud database, and if the cloud database does not have a proper background, the background required by a user can be found on the internet through a networking function.
In one specific implementation, acquiring a target background to be migrated according to an instruction of a user includes: carrying out voice recognition on voice input audio data to acquire a background style indicated by a user; acquiring a target background corresponding to the background style from a cloud database; or, receiving a background style input by a user; and acquiring a target background corresponding to the background style from the cloud database.
In the scheme, a user can control the clothing recommendation device to switch backgrounds through voice, after the clothing recommendation device obtains audio data input by the user through voice, the audio data can be identified, and the background style indicated by the user is obtained, for example, if the audio input by the user through voice is 'i want to wear the clothing to attend a dance meeting', the background style indicated by the user is the dance meeting style, so that a target background corresponding to the dance meeting style can be obtained from a cloud database according to the indication of the user, and the current background is changed into the target background.
In the above scheme, the display device may provide a touch screen function, and a user may directly input a desired background style on a display screen of the display device, and then obtain a target background corresponding to the background style input by the user in the cloud database to replace a background of a current putting-on effect.
According to the clothing recommendation method provided by the embodiment, the human body image and the clothing image of the user are acquired; identifying the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of a user; acquiring clothing attribute information corresponding to the clothing image, wherein the clothing attribute information is used for representing the style characteristics of clothing; acquiring the wearing and putting-on effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information; the wearing effect is displayed, so that the virtual fitting of the user can be realized directly according to the human body image and the clothing image, and the experience of the user in the virtual fitting process is greatly improved.
In general, according to the technical scheme provided by the invention, the clothing can be recommended for the user through the two-dimensional user image and the clothing image, the wearing effect of the user and the clothing can be displayed, the background of the wearing effect can be changed through voice control, and if the user is satisfied with the wearing effect of the recommended wearing scheme, the wearing effect of the wearing scheme can be stored in the cloud server by the user, so that the user can display the stored wearing effect of the wearing scheme to the user when performing virtual fitting next time, and the user can feel more immersive when performing virtual fitting, and the method is a realization technical method capable of greatly improving the user experience.
An embodiment of the present invention further provides a garment recommendation device, fig. 3 is a schematic structural diagram of the garment recommendation device provided in the embodiment of the present invention, and as shown in fig. 3, the garment recommendation device 30 includes:
the image acquisition device 31 is used for acquiring a human body image and a clothing image of a user;
the computer equipment 32 is connected with the image acquisition device 31 and is used for identifying and processing the human body image according to an image identification algorithm to obtain user attribute information, the user attribute information is used for representing the appearance characteristics of the user and obtaining clothing attribute information corresponding to the clothing image, the clothing attribute information is used for representing the style characteristics of clothing, and the wearing and lapping effect of the user and the clothing in the clothing image is obtained according to the user attribute information and the clothing attribute information;
and the display device 33 is connected with the computer device 32 and is used for displaying the putting-on effect.
The clothing recommendation device is used for executing the technical scheme provided by the method embodiment, and the implementation principle and the technical effect of the clothing recommendation device are similar to those in the method embodiment, and are not described herein again.
Fig. 4 is a schematic structural diagram of a garment recommendation device according to an embodiment of the present invention, and as shown in fig. 4, the garment recommendation device 40 includes:
a first obtaining module 41, configured to obtain a body image and a clothing image of a user;
the processing module 42 is configured to perform recognition processing on the human body image according to an image recognition algorithm to obtain user attribute information, where the user attribute information is used to represent appearance characteristics of a user;
a second obtaining module 43, configured to obtain clothing attribute information corresponding to the clothing image, where the clothing attribute information is used to represent style characteristics of the clothing;
a third obtaining module 44, configured to obtain a wearing and fitting effect between the user and the garment in the garment image according to the user attribute information and the garment attribute information;
and the display module 45 is used for displaying the putting-on and putting-on effect.
Optionally, the clothing recommending device 40 is further configured to receive a rating score for the putting-on effect, which is input by the user; and if the evaluation score is larger than a preset threshold value, recording the identity Identification (ID) and the putting-through effect of the user in the cloud database.
Optionally, the third obtaining module 44 is further configured to generate a wearing and fitting effect between the user and the garment according to the user attribute information and the garment attribute information; or if the cloud database stores user attribute information or garment attribute information, acquiring a wearing and fitting effect of the user and the garment from the cloud database, wherein the user attribute information comprises an ID of the user, and the garment attribute information comprises an ID of the garment.
Optionally, the second obtaining module 43 is further configured to perform recognition processing on the clothing image according to an image recognition algorithm to obtain clothing attribute information; or if the cloud database stores the clothing attribute information, acquiring the clothing attribute information from the cloud database.
Optionally, the user attribute information further includes at least one of: age information, stature information, gender information, and accessory information; the garment attribute information further includes at least one of: type information, color information, pattern information, and plate type information.
Optionally, the clothing recommendation device 40 is further configured to obtain a target background to be migrated according to an instruction of the user; and replacing the currently displayed background with the target background by utilizing a style migration algorithm.
Optionally, the clothing recommending apparatus 40 is further configured to, when the target background to be migrated is obtained according to the instruction of the user, perform speech recognition on the audio data input by the speech to obtain a background style indicated by the user; acquiring a target background corresponding to the background style from a cloud database; or, receiving a background style input by a user; and acquiring a target background corresponding to the background style from the cloud database.
The clothing recommendation device is used for executing the technical scheme provided by the method embodiment, and the implementation principle and the technical effect of the clothing recommendation device are similar to those in the method embodiment, and are not described again here.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device 500 includes:
a processor 511, a memory 512, and an interactive interface 513;
the memory 512 is used for storing executable instructions of the processor 511;
wherein, the processor 511 is configured to execute the technical solution in the aforementioned clothing recommendation method via executing the executable instructions.
Alternatively, the memory 512 may be separate or integrated with the processor 511.
Optionally, when the memory 512 is a device separate from the processor 511, the electronic device 500 may further include:
and the bus is used for connecting the devices.
The electronic device is configured to execute the technical solution provided by the foregoing method embodiment, and the implementation principle and technical effect of the electronic device are similar to those in the foregoing method embodiment, and are not described herein again.
The embodiment of the invention also provides a readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the clothing recommendation method provided by the foregoing embodiment.
The embodiment of the present invention further provides a computer program product, which includes a computer program, and the computer program is used for implementing the clothing recommendation method provided in the foregoing method embodiment when being executed by a processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (12)
1. A method for recommending clothing, comprising:
acquiring a human body image and a clothing image of a user;
identifying the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of the user;
acquiring clothing attribute information corresponding to the clothing image, wherein the clothing attribute information is used for representing the style characteristics of clothing;
acquiring the wearing and putting effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information;
and displaying the putting-on effect.
2. The method of claim 1, further comprising:
receiving an evaluation score of the putting-through effect, which is input by a user;
and if the evaluation score is larger than a preset threshold value, recording the identity Identification (ID) of the user and the putting-on effect in a cloud database.
3. The method according to claim 2, wherein obtaining the fitting effect of the user and the garment in the garment image according to the user attribute information and the garment attribute information comprises:
generating the wearing and matching effect of the user and the clothing according to the user attribute information and the clothing attribute information;
or,
if the user attribute information or the clothing attribute information is stored in a cloud database, acquiring the wearing and putting effect of the user and the clothing from the cloud database, wherein the user attribute information comprises the ID of the user, and the clothing attribute information comprises the ID of the clothing.
4. The method of claim 1, wherein obtaining garment attribute information corresponding to the garment image comprises:
identifying the clothing image according to an image identification algorithm to obtain clothing attribute information;
or,
and if the clothing attribute information is stored in the cloud database, acquiring the clothing attribute information from the cloud database.
5. The method according to any of claims 1 to 4, wherein the user attribute information further comprises at least one of: age information, stature information, gender information, and accessory information; the garment attribute information further includes at least one of: type information, color information, pattern information, and plate type information.
6. The method of claim 1, further comprising:
acquiring a target background to be migrated according to an instruction of a user;
and replacing the currently displayed background with the target background by utilizing a style migration algorithm.
7. The method according to claim 6, wherein the obtaining the target background to be migrated according to the instruction of the user comprises:
carrying out voice recognition on voice input audio data to acquire a background style indicated by the user;
acquiring the target background corresponding to the background style from a cloud database;
or,
receiving a background style input by a user;
and acquiring the target background corresponding to the background style from a cloud database.
8. A garment recommendation device, comprising:
the image acquisition device is used for acquiring a human body image and a clothing image of a user;
the computer equipment is connected with the image acquisition device and used for identifying and processing the human body image according to an image identification algorithm to obtain user attribute information, wherein the user attribute information is used for representing the appearance characteristics of the user and obtaining clothing attribute information corresponding to the clothing image, the clothing attribute information is used for representing the style characteristics of clothing, and the wearing and lapping effect of the user and the clothing in the clothing image is obtained according to the user attribute information and the clothing attribute information;
and the display equipment is connected with the computer equipment and is used for displaying the putting-on effect.
9. A garment recommendation device, comprising:
the first acquisition module is used for acquiring a body image and a clothing image of a user;
the processing module is used for identifying the human body image according to an image identification algorithm to obtain user attribute information, and the user attribute information is used for representing the appearance characteristics of the user;
the second acquisition module is used for acquiring clothing attribute information corresponding to the clothing image, and the clothing attribute information is used for representing the style characteristics of clothing;
the third obtaining module is used for obtaining the wearing and putting-on effect of the user and the clothes in the clothes image according to the user attribute information and the clothes attribute information;
and the display module is used for displaying the putting-on effect.
10. An electronic device, comprising:
a processor, a memory, an interactive interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the garment recommendation method of any of claims 1-7 via execution of the executable instructions.
11. A readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the garment recommendation method of any of claims 1-7.
12. A computer program product, characterized in that it comprises a computer program for implementing the garment recommendation method according to any one of claims 1 to 7 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110714989.2A CN115526675A (en) | 2021-06-25 | 2021-06-25 | Clothing recommendation method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110714989.2A CN115526675A (en) | 2021-06-25 | 2021-06-25 | Clothing recommendation method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115526675A true CN115526675A (en) | 2022-12-27 |
Family
ID=84695021
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110714989.2A Pending CN115526675A (en) | 2021-06-25 | 2021-06-25 | Clothing recommendation method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115526675A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118072359A (en) * | 2024-04-18 | 2024-05-24 | 浙江深象智能科技有限公司 | Pedestrian clothing identification method, device and equipment |
-
2021
- 2021-06-25 CN CN202110714989.2A patent/CN115526675A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118072359A (en) * | 2024-04-18 | 2024-05-24 | 浙江深象智能科技有限公司 | Pedestrian clothing identification method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10019779B2 (en) | Browsing interface for item counterparts having different scales and lengths | |
CN106803057B (en) | Image information processing method and device | |
US20090251484A1 (en) | Avatar for a portable device | |
CN110021061A (en) | Collocation model building method, dress ornament recommended method, device, medium and terminal | |
US20170352091A1 (en) | Methods for generating a 3d virtual body model of a person combined with a 3d garment image, and related devices, systems and computer program products | |
KR20190000397A (en) | Fashion preference analysis | |
CN106202316A (en) | Merchandise news acquisition methods based on video and device | |
US10026176B2 (en) | Browsing interface for item counterparts having different scales and lengths | |
CN105989617A (en) | Virtual try-on apparatus and virtual try-on method | |
CN107210830B (en) | Object presenting and recommending method and device based on biological characteristics | |
CN105989618A (en) | Virtual try-on apparatus and virtual try-on method | |
CN109670385B (en) | Method and device for updating expression in application program | |
CN111767817A (en) | Clothing matching method and device, electronic equipment and storage medium | |
CN115526675A (en) | Clothing recommendation method and equipment | |
KR20210017287A (en) | System and method for recommending color of cosmetic product by sharing information with influencer | |
KR20200085029A (en) | Avatar virtual pitting system | |
CN116823402A (en) | Virtual fitting processing method, system, equipment and storage medium | |
CN108010038B (en) | Live-broadcast dress decorating method and device based on self-adaptive threshold segmentation | |
CN113450448A (en) | Image processing method, device and system | |
CN111274489A (en) | Information processing method, device, equipment and storage medium | |
CN113377970A (en) | Information processing method and device | |
CN111429210A (en) | Method, device and equipment for recommending clothes | |
WO2020079235A1 (en) | Method and apparatus for accessing clothing | |
US20220414755A1 (en) | Method, device, and system for providing fashion information | |
CN111754297A (en) | Image sharing processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |