WO2019237721A1 - Garment dimension data identification method and device, and user terminal - Google Patents

Garment dimension data identification method and device, and user terminal Download PDF

Info

Publication number
WO2019237721A1
WO2019237721A1 PCT/CN2018/125516 CN2018125516W WO2019237721A1 WO 2019237721 A1 WO2019237721 A1 WO 2019237721A1 CN 2018125516 W CN2018125516 W CN 2018125516W WO 2019237721 A1 WO2019237721 A1 WO 2019237721A1
Authority
WO
WIPO (PCT)
Prior art keywords
clothing
image
size data
feature
identified
Prior art date
Application number
PCT/CN2018/125516
Other languages
French (fr)
Chinese (zh)
Inventor
斯科特马修•罗伯特
黄鼎隆
唐颖雯
王海涵
Original Assignee
深圳码隆科技有限公司
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 深圳码隆科技有限公司 filed Critical 深圳码隆科技有限公司
Publication of WO2019237721A1 publication Critical patent/WO2019237721A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/50Extraction of image or video features by performing operations within image blocks; by using histograms, e.g. histogram of oriented gradients [HoG]; by summing image-intensity values; Projection analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/34Smoothing or thinning of the pattern; Morphological operations; Skeletonisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • G06V10/247Aligning, centring, orientation detection or correction of the image by affine transforms, e.g. correction due to perspective effects; Quadrilaterals, e.g. trapezoids

