Clothing display image acquisition method, control device and medium

By using clothing brand and similarity matching technology in the clothing management system, the clothing display image is determined, which solves the problem of low aesthetics in the prior art, and improves the quality and recognition of the image.

CN119850283APending Publication Date: 2025-04-18QINGDAO HAIER WASHING MASCH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311335193.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-16
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the existing clothing management technology, when users store clothes in cloud wardrobe, they use images taken directly, which are poor in aesthetics, which affects the reading and recognition of images.

Method used

By obtaining the captured image of the clothes to be displayed and the entered clothing brand to be displayed, the brands in the preset clothing database are found based on the brand, and the display image is determined based on the similarity between the captured image and the clothing image in the preset clothing database. If the similarity is higher than the preset threshold, the most similar clothing image is used to replace the image taken by the user; if it is not higher than the threshold, a color segmentation algorithm is used to generate a display image.

Benefits of technology

It improves the quality and aesthetics of clothing display images, enhances the recognition and management efficiency of the image, and obtains more standard, clear and beautiful display images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119850283A_ABST
    Figure CN119850283A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, and particularly provides a clothes display image acquisition method, a control device and a medium. The clothes display image acquisition method comprises the following steps: acquiring a shot image of to-be-displayed clothes; obtaining an input to-be-displayed clothing brand; and based on the to-be-displayed clothing brand, determining a display image according to the shot image and a clothing image in a preset clothing database. According to the invention, the quality of the display image for clothes management is improved, and the aesthetic degree is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and specifically provides a method for acquiring a clothing display image, a control device and a medium. Background Art

[0002] As people's living standards improve, the clothes they buy are becoming more and more abundant, and the per capita clothing holdings are increasing. The main reasons are as follows:

[0003] 1. Improved economic development: With the development of the economy, people's living standards have been improved, and their purchasing power has also increased. They can buy more clothes and improve their dressing level. People can buy more clothes, thus enriching the variety and style of clothes;

[0004] 2. Changes in fashion concepts: With the development of society and changes in people's aesthetics, people's pursuit of fashion has become more and more focused on individuality and diversity. People are no longer satisfied with a single clothing brand and color, but are pursuing richer and more personalized clothing choices. This has prompted the clothing industry to constantly innovate and launch many different types and styles of clothing.

[0005] 3. The rise of e-commerce platforms: With the rise of e-commerce platforms, people can buy clothes more conveniently, and it is easier for merchants to launch new products, providing consumers with more choices.

[0006] 4. Technological progress: The development of modern technology has provided more possibilities for the production and design of clothing. People can produce clothing of various materials and styles, and also add more functions and properties to clothing, such as anti-wrinkle, antibacterial, quick-drying, etc.

[0007] 5. Improvement in logistics, storage and transportation technology: With the continuous improvement of logistics, storage and transportation technology, people can buy and store clothes more conveniently. For example, the improvement of storage technology allows people to buy the clothes they need in a shorter time, and the development of logistics technology also provides more guarantees for the transportation and storage of clothes.

[0008] In summary, as people's living standards improve, they pay more and more attention to the beauty, comfort and diversity of clothing. They are more willing to spend money to buy clothes of various styles to show their personality and taste. People's needs and pursuits for clothing are also constantly changing. They no longer simply pursue warmth or sun protection, but pay more attention to the texture of the fabric, the design of the tailoring and the style that meets their aesthetic needs. In addition, people are also paying more and more attention to the history, culture and brand value of clothing, and are willing to spend more money to buy branded clothing.

[0009] Features of branded clothing include:

[0010] 1. Unique design: Brands usually have more designers and creative teams, so they have unique design styles that can meet consumers' needs for fashion and personalization.

[0011] 2. Excellent quality: Because brands usually have more manufacturing experience and expertise as well as high-quality fabrics, they can provide better wearing experience and comfort, meeting consumers' requirements for high quality.

[0012] 3. Easy to identify: Branded clothing usually has clear fabric labels, which makes it easy for consumers to identify the brand.

[0013] 4. Brand effect: Brand effect can bring confidence and recognition, enabling consumers to better choose their favorite brands among many brands and believe in the quality and style of their products.

