CN106557489B - A mobile terminal-based clothing search method - Google Patents

A mobile terminal-based clothing search method Download PDF

Info

Publication number
CN106557489B
CN106557489B CN201510624226.3A CN201510624226A CN106557489B CN 106557489 B CN106557489 B CN 106557489B CN 201510624226 A CN201510624226 A CN 201510624226A CN 106557489 B CN106557489 B CN 106557489B
Authority
CN
China
Prior art keywords
clothing
picture
pictures
mobile terminal
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510624226.3A
Other languages
Chinese (zh)
Other versions
CN106557489A (en
Inventor
李旻先
李刚
刘媛媛
赵春霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201510624226.3A priority Critical patent/CN106557489B/en
Publication of CN106557489A publication Critical patent/CN106557489A/en
Application granted granted Critical
Publication of CN106557489B publication Critical patent/CN106557489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种基于移动终端的服饰搜索方法,用户通过移动终端拍照或者从移动终端的图库中选取一张服饰图片,上传至服务器端进行服饰搜索,具体包括:通过网络爬虫从电商网站上获得服饰商品图片和商品信息,存入服饰数据库,进行图像特征提取形成图像特征池;响应于用户通过移动终端拍摄或者选择的服饰图片,对服饰图片进行裁剪后,在服务器上进行匹配查询;根据查询到的服饰结果,将查询到的相似的服饰图片及相应的服饰信息通过移动终端展示给用户,所述服饰信息包括服饰的品牌、价格和材质。本发明的方法结合服饰商品可视化的特点,为用户提供“以图搜图”的方式进行服饰商品搜索方案,提升用户搜索服饰商品的体验。

Figure 201510624226

The present invention provides a clothing search method based on a mobile terminal. A user takes a picture through a mobile terminal or selects a clothing picture from a gallery of the mobile terminal and uploads it to a server for clothing search, which specifically includes: using a web crawler to search for clothing from an e-commerce website Obtain clothing product pictures and product information, store them in the clothing database, and perform image feature extraction to form an image feature pool; in response to the clothing pictures taken or selected by the user through the mobile terminal, after the clothing pictures are cropped, a matching query is performed on the server; For the queried clothing result, the queried similar clothing pictures and corresponding clothing information are displayed to the user through the mobile terminal, and the clothing information includes the brand, price and material of the clothing. The method of the invention combines the visual characteristics of clothing commodities, provides users with a search plan for clothing commodities in the manner of "searching for pictures by image", and improves the user's experience of searching for clothing commodities.

Figure 201510624226

Description

一种基于移动终端的服饰搜索方法A mobile terminal-based clothing search method

技术领域technical field

本发明涉及移动互联网技术领域,尤其是基于移动互联网的图片搜索领域,具体而言涉及一种基于移动终端的服饰搜索方法。The present invention relates to the technical field of mobile Internet, in particular to the field of image search based on mobile Internet, and in particular to a method for searching clothing based on mobile terminals.

背景技术Background technique

随着移动互联网的快速发展及移动终端的普及,电子商务交易行为正由传统的PC端向移动终端进行转变。移动终端具有体积小、方便携带等优点,越来越多的用户更青睐移动终端搜索服饰商品并购买。传统的服饰搜索方法大多通过纯文本关键词的方式进行服饰商品搜索,这种方法过于单一,忽略了电子商务信息中重要的图片信息。而且用户并不能对商品的关键词进行准确的描述,服饰商品包含丰富的内容,往往难以用少量的文字进行充分描述,比如:服饰的款式、造型、和花纹等属性用户很难准确描述,即使表达能力好的用户将服饰特征描述出来了,也很难搜索到与该服饰相似的服饰商品,搜索的结果难以让用户满意。With the rapid development of the mobile Internet and the popularization of mobile terminals, e-commerce transactions are changing from traditional PC terminals to mobile terminals. Mobile terminals have the advantages of small size and easy portability. More and more users prefer mobile terminals to search for and purchase apparel products. Most of the traditional clothing search methods search for clothing products by means of plain text keywords. This method is too simple and ignores the important picture information in the e-commerce information. Moreover, users cannot accurately describe the keywords of the products. Clothing products contain rich content, and it is often difficult to fully describe them with a small amount of text. For example, it is difficult for users to accurately describe attributes such as clothing styles, shapes, and patterns. Users with good expressive ability describe the characteristics of clothing, and it is difficult to search for clothing products similar to the clothing, and the search results are difficult to satisfy users.

基于以上问题,需要本领域技术人员提出新的服饰搜索方法。Based on the above problems, it is necessary for those skilled in the art to propose a new clothing search method.

发明内容SUMMARY OF THE INVENTION

本发明的目的是提供一种基于移动端的服饰商品搜索方法,结合服饰商品可视化的特点,为用户提供“以图搜图”的方式进行服饰商品搜索,提升用户搜索服饰商品的体验。The purpose of the present invention is to provide a mobile terminal-based clothing commodity search method, combined with the visual characteristics of clothing commodities, to provide users with a way of "searching for pictures by image" to search for clothing commodities, and to improve the user's experience of searching for clothing commodities.

为达成上述目的,本发明提出一种基于移动终端的服饰搜索方法,客户端通过拍照或者从客户端图库中选取一张服饰图片上传至服务器端进行服饰搜索,包括以下步骤:In order to achieve the above purpose, the present invention proposes a mobile terminal-based clothing search method. The client takes a photo or selects a clothing picture from the client gallery and uploads it to the server to search for clothing, including the following steps:

(1)服饰图片特征池的建立(1) Establishment of clothing image feature pool

通过网络爬虫从电商网站上获得服饰商品图片和商品信息,存入服饰数据库,对服饰数据库中的服饰图片进行图像特征提取形成图像特征池,所述服饰数据库存在服务器中Obtain clothing product pictures and product information from e-commerce websites through web crawlers, store them in the clothing database, and perform image feature extraction on the clothing pictures in the clothing database to form an image feature pool, and the clothing database is stored in the server.

(2)相似商品的搜索(2) Search for similar products

响应于用户通过移动终端拍摄或者选择的服饰图片,对服饰图片进行裁剪后,上传至前述服务器,在服务器上对用户上传的服饰图片进行特征提取,然后与图像特征池中存储的图像特征进行匹配查询In response to the clothing picture taken or selected by the user through the mobile terminal, the clothing picture is cropped, and then uploaded to the aforementioned server, and the feature extraction is performed on the clothing picture uploaded by the user on the server, and then matched with the image features stored in the image feature pool. Inquire

(3)搜索结果展示(3) Display of search results

根据查询到的服饰结果,将查询到的相似的服饰图片及相应的服饰信息通过移动终端展示给用户,所述服饰信息包括服饰的品牌、价格和材质。According to the queried clothing results, the queried similar clothing pictures and corresponding clothing information are displayed to the user through the mobile terminal, and the clothing information includes the brand, price and material of the clothing.

与现有技术相比,本发明提出的服饰搜索方法采用了图片搜索的方式进行服饰搜索,改变了目前采用纯文本关键词搜索的方式,实现“以图搜图”,随时随地使用方便携带的移动终端拍摄服饰照片,对服饰实物有更直接、准确的描述。采用基于图像的服饰搜索,有效地解决了用户不能或不愿用文字进行搜索的困难,降低购物难度,可视化的特点满足了用户对搜索功能的更高需求,方便用户快速找到服饰信息,极大地提升了用户体验。Compared with the prior art, the clothing search method proposed by the present invention adopts the method of image search for clothing search, which changes the current method of using plain text keyword search, realizes "search for pictures by picture", and can be used anytime, anywhere, and is convenient to carry. The mobile terminal takes photos of the clothing, and has a more direct and accurate description of the actual clothing. The use of image-based clothing search effectively solves the difficulty that users cannot or are unwilling to use text to search, and reduces the difficulty of shopping. The visual characteristics meet users' higher needs for search functions, and it is convenient for users to quickly find clothing information. Improved user experience.

应当理解,前述构思以及在下面更加详细地描述的额外构思的所有组合只要在这样的构思不相互矛盾的情况下都可以被视为本公开的发明主题的一部分。另外,所要求保护的主题的所有组合都被视为本公开的发明主题的一部分。It is to be understood that all combinations of the foregoing concepts, as well as additional concepts described in greater detail below, are considered to be part of the inventive subject matter of the present disclosure to the extent that such concepts are not contradictory. Additionally, all combinations of the claimed subject matter are considered to be part of the inventive subject matter of this disclosure.

结合附图从下面的描述中可以更加全面地理解本发明教导的前述和其他方面、实施例和特征。本发明的其他附加方面例如示例性实施方式的特征和/或有益效果将在下面的描述中显见,或通过根据本发明教导的具体实施方式的实践中得知。The foregoing and other aspects, embodiments and features of the present teachings can be more fully understood from the following description when taken in conjunction with the accompanying drawings. Other additional aspects of the invention, such as features and/or benefits of the exemplary embodiments, will be apparent from the description below, or learned by practice of specific embodiments in accordance with the teachings of this invention.

附图说明Description of drawings

附图不意在按比例绘制。在附图中,在各个图中示出的每个相同或近似相同的组成部分可以用相同的标号表示。为了清晰起见,在每个图中,并非每个组成部分均被标记。现在,将通过例子并参考附图来描述本发明的各个方面的实施例,其中:The drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component that is illustrated in various figures may be represented by the same reference numeral. For clarity, not every component is labeled in every figure. Embodiments of various aspects of the present invention will now be described by way of example and with reference to the accompanying drawings, wherein:

图1是本发明基于移动终端的服饰搜索方法的一种具体实施方式原理图。FIG. 1 is a schematic diagram of a specific implementation manner of a mobile terminal-based clothing search method of the present invention.

图2是本发明服饰图片裁剪方法的一种具体实施方式。FIG. 2 is a specific embodiment of the method for cutting clothing pictures according to the present invention.

图3是图2所示涂抹方法裁剪服饰图片的一种示意图。FIG. 3 is a schematic diagram of cutting a garment picture by the smearing method shown in FIG. 2 .

图4是本发明涂抹方法的一种具体实施方式流程图。FIG. 4 is a flow chart of a specific embodiment of the smearing method of the present invention.

图5是本发明查询匹配的一种具体实施方式流程图。FIG. 5 is a flow chart of a specific implementation manner of query matching according to the present invention.

图6是本发明基于移动终端的服饰搜索装置具体实施方式结构图。FIG. 6 is a structural diagram of a specific implementation manner of a mobile terminal-based clothing search device of the present invention.

具体实施方式Detailed ways

为了更了解本发明的技术内容,特举具体实施例并配合所附图式说明如下。In order to better understand the technical content of the present invention, specific embodiments are given and described below in conjunction with the accompanying drawings.

在本公开中参照附图来描述本发明的各方面,附图中示出了许多说明的实施例。本公开的实施例不必定意在包括本发明的所有方面。应当理解,上面介绍的多种构思和实施例,以及下面更加详细地描述的那些构思和实施方式可以以很多方式中任意一种来实施,这是因为本发明所公开的构思和实施例并不限于任何实施方式。另外,本发明公开的一些方面可以单独使用,或者与本发明公开的其他方面的任何适当组合来使用。Aspects of the invention are described in this disclosure with reference to the accompanying drawings, in which a number of illustrative embodiments are shown. Embodiments of the present disclosure are not necessarily intended to include all aspects of the invention. It should be understood that the various concepts and embodiments described above, as well as those described in greater detail below, can be implemented in any of a number of ways, as the concepts and embodiments disclosed herein do not limited to any implementation. Additionally, some aspects of the present disclosure may be used alone or in any suitable combination with other aspects of the present disclosure.

结合图1所示,根据本发明的实施例,一种基于移动终端的服饰商品搜索方法,客户端通过拍照或者从客户端图库中选取一张服饰图片上传至服务器端进行服饰搜索,包括以下步骤:With reference to Fig. 1, according to an embodiment of the present invention, a mobile terminal-based clothing commodity search method, the client takes a picture or selects a clothing picture from the client's gallery and uploads it to the server to search for clothing, including the following steps :

(1)服饰图片特征池的建立(1) Establishment of clothing image feature pool

通过网络爬虫技术从各大电商网站上获得服饰商品图片和商品信息,存入服饰数据库,对服饰数据库中的服饰图片进行图像特征提取形成图像特征池。所述服饰数据库存在服务器中。Through the web crawler technology, clothing product pictures and product information are obtained from major e-commerce websites, stored in the clothing database, and image features are extracted from the clothing pictures in the clothing database to form an image feature pool. The apparel database is stored in the server.

(2)相似商品的搜索(2) Search for similar products

用户通过移动终端上传需要的服饰图片至服务器,上传服饰图片时要对服饰图片进行裁剪,在服务器上对用户上传的服饰图片进行特征提取,然后与图像特征池中存储的图像特征进行匹配查询。The user uploads the required clothing pictures to the server through the mobile terminal. When uploading the clothing pictures, the clothing pictures should be cropped, and the features of the clothing pictures uploaded by the user are extracted on the server, and then matched with the image features stored in the image feature pool.

通过移动终端上传服饰图片包括:拍照上传或者从移动终端选取一张服饰照片进行上传。Uploading the clothing picture through the mobile terminal includes: taking a picture for uploading or selecting a clothing picture from the mobile terminal for uploading.

服饰图片裁剪方法包括矩形框法和涂抹方法进行图片裁剪。The clothing picture cropping method includes the rectangular frame method and the smear method for cropping the picture.

所述移动终端包括手机、Pad。The mobile terminal includes a mobile phone and a Pad.

(3)搜索结果展示(3) Display of search results

根据查询到的服饰结果,将查询到的相似的服饰图片及相应的服饰信息通过移动终端展示给用户,所述服饰信息包括服饰的品牌、价格和材质。According to the queried clothing results, the queried similar clothing pictures and corresponding clothing information are displayed to the user through the mobile terminal, and the clothing information includes the brand, price and material of the clothing.

结合图1所示,本发明前述的服饰搜索方法中,通过移动终端拍照上传或者从移动终端选取一张服饰照片上传至服务器,然后在服务器上进行特征提取,并根据提取的图像特征在图像特征池中进行匹配查询,并将查询到的相似的服饰图片返回给用户。As shown in FIG. 1, in the aforementioned clothing search method of the present invention, a picture of clothing is uploaded by a mobile terminal or selected from a mobile terminal and uploaded to the server, and then feature extraction is performed on the server, and the image features are extracted according to the extracted image features. The matching query is carried out in the pool, and the similar clothing pictures found in the query are returned to the user.

图像特征池是通过网络爬虫技术从各大电商网站上(例如TAOBAO、京东商城、天猫商城等)获得服饰图片和相应的服饰信息(例如材质、价格、品牌等)并存入服饰数据库,再对服饰图片进行特征提取从而形成图像特征池。在用户搜索服饰图片时,用到的图像特征池即上述所建立的图像特征池。The image feature pool is to obtain clothing pictures and corresponding clothing information (such as material, price, brand, etc.) from major e-commerce websites (such as TAOBAO, Jingdong Mall, Tmall Mall, etc.) through web crawler technology and store them in the clothing database. Then, feature extraction is performed on the clothing image to form an image feature pool. When the user searches for clothing pictures, the image feature pool used is the image feature pool established above.

一般情况下,服饰由模特穿着展示,用户不一定对一件服饰的所有部分都喜欢,用户上传服饰图片时要对图片进行裁剪提取用户最想要的部分进行上传。。In general, clothing is displayed by a model, and users do not necessarily like all parts of a piece of clothing. When uploading clothing pictures, users need to crop the pictures to extract the most wanted parts for uploading. .

图2是服饰图片裁剪方法的一种具体实施方式。在该例子中采用的是一种是画矩形框的方法,框选出用户感兴趣的部分进行上传。画矩形框方法就是用户通过移动终端将喜欢的服饰的部分框选出来,然后将框选出的部分进行服饰搜索,并将搜索的结果返回给用户。FIG. 2 is a specific embodiment of a method for cropping clothing pictures. In this example, a method of drawing a rectangular frame is adopted, and the part that the user is interested in is selected for uploading. The method of drawing a rectangular frame is that the user selects a part of the favorite clothing through the mobile terminal, then searches the selected part for clothing, and returns the search result to the user.

图3是涂抹方法裁剪服饰图片的一种示意图。结合图示的例子,该方法为一种涂抹式裁剪,用户通过移动终端将感兴趣的服饰区域用手指进行涂抹然后进行上传并将搜索的结果返回给用户。当然,若第一次搜索的结果不满意,用户可以再次裁剪进行二次搜索,直到搜索到满意的服饰为止。FIG. 3 is a schematic diagram of cutting a garment picture by a smear method. Combined with the example shown in the figure, this method is a smear-type cropping method. The user smears the clothing area of interest with his finger through the mobile terminal, uploads it, and returns the search result to the user. Of course, if the result of the first search is unsatisfactory, the user can cut again and perform a second search until satisfactory clothing is found.

用户需要对服饰图片进行裁剪以搜索到最满意的服饰,画矩形框方法虽然可以达到裁剪的效果,但是画矩形框方法可能将不相关的区域框选进去,如将服饰图片的背景框选到搜索区域里,这样搜索出来的结果并不是用户最满意的服饰。又如用户可能经过数次的画框才能框选出相对较满意的区域,浪费用户时间和耐心。涂抹方法提供了更加精确更加轻便的裁剪方法,用户只需用手指涂抹喜欢的服饰部分进行搜索。例如,如图3所示,图3左边的服饰图片是原图,右边是进行涂抹后的服饰图片。涂抹可以分为三个步骤进行:The user needs to cut the clothing picture to search for the most satisfactory clothing. Although the method of drawing a rectangle frame can achieve the cutting effect, the method of drawing a rectangle frame may select irrelevant areas, such as selecting the background frame of the clothing picture to In the search area, the results obtained from such a search are not the most satisfactory clothing for the user. Another example is that the user may select a relatively satisfactory area after several frames, which wastes the user's time and patience. The smear method provides a more precise and lighter cutting method, and users only need to smear the favorite clothing part with their fingers to search. For example, as shown in FIG. 3 , the clothing picture on the left side of FIG. 3 is the original picture, and the right side is the clothing picture after smearing. The application can be carried out in three steps:

首先涂抹衣领部分,其次涂抹身体部分,最后涂抹手臂部分。如图3右图所示,绿色表示衣领部分,浅蓝色表示身体部分,黄色表示手臂部分。然后对涂抹部分上传至服务器进行特征提取并根据提取的图像特征在图像特征池中进行匹配查询,并将查询到的相似的服饰图片返回给用户。Apply the collar first, the body second, and the arms last. As shown in the right image of Figure 3, green represents the collar part, light blue represents the body part, and yellow represents the arm part. Then upload the smeared part to the server for feature extraction, and perform matching query in the image feature pool according to the extracted image features, and return the queried similar clothing pictures to the user.

涂抹方法将一件服饰分为三个区域进行涂抹裁剪,依次可以为衣领部分、身体部分和手臂部分,在图4的例子中示出了给予涂抹方法的服饰搜索的一种具体实施方式流程图,如图4所示,具体步骤包括:The smearing method divides a piece of clothing into three areas for smearing and cutting, which can be the collar part, the body part and the arm part in turn. In the example of FIG. 4, a specific implementation process of clothing search given the smearing method is shown. Figure, as shown in Figure 4, the specific steps include:

步骤401,对服饰图片涂抹的三个区域分别进行局部描述子的提取,进一步地为了更加准确地处理服饰特征的局部信息,使用骨骼坐标处理特征点。所述骨骼坐标是通过标准坐标转换而来。Step 401 , extracting local descriptors for the three regions smeared in the clothing image, and further processing the feature points by using bone coordinates in order to process the local information of the clothing features more accurately. The bone coordinates are converted from standard coordinates.

步骤402,将各区域局部描述子混合并进行编码,本发明局部描述子使用相邻视觉词表示,涂抹的服饰图片的三个部位局部描述子各自的位置为x1,...xa,xa+1,...,xa+b,xa+b+1,...,xa+b+c,将其转换为骨骼坐标:x’1,...,x’a,x’a+1,...,x’a+b,x’a+b+1,...,x’a+b+c,其中a,b,c分别为服饰图片涂抹的三个部分局部描述子的数量,特征提取使用骨骼坐标来进行。所述视觉词使用K-means算法对图像特征池中的局部描述子进行聚类得到。In step 402, the local descriptors of each region are mixed and encoded. The local descriptors of the present invention are represented by adjacent visual words, and the respective positions of the local descriptors of the three parts of the smeared clothing picture are x1,...xa,xa+ 1,...,xa+b,xa+b+1,...,xa+b+c, convert it to bone coordinates: x' 1 ,..., x' a , x' a+1 , ..., x' a+b , x' a+b+1 , ..., x' a+b+c , where a, b, c are the three partial local descriptors of the clothing image smearing respectively number, and feature extraction is performed using bone coordinates. The visual words are obtained by clustering the local descriptors in the image feature pool using the K-means algorithm.

步骤403,使用混合后的描述子进行服饰搜索,被搜索服饰图片的局部描述子与图像特征池的局部描述子计算相似度。服饰的特征向量与图像特征池中每幅图像的特征向量匹配查询。Step 403 , use the mixed descriptor to search for clothing, and calculate the similarity between the local descriptor of the searched clothing image and the local descriptor of the image feature pool. The feature vector of clothing matches the query with the feature vector of each image in the image feature pool.

步骤404,将匹配查询得到的服饰图片及相应的服饰信息返回给用户。Step 404 , returning the clothing pictures and corresponding clothing information obtained by the matching query to the user.

图5是查询匹配的一种具体实施方式,具体步骤包括:FIG. 5 is a specific implementation of query matching, and the specific steps include:

步骤501,从移动端上传一张服饰图片到服饰器端,所述服饰图片是经过裁剪后的图片,裁剪方法使用涂抹方式,对上传的服饰图片进行局部描述子的提取。Step 501, uploading a clothing picture from the mobile terminal to the clothing device terminal, the clothing picture is a cropped picture, and the cropping method uses the smear method to extract local descriptors for the uploaded clothing picture.

步骤502,计算上传服饰图片与服饰数据库中每张图片的相似度,所述相似度是通过一种空间约束的相似度度量方法计算。该方法使用网格投票空间探索位置,所述网络投票空间为一张投票地图,它是基于局部描述符的位置关系,具有相同视觉词并且能够同时计算相似度。具体步骤包括:Step 502: Calculate the similarity between the uploaded clothing picture and each picture in the clothing database, where the similarity is calculated by a spatially constrained similarity measurement method. The method explores locations using a grid voting space, which is a voting map, which is based on the positional relationship of local descriptors, has the same visual words and can simultaneously calculate similarity. Specific steps include:

1)对进行相似度计算的两幅服饰图片具有相同视觉词的特征点组合进行投票叠加,投票点是两个特征点与运动向量值相同的位置点。1) Voting and stacking the feature point combination of the two clothing pictures with the same visual word for similarity calculation, and the voting point is the position point where the two feature points and the motion vector value are the same.