Definitions

  • the present application relates to the field of image recognition technology, and more particularly, to a method, a device, and a user terminal for recognizing clothing size data.
  • Clothing style refers to the style of clothing, usually refers to the shape factor, which is one of the styling elements. Good clothing style can bring people a good mood all day. Clothing styles generally consist of three aspects: structure, popular elements, and texture. The structure includes the shape and structural characteristics of the garment, and the corresponding size data of the shape and structural characteristics.
  • Clothing size data can generally include: bust, waist, hips, arm length, shoulder width, height, neck circumference, upper bust, chest height, lower bust, arm circumference, sleeve cage, wrist circumference, shoulder to waist height, Waist-to-skirt length, chest distance, etc.
  • Different clothing styles correspond to different clothing size data.
  • the present application provides a clothing size data identification method, device and user terminal to solve the shortcomings of the prior art.
  • the present application provides a method for identifying clothing size data, including:
  • the minimum screenshot includes the detachable feature, performing a split processing on the minimum screenshot according to the detachable feature to obtain a clothing split unit as an image of a region to be identified;
  • the "preprocessing the target image and determining the overall outline of the clothing in the target image” includes:
  • the "determining whether the style feature point in the minimum screenshot contains a detachable feature" and the "recognizing the image of the area to be identified and obtaining the clothing in the image of the area to be identified Dimension Data" also includes:
  • the minimum screenshot does not include detachable features, the minimum screenshot is used as the image of the area to be identified.
  • the "recognizing the image of the area to be identified and obtaining clothing size data in the image of the area to be identified” includes:
  • the "determining the scale of the model portrait of the target image” includes:
  • the "locating the ruler feature points of the image of the area to be identified, and obtaining the clothing size data based on the ruler feature points based on the scale" includes:
  • the present application also provides a clothing size data identification device, including: a preprocessing module, an interception module, an extraction module, a judgment module, a splitting module, and an acquisition module;
  • the pre-processing module is configured to pre-process the target image to determine the overall clothing outline in the target image
  • the intercepting module is configured to intercept the smallest screenshot of the overall outline of the clothing in the target image according to the overall outline of the clothing;
  • the extraction module is used to extract the style feature points in the minimum screenshot
  • the judging module is configured to judge whether the style feature point in the minimum screenshot includes a detachable feature
  • the splitting module is configured to perform splitting processing on the smallest screenshot according to the splittable feature when the splittable feature is included in the smallest screenshot to obtain a clothing splitting unit as an image of a region to be identified;
  • the acquisition module is configured to identify the image of the area to be identified, and acquire clothing size data in the image of the area to be identified.
  • the present application further provides a user terminal including a memory and a processor, where the memory is used to store a clothing size data identification program, and the processor runs the clothing size data identification program to enable the clothing size data identification program to The user terminal executes the clothing size data identification method as described above.
  • the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a clothing size data identification program, and the clothing size data identification program is implemented as described above when executed by a processor.
  • the clothing size data identification method is also provided.
  • a clothing size data identification method, device, and user terminal provided by the present application.
  • the method provided in this application includes: pre-processing the target image to determine the overall clothing outline in the target image; taking the minimum overall screenshot of the target image containing the overall clothing outline according to the overall clothing outline; extracting the style in the minimum screenshot Feature points; determine whether the style feature points in the smallest screenshot include detachable features; if the smallest screenshot contains detachable features, the smallest screenshot is split based on the detachable features to obtain a clothing split unit as The image of the area to be identified; identify the image of the area to be identified, and obtain the clothing size data in the image of the area to be identified.
  • the method provided in this application determines the overall outline in the target image to obtain the smallest screenshot, and then determines whether the smallest screenshot contains a detachable feature. If the feature is included, the minimum is performed according to the detachable feature.
  • Split processing of screenshots and recognition of myopia images to obtain clothing size data implements the judgment of whether a clothing style is detachable based on computer image recognition technology, and performs image recognition after the splitting process, thereby obtaining clothing size data and completing the processing of the target image.
  • the automatic statistical calculation, classification and sorting of the included clothing size data, fast measurement speed, high efficiency, and improved measurement accuracy provide convenience for the measurement of clothing size data in the image, and fully meet the changing clothing diversity Speed of development.
  • FIG. 1 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of a method for identifying clothing size data of this application;
  • FIG. 2 is a schematic flowchart of a first embodiment of a clothing size data identification method of the present application
  • FIG. 3 is a schematic flowchart of a second embodiment of a clothing size data identification method of the present application.
  • FIG. 4 is a schematic flowchart of a third embodiment of a clothing size data identification method of the present application.
  • FIG. 5 is a detailed flowchart of steps S610 and S620 of a third embodiment of a method for identifying clothing size data of this application;
  • FIG. 6 is a functional module diagram of the clothing size data identification device of the present application.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality” is two or more, unless it is specifically and specifically defined otherwise.
  • the terms “installation,” “connected,” “connected,” and “fixed” should be understood broadly unless otherwise specified and limited, for example, they may be fixed connections or removable connections Or integrated; it can be mechanical or electrical; it can be directly connected or indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction between two elements.
  • installation should be understood broadly unless otherwise specified and limited, for example, they may be fixed connections or removable connections Or integrated; it can be mechanical or electrical; it can be directly connected or indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction between two elements.
  • FIG. 1 is a schematic structural diagram of a hardware operating environment of a terminal involved in a solution according to an embodiment of the present application.
  • the terminal may be a PC provided in an automatic container machine, or may be a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, and a portable computer.
  • a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, and a portable computer.
  • it may be a computer hardware device provided in the automatic container machine itself.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen, an input unit such as a keyboard, a remote controller, and the optional user interface 1003 may further include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory or a stable memory, such as a magnetic disk memory.
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • the terminal may further include an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
  • the mobile terminal may be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which will not be repeated here.
  • the terminal shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than those shown in the figure, or combine some components, or arrange different components.
  • the memory 1005 as a computer-readable storage medium may include an operating system, a data interface control program, a network connection program, and a clothing size data identification program.
  • a clothing size data identification method, device, and user terminal provided by the present application.
  • the method realizes judging whether the clothing style is detachable based on computer image recognition technology, and recognizes the image after the splitting process, thereby obtaining clothing size data and completing the Automatic statistical calculation, classification and sorting of clothing size data, fast measurement speed, high efficiency, improved measurement accuracy, facilitate the measurement of clothing size data in the image, and fully meet the rapid development of clothing diversification speed.
  • a first embodiment of the present application provides a clothing size data identification method, including:
  • Step S100 preprocess the target image to determine the overall clothing outline in the target image
  • the method provided in this embodiment recognizes a target image containing clothing based on a computer image recognition technology.
  • the target image may be a display picture, a catwalk picture, a life picture of a model wearing clothing, or a pure clothing picture without a model.
  • the source of the target image can be directed to a large number of photos of models wearing fashion clothing taken at places such as Fashion Week, Fashion Week, catwalk events, etc., and the method provided in this embodiment Recognize the above photos in order to extract the size data of the fashion clothes in them, so as to grasp the fashion elements.
  • the source of the pictures can be crawled through the web, and the web sites and databases that contain photos of models wearing fashion clothes are captured in batches.
  • the official websites of major clothing brands, etc. and then use the method provided in this embodiment to batch identify the above-mentioned photos, so as to extract the size data of the fashion clothing therein and grasp the fashion elements.
  • the pre-processing of the image may include tilt correction for the image, smoothing processing of the contour curve, and edge detection.
  • image pre-processing it can be the adjustment of the image itself, which can include:
  • the grayscale image is subjected to inverse color processing, edge detection is performed, and the overall clothing outline in the grayscale image after inversion is obtained based on the grayscale distribution histogram.
  • Step S200 Take a minimum screenshot of the overall outline of the clothing according to the overall outline of the clothing;
  • a screenshot is taken of the target image based on the overall outline, and a screenshot including the overall outline of the clothing is taken.
  • the screenshot may be a screenshot that is suitable for the overall size of the overall outline of the clothing. Take a cut along the outline; it may also be appropriate to expand a certain range in consideration of the accuracy of the overall outline of the garment or the size of the edge, and take a screenshot that includes the overall outline of the garment.
  • Step S300 extracting style feature points in the minimum screenshot
  • the style feature points are characteristic points that characterize different styles of different garments.
  • skirts include dresses and skirts; pants include shorts, leggings, flared pants, cropped pants, etc.
  • Different styles of clothing have different characteristics, and the style characteristics reflect the differences of different styles of clothing.
  • the short skirt may include, but is not limited to, different colors from the top, the width of different regions, the height of different regions, and materials.
  • Step S400 determine whether the style feature points in the minimum screenshot include a detachable feature
  • the style feature points include detachable feature points and indivisible feature points.
  • the detachable feature points represent the characteristics of different detachable parts in the clothing. For example, clothes and pants, shirts and short sleeves, coats and inner shirts and trousers, short-sleeved tops and skirts of the lower body, sportswear tops and sportswear pants of different or the same fabric or color, etc., are all removable
  • the sub-units all include different separable features.
  • the characteristic points can be the characteristics of whether the skirt is waisted, the difference in material and fabric, the difference in color, the size of the legs and the waist.
  • Step S500 if the minimum screenshot includes the detachable feature, perform a split processing on the minimum screenshot according to the detachable feature to obtain a clothing split unit as an image of a region to be identified;
  • the smallest screenshot is split to obtain a split unit, which is used as an image of the area to be identified.
  • each target image may include multiple minimum screenshots, and if each minimum screenshot includes detachable features, multiple recognition area images may be obtained after splitting. Labels can be set for different minimal screenshots and different images of the area to be identified, and different identification channels can be established according to the labels, so as to perform image recognition for different areas to be identified.
  • Step S600 Recognize the image of the area to be identified, and obtain clothing size data in the image of the area to be identified.
  • the image of the area to be identified is identified, thereby obtaining clothing size data.
  • the step S400 determines whether the style feature point in the minimum screenshot includes a detachable feature" and the step S600 "recognizes the image of the region to be identified and obtains the image in the image of the region to be identified Clothing size data "also includes:
  • step S700 if the minimum screenshot does not include a detachable feature, the minimum screenshot is used as the image of the area to be identified.
  • the method provided in this embodiment obtains the smallest screenshot by determining the overall contour in the target image, and then determines whether the smallest screenshot contains a detachable feature. If the feature is included, an analysis is performed according to the detachable feature. The smallest screenshot is split and processed, and myopia image recognition is performed to obtain clothing size data.
  • the method provided in this embodiment implements the determination of whether a clothing style is detachable based on computer image recognition technology, and performs image recognition after the split processing, thereby obtaining clothing size data and completing the target image.
  • the automatic statistical calculation, classification and sorting of the clothing size data contained in it, the measurement speed is fast, the efficiency is high, and the accuracy of the measurement is improved, which facilitates the measurement of the clothing size data in the image and fully meets the changing clothing Diversified development speed.
  • a second embodiment of the present application provides a clothing size data identification method.
  • the step S100 is "pre-processing a target image to determine the target image.
  • “Overall clothing outline” includes:
  • Step S110 localize human features on the target image to obtain multiple human feature points
  • human body feature positioning is to perform feature localization on the human body contained in the image.
  • Human body images include limb features, such as head, neck, torso, and limbs; learn through neural network to locate the head, neck, torso, and limbs to find human features, and also add feet, shoes, gestures, If the features of the facial organs and hair include the aforementioned limb features, a plurality of human feature points are obtained.
  • Step S120 Determine the number of model portraits included in the target image according to each human feature location point, and obtain a selection frame including the human feature location point for each model portrait;
  • the selection box is a rough selection box for the anchor points of human characteristics. It is used to select and divide the area where the human body features are located.
  • the shape of the selection box can be different shapes.
  • the selection box corresponding to the characteristic points of the head can be circular
  • the selection box corresponding to the characteristic points of the legs can be rectangular, and so on.
  • each target image may include a plurality of different model portraits, and the number of model portraits included is identified by positioning points of human characteristics. And, for each model portrait in the target image, a selection frame is obtained separately.
  • Step S130 Combine all the selection boxes of each of the model portraits in the target image to obtain a human feature positioning area
  • the positioning area includes images of model portraits.
  • Step S140 Perform edge detection on the human body feature positioning area to determine the overall outline of the garment including all human body feature points in the human body feature positioning area.
  • edge detection algorithms For edge detection of human body feature positioning areas, different edge detection algorithms can be used.
  • a Canny edge detection algorithm is used, and the steps may include:
  • the binarization processing is performed on the edge graphic data to obtain a binarized image output result, as the overall outline of the clothing including all human body feature points.
  • the method may further include the following steps:
  • multiple human feature points are obtained for the target image, and the number of model portraits in the image is determined. Then, the human feature positioning areas for different model portraits are obtained, and the edge detection is performed to obtain the result. The overall outline of the garment in the target image is described. In this way, the overall outline of clothing of multiple different model portraits in the image is automatically obtained, and the recognition efficiency of the overall outline acquisition is greatly improved.
  • a third embodiment of the present application provides a clothing size data recognition method. Based on the first embodiment shown in FIG. 3 described above, the step S600 "recognizes the image of the area to be identified, and obtains said Clothing size data in the image of the area to be identified "includes:
  • Step S610 Determine the scale of the model portrait of the target image
  • the scale is the ratio of the length of a line segment on the map to the actual length of the corresponding line segment on the ground.
  • the scale of the target image is the ratio of the width or height of the model portrait to the actual distance in the target image.
  • Step S620 Locate the feature point of the ruler of the image of the area to be identified, and obtain the clothing size data based on the feature point of the ruler based on the scale.
  • the characteristic points of the ruler are characteristic points corresponding to different clothing styles.
  • a skirt can include two or more endpoints representing the waist length, two upper or lower endpoints representing the group height, and the skirt Two or more endpoints of the width and so on.
  • a shirt can include multiple end points of the neckline to indicate its shape, including multiple end points to indicate the width of the shoulders, end points at the cuffs that indicate the length of the sleeves, and end points at the starting point of the sleeves. Endpoints and so on.
  • clothing size data is obtained by locating a plurality of different ruler feature points of the image of the area to be identified.
  • the distance between the characteristic points of the row ruler includes clothing size data.
  • step S610 "determining the scale of the model portrait of the target image” includes:
  • Step S611 obtaining a maximum height value of the overall outline of the clothing
  • Step S612 positioning a waist region in the overall outline of the garment, and determining a maximum width value of the waist region;
  • the maximum height value and the maximum width value of the model portrait are determined.
  • Step S613 Obtain a preset height value and a preset waist width value; and, according to a quantitative relationship between the preset height value and the maximum height value, and the preset waist width value and the maximum width value, The scale of the target image is displayed.
  • the preset height value and the preset waist width value are preset values that are preset manually, and can be set and modified according to actual conditions.
  • the preset height value is 180cm
  • the preset waist width value can be 30cm.
  • a preset hip width value may also be included, for example, it may be 45 cm.
  • the preset height value and preset waist width value are used to calculate the scale corresponding to the target image, which can be adjusted according to the actual situation to improve the accuracy of the calculation.
  • the step S620 "locating the ruler feature points of the image of the area to be identified, and obtaining the clothing size data based on the ruler feature points based on the scale" includes:
  • Step S621 Locate all row ruler feature points in the image of the area to be identified
  • Step S622 connect each of the ruler feature points to obtain a preliminary connection line between each of the ruler feature points;
  • the preliminary connection line is the connection line between all the ruler feature points.
  • Step S623 extracting the style feature connection lines in the preliminary connection line according to a preset style feature database
  • the connecting lines between all the characteristic points of the row ruler include the connecting lines of the style features that can characterize the clothing style, and also include the extra connecting lines other than the connecting lines of the style features.
  • the preset style feature database is a database containing the position range or interval of connecting lines that can characterize the style features. Through the preset style feature data, all the preliminary connection lines are filtered, and the style feature connection lines are extracted to characterize the clothing style. For example, the line between the two ruler feature points of the cuff to the shoulder can represent the data of the sleeve length, while the line between the cuff to the feature ruler of the waist is a redundant connection line. The data was filtered, and the connecting line from the cuff to the shoulder was extracted as one of the connecting lines of the style feature.
  • Step S624 obtaining length ratio values of all the connecting lines of the style features, and obtaining the clothing size data according to the scale.
  • the connecting lines of the style characteristics calculate the ratio between all the connecting lines, and obtain the data of the size of the clothing reagent according to the scale.
  • the scale of the target image is determined by the maximum height value and the maximum waist width value of the overall outline of the clothing, and the preset height value and the preset waist width value, and the style feature connection is filtered through the preset style feature database. And obtain the ratio of the length of all the characteristics of the style, and then obtain the clothing size data, which improves the accuracy of the clothing size data acquisition and brings convenience to the image clothing measurement work.
  • the present application also provides a clothing size data identification device, including: a preprocessing module 10, an interception module 20, an extraction module 30, a judgment module 40, a splitting module 50, and an acquisition module 60;
  • the pre-processing module 10 is configured to pre-process a target image and determine the overall clothing outline in the target image
  • the intercepting module 20 is configured to intercept the smallest screenshot of the overall outline of the clothing according to the overall outline of the clothing;
  • the extraction module 30 is configured to extract the style feature points in the minimum screenshot
  • the judging module 40 is configured to judge whether the style feature point in the minimum screenshot includes a detachable feature
  • the splitting module 50 is configured to perform splitting processing on the smallest screenshot according to the splittable feature when the splittable feature is included in the smallest screenshot to obtain a clothing splitting unit as an image of a region to be identified. ;
  • the obtaining module 60 is configured to identify the image of the area to be identified, and obtain clothing size data in the image of the area to be identified.
  • the present application also provides a user terminal, including a memory and a processor, where the memory is used to store a clothing size data identification program, and the processor runs the clothing size data identification program to cause the user terminal to execute the program as described above.
  • the clothing size data identification method is used to store a clothing size data identification program, and the processor runs the clothing size data identification program to cause the user terminal to execute the program as described above.
  • the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a clothing size data identification program, and the clothing size data identification program implements the clothing size data as described above when executed by a processor. recognition methods.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Image Analysis (AREA)

