Item matching recommendation method, device, electronic device and storage medium
By identifying the color and geometric features of the target picture, the clothing and accessories that match the graphic features are recommended, which solves the problems of low efficiency and high labor costs in the process of customized clothing, and improves the effect of corporate image shaping.
Patent Information
- Application Number
- CN202311466945.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2043-11-06
AI Technical Summary
During the process of customizing clothing, companies and merchants need to communicate and confirm multiple times, which leads to low efficiency and long-term consumption and increases labor costs.
By identifying the color and geometric features of the target picture, clothing and accessories that match the graphic features are recommended, manual communication is reduced, and recommendation efficiency is improved.
It reduces the communication costs between enterprises and merchants, improves the efficiency of clothing matching, and improves the effect of corporate image shaping.
Smart Images

Figure CN117436989B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for recommending item combinations. Background Art
[0002] Corporate image plays a vital role in the operation of an enterprise. Building a corporate image and establishing a corporate brand have become important means of enterprise development.
[0003] The personal image of corporate employees is closely related to the corporate image. In order to enhance the corporate image and create a unique corporate culture, companies usually customize professional clothing. When customizing, the company provides the requirements for clothing, such as fabrics, layouts, etc. After the merchant makes the sample clothing, the company confirms that it is correct before mass customization.
[0004] The above-mentioned process of customizing professional attire requires multiple communications and confirmations between the enterprise and the merchant, which is inefficient and consumes time and manpower costs. Summary of the invention
[0005] The present application provides an item matching recommendation method, device, electronic device and storage medium to solve the problem of low efficiency and long time consumption in the prior art of customizing clothing.
[0006] In a first aspect, the present application provides a method for recommending item combinations, comprising:
[0007] In response to a user's operation instruction to add a picture, obtaining a target picture in the picture list;
[0008] Identify the target image and determine the color and geometric features of the graphics in the target image;
[0009] Determine the color of the item to be recommended according to the color characteristics of the graphic, wherein the item to be recommended includes a first garment and a second garment, and the first garment and the second garment are used in combination;
[0010] Determine the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic;
[0011] Determine the item to be recommended according to the color of the item to be recommended, the target attribute of the first garment, and the target attribute of the second garment;
[0012] Recommend information about items to be recommended.
[0013] In some embodiments, determining the color of the item to be recommended according to the color characteristics of the graphic includes:
[0014] If the color of the graphic is a single color, then the main color of the first garment is determined to be a single color;
[0015] If the color of the graphic includes multiple colors, the main color of the first garment is determined to be the color with the largest area among the multiple colors.
[0016] In some embodiments, the method further includes: determining a light color of a preset ratio concentration of the main color of the first garment as the color of the second garment.
[0017] In some embodiments, the geometric feature of the graphic includes the number of acute angles in the outer contour of the graphic, and the target attribute of the first garment and the target attribute of the second garment both include fabric softness;
[0018] According to the geometric features of the graphic, the target attribute of the first garment and the target attribute of the second garment are determined, including:
[0019] If the number of acute angles in the outer contour of the graphic is greater than or equal to a preset threshold, it is determined that the fabric softness of the first garment and the second garment is both less than the preset softness threshold;
[0020] If the number of acute angles in the outer contour of the graphic is less than a preset threshold, it is determined that the fabric softness of the first garment and the second garment is greater than or equal to the preset softness threshold.
[0021] In some embodiments, the items to be recommended further include cosmetics, which include lipstick and eye shadow;
[0022] When the main color is a cool color, the color tone of the cosmetics is determined to be a cool color, where cool colors include green, blue and purple;
[0023] When the main color is a warm color, the color tone of the cosmetics is determined to be a warm color, among which warm colors include red, orange and yellow.
[0024] In some embodiments, the items to be recommended also include accessories;
[0025] When the main color is a cool color, the color tone of the accessories should be a cool color, where cool colors also include silver;
[0026] When the main color is a warm color, the tones of the accessories should be warm colors, among which warm colors also include gold.
[0027] In some embodiments, the information for recommending an item to be recommended includes:
[0028] Display text information of the recommended items and / or matching effect pictures of the recommended items.
[0029] In a second aspect, the present application provides an item matching recommendation device, comprising:
[0030] An acquisition module, configured to acquire a target image from the image list in response to an operation instruction of a user to add an image;
[0031] The recognition module is used to recognize the target image and determine the color characteristics and geometric characteristics of the graphics in the target image;
[0032] A determination module, used to determine the color of the item to be recommended according to the color characteristics of the graphic, wherein the item to be recommended includes a first garment and a second garment;
[0033] The determination module is further used to determine the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic, wherein the first garment and the second garment are used in combination;
[0034] The determination module is further used to determine the item to be recommended according to the color of the item to be recommended, the target attribute of the first garment and the target attribute of the second garment;
[0035] The recommendation module is used to recommend information about items to be recommended.
[0036] In a third aspect, the present application provides an electronic device, including: a memory and a processor;
[0037] The memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory to implement the item matching recommendation method in the first aspect and any one of the embodiments of the first aspect.
[0038] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method for recommending item combinations in the first aspect and any one of the embodiments of the first aspect is implemented.
[0039] In a fifth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the method for recommending item combinations in the first aspect and any one of the embodiments of the first aspect.
[0040] The method, device, electronic device and storage medium for recommending item combinations provided by the present application identify the color features and geometric features of the graphics in the target image, determine the color and target attributes of the item to be recommended based on the color features and geometric features, and thus recommend information about the item to be recommended. Since items are recommended based on the target image, the manual communication cost is reduced and the efficiency of recommending items is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 A schematic diagram of a scenario for recommending item pairing provided in an embodiment of the present application;
[0043] Figure 2 A flowchart of a method for recommending item combinations provided in one embodiment of the present application;
[0044] Figure 3 A signaling interaction diagram of an item matching recommendation method provided in one embodiment of the present application;
[0045] Figure 4 A schematic diagram of the structure of an item matching recommendation device provided in one embodiment of the present application;
[0046] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances. For example, without departing from the scope of this article, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining".
[0049] Corporate image plays a vital role in the operation of an enterprise. Building a corporate image and establishing a corporate brand have become important means of enterprise development.
[0050] When spreading corporate culture and establishing brand image, traditional visual identification systems are often used. Such systems only create a unified overall image for some static parts, and do not make systematic designs for dynamic parts such as dressing style, makeup, and matching. The personal image of corporate employees is closely related to the corporate image. In order to enhance the corporate image and create a unique corporate culture, companies usually customize professional clothing. When customizing, the company provides requirements for clothing, such as fabrics, layouts, etc. The merchant makes samples according to the company's requirements, and the company confirms that they are correct before mass customization.
[0051] The above-mentioned process of customizing professional attire requires multiple communications and confirmations between the enterprise and the merchant, which is inefficient and time-consuming and labor-intensive. In addition, the enterprise also needs to provide matching training for employees, which is time-consuming and labor-intensive.
[0052] In response to the above problems, this application proposes a method, device, electronic device and storage medium for recommending item matching. In this method, by identifying the color and geometric features of a graphic, clothing, accessories, etc. that match the graphic features can be recommended, which can not only reduce the communication costs between enterprises and merchants, improve matching efficiency, but also have a better effect on corporate image building.
[0053] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0054] Figure 1 FIG. 1 shows a schematic diagram of a scenario for recommending item pairings provided by an embodiment of the present application. Figure 1 As shown, the electronic device is used as the execution subject. After the electronic device obtains the target image, it identifies the color features and geometric features of the graphics in the target image. The graphics in the target image are an oval containing a LOGO, and the color is cyan. Cyan belongs to the cool color system, so the colors of the items recommended by the electronic device are all cool colors, for example, cyan clothing is recommended. The outer contour of the graphic is an oval, so casual clothing accessories are recommended, and finally the information of the recommended items is displayed.
[0055] In this application, the electronic device is used as the execution subject to execute the method for recommending item combinations in the following embodiments. Specifically, the execution subject may be a hardware device of the electronic device, or a software application that implements the following embodiments in the electronic device, or a computer-readable storage medium that has installed thereon the software application that implements the following embodiments, or a code that implements the software application that implements the following embodiments.
[0056] Figure 2 FIG. 1 is a flowchart of a method for recommending item combinations provided by an embodiment of the present application. Figure 2 As shown, with the electronic device as the execution subject, the method of this embodiment may include the following steps:
[0057] S101. Responding to a user's instruction to add a picture, obtaining a target picture in a picture list.
[0058] In this embodiment, the user can operate the electronic device to select a target image from a list of images stored locally or in the cloud. The target image can be an existing corporate logo or other image containing a logo graphic. Figure 1In the picture, except for the background color, the graphic has a clear outer contour and can be used as a logo graphic.
[0059] S102: Identify the target image and determine the color features and geometric features of the graphics in the target image.
[0060] In this embodiment, the electronic device can perform color recognition on the graphic through a trained classifier, such as a K-Nearest Neighbor (KNN) algorithm, and use a JavaScript function to recognize the geometric features of the graphic. The electronic device can also establish an RGB color coordinate system of the three primary colors (Red, Green, and Blue) and recognize the color features of the graphic at the same time. The geometric features of the graphic, such as the outer contour shape of the graphic, can be recognized based on the color distribution characteristics.
[0061] S103: Determine the color of the item to be recommended according to the color characteristics of the graphic.
[0062] The items to be recommended include a first garment and a second garment, and the first garment and the second garment are used in combination.
[0063] For example, the graph includes three colors: green, gray, and white, accounting for 30%, 35%, and 35% respectively. The color of the recommended item can be composed of these three colors, and the color proportion can be consistent with the color proportion in the graph or evenly distributed. It can also be composed of two colors, gray and white, with each color accounting for 50%, or only one of the colors can be selected. In other words, the color of the recommended item can be selected from the colors included in the graph, and the color proportion can also refer to the color proportion in the graph.
[0064] S104: Determine target attributes of the first garment and target attributes of the second garment according to geometric features of the graphic.
[0065] The geometric features of the graphic may include the outer contour of the graphic, such as whether the outer contour includes an acute angle, a right angle, an obtuse angle or a chamfer, etc. The target attribute of the first garment and the target attribute of the second garment may be the same attribute, such as the softness of the garment fabric, the thickness of the garment, the thickness of the shoulder pad, etc.
[0066] For example, if the outer contour contains more acute angles, right angles and / or obtuse angles than chamfers, the softness of the fabric of the garment can be determined to be greater than or equal to the preset softness, otherwise it is less than the preset softness. For another example, if the outer contour contains more acute angles, right angles and / or obtuse angles than chamfers, the thickness of the garment can be determined to be greater than or equal to the preset thickness, otherwise it is less than the preset thickness. If the outer contour is circular, the softness of the fabric of the garment, the thickness of the garment, the thickness of the shoulder pad, etc. can all be determined to be less than the corresponding preset thresholds.
[0067] Here, the determination of an acute angle, a right angle, or a chamfered angle may be determined by determining the angle of the extension lines of the two sides of the angle. If the angle is an acute angle or a right angle, it is not necessary to determine whether it is a chamfered angle, and it may be determined as an acute angle or a right angle. If the angle is an obtuse angle, it is further determined whether it is a chamfered angle, and it is determined as an obtuse angle or a chamfered angle.
[0068] In this embodiment, step S103 and step S104 are not limited by the described action sequence, and step S103 and step S104 can be performed in other sequences or simultaneously.
[0069] S105: Determine the item to be recommended according to the color of the item to be recommended, the target attribute of the first clothing, and the target attribute of the second clothing.
[0070] In this embodiment, after the color and target attributes are determined, the electronic device can determine a plurality of recommended items that meet the color and target attributes and can be used together, such as a plurality of sets of clothing that meet the requirements.
[0071] S106: Recommend information of items to be recommended.
[0072] In this embodiment, when the electronic device recommends an item to be recommended, it may recommend basic information of each item, such as clothing fabric information, color, size information, etc.
[0073] The method for recommending item combinations provided in this embodiment identifies the color features and geometric features of the logo graphic, determines the color of the item to be recommended based on the color features, and determines the target attributes of the clothing in the item to be recommended based on the geometric features, thereby determining multiple items to be recommended that can be used together, thereby achieving the effect of efficiently determining items that can be used together.
[0074] In some embodiments, the specific implementation of step S103 may be: if the color of the graphic is a single color, then the main color of the first clothing is determined to be the single color. If the color of the graphic includes multiple colors, then the main color of the first clothing is determined to be the color with the largest area among the multiple colors.
[0075] The first garment may be an outerwear such as a suit or a business suit. The main color of the first garment may be determined according to the color of the graphic. The concentration of the garment color may be consistent with the concentration of the graphic color, or may be adaptively adjusted. For example, if the color of the graphic is dark green, the color of the first garment may be a light green with a concentration of 10% of the dark green. After recognizing the color concentration, the electronic device may adjust the transparency to dilute the color to a concentration of 10% as the color of the first garment.
[0076] Optionally, the electronic device may determine a light color of a preset concentration ratio of the main color of the first garment as the color of the second garment.
[0077] The second garment may be a shirt matched with the first garment, and the color of the shirt may be lighter than the color of the outer garment. For example, the color of the shirt may be a light color with a concentration of 10% of the color of the outer garment.
[0078] In this embodiment, the colors of the first garment and the second garment are determined according to the colors of the graphic, so that the garment and the graphic can be of the same color scheme. When a company designs professional clothing according to its logo, the professional clothing can have more corporate characteristics, improve the matching effect, and better shape the corporate image.
[0079] In some embodiments, the geometric feature of the graphic includes the number of acute angles in the outer contour of the graphic, and the target attribute of the first garment and the target attribute of the second garment both include fabric softness.
[0080] In some embodiments, the specific implementation method of step S104 can be: if the number of acute angles in the outer contour of the graphic is greater than or equal to a preset threshold, it is determined that the fabric softness of the first garment and the second garment is less than the preset softness threshold; if the number of acute angles in the outer contour of the graphic is less than the preset threshold, it is determined that the fabric softness of the first garment and the second garment is greater than or equal to the preset softness threshold.
[0081] In this embodiment, clothing with different fabric softness is mainly used to distinguish clothing types. For example, compared with casual clothing, formal clothing will have harder fabric. When recommending professional clothing based on a corporate logo graphic, if the number of sharp angles in the outer contour of the graphic is greater than or equal to a preset threshold, it can be considered that the corporate style is rigorous, and therefore the recommended clothing is more formal and has harder fabric. If the number of sharp angles in the outer contour of the graphic is less than the preset threshold, it can be considered that the corporate style is lively, and therefore the recommended clothing is more casual and has softer fabric. In addition to fabric softness, the thickness of the shoulder pad can also be determined based on the number of sharp angles in the outer contour of the graphic. For example, the thickness of the shoulder pad for formal clothing is greater than the preset threshold, and the thickness of the shoulder pad for casual clothing is less than or equal to the preset threshold.
[0082] In this embodiment, the softness of the fabrics of the first garment and the second garment is determined according to the outer contour features of the graphic, so that the garments and the graphic can be of the same style. When a company designs professional clothing according to its logo, the professional clothing can be more distinctive of the company, the matching effect can be improved, and the effect of shaping the corporate image can be better.
[0083] In some embodiments, the items to be recommended further include cosmetics, which include lipstick and eye shadow.
[0084] When the main color is a cool color, the color tone of the cosmetics is determined to be a cool color. When the main color is a warm color, the color tone of the cosmetics is determined to be a warm color. Among them, cool colors include green, blue and purple; warm colors include red, orange and yellow.
[0085] Optionally, if the color of the graphic is a plurality of colors and the main color is a cool color, the electronic device may also determine that the color of the cosmetic product is a light color of a preset proportion concentration of any warm color among the plurality of colors.
[0086] Optionally, the items to be recommended also include accessories.
[0087] When the main color is a cool color, the color of the accessories is determined to be a cool color, and when the main color is a warm color, the color of the accessories is determined to be a warm color. Among them, cool colors also include silver, and warm colors also include gold.
[0088] In this embodiment, the accessories include glasses, necklaces, earrings, hair accessories, metal buckles, watches, etc.
[0089] Optionally, the shape of the accessories can be consistent with the shape or the outer contour of the shape, thereby enhancing the overall matching effect.
[0090] In this embodiment, the colors of the cosmetics and accessories are determined according to the colors of the graphics, which improves the overall matching effect of the cosmetics, accessories and clothing. Employees do not need to spend time on matching, which increases matching efficiency and improves matching effect.
[0091] In some embodiments, recommending information about the item to be recommended includes: displaying text information about the item to be recommended and / or a matching effect diagram of the item to be recommended.
[0092] Specifically, the electronic device can construct the recommended items into matching effect diagrams, such as constructing a virtual portrait for wearing clothing and accessories, etc., to form an intuitive effect diagram and display it on the display interface. At the same time, the size information of items such as clothing and accessories and the color information of beauty products are displayed on the display interface, or only text information can be displayed.
[0093] In this embodiment, the electronic device displays the information of the recommended items, so that the user can intuitively see the text information of the items and / or the matching effect pictures, which is convenient for the user to choose the matched items according to their needs or put forward new requirements so that the electronic device can make more accurate recommendations, thereby improving the recommendation efficiency and enhancing the user experience.
[0094] In the above-mentioned method for recommending item collocation, the electronic device completes the item collocation recommendation in response to the user operation. Due to different computing power requirements, the method for recommending item collocation can be completed through the interaction between the terminal device and the server.
[0095] Figure 3 FIG. 1 shows a signaling interaction diagram of a method for recommending item combinations provided by an embodiment of the present application. Figure 3 As shown, the method of this embodiment may include the following steps:
[0096] S201. In response to a user's operation instruction to add a picture, the terminal device obtains a target picture in a picture list and sends the target picture to a server.
[0097] S202: The server identifies the target image and determines the color features and geometric features of the graphics in the target image.
[0098] S203: The server determines the color of the item to be recommended according to the color characteristics of the graphic.
[0099] The items to be recommended include a first garment and a second garment, and the first garment and the second garment are used in combination.
[0100] S204: The server determines target attributes of the first garment and target attributes of the second garment according to geometric features of the graphic.
[0101] S205: The server determines the item to be recommended according to the color of the item to be recommended, the target attribute of the first clothing, and the target attribute of the second clothing, and sends information about the item to be recommended to the terminal device.
[0102] S206: The terminal device displays information of the item to be recommended.
[0103] In this embodiment, the implementation method and effect of each step are similar to those of the above-mentioned embodiment and will not be described in detail here.
[0104] Figure 4 FIG. 1 shows a schematic diagram of a device for recommending item combinations according to an embodiment of the present application. Figure 4 As shown, the item collocation recommendation device 10 of this embodiment is used to implement the operation corresponding to the electronic device in any of the above method embodiments. The item collocation recommendation device 10 of this embodiment includes:
[0105] An acquisition module 11 is used to acquire a target image in the image list in response to an operation instruction of a user to add an image;
[0106] The recognition module 12 is used to recognize the target image and determine the color characteristics and geometric characteristics of the graphics in the target image;
[0107] A determination module 13, used to determine the color of the item to be recommended according to the color characteristics of the graphic, wherein the item to be recommended includes a first garment and a second garment;
[0108] The determination module 13 is further used to determine the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic, wherein the first garment and the second garment are used in combination;
[0109] The determination module 13 is further used to determine the item to be recommended according to the color of the item to be recommended, the target attribute of the first garment and the target attribute of the second garment;
[0110] The recommendation module 14 is used to recommend information of items to be recommended.
[0111] In some embodiments, the determination module 13 is also used to determine that the main color of the first clothing is a single color when the color of the graphic is a single color; when the color of the graphic includes multiple colors, determine that the main color of the first clothing is the color with the largest area among the multiple colors.
[0112] In some embodiments, the determination module 13 is further configured to determine a light color of a preset concentration ratio of the main color of the first garment as the color of the second garment.
[0113] In some embodiments, the geometric feature of the graphic includes the number of acute angles in the outer contour of the graphic, and the target attribute of the first garment and the target attribute of the second garment both include fabric softness.
[0114] The determination module 13 is further configured to determine that the fabric softness of the first garment and the second garment is less than the preset softness threshold when the number of acute angles in the outer contour of the graphic is greater than or equal to the preset threshold. When the number of acute angles in the outer contour of the graphic is less than the preset threshold, the fabric softness of the first garment and the second garment is greater than or equal to the preset softness threshold.
[0115] In some embodiments, the items to be recommended further include cosmetics, which include lipstick and eye shadow.
[0116] The determination module 13 is further used to determine the color tone of the cosmetics as a cool color when the main color is a cool color, and to determine the color tone of the cosmetics as a warm color when the main color is a warm color. Cool colors include green, blue and purple, and warm colors include red, orange and yellow.
[0117] In some embodiments, the items to be recommended also include accessories.
[0118] The determination module 13 is further used to determine the hue of the accessory as a cool color when the main color is a cool color, and to determine the hue of the accessory as a warm color when the main color is a warm color. Cool colors also include silver, and warm colors also include gold.
[0119] In some embodiments, the recommendation module 14 is further configured to display text information of the recommended item and / or a matching effect diagram of the recommended item.
[0120] The article combination recommendation device 10 provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.
[0121] Figure 5 FIG. 1 shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 20 is used to implement the operations corresponding to the electronic device in any of the above method embodiments. The electronic device 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface (not shown in the figure).
[0122] The memory 21 is used to store computer programs. The memory 21 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk.
[0123] The processor 22 is used to execute the computer program stored in the memory to implement the item matching recommendation method in the above embodiment. For details, please refer to the relevant description in the above method embodiment. The processor 22 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0124] Optionally, the memory 21 may be independent or integrated with the processor 22 .
[0125] When the memory 21 is a device independent of the processor 22, the electronic device 20 may further include a bus 23. The bus 23 is used to connect the memory 21 and the processor 22. The bus 23 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0126] The communication interface may be connected to the processor 22 via the bus 23. The processor 22 may control the communication interface to implement the functions of receiving and sending signals.
[0127] The electronic device 20 provided in this embodiment can be used to execute the above-mentioned method for recommending item matching, and its implementation method and technical effect are similar, which will not be described in detail in this embodiment.
[0128] The present application also provides a computer-readable storage medium, in which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, it is used to implement the methods provided in the various embodiments described above.
[0129] Among them, the computer-readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a computer-readable storage medium is coupled to a processor so that the processor can read information from the computer-readable storage medium and write information to the computer-readable storage medium. Of course, the computer-readable storage medium can also be a component of the processor. The processor and the computer-readable storage medium can be located in an application-specific integrated circuit (ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the computer-readable storage medium can also exist in a communication device as discrete components.
[0130] Specifically, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0131] The present application also provides a computer program product, which includes a computer program / instruction, and the computer program / instruction is stored in a computer-readable storage medium. At least one processor of the device can read the computer program / instruction from the computer-readable storage medium, and at least one processor executes the computer program / instruction so that the device implements the methods provided in the various embodiments described above.
[0132] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0133] Among them, each module can be physically separated, for example, installed in different locations of a device, or installed on different devices, or distributed on multiple network units, or distributed on multiple processors. Each module can also be integrated together, for example, installed in the same device, or integrated in a set of codes. Each module can exist in the form of hardware, or can also exist in the form of software, or can also be implemented in the form of software plus hardware. The present application can select some or all of the modules according to actual needs to achieve the purpose of the present embodiment.
[0134] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0135] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some or all of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for recommending item combinations. It is characterized in that The method comprises: In response to a user's operation instruction to add a picture, a target picture in the picture list is obtained, where the target picture is an existing corporate logo; Identify the target image and determine the color features and geometric features of the graphics in the target image; Determine the color of the item to be recommended according to the color feature of the graphic, wherein the item to be recommended includes a first garment and a second garment, and the first garment and the second garment are used in combination; Determining the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic; the geometric features of the graphic include the number of acute angles in the outer contour of the graphic, and the target attribute of the first garment and the target attribute of the second garment both include fabric softness; Determining the item to be recommended according to the color of the item to be recommended, the target attribute of the first clothing, and the target attribute of the second clothing; Recommending information of the item to be recommended; Determining the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic includes: If the number of acute angles in the outer contour of the graphic is greater than or equal to a preset threshold, it is determined that the fabric softness of the first garment and the second garment is less than a preset softness threshold; If the number of acute angles in the outer contour of the graphic is less than the preset threshold, it is determined that the fabric softness of the first garment and the second garment is greater than or equal to the preset softness threshold.
2. The method according to claim 1, It is characterized in that Determining the color of the item to be recommended according to the color characteristics of the graphic, including: If the color of the graphic is a single color, determining that the main color of the first clothing is the single color; If the color of the graphic includes multiple colors, the main color of the first clothing is determined to be the color with the largest area among the multiple colors.
3. The method according to claim 2, It is characterized in that The method further comprises: A light color with a preset concentration ratio of the main color of the first clothing is determined as the color of the second clothing.
4. The method according to claim 2, It is characterized in that The items to be recommended also include cosmetics, which include lipstick and eye shadow; When the main color is a cool color, the color tone of the cosmetic product is determined to be a cool color, wherein the cool colors include green, blue and purple; When the main color is a warm color, the color tone of the cosmetic product is determined to be a warm color, wherein the warm colors include red, orange and yellow.
5. The method according to claim 4, It is characterized in that The items to be recommended also include accessories; When the main color is a cool color, the color tone of the accessory is determined to be a cool color, wherein the cool color also includes silver; When the main color is a warm color, the color tone of the accessory is determined to be a warm color, wherein the warm color also includes gold.
6. The method according to any one of claims 1 to 5, It is characterized in that The information of the recommended item includes: Display text information of the recommended item and / or matching effect diagram of the recommended item.
7. An item matching recommendation device, It is characterized in that The device comprises: An acquisition module, configured to acquire a target image in the image list in response to an operation instruction of a user to add an image, wherein the target image is an existing corporate logo; A recognition module, used to recognize the target image and determine the color features and geometric features of the graphics in the target image; A determination module, used to determine the color of the item to be recommended according to the color characteristics of the graphic, wherein the item to be recommended includes a first garment and a second garment; The determination module is further used to determine the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic, wherein the first garment and the second garment are used together, the geometric features of the graphic include the number of acute angles in the outer contour of the graphic, and the target attribute of the first garment and the target attribute of the second garment both include fabric softness; The determination module is further used to determine the item to be recommended according to the color of the item to be recommended, the target attribute of the first clothing, and the target attribute of the second clothing; A recommendation module, used for recommending information of the item to be recommended; Determining the target attribute of the first garment and the target attribute of the second garment according to the geometric features of the graphic includes: If the number of acute angles in the outer contour of the graphic is greater than or equal to a preset threshold, it is determined that the fabric softness of the first garment and the second garment is less than a preset softness threshold; If the number of acute angles in the outer contour of the graphic is less than the preset threshold, it is determined that the fabric softness of the first garment and the second garment is greater than or equal to the preset softness threshold.
8. An electronic device, It is characterized in that The device comprises: a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to implement the item matching recommendation method according to any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for recommending item collocation according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method for recommending item combinations according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Clothing matching recommendation method and clothing matching recommendation device based on pictures
CN104484450A
Method for realizing clothes style identification and recommendation based on clothes contour and shape tracking
CN106056120A
Merchant information recommendation method and mobile terminal
CN108520058A
Information pushing method and related products
CN109299394A
Product recommendation method, device and equipment based on drawing behaviors and storage medium
CN109886781A