2)具有最高投票点的区域代表投影,总体上投票点的组合表示两幅服饰图片的相似度。2) The area with the highest voting point represents the projection, and the combination of voting points in general represents the similarity of the two clothing pictures.

步骤503,对上传服饰图片与服饰数据库中的每张服饰图片进行相似度计算,将相似度较高的(例如满足设定阈值标准的)服饰图片返回给用户。Step 503: Calculate the similarity between the uploaded clothing picture and each clothing picture in the clothing database, and return the clothing picture with high similarity (for example, meeting the set threshold standard) to the user.

与前述方法具体实施方式相对应,本发明还公开了一种基于移动终端的服饰搜索装置,如图6所示,具体可以包括:Corresponding to the specific implementation of the foregoing method, the present invention also discloses a mobile terminal-based clothing search device, as shown in FIG. 6 , which may specifically include:

服饰图片获取模块601,本模块从移动终端获取一张服饰图片,具体方法可以为拍照获取或者从移动终端获取一张服饰照片上传至服务器。另外,用户可以进行多次裁剪服饰图片选取用户喜欢的部分进行上传,直到搜索到用户满意的服饰。所述裁剪方法包括画矩形框方法和涂抹方法。Clothing picture acquisition module 601, this module acquires a clothing picture from the mobile terminal, and the specific method may be to take a picture or acquire a clothing picture from the mobile terminal and upload it to the server. In addition, the user can cut the clothing picture multiple times to select the part that the user likes and upload it until the clothing that the user is satisfied with is searched. The cropping method includes a rectangular frame drawing method and a smearing method.