[0014] 5. Better after-sales service: Some brands will provide better after-sales service, such as return, exchange, repair, maintenance, etc., which can make consumers feel more confident to buy their products.

[0015] 6. Enhance brand culture: Some brands usually focus on conveying their brand culture, such as social responsibility, environmental protection, cultural heritage, etc. Buying branded clothing is not only fashionable, but also can increase the brand's cultural identity.

[0016] However, too many clothes also bring many problems in clothing management. For example, as the number of clothes in the home increases, people may not remember which clothes they have, resulting in duplicate purchases or idle clothes. When there are a lot of clothes in the closet, it is very troublesome to manually search through multiple pieces of clothing to find a certain piece of clothing.

[0017] In recent years, with the promotion of the concepts of the Internet of Things and smart homes, in order to improve the efficiency of clothing management, smart wardrobe products with smart functions have been launched on the market, and clothing management is carried out using app cloud wardrobes in smart homes.

[0018] A cloud wardrobe is a digital wardrobe that helps people better manage, preserve and display their clothing. Cloud wardrobes are usually connected to smartphones, tablets or other devices, where users can upload and download photos, while also being able to access their collections at any time through cloud storage.

[0019] The necessity of cloud wardrobe lies in that as the number of clothes people buy increases, traditional wardrobes can no longer meet people's needs. The emergence of cloud wardrobe provides people with a better solution, allowing people to manage their clothes more easily and access their collections anytime and anywhere.

[0020] Cloud Wardrobe can also help save people time in organizing their wardrobes. Traditional wardrobes require people to spend a lot of time organizing and categorizing clothes, while Cloud Wardrobe can help users better organize their wardrobes through automatic identification and classification. This allows users to find the clothes they need more quickly and easily, avoiding wasting a lot of time on organizing their wardrobes.

[0021] Cloud wardrobe is very important for modern people. It can help people better manage, preserve and display their clothes, and also improve the efficiency of people organizing their wardrobes.

[0022] In the existing clothing management technology, it is often necessary to manage the clothes based on the pictures of the clothes to be managed, but there are some problems. For example, when using the app cloud wardrobe to store clothing information, the clothes taken by the user have unfavorable factors such as cluttered background and dim light. At present, when users store clothes in the cloud wardrobe, they use the directly photographed images, which are not aesthetically pleasing and are not conducive to image reading and recognition. Summary of the invention

[0023] In order to overcome the above-mentioned defects, the present invention provides a method, a control device and a medium for acquiring clothing display images, so as to improve the quality of display images used for brand clothing management and increase the aesthetics.

[0024] In a first aspect, the present invention provides a method for acquiring a clothing display image, comprising:

[0025] Acquire a photographed image of the clothing to be displayed;

[0026] Get the input clothing brand to be displayed;

[0027] Based on the brand of clothing to be displayed, a display image is determined according to the captured image and clothing images in a preset clothing database.

[0028] In a technical solution of the above acquisition method, the brand of clothing to be displayed includes:

[0029] According to the input brand of clothing to be displayed, the brand is searched in a preset clothing database to obtain a first clothing image.

[0030] In a technical solution of the above acquisition method, determining the display image according to the captured image and clothing images in a preset clothing database includes:

[0031] A display image is determined according to the captured image and the first clothing image.

[0032] In a technical solution of the above acquisition method, determining the display image according to the captured image and clothing images in a preset clothing database includes:

[0033] A display image is determined according to the similarity between the captured image and clothing images in a preset clothing database.

[0034] In a technical solution of the above acquisition method, determining the display image according to the similarity between the captured image and the clothing image in the preset clothing database includes:

[0035] Respectively obtaining the similarity between the captured image and each clothing image in a preset clothing database;

[0036] Get the clothing image with the highest similarity;

[0037] Determining whether the similarity is higher than a preset threshold;

[0038] If it is higher than the preset threshold, the clothing image with the highest similarity will be used as the display image.

[0039] In a technical solution of the above acquisition method, after the step of determining whether the similarity is higher than a preset threshold, the method further includes:

[0040] If it is not higher than the preset threshold, a display image is generated based on the color segmentation algorithm.

[0041] In a technical solution of the above acquisition method, after acquiring the input clothing brand to be displayed, the method further includes:

[0042] Get the gender corresponding to the input clothing to be displayed;