Abstract

A garment dimension data identification method and device, and a user terminal. The method comprises: pre-processing a target image, and determining an overall outline of a garment in the target image (S100); according to the overall outline of the garment, capturing a minimum screenshot comprising the overall outline of the garment in the target image (S200); extracting a style characteristic point in the minimum screenshot (S300); determining whether the style characteristic point in the minimum screenshot comprises a separable characteristic (S400); if yes, separating the minimum screenshot according to the separable characteristic, obtaining a garment separating unit, and using same as a regional image to be identified (S500); and identifying the regional image to be identified, so that the garment dimension data in the regional image to be identified is obtained (S600). According to the method, whether the garment style is separable can be determined based on a computer image identification technology; furthermore, image identification is carried out after separation processing, thereby obtaining the garment dimension data; automatic identification on the garment dimension data comprised in the target image is completed; the measurement speed is rapid; the efficiency is high; and the measurement accuracy is improved.

Description

一种服装尺寸数据识别方法、装置和用户终端Clothing size data identification method, device and user terminal
本申请是以申请号为201810613349.0、申请日为2018年6月14日的中国专利申请为基础,并主张其优先权,该申请的全部内容在此作为整体引入本申请中。This application is based on a Chinese patent application with an application number of 201810613349.0 and an application date of June 14, 2018, and claims its priority. The entire content of this application is hereby incorporated into this application as a whole.
技术领域Technical field
本申请涉及图像识别技术领域,更具体地说,涉及一种服装尺寸数据识别方法、装置和用户终端。The present application relates to the field of image recognition technology, and more particularly, to a method, a device, and a user terminal for recognizing clothing size data.
背景技术Background technique
服装款式指服装的式样,通常指形状因素,是造型要素中的一种,好的服装款式能给人带来一整天的好心情。服装款式一般有3个方面组成:结构、流行元素、质地。而其中结构,包括服装的形状、结构特征,以及所述形状和结构特征的相对应的尺寸数据。Clothing style refers to the style of clothing, usually refers to the shape factor, which is one of the styling elements. Good clothing style can bring people a good mood all day. Clothing styles generally consist of three aspects: structure, popular elements, and texture. The structure includes the shape and structural characteristics of the garment, and the corresponding size data of the shape and structural characteristics.
服装的尺寸数据,一般可以包括:胸围、腰围、臀围、臂长、肩宽、身高、颈围、上胸围、胸高、下胸围、臂围、袖笼、腕围、肩到腰的高度、腰到裙底的长度和胸间距等等数据。不同的服装款式对应不同的服装尺寸数据。Clothing size data can generally include: bust, waist, hips, arm length, shoulder width, height, neck circumference, upper bust, chest height, lower bust, arm circumference, sleeve cage, wrist circumference, shoulder to waist height, Waist-to-skirt length, chest distance, etc. Different clothing styles correspond to different clothing size data.
目前,对于服装图像中的服装款式中的尺寸数据的获取方法中,由于通过计算机自动识别无法区分服装的花样繁多的款式,只能通过人工利用测量工具或者通过计算机辅助进行针对单张服装图像的尺寸测量,并根据经验进行统计计算、分类和整理,对尺寸数据的测量人员的专业技术水平要求较高,图片中的尺寸数据的测量速度慢、效率低、且准确度低,无法满足日新月异的服装多元化的发展速度。At present, in the method for acquiring the size data of the clothing styles in the clothing image, because there are many patterns of clothing that cannot be distinguished by automatic computer recognition, only a manual measurement tool or computer-assisted can be used for the single clothing image. Dimension measurement, and statistical calculation, classification and sorting according to experience. The technical expertise of the measurement personnel of dimensional data is relatively high. The measurement of dimensional data in the picture is slow, inefficient, and low in accuracy, which cannot meet the ever-changing The speed of development of clothing diversification.
申请内容Application content
有鉴于此,本申请提供一种服装尺寸数据识别方法、装置和用户终端以解决现有技术的不足。In view of this, the present application provides a clothing size data identification method, device and user terminal to solve the shortcomings of the prior art.
为解决上述问题,本申请提供一种服装尺寸数据识别方法,包括:To solve the above problems, the present application provides a method for identifying clothing size data, including:
对目标图像进行预处理,确定所述目标图像中的服装整体轮廓;Preprocess the target image to determine the overall clothing outline in the target image;
根据所述服装整体轮廓,截取所述目标图像中包含有所述服装整体轮廓的最小截图;Taking a minimum screenshot of the overall outline of the clothing according to the overall outline of the clothing;
提取所述最小截图中的款式特征点;Extracting style feature points in the minimum screenshot;
判断所述最小截图中的所述款式特征点中是否包含可拆分特征;Judging whether the style feature points in the minimum screenshot include a detachable feature;
若所述最小截图中包含所述可拆分特征,则根据所述可拆分特征对所述最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;If the minimum screenshot includes the detachable feature, performing a split processing on the minimum screenshot according to the detachable feature to obtain a clothing split unit as an image of a region to be identified;
对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据。Identify the image of the area to be identified, and obtain clothing size data in the image of the area to be identified.
优选地,所述“对目标图像进行预处理,确定所述目标图像中的服装整体轮廓”包括:Preferably, the "preprocessing the target image and determining the overall outline of the clothing in the target image" includes:
对所述目标图像进行人体特征定位,获取多个人体特征点;Performing human body feature positioning on the target image to obtain multiple human body feature points;
根据每个人体特征定位点,确定所述目标图像中所包含的模特人像的数量,并对每个模特人像分别获得包括所述人体特征定位点的选择框;Determining the number of model portraits included in the target image according to each human body feature location point, and obtaining a selection box including the human body feature location point for each model portrait separately;
组合所述目标图像中的每个所述模特人像的所有所述选择框,得到人体特征定位区;Combining all the selection boxes of each of the model portraits in the target image to obtain a human feature positioning area;
对所述人体特征定位区进行边缘检测,确定所述人体特征定位区中的包括所有人体特征点的所述服装整体轮廓。Perform edge detection on the human body feature positioning area to determine the overall outline of the garment including all human body feature points in the human body feature positioning area.
优选地,所述“判断所述最小截图中的所述款式特征点中是否包含可拆分特征”和所述“对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据”之间,还包括:Preferably, the "determining whether the style feature point in the minimum screenshot contains a detachable feature" and the "recognizing the image of the area to be identified and obtaining the clothing in the image of the area to be identified Dimension Data "also includes:
若所述最小截图中不包含可拆分特征,则将所述最小截图作为待识别区域图像。If the minimum screenshot does not include detachable features, the minimum screenshot is used as the image of the area to be identified.
优选地,所述“对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据”,包括:Preferably, the "recognizing the image of the area to be identified and obtaining clothing size data in the image of the area to be identified" includes:
确定所述目标图像的模特人像的比例尺;Determining a scale of a model portrait of the target image;
定位所述待识别区域图像的排尺特征点,基于所述比例尺,根据所述排尺特征点获取所述服装尺寸数据。Positioning the ruler feature points of the image of the area to be identified, and obtaining the clothing size data based on the ruler feature points based on the scale.
优选地,所述“确定所述目标图像的模特人像的比例尺”包括:Preferably, the "determining the scale of the model portrait of the target image" includes:
获取所述服装整体轮廓的最大高度值;Obtaining the maximum height value of the overall outline of the clothing;
定位所述服装整体轮廓中的腰部区域,并确定所述腰部区域的最大宽度值;Positioning a waist region in the overall outline of the garment, and determining a maximum width value of the waist region;
获取预设身高值和预设腰宽值;并且,根据所述预设身高值与所述最大高度值、以及所述预设腰宽值与所述最大宽度值之间数量关系得出所述目标图像的比例尺。Obtaining a preset height value and a preset waist width value; and obtaining the preset height value and the maximum height value according to a quantitative relationship between the preset waist value and the maximum width value The scale of the target image.
优选地,所述“定位所述待识别区域图像的排尺特征点,基于所述比例尺,根据所述排尺特征点获取所述服装尺寸数据”包括:Preferably, the "locating the ruler feature points of the image of the area to be identified, and obtaining the clothing size data based on the ruler feature points based on the scale" includes:
在所述待识别区域图像中定位出所有排尺特征点;Locate all row ruler feature points in the image of the area to be identified;
连接每个所述排尺特征点,获得每个所述排尺特征点之间的初步连接线;Connect each of the ruler feature points to obtain a preliminary connection line between each of the ruler feature points;
根据预设款式特征数据库,提取出所述初步连接线中的款式特征连接线;Extracting the style feature connecting lines from the preliminary connecting lines according to a preset style feature database;
获得所有所述款式特征连接线的长度比例值,并根据所述比例尺获得所述服装尺寸数据。Obtain the length ratio values of all the style feature connecting lines, and obtain the clothing size data according to the scale bar.
此外,为解决上述问题,本申请还提供一种服装尺寸数据识别装置,包括:预处理模块、截取模块、提取模块、判断模块、拆分模块和获取模块;In addition, in order to solve the above problems, the present application also provides a clothing size data identification device, including: a preprocessing module, an interception module, an extraction module, a judgment module, a splitting module, and an acquisition module;
所述预处理模块,用于对目标图像进行预处理,确定所述目标图像中的服装整体轮廓;The pre-processing module is configured to pre-process the target image to determine the overall clothing outline in the target image;
所述截取模块,用于根据所述服装整体轮廓,截取所述目标图像中包含有所述服装整体轮廓的最小截图;The intercepting module is configured to intercept the smallest screenshot of the overall outline of the clothing in the target image according to the overall outline of the clothing;
所述提取模块,用于提取所述最小截图中的款式特征点;The extraction module is used to extract the style feature points in the minimum screenshot;
所述判断模块,用于判断所述最小截图中的所述款式特征点中是否包含可拆分特征;The judging module is configured to judge whether the style feature point in the minimum screenshot includes a detachable feature;
所述拆分模块,用于在所述最小截图中包含可拆分特征时,根据所述可拆分特征对所述最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;The splitting module is configured to perform splitting processing on the smallest screenshot according to the splittable feature when the splittable feature is included in the smallest screenshot to obtain a clothing splitting unit as an image of a region to be identified;
所述获取模块,用于对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据。The acquisition module is configured to identify the image of the area to be identified, and acquire clothing size data in the image of the area to be identified.
此外,为解决上述问题,本申请还提供一种用户终端,包括存储器以及处理器,所述存储器用于存储服装尺寸数据识别程序,所述处理器运行所述服装尺寸数据识别程序以使所述用户终端执行如上述所述服装尺寸数据识别方法。In addition, in order to solve the above problem, the present application further provides a user terminal including a memory and a processor, where the memory is used to store a clothing size data identification program, and the processor runs the clothing size data identification program to enable the clothing size data identification program to The user terminal executes the clothing size data identification method as described above.
此外,为解决上述问题,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有服装尺寸数据识别程序,所述服装尺寸数据识别程序被处理器执行时实现如上述所述服装尺寸数据识别方法。In addition, in order to solve the above problem, the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a clothing size data identification program, and the clothing size data identification program is implemented as described above when executed by a processor. The clothing size data identification method.
本申请提供的一种服装尺寸数据识别方法、装置和用户终端。其中,本申请所提供的方法包括:对目标图像进行预处理,确定目标图像中的服装整体轮廓;根据服装整体轮廓,截取目标图像中包含有服装整体轮廓的最小截图;提取最小截图中的款式特征点;判断最小截图中的款式特征点中是否包含可拆分特征;若最小截图中包含可拆分特征,则根据可拆分特征对最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;对待识别区域图像进行识别,获取待识别区域图像中的服装尺寸数据。本申请所提供的方法,通过确定目标图像中的整体轮廓,从而得到最小截图,进而再判断最小截图中是否包含有可拆分特征,如果包含该特征,则根据该可拆分特征进行对最小截图的拆分处理,并近视图像识别,从而得到服装尺寸数据。本申请所提供的方法,实现了基于计算机图像识别技术的对于服装款式是否为可拆分进行判断,并且在拆分处理后进行对于图像的识别,从而得到服装尺寸数据,完成对于目标图像中所包含的服装尺寸数据的自动统计计算、分类和整理,测量速度快、效率高、提高了测量的准确度,为对于图像中的服装尺寸数据的测量工作提供了方便,充分满足日新月异的服装多元化的发展速度。A clothing size data identification method, device, and user terminal provided by the present application. The method provided in this application includes: pre-processing the target image to determine the overall clothing outline in the target image; taking the minimum overall screenshot of the target image containing the overall clothing outline according to the overall clothing outline; extracting the style in the minimum screenshot Feature points; determine whether the style feature points in the smallest screenshot include detachable features; if the smallest screenshot contains detachable features, the smallest screenshot is split based on the detachable features to obtain a clothing split unit as The image of the area to be identified; identify the image of the area to be identified, and obtain the clothing size data in the image of the area to be identified. The method provided in this application determines the overall outline in the target image to obtain the smallest screenshot, and then determines whether the smallest screenshot contains a detachable feature. If the feature is included, the minimum is performed according to the detachable feature. Split processing of screenshots and recognition of myopia images to obtain clothing size data. The method provided in the present application implements the judgment of whether a clothing style is detachable based on computer image recognition technology, and performs image recognition after the splitting process, thereby obtaining clothing size data and completing the processing of the target image. The automatic statistical calculation, classification and sorting of the included clothing size data, fast measurement speed, high efficiency, and improved measurement accuracy, provide convenience for the measurement of clothing size data in the image, and fully meet the changing clothing diversity Speed of development.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请服装尺寸数据识别方法实施例方案涉及的硬件运行环境的结构示意图;FIG. 1 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of a method for identifying clothing size data of this application;
图2为本申请服装尺寸数据识别方法第一实施例的流程示意图;FIG. 2 is a schematic flowchart of a first embodiment of a clothing size data identification method of the present application; FIG.
图3为本申请服装尺寸数据识别方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a clothing size data identification method of the present application; FIG.
图4为本申请服装尺寸数据识别方法第三实施例的流程示意图;FIG. 4 is a schematic flowchart of a third embodiment of a clothing size data identification method of the present application; FIG.
图5为本申请服装尺寸数据识别方法第三实施例的步骤S610和步骤 S620的细化流程示意图;5 is a detailed flowchart of steps S610 and S620 of a third embodiment of a method for identifying clothing size data of this application;
图6为本申请服装尺寸数据识别装置的功能模块示意图。FIG. 6 is a functional module diagram of the clothing size data identification device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional characteristics and advantages of the purpose of this application will be further described with reference to the embodiments and the drawings.
具体实施方式detailed description
下面详细描述本申请的实施例,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。The embodiments of the present application are described in detail below, in which the same or similar reference numerals indicate the same or similar elements or elements having the same or similar functions.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "a plurality" is two or more, unless it is specifically and specifically defined otherwise.
在本申请中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In this application, the terms "installation," "connected," "connected," and "fixed" should be understood broadly unless otherwise specified and limited, for example, they may be fixed connections or removable connections Or integrated; it can be mechanical or electrical; it can be directly connected or indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
如图1所示,图1是本申请实施例方案涉及的终端的硬件运行环境的结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a hardware operating environment of a terminal involved in a solution according to an embodiment of the present application.
本申请实施例终端可以是的设于自动货柜机中的PC,也可以是智能手机、平板电脑、电子书阅读器、MP3播放器、MP4播放器、便携计算机等 可移动式终端设备。此外,也可以为自动货柜机本身所带有的计算机硬件装置。In the embodiment of the present application, the terminal may be a PC provided in an automatic container machine, or may be a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, and a portable computer. In addition, it may be a computer hardware device provided in the automatic container machine itself.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏、输入单元比如键盘、遥控器,可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器,例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen, an input unit such as a keyboard, a remote controller, and the optional user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory, such as a magnetic disk memory. The memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
可选地,终端还可以包括RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。此外,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may further include an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. In addition, the mobile terminal may be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which will not be repeated here.
本领域技术人员可以理解,图1中示出的终端并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than those shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、数据接口控制程序、网络连接程序以及服装尺寸数据识别程序。As shown in FIG. 1, the memory 1005 as a computer-readable storage medium may include an operating system, a data interface control program, a network connection program, and a clothing size data identification program.
本申请提供的一种服装尺寸数据识别方法、装置和用户终端。其中,所述方法实现了基于计算机图像识别技术的对于服装款式是否为可拆分进行判断,并且在拆分处理后进行对于图像的识别,从而得到服装尺寸数据,完成对于目标图像中所包含的服装尺寸数据的自动统计计算、分类和整理,测量速度快、效率高、提高了测量的准确度,为对于图像中的服装尺寸数据的测量工作提供了方便,充分满足日新月异的服装多元化的发展速度。A clothing size data identification method, device, and user terminal provided by the present application. Wherein, the method realizes judging whether the clothing style is detachable based on computer image recognition technology, and recognizes the image after the splitting process, thereby obtaining clothing size data and completing the Automatic statistical calculation, classification and sorting of clothing size data, fast measurement speed, high efficiency, improved measurement accuracy, facilitate the measurement of clothing size data in the image, and fully meet the rapid development of clothing diversification speed.
实施例1:Example 1:
参照图2,本申请第一实施例提供一种服装尺寸数据识别方法,包括:Referring to FIG. 2, a first embodiment of the present application provides a clothing size data identification method, including:
步骤S100,对目标图像进行预处理,确定所述目标图像中的服装整体轮廓;Step S100: preprocess the target image to determine the overall clothing outline in the target image;
上述,本实施例中所提供的方法基于计算机的图像识别技术,对包含有服装的目标图像进行识别。其中,目标图像可以为模特穿着服装的展示图片、走秀图片、生活图片,也可以为无模特的纯服装图片。As described above, the method provided in this embodiment recognizes a target image containing clothing based on a computer image recognition technology. Among them, the target image may be a display picture, a catwalk picture, a life picture of a model wearing clothing, or a pure clothing picture without a model.
上述,在本实施例中,目标图像的来源可以针对于服装周、时尚周、T台走秀活动等等场所拍摄的大量包含有模特穿着时尚服装的照片,并通过本实施例中所提供的方法对上述照片进行识别,以便于提取其中的时尚服装的尺寸数据,从而掌握时尚元素。As mentioned above, in this embodiment, the source of the target image can be directed to a large number of photos of models wearing fashion clothing taken at places such as Fashion Week, Fashion Week, catwalk events, etc., and the method provided in this embodiment Recognize the above photos in order to extract the size data of the fashion clothes in them, so as to grasp the fashion elements.
此外,图片的来源可以为通过网络爬虫,对于网络各大网站、数据库中的包含有模特穿着时尚服装的照片进行批量抓取。例如各大服装品牌的官方网站等等,进而通过本实施例中所提供的方法对上述照片进行批量识别,以便于提取其中的时尚服装的尺寸数据,从而掌握时尚元素。In addition, the source of the pictures can be crawled through the web, and the web sites and databases that contain photos of models wearing fashion clothes are captured in batches. For example, the official websites of major clothing brands, etc., and then use the method provided in this embodiment to batch identify the above-mentioned photos, so as to extract the size data of the fashion clothing therein and grasp the fashion elements.
上述,对于图像的预处理,可以包括对于图像的倾斜校正、轮廓曲线平滑处理以及边缘检测。As described above, the pre-processing of the image may include tilt correction for the image, smoothing processing of the contour curve, and edge detection.
对于图像的预处理,可以为对于图像本身的调整,具体可以包括:For image pre-processing, it can be the adjustment of the image itself, which can include:
将目标图像转换为视频图像分析程序所对应的格式,在转换为灰度图像,并得到灰度分布直方图;Convert the target image to the format corresponding to the video image analysis program, convert it to a grayscale image, and obtain a grayscale distribution histogram;
将所述灰度图像进行反色处理,并进行边缘检测,并基于所述灰度分布直方图获得反色后的灰度图像中的服装整体轮廓。The grayscale image is subjected to inverse color processing, edge detection is performed, and the overall clothing outline in the grayscale image after inversion is obtained based on the grayscale distribution histogram.
步骤S200,根据所述服装整体轮廓,截取所述目标图像中包含有所述 服装整体轮廓的最小截图;Step S200: Take a minimum screenshot of the overall outline of the clothing according to the overall outline of the clothing;
上述,从目标图像中获取到服装整体轮廓后,基于该整体轮廓,对目标图像进行截图,截取包含该服装整体轮廓的截图,其中,截图可以为与服装整体轮廓大小相适应的截取图片,即沿该轮廓进行截取;也可以为在考虑到服装整体轮廓的精度或边缘大小的情况下,适当扩大一定的范围,截取包括服装整体轮廓的截图。As described above, after the overall outline of the clothing is obtained from the target image, a screenshot is taken of the target image based on the overall outline, and a screenshot including the overall outline of the clothing is taken. The screenshot may be a screenshot that is suitable for the overall size of the overall outline of the clothing. Take a cut along the outline; it may also be appropriate to expand a certain range in consideration of the accuracy of the overall outline of the garment or the size of the edge, and take a screenshot that includes the overall outline of the garment.
步骤S300,提取所述最小截图中的款式特征点;Step S300, extracting style feature points in the minimum screenshot;
上述,款式特征点为表征不同服装的不同款式的特征点。例如,裙装包括连衣裙、短裙;裤子包括短裤、收腿裤、喇叭裤、七分裤等等,不同款式的服装具有不同的特征,而款式特征点反应出不同的款式衣服的区别点,例如,短裙作为与上衣不同的部分,其特征点可以包括但不限于区别于上衣的颜色、不同区域的宽度、不同区域的高度、材质等等。As mentioned above, the style feature points are characteristic points that characterize different styles of different garments. For example, skirts include dresses and skirts; pants include shorts, leggings, flared pants, cropped pants, etc. Different styles of clothing have different characteristics, and the style characteristics reflect the differences of different styles of clothing. For example, as a different part of the top, the short skirt may include, but is not limited to, different colors from the top, the width of different regions, the height of different regions, and materials.
步骤S400,判断所述最小截图中的所述款式特征点中是否包含可拆分特征;Step S400, determine whether the style feature points in the minimum screenshot include a detachable feature;
上述,款式特征点包含有可拆分特征点和不可拆分特征点。其中,可拆分特征点,表征了服装中不同的可拆分部分的特征。例如,衣服和裤子,衬衫和短袖、大衣和内部的衬衫和西裤、短袖上衣和下身的短裙、不同或相同面料即颜色的运动服上衣和运动服裤子等等,均为可拆分的单元,均包括不同的可拆分特征。其中,特征点,可以为裙装的是否收腰,材质面料的不同、颜色的区别、裤腿和腰部尺寸等等特征。As mentioned above, the style feature points include detachable feature points and indivisible feature points. Among them, the detachable feature points represent the characteristics of different detachable parts in the clothing. For example, clothes and pants, shirts and short sleeves, coats and inner shirts and trousers, short-sleeved tops and skirts of the lower body, sportswear tops and sportswear pants of different or the same fabric or color, etc., are all removable The sub-units all include different separable features. Among them, the characteristic points can be the characteristics of whether the skirt is waisted, the difference in material and fabric, the difference in color, the size of the legs and the waist.
步骤S500,若所述最小截图中包含所述可拆分特征,则根据所述可拆分特征对所述最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;Step S500: if the minimum screenshot includes the detachable feature, perform a split processing on the minimum screenshot according to the detachable feature to obtain a clothing split unit as an image of a region to be identified;
如果包含有可拆分特征,则对该最小截图进行拆分,得到拆分单元, 作为一待识别区域图像。If a detachable feature is included, the smallest screenshot is split to obtain a split unit, which is used as an image of the area to be identified.
上述,每个目标图像中,可以包含有多个最小截图,而每个最小截图,如果包含有可拆分特征,则在拆分后可得到多个识别区域图像。可为不同的最小截图、进而得到的不同的待识别区域图像进行设定标签,并根据标签建立不同的识别通道,从而进行对于不同的待识别区域的图像识别。As described above, each target image may include multiple minimum screenshots, and if each minimum screenshot includes detachable features, multiple recognition area images may be obtained after splitting. Labels can be set for different minimal screenshots and different images of the area to be identified, and different identification channels can be established according to the labels, so as to perform image recognition for different areas to be identified.
步骤S600,对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据。Step S600: Recognize the image of the area to be identified, and obtain clothing size data in the image of the area to be identified.
上述,对于待识别区域图像进行识别,从而得到服装尺寸数据。As mentioned above, the image of the area to be identified is identified, thereby obtaining clothing size data.
所述步骤S400“判断所述最小截图中的所述款式特征点中是否包含可拆分特征”和所述步骤S600“对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据”之间,还包括:The step S400 "determines whether the style feature point in the minimum screenshot includes a detachable feature" and the step S600 "recognizes the image of the region to be identified and obtains the image in the image of the region to be identified Clothing size data "also includes:
步骤S700,若所述最小截图中不包含可拆分特征,则将所述最小截图作为待识别区域图像。In step S700, if the minimum screenshot does not include a detachable feature, the minimum screenshot is used as the image of the area to be identified.
本实施例所提供的方法,通过确定目标图像中的整体轮廓,从而得到最小截图,进而再判断最小截图中是否包含有可拆分特征,如果包含该特征,则根据该可拆分特征进行对最小截图的拆分处理,并近视图像识别,从而得到服装尺寸数据。本实施例中所提供的方法,实现了基于计算机图像识别技术的对于服装款式是否为可拆分进行判断,并且在拆分处理后进行对于图像的识别,从而得到服装尺寸数据,完成对于目标图像中所包含的服装尺寸数据的自动统计计算、分类和整理,测量速度快、效率高、提高了测量的准确度,为对于图像中的服装尺寸数据的测量工作提供了方便,充分满足日新月异的服装多元化的发展速度。The method provided in this embodiment obtains the smallest screenshot by determining the overall contour in the target image, and then determines whether the smallest screenshot contains a detachable feature. If the feature is included, an analysis is performed according to the detachable feature. The smallest screenshot is split and processed, and myopia image recognition is performed to obtain clothing size data. The method provided in this embodiment implements the determination of whether a clothing style is detachable based on computer image recognition technology, and performs image recognition after the split processing, thereby obtaining clothing size data and completing the target image. The automatic statistical calculation, classification and sorting of the clothing size data contained in it, the measurement speed is fast, the efficiency is high, and the accuracy of the measurement is improved, which facilitates the measurement of the clothing size data in the image and fully meets the changing clothing Diversified development speed.
实施例2:Example 2:
参照图3,本申请第二实施例提供一种服装尺寸数据识别方法,基于上述图2所示的第一实施例,所述步骤S100,“对目标图像进行预处理,确定所述目标图像中的服装整体轮廓”包括:Referring to FIG. 3, a second embodiment of the present application provides a clothing size data identification method. Based on the first embodiment shown in FIG. 2 described above, the step S100 is "pre-processing a target image to determine the target image. "Overall clothing outline" includes:
步骤S110,对所述目标图像进行人体特征定位,获取多个人体特征点;Step S110: localize human features on the target image to obtain multiple human feature points;
上述,人体特征定位,为对于图像中所包含的人体进行特征定位。人体图像中,包含有肢体特征,例如头、颈、躯干、四肢;通过神经网络学习,对头、颈、躯干、四肢进行定位,找出人体特征,并且,还可加入脚部、鞋、手势、面部器官、头发的特征,若包含上述肢体特征,则获取多个人体特征点。As mentioned above, human body feature positioning is to perform feature localization on the human body contained in the image. Human body images include limb features, such as head, neck, torso, and limbs; learn through neural network to locate the head, neck, torso, and limbs to find human features, and also add feet, shoes, gestures, If the features of the facial organs and hair include the aforementioned limb features, a plurality of human feature points are obtained.
步骤S120,根据每个人体特征定位点,确定所述目标图像中所包含的模特人像的数量,并对每个模特人像分别获得包括所述人体特征定位点的选择框;Step S120: Determine the number of model portraits included in the target image according to each human feature location point, and obtain a selection frame including the human feature location point for each model portrait;
上述,选择框,为对于人体特征定位点的粗选框。用于进行对人体特征定位点所在区域进行选择和划分。选择框的形状,可以为不同的形状,例如,头部的特征点对应的选择框,可以为圆形,腿部的特征点所对应的选择框,可以为长方形等等。As mentioned above, the selection box is a rough selection box for the anchor points of human characteristics. It is used to select and divide the area where the human body features are located. The shape of the selection box can be different shapes. For example, the selection box corresponding to the characteristic points of the head can be circular, the selection box corresponding to the characteristic points of the legs can be rectangular, and so on.
上述,每个目标图像中,可以包含有多个不同的模特人像,通过人体特征定位点,识别出所包含的模特人像的数量。并且,对目标图像中的每个模特人像进行分别获得选择框。As described above, each target image may include a plurality of different model portraits, and the number of model portraits included is identified by positioning points of human characteristics. And, for each model portrait in the target image, a selection frame is obtained separately.
步骤S130,组合所述目标图像中的每个所述模特人像的所有所述选择框,得到人体特征定位区;Step S130: Combine all the selection boxes of each of the model portraits in the target image to obtain a human feature positioning area;
上述,将每一个模特人像对应的所有选择框进行组合,成为一个人体特征定位区。该定位区中包括模特人像的图像。In the above, all selection boxes corresponding to each model portrait are combined to become a human body feature positioning area. The positioning area includes images of model portraits.
步骤S140,对所述人体特征定位区进行边缘检测,确定所述人体特征 定位区中的包括所有人体特征点的所述服装整体轮廓。Step S140: Perform edge detection on the human body feature positioning area to determine the overall outline of the garment including all human body feature points in the human body feature positioning area.
对人体特征定位区进行边缘检测,可采用不同的边缘检测算法。在本实施例中,采用Canny边缘检测算法,步骤可以包括:For edge detection of human body feature positioning areas, different edge detection algorithms can be used. In this embodiment, a Canny edge detection algorithm is used, and the steps may include:
对人体特征定位区进行灰度图像转换;Perform gray image conversion on human body feature positioning areas;
对灰度图像进行高斯模糊处理;Gaussian blurring the grayscale image;
通过计算图像梯度,根据梯度计算图像边缘幅值与角度;Calculate the image gradient, and calculate the image edge amplitude and angle according to the gradient;
通过双阈值边缘连接处理,得到边缘图像数据;Get edge image data through double-threshold edge connection processing;
对所述边缘图形数据进行二值化处理,得到二值化图像输出结果,作为包括所有人体特征点的所述服装整体轮廓。The binarization processing is performed on the edge graphic data to obtain a binarized image output result, as the overall outline of the clothing including all human body feature points.
此外,在步骤“通过计算图像梯度,根据梯度计算图像边缘幅值与角度”和“通过双阈值边缘连接处理,得到边缘图像数据”之间,还可以包括步骤:In addition, between the steps of “calculating the image gradient and calculating the edge value and angle of the image based on the gradient” and “obtaining the edge image data through the double-threshold edge connection processing”, the method may further include the following steps:
对图像进行非最大信号压制处理,以达到对于图像边缘的细化。Perform non-maximum signal suppression processing on the image to achieve thinning of the image edges.
上述,本实施例中,通过对于目标图像的获取多个人体特征点,并且确定图像中的模特人像数量,进而在分别进行针对于不同模特人像的人体特征定位区的获取进而进行边缘检测得到所述目标图像中的服装整体轮廓。从而实现对于图像中的多个不同的模特人像的服装整体轮廓的自动获取,大大提高了整体轮廓获取的识别效率。As described above, in this embodiment, multiple human feature points are obtained for the target image, and the number of model portraits in the image is determined. Then, the human feature positioning areas for different model portraits are obtained, and the edge detection is performed to obtain the result. The overall outline of the garment in the target image is described. In this way, the overall outline of clothing of multiple different model portraits in the image is automatically obtained, and the recognition efficiency of the overall outline acquisition is greatly improved.
实施例3:Example 3:
参照图4,本申请第三实施例提供一种服装尺寸数据识别方法,基于上述图3所示的第一实施例,所述步骤S600,“对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据”,包括:Referring to FIG. 4, a third embodiment of the present application provides a clothing size data recognition method. Based on the first embodiment shown in FIG. 3 described above, the step S600 "recognizes the image of the area to be identified, and obtains said Clothing size data in the image of the area to be identified "includes:
步骤S610,确定所述目标图像的模特人像的比例尺;Step S610: Determine the scale of the model portrait of the target image;
上述,比例尺是表示图上一条线段的长度与地面相应线段的实际长度 之比。公式为:比例尺=图上距离与实际距离的比。目标图像的比例尺,为目标图像中模特人像的宽度或高度与实际距离的比值。As mentioned above, the scale is the ratio of the length of a line segment on the map to the actual length of the corresponding line segment on the ground. The formula is: scale = ratio of distance on the graph to actual distance. The scale of the target image is the ratio of the width or height of the model portrait to the actual distance in the target image.
步骤S620,定位所述待识别区域图像的排尺特征点,基于所述比例尺,根据所述排尺特征点获取所述服装尺寸数据。Step S620: Locate the feature point of the ruler of the image of the area to be identified, and obtain the clothing size data based on the feature point of the ruler based on the scale.
上述,排尺特征点,为与不同服装款式相对应的特征点,例如,裙装可以包括表示腰长的两个或多个端点,表示群高的上下两个或多个端点,表示裙摆宽度的两个或多个端点等等。再例如,衬衫中,可以包括领口部分的多个端点,表示其形状,包括表征肩宽的多个端点,表征袖长的袖口处的端点和袖子起点处的端点,袖口处的表示形状的多个端点等等。As mentioned above, the characteristic points of the ruler are characteristic points corresponding to different clothing styles. For example, a skirt can include two or more endpoints representing the waist length, two upper or lower endpoints representing the group height, and the skirt Two or more endpoints of the width and so on. As another example, a shirt can include multiple end points of the neckline to indicate its shape, including multiple end points to indicate the width of the shoulders, end points at the cuffs that indicate the length of the sleeves, and end points at the starting point of the sleeves. Endpoints and so on.
上述,通过定位待识别区域图像的多个不同的排尺特征点,获取到服装尺寸数据。其中排尺特征点之间的距离包括服装尺寸数据。In the foregoing, clothing size data is obtained by locating a plurality of different ruler feature points of the image of the area to be identified. The distance between the characteristic points of the row ruler includes clothing size data.
所述步骤S610,“确定所述目标图像的模特人像的比例尺”包括:In step S610, "determining the scale of the model portrait of the target image" includes:
步骤S611,获取所述服装整体轮廓的最大高度值;Step S611, obtaining a maximum height value of the overall outline of the clothing;
步骤S612,定位所述服装整体轮廓中的腰部区域,并确定所述腰部区域的最大宽度值;Step S612, positioning a waist region in the overall outline of the garment, and determining a maximum width value of the waist region;
上述,确定模特人像的最大高度值和最大宽度值。In the above, the maximum height value and the maximum width value of the model portrait are determined.
步骤S613,获取预设身高值和预设腰宽值;并且,根据所述预设身高值与所述最大高度值、以及所述预设腰宽值与所述最大宽度值之间数量关系得出所述目标图像的比例尺。Step S613: Obtain a preset height value and a preset waist width value; and, according to a quantitative relationship between the preset height value and the maximum height value, and the preset waist width value and the maximum width value, The scale of the target image is displayed.
上述,预设身高值和预设腰宽值为通过人工进行预设的一个预测值,可以根据实际情况进行设定和修正,例如预设身高值为180cm,预设腰宽值可以为30cm。此外,还可以包括预设臀宽值,例如可以为45cm。预设身高值和预设腰宽值用于进行计算与目标图像对应的比例尺,可依据实际情况进行调整,提高计算的准确度。As described above, the preset height value and the preset waist width value are preset values that are preset manually, and can be set and modified according to actual conditions. For example, the preset height value is 180cm, and the preset waist width value can be 30cm. In addition, a preset hip width value may also be included, for example, it may be 45 cm. The preset height value and preset waist width value are used to calculate the scale corresponding to the target image, which can be adjusted according to the actual situation to improve the accuracy of the calculation.
所述步骤S620,“定位所述待识别区域图像的排尺特征点,基于所述比例尺,根据所述排尺特征点获取所述服装尺寸数据”包括:The step S620, "locating the ruler feature points of the image of the area to be identified, and obtaining the clothing size data based on the ruler feature points based on the scale" includes:
步骤S621,在所述待识别区域图像中定位出所有排尺特征点;Step S621: Locate all row ruler feature points in the image of the area to be identified;
步骤S622,连接每个所述排尺特征点,获得每个所述排尺特征点之间的初步连接线;Step S622: connect each of the ruler feature points to obtain a preliminary connection line between each of the ruler feature points;
上述,对所有排尺特征点,进行连接,从而获得每个排尺特征点之间的初步连接线。初步连接线为所有排尺特征点之间的连接线。As described above, all the ruler feature points are connected, so as to obtain a preliminary connection line between each ruler feature points. The preliminary connection line is the connection line between all the ruler feature points.
步骤S623,根据预设款式特征数据库,提取出所述初步连接线中的款式特征连接线;Step S623, extracting the style feature connection lines in the preliminary connection line according to a preset style feature database;
上述,所有排尺特征点之间的连线,包括可表征服装款式的款式特征连接线,也包含有除款式特征连接线以外的多余连接线。预设款式特征数据库,为包含有可表征款式特征的连接线位置范围或区间的数据库。通过预设款式特征数据,对所有的初步连接线进行筛选,从而提取出其中的款式特征连接线,用以表征服装的款式。例如,袖口到肩部的两个排尺特征点之间的连线可表征出袖长的数据,而袖口到腰部的排尺特征点之间的连线则属于多余的连接线,通过款式特征数据进行筛选,提取出袖口到肩部的连接线作为款式特征连接线之一。As mentioned above, the connecting lines between all the characteristic points of the row ruler include the connecting lines of the style features that can characterize the clothing style, and also include the extra connecting lines other than the connecting lines of the style features. The preset style feature database is a database containing the position range or interval of connecting lines that can characterize the style features. Through the preset style feature data, all the preliminary connection lines are filtered, and the style feature connection lines are extracted to characterize the clothing style. For example, the line between the two ruler feature points of the cuff to the shoulder can represent the data of the sleeve length, while the line between the cuff to the feature ruler of the waist is a redundant connection line. The data was filtered, and the connecting line from the cuff to the shoulder was extracted as one of the connecting lines of the style feature.
步骤S624,获得所有所述款式特征连接线的长度比例值,并根据所述比例尺获得所述服装尺寸数据。Step S624, obtaining length ratio values of all the connecting lines of the style features, and obtaining the clothing size data according to the scale.
根据款式特征连接线,计算所有连接线之间的比例值,并根据比例尺得到服装试剂尺寸的数据。According to the connecting lines of the style characteristics, calculate the ratio between all the connecting lines, and obtain the data of the size of the clothing reagent according to the scale.
在本实施例中,通过服装整体轮廓的最大高度值和最大腰宽值,以及预设高度值和预设腰宽值确定目标图像的比例尺,并且,通过预设款式特征数据库筛选出款式特征连接线,并获得所有款式特征线长度比例值,进 而得到服装尺寸数据,提高了服装尺寸数据的获取准确性,为图像服装测量工作带来了方便。In this embodiment, the scale of the target image is determined by the maximum height value and the maximum waist width value of the overall outline of the clothing, and the preset height value and the preset waist width value, and the style feature connection is filtered through the preset style feature database. And obtain the ratio of the length of all the characteristics of the style, and then obtain the clothing size data, which improves the accuracy of the clothing size data acquisition and brings convenience to the image clothing measurement work.
此外,本申请还提供一种服装尺寸数据识别装置,包括:预处理模块10、截取模块20、提取模块30、判断模块40、拆分模块50和获取模块60;In addition, the present application also provides a clothing size data identification device, including: a preprocessing module 10, an interception module 20, an extraction module 30, a judgment module 40, a splitting module 50, and an acquisition module 60;
所述预处理模块10,用于对目标图像进行预处理,确定所述目标图像中的服装整体轮廓;The pre-processing module 10 is configured to pre-process a target image and determine the overall clothing outline in the target image;
所述截取模块20,用于根据所述服装整体轮廓,截取所述目标图像中包含有所述服装整体轮廓的最小截图;The intercepting module 20 is configured to intercept the smallest screenshot of the overall outline of the clothing according to the overall outline of the clothing;
所述提取模块30,用于提取所述最小截图中的款式特征点;The extraction module 30 is configured to extract the style feature points in the minimum screenshot;
所述判断模块40,用于判断所述最小截图中的所述款式特征点中是否包含可拆分特征;The judging module 40 is configured to judge whether the style feature point in the minimum screenshot includes a detachable feature;
所述拆分模块50,用于在所述最小截图中包含可拆分特征时,根据所述可拆分特征对所述最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;The splitting module 50 is configured to perform splitting processing on the smallest screenshot according to the splittable feature when the splittable feature is included in the smallest screenshot to obtain a clothing splitting unit as an image of a region to be identified. ;
所述获取模块60,用于对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据。The obtaining module 60 is configured to identify the image of the area to be identified, and obtain clothing size data in the image of the area to be identified.
此外,本申请还提供一种用户终端,包括存储器以及处理器,所述存储器用于存储服装尺寸数据识别程序,所述处理器运行所述服装尺寸数据识别程序以使所述用户终端执行如上述所述服装尺寸数据识别方法。In addition, the present application also provides a user terminal, including a memory and a processor, where the memory is used to store a clothing size data identification program, and the processor runs the clothing size data identification program to cause the user terminal to execute the program as described above. The clothing size data identification method.
此外,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有服装尺寸数据识别程序,所述服装尺寸数据识别程序被处理 器执行时实现如上述所述服装尺寸数据识别方法。In addition, the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores a clothing size data identification program, and the clothing size data identification program implements the clothing size data as described above when executed by a processor. recognition methods.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of the present application, in essence, or a part that contributes to the existing technology, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM) as described above. , Magnetic disk, optical disc), including a number of instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (9)

  1. 一种服装尺寸数据识别方法,其特征在于,包括:A clothing size data identification method, comprising:
    对目标图像进行预处理,确定所述目标图像中的服装整体轮廓;Preprocess the target image to determine the overall clothing outline in the target image;
    根据所述服装整体轮廓,截取所述目标图像中包含有所述服装整体轮廓的最小截图;Taking a minimum screenshot of the overall outline of the clothing according to the overall outline of the clothing;
    提取所述最小截图中的款式特征点;Extracting style feature points in the minimum screenshot;
    判断所述最小截图中的所述款式特征点中是否包含可拆分特征;Judging whether the style feature points in the minimum screenshot include a detachable feature;
    若所述最小截图中包含所述可拆分特征,则根据所述可拆分特征对所述最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;If the minimum screenshot includes the detachable feature, performing a split processing on the minimum screenshot according to the detachable feature to obtain a clothing split unit as an image of a region to be identified;
    对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据。Identify the image of the area to be identified, and obtain clothing size data in the image of the area to be identified.
  2. 如权利要求1所述服装尺寸数据识别方法,其特征在于,所述“对目标图像进行预处理,确定所述目标图像中的服装整体轮廓”包括:The method for identifying clothing size data according to claim 1, wherein the "preprocessing the target image to determine the overall contour of the clothing in the target image" comprises:
    对所述目标图像进行人体特征定位,获取多个人体特征点;Performing human body feature positioning on the target image to obtain multiple human body feature points;
    根据每个人体特征定位点,确定所述目标图像中所包含的模特人像的数量,并对每个模特人像分别获得包括所述人体特征定位点的选择框;Determining the number of model portraits included in the target image according to each human body feature location point, and obtaining a selection box including the human body feature location point for each model portrait separately;
    组合所述目标图像中的每个所述模特人像的所有所述选择框,得到人体特征定位区;Combining all the selection boxes of each of the model portraits in the target image to obtain a human feature positioning area;
    对所述人体特征定位区进行边缘检测,确定所述人体特征定位区中的包括所有人体特征点的所述服装整体轮廓。Perform edge detection on the human body feature positioning area to determine the overall outline of the garment including all human body feature points in the human body feature positioning area.
  3. 如权利要求1所述服装尺寸数据识别方法,其特征在于,所述“判断所述最小截图中的所述款式特征点中是否包含可拆分特征”和所述“对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据”之间,还包括:The method for recognizing clothing size data according to claim 1, wherein the "determining whether the style feature points in the smallest screenshot include a detachable feature" and the "for the image of the region to be identified Performing identification and obtaining clothing size data in the image of the area to be identified "further includes:
    若所述最小截图中不包含可拆分特征,则将所述最小截图作为待识别区域图像。If the minimum screenshot does not include detachable features, the minimum screenshot is used as the image of the area to be identified.
  4. 如权利要求1所述服装尺寸数据识别方法,其特征在于,所述“对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据”,包括:The method for recognizing clothing size data according to claim 1, wherein the "recognizing the image of the area to be identified and obtaining the clothing size data in the image of the area to be identified" comprises:
    确定所述目标图像的模特人像的比例尺;Determining a scale of a model portrait of the target image;
    定位所述待识别区域图像的排尺特征点,基于所述比例尺,根据所述排尺特征点获取所述服装尺寸数据。Positioning the ruler feature points of the image of the area to be identified, and obtaining the clothing size data based on the ruler feature points based on the scale.
  5. 如权利要求4所述服装尺寸数据识别方法,其特征在于,所述“确定所述目标图像的模特人像的比例尺”包括:The method for identifying clothing size data according to claim 4, wherein the "determining the scale of the model portrait of the target image" comprises:
    获取所述服装整体轮廓的最大高度值;Obtaining the maximum height value of the overall outline of the clothing;
    定位所述服装整体轮廓中的腰部区域,并确定所述腰部区域的最大宽度值;Positioning a waist region in the overall outline of the garment, and determining a maximum width value of the waist region;
    获取预设身高值和预设腰宽值;并且,根据所述预设身高值与所述最大高度值、以及所述预设腰宽值与所述最大宽度值之间数量关系得出所述目标图像的比例尺。Obtaining a preset height value and a preset waist width value; and obtaining the preset height value and the maximum height value according to a quantitative relationship between the preset waist value and the maximum width value The scale of the target image.
  6. 如权利要求4所述服装尺寸数据识别方法,其特征在于,所述“定位所述待识别区域图像的排尺特征点,基于所述比例尺,根据所述排尺特征点获取所述服装尺寸数据”包括:The method for recognizing clothing size data according to claim 4, wherein the "locating the feature points of the row ruler of the image of the area to be identified is based on the scale, and the garment size data is obtained according to the feature points of the row ruler "include:
    在所述待识别区域图像中定位出所有排尺特征点;Locate all row ruler feature points in the image of the area to be identified;
    连接每个所述排尺特征点,获得每个所述排尺特征点之间的初步连接线;Connect each of the ruler feature points to obtain a preliminary connection line between each of the ruler feature points;
    根据预设款式特征数据库,提取出所述初步连接线中的款式特征连接线;Extracting the style feature connecting lines from the preliminary connecting lines according to a preset style feature database;
    获得所有所述款式特征连接线的长度比例值,并根据所述比例尺获得所述服装尺寸数据。Obtain the length ratio values of all the style feature connecting lines, and obtain the clothing size data according to the scale bar.
  7. 一种服装尺寸数据识别装置,其特征在于,包括:预处理模块、截取模块、提取模块、判断模块、拆分模块和获取模块;A clothing size data identification device, comprising: a preprocessing module, an interception module, an extraction module, a judgment module, a splitting module, and an acquisition module;
    所述预处理模块,用于对目标图像进行预处理,确定所述目标图像中的服装整体轮廓;The pre-processing module is configured to pre-process the target image to determine the overall clothing outline in the target image;
    所述截取模块,用于根据所述服装整体轮廓,截取所述目标图像中包含有所述服装整体轮廓的最小截图;The intercepting module is configured to intercept the smallest screenshot of the overall outline of the clothing in the target image according to the overall outline of the clothing;
    所述提取模块,用于提取所述最小截图中的款式特征点;The extraction module is used to extract the style feature points in the minimum screenshot;
    所述判断模块,用于判断所述最小截图中的所述款式特征点中是否包含可拆分特征;The judging module is configured to judge whether the style feature point in the minimum screenshot includes a detachable feature;
    所述拆分模块,用于在所述最小截图中包含可拆分特征时,根据所述可拆分特征对所述最小截图进行拆分处理,得到服装拆分单元,作为待识别区域图像;The splitting module is configured to perform splitting processing on the smallest screenshot according to the splittable feature when the splittable feature is included in the smallest screenshot to obtain a clothing splitting unit as an image of a region to be identified;
    所述获取模块,用于对所述待识别区域图像进行识别,获取所述待识别区域图像中的服装尺寸数据。The acquisition module is configured to identify the image of the area to be identified, and acquire clothing size data in the image of the area to be identified.
  8. 一种用户终端,其特征在于,包括存储器以及处理器,所述存储器用于存储服装尺寸数据识别程序,所述处理器运行所述服装尺寸数据识别程序以使所述用户终端执行如权利要求1-6中任一项所述服装尺寸数据识别方法。A user terminal, comprising a memory and a processor, the memory is configured to store a clothing size data identification program, and the processor runs the clothing size data identification program to cause the user terminal to execute the method of claim 1 The method for identifying clothing size data according to any one of -6.
  9. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有服装尺寸数据识别程序,所述服装尺寸数据识别程序被处理器执行时实现如权利要求1-6中任一项所述服装尺寸数据识别方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a clothing size data identification program, and when the clothing size data identification program is executed by a processor, it realizes any one of claims 1-6. Item of clothing size data identification method.