局部描述子提取模块602,用于依据接收到的服饰图片,提取相应的局部描述子,另外在服务器端也要进行局部描述子的提取,用于与接收到的服饰图片进行相似度计算。The local descriptor extracting module 602 is used for extracting corresponding local descriptors according to the received clothing pictures, and also extracting local descriptors on the server side for calculating similarity with the received clothing pictures.

服饰图片检索模块603,用于依据接收到的服饰图片的局部描述子在服务器端图像特征池中进行局部描述子的匹配查询,计算两幅服饰图片之间的相似度。所述图像特征池中存储从电商网站上获得的服饰图片的局部描述子信息。The clothing picture retrieval module 603 is configured to perform a matching query of the local descriptors in the server-side image feature pool according to the received local descriptors of the clothing pictures, and calculate the similarity between the two clothing pictures. The image feature pool stores local descriptor information of clothing pictures obtained from e-commerce websites.

服饰图片返回模块604,将检索到的服饰图片返回给用户,在用户的移动终端中进行展示。The clothing picture returning module 604 returns the retrieved clothing pictures to the user for display on the user's mobile terminal.

虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围当视权利要求书所界定者为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art to which the present invention pertains can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined according to the claims.

Claims (2)

1. A dress searching method based on a mobile terminal is characterized in that a user takes a picture through the mobile terminal or selects a dress picture from a gallery of the mobile terminal and uploads the dress picture to a server side for dress searching, and the dress searching method comprises the following steps:
step 1, establishing a clothing picture feature pool
Acquiring clothing commodity pictures and commodity information from an e-commerce website through a web crawler, storing the clothing commodity pictures and the commodity information into a clothing database, and performing image feature extraction on the clothing pictures in the clothing database to form an image feature pool, wherein the clothing database is stored in a server;
step 2, searching similar commodities
Responding to a clothing picture shot or selected by a user through a mobile terminal, cutting the clothing picture, uploading the clothing picture to the server, extracting the characteristics of the clothing picture uploaded by the user on the server, and then performing matching query with the image characteristics stored in the image characteristic pool;
the clothing picture cutting method comprises at least one of a rectangular frame method and a smearing method, wherein the rectangular frame method is to select the clothing part of interest of a user from a frame and upload the selected part of the frame to a server for clothing search, and the smearing method is to smear on the clothing picture by the user and upload the selected part of the interest clothing area to the server for clothing search;
in the clothing searching process based on the smearing and cutting method, the characteristics are extracted, the codes are mixed and the matching query is carried out in the following modes:
1) extracting local descriptors of three areas coated by the clothing picture, wherein the three areas are a collar part, a body part and a hand arm part of clothing respectively;
2) mixing and coding the local descriptors of the regions, wherein each local descriptor is represented by an adjacent visual word, and the respective positions of the local descriptors of three parts of the daubed clothing picture are as follows: x is the number of1,...xa,xa+1,...,xa+b,xa+b+1,...,xa+b+cIt is converted into bone coordinates: x'1,…,x'a,x'a+1,…,x'a+b,x'a+b+1,…,x'a+b+cWherein a, b and c are respectively partial descriptions of three parts of the painting of the clothing pictureThe number of the son, the characteristic is extracted and carried on by using the skeleton coordinate, the said vision word uses the K-means algorithm to carry on the clustering to the local descriptor in the characteristic pool of the picture to get;
3) using the mixed descriptors to search clothing, calculating the similarity between the local descriptors of the searched clothing picture and the local descriptors of the image feature pool, and performing matching query on the feature vector of the clothing and the feature vector of each image in the image feature pool;
step 3, displaying search results
And displaying the inquired similar clothing pictures and corresponding clothing information to a user through a mobile terminal according to the inquired clothing results, wherein the clothing information comprises the brand, price and material of the clothing.
2. The clothing searching method based on mobile terminal as claimed in claim 1, wherein in step 2 of the aforementioned method, the similarity is calculated by a space-constrained similarity measurement method, the similarity measurement method uses a grid voting space to search for a position, the grid voting space is a voting map which is based on the position relationship of local descriptors, has the same visual words and can simultaneously calculate the similarity, and the concrete steps include:
1) voting and superposing feature point combinations with the same visual words of the two clothes pictures subjected to similarity calculation, wherein the voting points are position points with the same motion vector values of the two feature points;
2) the region with the highest voting point represents a projection, and the combination of the voting points represents the similarity of the two clothes pictures as a whole;
and carrying out similarity calculation on the uploaded clothes pictures and each clothes picture in the clothes database according to the mode, and returning the clothes pictures with the similarity meeting the set threshold value to the user in the step 3.
CN201510624226.3A 2015-09-25 2015-09-25 A mobile terminal-based clothing search method Active CN106557489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510624226.3A CN106557489B (en) 2015-09-25 2015-09-25 A mobile terminal-based clothing search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510624226.3A CN106557489B (en) 2015-09-25 2015-09-25 A mobile terminal-based clothing search method