[0043] The step of determining the display image based on the brand of clothing to be displayed and according to the captured image and clothing images in a preset clothing database comprises:

[0044] According to the acquired brand of the clothing to be displayed and the gender corresponding to the clothing to be displayed, searching for the brand in a preset clothing database to obtain a second clothing image;

[0045] A display image is determined according to the captured image and the second clothing image.

[0046] In a technical solution of the above acquisition method, the preset clothing database includes clothing images and their corresponding brands.

[0047] In a second aspect, a control device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the method for acquiring clothing display images described in any one of the technical solutions of the above-mentioned method for acquiring clothing display images.

[0048] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored therein, wherein the program codes are suitable for being loaded and run by a processor to execute the method for acquiring a clothing display image as described in any one of the technical solutions of the method for acquiring a clothing display image.

[0049] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:

[0050] In the technical solution of the present invention, by obtaining the photographed image of the clothing to be displayed and the input brand of the clothing to be displayed, based on the brand of the clothing to be displayed, the query range of the clothing image in the preset clothing database is shortened, and the display image is determined according to the photographed image and the clothing image in the preset clothing database. When the present invention is applied, the user can further input the gender after inputting the brand, shorten the query range, greatly improve the efficiency of image comparison, improve the matching accuracy, match the network clothing image corresponding to the clothing photographed by the user, find the image most similar to the user's photographed picture through similarity analysis, and when the similarity exceeds the preset threshold, replace the image taken by the user himself with the most similar image found in the first or second clothing image, and use it to display the clothing in the clothing management process, so as to obtain a more standard, clearer and more aesthetically pleasing display image, which is convenient for clothing identification and subsequent clothing management. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which:

[0052] Figure 1 is a schematic flow chart of main steps of a method for acquiring clothing display images according to an embodiment of the present invention;

[0053] Figure 2 is a flow chart of main steps including obtaining the gender corresponding to the clothing to be displayed input by the user according to an embodiment of the present invention;

[0054] Figure 3 is a flow chart of determining a display image step based on a second clothing image according to an embodiment of the present invention;

[0055] Figure 4 is a flowchart of main steps of determining a display image based on similarity analysis between a captured image and the first clothing image according to an embodiment of the present invention;

[0056] Figure 5It is a flowchart diagram of main steps including a step not exceeding a preset threshold value according to an embodiment of the present invention. DETAILED DESCRIPTION

[0057] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.

[0058] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.

[0059] In the current traditional clothing management, such as in smart homes, when using the app cloud wardrobe to store clothing information, the clothing photographed by users has unfavorable factors such as cluttered backgrounds and dim light. In the early stage, when users stored clothes in the cloud wardrobe, they used the images directly taken, which had poor aesthetics. The reasons are as follows:

[0060] The influence of light and background: When taking photos, the light and background may affect the quality of clothing photos. For example, if the light is too weak or too strong, or the background is too cluttered or too clear, it will affect the effect of clothing photos.

[0061] Camera and lens selection: When users take photos of clothing by themselves, they may choose the wrong camera or lens, resulting in poor photo quality. For example, choosing the wrong resolution, focal length, lens, etc. will affect the effect of the photo.

[0062] Shooting skills and experience: When users take photos of clothing by themselves, they may not be able to take high-quality photos due to lack of shooting skills and experience. For example, not using the virtual image lens correctly, not using the background blur correctly, etc., will affect the effect of the photo.

[0063] Post-processing: After taking photos of clothing, users may perform post-processing, such as cropping, color adjustment, and photo editing, to improve the quality of the photos. However, performing post-processing too frequently may cause the photos to lose their sense of reality, thus affecting the quality of the photos.

[0064] Clothing material and characteristics: When users take photos of clothing themselves, they may not be able to take high-quality photos due to the material and characteristics of the clothing. For example, some clothing may require special shooting angles or lighting to show the best texture and effect.

[0065] To sum up, when users take photos of clothes by themselves, factors such as light, background, camera, lens, shooting techniques, post-processing, material and characteristics of the clothes may affect the quality of the photos.

[0066] In view of the above problems, the present invention provides a method for obtaining clothing display images, referring to Figure 1 ,include:

[0067] S100, obtaining a photographed image of clothing to be displayed;

[0068] S200, obtaining an input clothing brand to be displayed;

[0069] S300, based on the brand of clothing to be displayed, determining a display image according to the captured image and clothing images in a preset clothing database.

[0070] The clothing of the present invention includes clothes and articles such as clothing, shoes, and accessories.

[0071] The preset clothing database includes several clothing images. The clothing images in the preset clothing database are derived from clothing pictures on sales websites and clothing sales platforms. Since more and more users now choose to shop online, and merchants generally operate both online and offline, most clothing images are available online. In order to display these clothing images clearly when they are sold, with high image quality and clear background, the clothing pictures on the Internet are collected to form a database. The technical solution of the present invention is aimed at the management of branded clothing. Branded clothing is usually sold online and offline simultaneously, and has relatively strict management specifications. When branded clothing is sold online, it is necessary to provide clear and accurate product displays and descriptions, including product names, specifications, styles, colors, materials and other information. At the same time, it is necessary to avoid using false or misleading propaganda. In this case, the online display picture of branded clothing can objectively and clearly show the appearance of clothing.

[0072] When the preset clothing database is a pre-established clothing database, the preset clothing database includes clothing images and their corresponding brands. When the database is established, it covers multiple brands. For example, in an application scenario, the database includes different clothing images corresponding to brands A, B, C, D and E, such as brand A has 50 clothing images, brand B has 20 clothing images, brand C has 30 clothing images, brand D has 10 clothing images, and brand E has 15 clothing images. There are a total of 125 clothing images in the preset clothing database.

[0073] When obtaining the photographed image of the clothing to be displayed, a mobile terminal is used for shooting, and the user takes a photo of the clothing to be displayed X by himself to obtain a photographed photo M.

[0074] The user inputs the brand of clothing to be displayed, for example, brand A.

[0075] In one embodiment, the brand of clothing to be displayed includes:

[0076] According to the input brand of clothing to be displayed, the brand is searched in the preset clothing database to obtain a first clothing image.

[0077] In one embodiment, determining the display image according to the captured image and clothing images in a preset clothing database comprises:

[0078] A display image is determined according to the captured image and the first clothing image.

[0079] In an application scenario, after obtaining brand A input by the user, 50 clothing images of brand A are searched from the 125 clothing images in the preset clothing database (the first clothing images are the 50 images of brand A). This can greatly improve the matching efficiency and increase the accuracy.

[0080] In one embodiment, the clothing information also includes gender;

[0081] Reference Figure 2 After obtaining the input clothing brand to be displayed, the method further includes:

[0082] S250, obtaining the gender corresponding to the input clothing to be displayed.

[0083] In the present invention, S250 may be performed first, and then S300 may be performed.

[0084] The step of determining the display image based on the brand of clothing to be displayed and according to the captured image and clothing images in a preset clothing database comprises:

[0085] According to the acquired brand of the clothing to be displayed and the gender corresponding to the clothing to be displayed, searching for the brand in the clothing database to obtain a second clothing image;

[0086] A display image is determined according to the captured image and the second clothing image.

[0087] Reference Figure 3 , the determining of the display image based on the brand of clothing to be displayed and according to the photographed image and the clothing image comprises:

[0088] S001, searching for the brand in a preset clothing database according to the acquired brand of clothing to be displayed and the gender corresponding to the clothing to be displayed, and obtaining a second clothing image;

[0089] S002: Determine a display image based on similarity analysis between the captured image and the obtained second clothing image.

[0090] In an application scenario, the user enters gender: female, and then further searches for women's clothing in 50 clothing images of brand A. Among the 50 clothing images, there are 5 women's clothing (the second clothing image is these 5 women's clothing images) and 45 men's clothing. When comparing images, the image M taken by the user is compared with these 5 images (recorded as N1, N2, N3, N4 and N5), which further narrows the scope of image comparison and improves efficiency and accuracy. Through similarity comparison, analysis is performed to determine the image selected for final display.

[0091] The step of determining the display image according to the similarity between the captured image and the clothing image in the preset clothing database comprises:

[0092] Respectively obtaining similarities between the captured image and clothing images in a preset clothing database;

[0093] Get the clothing image with the highest similarity;

[0094] Determining whether the similarity is higher than a preset threshold;

[0095] If it is higher than the preset threshold, the clothing image with the highest similarity will be used as the display image.

[0096] In one embodiment, determining the display image according to the captured image and clothing images in a preset clothing database comprises:

[0097] A display image is determined according to the similarity between the captured image and the first clothing image.

[0098] Reference Figure 4 , specifically including:

[0099] S310, respectively obtaining a similarity between the captured image and each clothing image in the first clothing image;

[0100] S320, obtaining the clothing image with the highest similarity;

[0101] S330, determining whether the similarity is higher than a preset threshold;

[0102] S340: If the similarity is higher than a preset threshold, the clothing image with the highest similarity is used as a display image.

[0103] Since there are a large number of clothing images in the preset clothing database, in order to determine which clothing image can be used to accurately display the content of the captured image, it is necessary to determine the similarity between the captured image and the clothing image. The first clothing image is the clothing image after the search range is narrowed, and the clothing image that is most similar to the captured image is found. The determination criterion is similarity.

[0104] If they are similar enough or the similarity is high to a certain extent, that is, the similarity is higher than a preset threshold, it means that the clothing image can reflect the content of the captured image.

[0105] At this time, the image taken by the user himself is replaced by the more standard, clearer and more aesthetic clothing image as the display image. The user uses the clothing image to refer to the corresponding clothing in clothing management.

[0106] In another embodiment, the determining the display image based on the similarity analysis between the captured image and the clothing image is specifically determining the display image based on the similarity analysis between the captured image and the second clothing image. When searching by brand and gender, S310 is determining the display image based on the similarity analysis between the captured image and the second clothing image; S320-S350 are the same.

[0107] The first clothing image is searched by brand, and the clothing images in the clothing database are narrowed down in image comparison range. The second clothing image is searched by brand and gender, and the clothing images in the preset clothing database are narrowed down in image comparison range.

[0108] S310 is to perform similarity determination on the first or second clothing image after the range is narrowed down.

[0109] The present invention finds the image most similar to the picture taken by the user through similarity analysis. When the similarity exceeds a preset threshold, the most similar image found in the database replaces the image taken by the user himself, and is used to display the clothing in the clothing management process, so that a more standard, clearer and more aesthetic image is obtained, which is convenient for clothing identification and subsequent clothing management.

[0110] In an application scenario, taking the second clothing image as an example, the user takes a photo of clothing X to obtain a photographed image M. The image M taken by the user is compared with which of N1, N2, N3, N4 and N5 in the second clothing image is most similar, and the similarity of N3 is the highest, which is 95%. The preset threshold is 90%, which is higher than the preset threshold, indicating that N3 and clothing X are likely to be the same clothing, so image N3 is finally used as an image for product display.

[0111] Reference Figure 5 In one embodiment, after the step of determining whether the similarity is higher than a preset threshold, the method further comprises:

[0112] S350: If the value is not higher than the preset threshold, a display image is generated based on a color segmentation algorithm.

[0113] In the present invention, the serial number serves as an identification and does not strictly limit the order of precedence. For example, S340 and S350 are parallel judgment steps and do not distinguish between the order of precedence.

[0114] Color segmentation algorithm is a method to divide the color of pixels in an image into different color areas. Usually, the color segmentation algorithm assigns the color of pixels in the image to one or more color channels and processes each color channel separately. The color segmentation algorithm can be used to implement image segmentation, denoising, image restoration and other functions. In the color segmentation algorithm, each pixel is assigned to one or more color channels, and each color channel contains one or more color components. These color components can represent different colors, such as red, green, blue, yellow, etc. During the segmentation process, the color segmentation algorithm will re-divide the pixels into different color areas according to the color value of the pixels and the allocation of color channels, and obtain the color types and distribution of the images taken by the user; based on the color types and distribution, a clothing concept map is generated, and the concept map is used as a display map.

[0115] In order to ensure the quality of the clothing display photo, the user's captured image M (photographing clothing X) is processed based on the color segmentation algorithm to generate an image M x , then M x As a display picture of clothing X, improve the quality of the display picture.

[0116] Even if there is no matching image, the S350 processing can effectively improve the image quality and enhance the image details.

[0117] For images that are not higher than the preset threshold, image grayscale processing, image sharpening processing, image enhancement processing, etc. can also be performed to overcome the effects of insufficient contrast and excessive noise caused by external factors.

[0118] In one embodiment, the preset clothing database also includes:

[0119] Feature vector, where the feature vector corresponds to the clothing image one by one;

[0120] After the step of obtaining the input clothing brand to be displayed, the method further includes:

[0121] Acquire a feature vector of the captured image;

[0122] The respectively obtaining the similarity between the captured image and each clothing image in the first clothing image comprises:

[0123] The similarity between the feature vector of the captured image and each clothing image feature vector in the first clothing image is obtained respectively.

[0124] In another embodiment, after narrowing the image comparison range of clothing images in a preset clothing database by searching by brand and gender, the first clothing image is replaced by the second clothing image, and after the steps of obtaining the input brand of clothing to be displayed and obtaining the gender corresponding to the input clothing to be displayed, the method further includes:

[0125] Acquire a feature vector of the captured image;

[0126] Respectively obtaining the similarity between the captured image and each clothing image in the second clothing image includes:

[0127] A similarity analysis is performed based on the feature vector of the captured image and the feature vector of the second clothing image.

[0128] In summary, after the similarity comparison between the feature vectors of the captured image and the first or second clothing image is performed, steps S320 to S350 are performed to finally obtain a display image.

[0129] In one application scenario, a CBIR system is used to extract feature vectors of captured images and compare the similarity between the feature vectors of captured images and feature vectors in a database. The CBIR system usually includes four main functions, namely, inputting images, extracting features, measuring similarity, and returning search results. CBIR uses the feature information of images to realize the function of "searching images by images". The core technologies include feature extraction and feature matching. Feature extraction is achieved through algorithms and can objectively describe the information contained in the image. When searching, the user inputs a sample image, and the system extracts the feature information of the input image, then measures the similarity with the feature information already in the database, and returns similar images.

[0130] After the feature vector of the captured image is extracted, it is compared with the feature vector in the database, and the similarity of the images is judged by the distance between the image feature vectors.

[0131] In an application scenario, the feature-based matching method is used for similarity comparison, which greatly reduces the amount of calculation and improves the matching speed. The extracted feature vectors are mainly divided into point features, line features, and surface features.

[0132] For image matching based on point features, the image feature point extraction algorithms available include Harris algorithm and SIFT algorithm.

[0133] Image matching based on line features, line features can be extracted in the edge area of ​​the image through the LOG operator and the Prewitt operator.

[0134] Image matching based on face features can extract face features in areas with obvious image features and can well summarize the information contained in the image.

[0135] In one application scenario, the similarity is determined using the Euclidean distance.

[0136] The Euclidean distance algorithm is a commonly used image similarity calculation algorithm. Its principle is to transform the feature vector of the image into the Euclidean space and then calculate the distance between the two vectors. The Euclidean distance algorithm can cluster the corresponding feature points together. The distance between the feature points represents the degree of similarity between them. The smaller the distance, the higher the similarity, and vice versa. Therefore, the Euclidean distance algorithm is often used to determine whether two image blocks in an image are similar, or to determine whether different feature points have similar features.

[0137] In an application scenario, a user takes a photo of clothing X and obtains a photographed image M. The corresponding feature vector obtained by pre-training the model using the image recognition algorithm or clothing detection algorithm is a 1×1024 vector. The corresponding feature vectors of the N1, N2, N3, N4 and N5 clothing images in the database obtained by the trained model are 1×1015, 1×1033, 1×1023, 1×1020 and 1×1031 vectors respectively.

[0138] The 1×1028 vector is compared with which feature vector among the 1×1015, 1×1033, 1×1023, 1×1020, and 1×1031 vectors is most similar. The Euclidean distance algorithm is used to determine that the similarity between N3 and M is the highest, which is 91%. Then, it is determined whether the similarity is higher than a preset threshold value, which is 90% similarity. After determination, it is higher than the preset threshold value, indicating that N3 meets the appearance of clothing M. Finally, N3 is used as the product display image of clothing X.

[0139] In one application scenario, Manhattan distance is used to determine the similarity.

[0140] In one application scenario, the Chebyshev distance is used to determine the similarity.

[0141] The present invention also provides an application of the method in clothing management. In a smart home, when using the app cloud wardrobe to store clothing information, the clothing photographed by users has unfavorable factors such as cluttered backgrounds and dim light. In the early stage, when users stored clothes in the cloud wardrobe, they used images directly taken, which had poor aesthetics. The present invention uses image retrieval technology combined with brand clothing data to match the network clothing images corresponding to the clothing photographed by users, thereby increasing the aesthetics.

[0142] This results in images of higher quality, better definition, and easier display and identification of clothing, thereby facilitating clothing management.

[0143] The present invention pre-establishes a clothing database of various brands of clothing, and the clothing database is divided into clothing sets of different brands and different genders, and uses a clothing detection algorithm to obtain a feature vector of each brand of clothing; after the user takes a clothing image, the brand of the clothing is obtained through interaction with the user; when the user is ready to store, the user's clothing is detected using image detection technology, and a feature vector of the clothing is obtained, and the clothing feature vector is used to perform similarity matching with the feature vector of the clothing in the corresponding clothing brand database to obtain the clothing with the highest similarity. If the similarity is greater than a set threshold, the matched brand of clothing is used as a display image of the clothing taken by the user this time; if the similarity is less than a set threshold, a color segmentation algorithm is used for the color type and color distribution of the user's clothing, and a concept map is drawn based on the clothing type as a display map.

[0144] The present invention combines the brand's clothing data with image retrieval technology to match the online clothing images corresponding to the clothing photographed by the user, thereby increasing the aesthetics.

[0145] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.

[0146] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0147] Furthermore, the present invention also provides a control device. In one embodiment of the control device according to the present invention, the control device includes a processor and a storage device. The storage device can be configured to store a program for executing the method for acquiring the clothing display image of the above method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to the program for executing the method for acquiring the clothing display image of the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The control device can be a control device device formed by various electronic devices.

[0148] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the method for acquiring clothing display images of the above-mentioned method embodiment, and the program can be loaded and run by a processor to implement the method for acquiring the above-mentioned clothing display images. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.

[0149] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.

[0150] Those skilled in the art will appreciate that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.

[0151] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

Claims

1. A method for acquiring a clothing display image, characterized in that: include: Acquire a photographed image of the clothing to be displayed; Get the input clothing brand to be displayed; Based on the brand of clothing to be displayed, a display image is determined according to the captured image and clothing images in a preset clothing database.

2. The method according to claim 1, characterized in that The clothing brands to be displayed include: According to the input brand of clothing to be displayed, the brand is searched in a preset clothing database to obtain a first clothing image.

3. The method according to claim 2, characterized in that The step of determining the display image according to the photographed image and the clothing images in the preset clothing database comprises: A display image is determined according to the captured image and the first clothing image.

4. The method according to claim 1, characterized in that: The step of determining the display image according to the photographed image and the clothing images in the preset clothing database comprises: A display image is determined according to the similarity between the captured image and clothing images in a preset clothing database.

5. The method according to claim 4, characterized in that The step of determining the display image according to the similarity between the captured image and the clothing image in the preset clothing database comprises: Respectively obtaining similarities between the captured image and clothing images in a preset clothing database; Get the clothing image with the highest similarity; Determining whether the similarity is higher than a preset threshold; If it is higher than the preset threshold, the clothing image with the highest similarity will be used as the display image.

6. The method according to claim 5, characterized in that After the step of determining whether the similarity is higher than a preset threshold, the method further includes: If it is not higher than the preset threshold, a display image is generated based on the color segmentation algorithm.

7. The method according to claim 1, characterized in that After obtaining the input clothing brand to be displayed, the method further includes: Get the gender corresponding to the input clothing to be displayed; The step of determining the display image based on the brand of clothing to be displayed and according to the captured image and clothing images in a preset clothing database comprises: According to the acquired brand of the clothing to be displayed and the gender corresponding to the clothing to be displayed, searching for the brand in a preset clothing database to obtain a second clothing image; A display image is determined according to the captured image and the second clothing image.

8. The method according to claim 1, characterized in that The preset clothing database includes clothing images and their corresponding brands.

9. A control device, comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the method for acquiring a clothing display image according to any one of claims 1 to 8.

10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the method for acquiring a clothing display image according to any one of claims 1 to 8.