PCT/CN2018/125516 2018-06-14 2018-12-29 Garment dimension data identification method and device, and user terminal WO2019237721A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810613349.0A CN108805135A (en) 2018-06-14 2018-06-14 A kind of garment dimension data identification method, device and user terminal
CN201810613349.0 2018-06-14

Publications (1)

Publication Number Publication Date
WO2019237721A1 true WO2019237721A1 (en) 2019-12-19

Family

ID=64085980

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125516 WO2019237721A1 (en) 2018-06-14 2018-12-29 Garment dimension data identification method and device, and user terminal

Country Status (2)

Country Link
CN (1) CN108805135A (en)
WO (1) WO2019237721A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395999A (en) * 2020-11-19 2021-02-23 平安普惠企业管理有限公司 Wearing standard judging method based on image recognition and related equipment
CN113496508A (en) * 2020-04-03 2021-10-12 上海东沁制衣有限公司 Intelligent clothing design system and method based on image processing
CN114882306A (en) * 2022-04-06 2022-08-09 国家基础地理信息中心 Topographic map scale identification method and device, storage medium and electronic equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805135A (en) * 2018-06-14 2018-11-13 深圳码隆科技有限公司 A kind of garment dimension data identification method, device and user terminal
CN111145242A (en) * 2019-12-26 2020-05-12 赛维时代科技股份有限公司 Method, smart device, and computer-readable storage medium for predicting popularity trend
CN111461017B (en) * 2020-04-01 2024-01-19 杭州视在科技有限公司 High-precision recognition method for kitchen work clothes after catering in urban scale
CN111862116A (en) * 2020-07-15 2020-10-30 完美世界(北京)软件科技发展有限公司 Animation portrait generation method and device, storage medium and computer equipment
CN114723664A (en) * 2022-03-04 2022-07-08 平安普惠企业管理有限公司 Clothes sorting method and device, computer readable medium and electronic equipment
CN117115051A (en) * 2023-10-18 2023-11-24 深圳市惟新科技股份有限公司 Method for accurately analyzing image by combining big data analysis results

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455501A (en) * 2012-05-30 2013-12-18 盛乐信息技术(上海)有限公司 Clothing database generating method, clothing model building method and fitting method
CN105469087A (en) * 2015-07-13 2016-04-06 百度在线网络技术(北京)有限公司 Method for identifying clothes image, and labeling method and device of clothes image
CN106971405A (en) * 2017-03-23 2017-07-21 珠海市魅族科技有限公司 A kind of method and device of clothing matching
CN107862712A (en) * 2017-10-20 2018-03-30 陈宸 Sized data determines method, apparatus, storage medium and processor
CN108022161A (en) * 2017-12-26 2018-05-11 河北中晟易通科技有限公司 Clothing matching commending system based on image recognition and big data analysis
CN108805135A (en) * 2018-06-14 2018-11-13 深圳码隆科技有限公司 A kind of garment dimension data identification method, device and user terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455501A (en) * 2012-05-30 2013-12-18 盛乐信息技术(上海)有限公司 Clothing database generating method, clothing model building method and fitting method
CN105469087A (en) * 2015-07-13 2016-04-06 百度在线网络技术(北京)有限公司 Method for identifying clothes image, and labeling method and device of clothes image
CN106971405A (en) * 2017-03-23 2017-07-21 珠海市魅族科技有限公司 A kind of method and device of clothing matching
CN107862712A (en) * 2017-10-20 2018-03-30 陈宸 Sized data determines method, apparatus, storage medium and processor
CN108022161A (en) * 2017-12-26 2018-05-11 河北中晟易通科技有限公司 Clothing matching commending system based on image recognition and big data analysis
CN108805135A (en) * 2018-06-14 2018-11-13 深圳码隆科技有限公司 A kind of garment dimension data identification method, device and user terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113496508A (en) * 2020-04-03 2021-10-12 上海东沁制衣有限公司 Intelligent clothing design system and method based on image processing
CN112395999A (en) * 2020-11-19 2021-02-23 平安普惠企业管理有限公司 Wearing standard judging method based on image recognition and related equipment
CN114882306A (en) * 2022-04-06 2022-08-09 国家基础地理信息中心 Topographic map scale identification method and device, storage medium and electronic equipment
CN114882306B (en) * 2022-04-06 2023-08-18 国家基础地理信息中心 Topography scale identification method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108805135A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
WO2019237721A1 (en) Garment dimension data identification method and device, and user terminal
US10918150B2 (en) Methods and systems for customized garment and outfit design generation
US10964078B2 (en) System, device, and method of virtual dressing utilizing image processing, machine learning, and computer vision
US20210287091A1 (en) Neural network training method and image matching method and apparatus
US9928411B2 (en) Image processing apparatus, image processing system, image processing method, and computer program product
US9949519B2 (en) Methods and systems for customized garment design generation
CN112703286A (en) Clothes registering device, clothes recommending device and on-line system comprising same
US20130170715A1 (en) Garment modeling simulation system and process
US9996909B2 (en) Clothing image processing device, clothing image display method and program
KR101672299B1 (en) Automatic customized service system and method of Clothes pattern and Customized clothes manufactured by using this method
US20130173226A1 (en) Garment modeling simulation system and process
CN104952113A (en) Dress fitting experience method, system and equipment
CN109614925A (en) Dress ornament attribute recognition approach and device, electronic equipment, storage medium
US20220284492A1 (en) Methods of capturing images and making garments
CN105551037A (en) User garment size matching method and system and intelligent mirror
CN111126179A (en) Information acquisition method and device, storage medium and electronic device
CN113536917B (en) Dressing recognition method, system, electronic device and storage medium
CN114638929A (en) Online virtual fitting method and device, electronic equipment and storage medium
CN112395999A (en) Wearing standard judging method based on image recognition and related equipment
CN114119855A (en) Virtual reloading method and device, electronic equipment and storage medium
JP2015179431A (en) Retrieval device, retrieval method, and program
CN114723517A (en) Virtual fitting method, device and storage medium
CN112353033A (en) Human body data batch measurement system based on deep learning
CN113487619A (en) Data processing method, device, equipment and medium
EP3996043B1 (en) Method of measuring a piece of clothing

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18922325

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18922325

Country of ref document: EP

Kind code of ref document: A1