Publications (2)

Publication Number Publication Date
CN106557489A CN106557489A (en) 2017-04-05
CN106557489B true CN106557489B (en) 2020-11-06

Family

ID=58415436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510624226.3A Active CN106557489B (en) 2015-09-25 2015-09-25 A mobile terminal-based clothing search method

Country Status (1)

Country Link
CN (1) CN106557489B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760999A (en) * 2016-02-17 2016-07-13 中山大学 Method and system for clothes recommendation and management
CN108021603A (en) * 2017-09-25 2018-05-11 嘉善锐琦花边有限公司 A kind of fabrics sample searches apparatus and method based on texture analysis and cloud computing
CN110427511A (en) * 2019-07-09 2019-11-08 广州搜料信息技术有限公司 It is a kind of that material method is looked for based on taking pictures for artificial intelligence picture recognition technology
CN112905889B (en) * 2021-03-03 2024-10-15 百度在线网络技术(北京)有限公司 Clothing searching method and device, electronic equipment and medium
CN113592512A (en) * 2021-07-22 2021-11-02 上海普洛斯普新数字科技有限公司 Online commodity identity uniqueness identification and confirmation system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412937A (en) * 2013-08-22 2013-11-27 成都数之联科技有限公司 Searching and shopping method based on handheld terminal
CN103412938A (en) * 2013-08-22 2013-11-27 成都数之联科技有限公司 Commodity price comparing method based on picture interactive type multiple-target extraction

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9684719B2 (en) * 2012-12-10 2017-06-20 Verint Systems Ltd. Object search by description

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412937A (en) * 2013-08-22 2013-11-27 成都数之联科技有限公司 Searching and shopping method based on handheld terminal
CN103412938A (en) * 2013-08-22 2013-11-27 成都数之联科技有限公司 Commodity price comparing method based on picture interactive type multiple-target extraction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于内容的商品图像检索;方强;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130615(第6期);第I138-1233页 *

Also Published As

Publication number Publication date
CN106557489A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN107993191B (en) Image processing method and device
CN103412938B (en) A kind of commodity price-comparing method extracted based on picture interactive multiobjective
US10747826B2 (en) Interactive clothes searching in online stores
US8718369B1 (en) Techniques for shape-based search of content
CN100578508C (en) Interactive image search system and method
CN106557489B (en) A mobile terminal-based clothing search method
US10831819B2 (en) Hue-based color naming for an image
US10776417B1 (en) Parts-based visual similarity search
US9798949B1 (en) Region selection for image match
CN106598998B (en) Information acquisition method and information acquisition device
CN103810303B (en) Image search method and system based on focus object recognition and theme semantics
WO2015161191A1 (en) Fashion preference analysis
CN106933821A (en) A kind of personalized position based on Similarity Measure recommends method and system
US9324102B2 (en) System and method to retrieve relevant inventory using sketch-based query
CN105824928A (en) Mobile terminal, server, content-based image recognition search method and system
CN105117399B (en) Image searching method and device
CN108492160A (en) Information recommendation method and device
CN106326511A (en) Intelligent fitting method for mobile terminal, mobile terminal and intelligent fitting system
CN103257962B (en) information providing method and device
CN101957825A (en) Method for searching image based on image and video content in webpage
US20200320118A1 (en) Feature-based search
CN104615639B (en) A kind of method and apparatus for providing the presentation information of picture
US11403697B1 (en) Three-dimensional object identification using two-dimensional image data
CN105868299A (en) Data search method and device
CN104680393A (en) Interactive advertisement method based on image contents and matching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant