Method, System, Electronic Device and Storage Medium for Judging the Dyeing Uniformity of Suspenders
By setting marks on the garter and collecting images for segmented distinction and color feature value comparison, the problems of labor-consuming and error-intensive determination of chemical fiber dye uniformity in the prior art are solved, and efficient and accurate determination of dye uniformity is achieved.
Patent Information
- Application Number
- CN202410512507.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2044-04-26
AI Technical Summary
In the prior art, the determination of chemical fiber dye uniformity mainly relies on manual visual inspection, and there are problems such as labor consumption, lack of unified color judgment standards and large detection errors. It is difficult to master the optimal light source angle and color feature value extraction based on image processing methods.
By setting marks on the garter, dividing them into different segments, each segment is prepared with different dyed filaments, collecting images for segmental distinction, and comparing the color characteristic value of each segment with the standard value to determine the dyeing level.
It realizes the uniformity of garter dyeing without human judgment, with clear standards, accurate results, and reliable detection efficiency and product quality evaluation.
Smart Images

Figure CN118334136B_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the technical field of chemical fiber quality inspection, and specifically relates to a method, system, electronic device and storage medium for judging the dyeing uniformity of a garter belt. Background Art
[0002] Judging the dyeing uniformity of chemical fibers is an important quality index. The accuracy of the judgment result directly determines the effect of judging the dyeing uniformity of chemical fibers and has a direct impact on the product quality grade. The dyeing uniformity also directly determines the production efficiency and product quality of subsequent dyeing and finishing processes. However, at present, the dyeing uniformity of polyester filament processing enterprises mainly judges the color of the garter belt by manual visual inspection. This method has many problems, such as consuming manpower, having no clear and unified color judgment standard, and the fatigue caused by long-term work may bring greater detection errors. Chemical fibers generally use the knitting and dyeing evaluation method. The randomly selected specimens are woven into garter belts in sequence. Different people have different judgments on colors. Therefore, the results of manual evaluation are not reliable.
[0003] However, the existing methods for judging the dyeing grade of chemical fibers based on image processing technology lack the hardware selection and construction of the garter belt image acquisition device, it is difficult to master the best light source angle and shooting angle for image shooting, and inaccurate extraction of color feature values leads to errors in the evaluation results of chemical fiber quality, and at the same time reduces the detection efficiency. Summary of the Invention
[0004] In view of the above defects or deficiencies in the prior art, it is desirable to provide a method, system, electronic device and storage medium for judging the dyeing uniformity of a garter belt.
[0005] In a first aspect, a method for judging the dyeing uniformity of a garter belt is provided, including the steps of:
[0006] Collect an initial garter belt image;
[0007] Preprocess the initial garter belt image to obtain a garter belt image, the garter belt image includes N marks, and the N marks divide the garter belt image into N + 1 garter segments;
[0008] Extract color feature values from the garter belt image according to the garter segments;
[0009] Judge the dyeing grade according to the color feature values of each garter segment.
[0010] As an implementable manner, the "preprocess the initial garter belt image to obtain a garter belt image" specifically includes:
[0011] Correct the size of the initial garter belt image, and the size of the obtained garter belt image is the set size.
[0012] As an implementable manner, "extracting color feature values according to sock segments from the garter belt image data" specifically includes:
[0013] Cropping the garter belt image according to the markings to form N + 1 first sock segments, where the first sock segments include a standard segment and a test segment, and the area of each first sock segment is less than or equal to a set area;
[0014] Converting the image of each first sock segment into a color mode to form a second sock segment image;
[0015] Extracting the color feature values of the corresponding sock segments from the image of each second sock segment.
[0016] As an implementable manner, converting the image of each first sock segment into the HSV color mode.
[0017] As an implementable manner, "judging the dyeing grade according to the color feature values of each sock segment" specifically includes:
[0018] Comparing the color feature values of the test segments on the image of each second sock segment with the color feature values of the standard segments,
[0019] When the color feature of the test segment is greater than or equal to the color feature value of the standard segment, judging that the dyeing grade of the current sock segment is excellent.
[0020] As an implementable manner, using an image acquisition device to collect the initial garter belt image, where the image acquisition device includes a CCD image sensor chip and a resolution of at least 1.5 million.
[0021] In a second aspect, a garter belt dyeing uniformity system is provided, including:
[0022] An image acquisition module for collecting an initial garter belt image,
[0023] A preprocessing module for preprocessing the initial garter belt image to obtain a garter belt image, and the garter belt image includes N markings, and the N markings divide the garter belt image into N + 1 sock segments;
[0024] A feature extraction module for extracting color feature values according to sock segments from the garter belt image;
[0025] A quality evaluation module for judging the dyeing grade according to the color feature values of each sock segment.
[0026] In a third aspect, an electronic device is provided, including:
[0027] A processor;
[0028] A memory for storing instructions executable by the processor;
[0029] Among them, the processor implements the above-mentioned method by running the executable instructions.
[0030] In a fourth aspect, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the above-mentioned method is implemented.
[0031] According to the technical solution provided by the embodiments of the present application, by setting marks on the garter belt, the garter belt is divided into different segments through the marks, different dyed filaments are woven on each segment, the different segments are distinguished according to the collected images, and the color feature values of the different segments are calculated. The color feature values of different segments are compared with the standard values to judge whether the dyeing conditions of each segment are good. This method does not require manual judgment of the dyeing conditions, the judgment criteria are clear and accurate, and the judgment results are reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, objects, and advantages of the present application will become more apparent:
[0033] Figure 1 It is a flowchart of the method for judging the dyeing uniformity of the garter belt in this embodiment;
[0034] Figure 2 It is a schematic diagram of the device for judging the dyeing uniformity of the garter belt in this embodiment;
[0035] Figure 3 It is a schematic diagram of the structure of the system for judging the dyeing uniformity of the garter belt in this embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0036] The present application will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention, rather than limiting the invention. In addition, it should be noted that for the convenience of description, only parts related to the invention are shown in the drawings.
[0037] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and embodiments.
[0038] Please refer to Figure 1 , this embodiment provides a method for judging the dyeing uniformity of a garter belt, including the steps of:
[0039] S1: Collect an initial image of the garter belt;
[0040] S2: Preprocess the initial garter image to obtain a garter image, where the garter image includes N marks, and the N marks divide the garter image into N + 1 garter segments;
[0041] S3: Extract color feature values from the garter image according to the garter segments;
[0042] S4: Judge the dyeing grade according to the color feature values of each garter segment.
[0043] In the method for judging the dyeing uniformity of the garter provided in this embodiment, by setting marks on the garter, the garter is divided into different segments through the marks, different dyed filaments are woven on each segment, the different segments are distinguished according to the collected images, and the color feature values of the different segments are calculated. The color feature values of the different segments are compared with the standard values to judge whether the dyeing conditions of each segment are good. This method does not require manual judgment of the dyeing situation, the judgment criteria are clear and accurate, and the judgment results are reliable.
[0044] This judgment method first collects the initial garter image. The initial garter image is collected by an image acquisition device, and the image acquisition device includes a CCD image sensor chip and a resolution of at least 1.5 million. Preferably, an industrial camera is used for image acquisition, which has high sensitivity, anti-interference ability and stability. The focal length of the camera lens is set to 30 mm. When the image acquisition device performs image acquisition, preferably, the light source is set to the light source closest to sunlight, and preferably, the D65 light source is used, so that the obtained garter image is more real, the process of comparing the color feature values can be more accurate, and the judgment result is more reliable.
[0045] Optionally, the "preprocess the initial garter image to obtain a garter image" specifically includes:
[0046] Perform size correction on the initial garter image, and the obtained garter image size is the set size.
[0047] In this embodiment, when the initial garter image is obtained, the initial garter image is preprocessed. This preprocessing is to calibrate the initial garter image, and the calibration range generally includes image size adjustment, resolution adjustment, etc., so that the formed initial garter image can meet the requirements of subsequent cropping and color feature extraction. And the size of the preprocessed garter image is set differently according to different garters. For example, if there are more marks on the garter, the size of the initial garter image processing is controlled to be larger during preprocessing to cover a larger range.
[0048] Further, the "extract color feature values from the garter image data according to the garter segments" specifically includes:
[0049] Crop the garter image according to the marks to form N + 1 first sock segments. The first sock segment includes a standard segment and a test segment, and the area of each first sock segment is less than or equal to a set area.
[0050] Convert the color mode of the image of each first sock segment to form a second sock segment image.
[0051] Extract the color feature values of the corresponding sock segments from each second sock segment image.
[0052] In the determination of the dyeing uniformity of the garter provided in this embodiment, mainly the color feature values of garter belts with different dyeings are compared. Among them, N marks are set on each garter belt, and the N marks divide the whole garter belt into N + 1 sock segments. Among the N + 1 divided sock segments, there is a standard segment, and the rest are test segments with different dyeings. The standard segment and the test segments are subjected to image acquisition under the same conditions, so that the control environment of the standard segment and the test segments is kept consistent, and the image feature values of the corresponding segments are more accurate when compared.
[0053] In this embodiment, the garter image is actually segmented according to the marks, and the garter image is divided into sock segments with different dyeings, so as to prepare for the extraction of color feature values of different dyeing situations in the follow-up. The marks for cropping the garter image in this embodiment are the marks described above. The sock segments are cropped according to the range of the marks. In this embodiment, preferably, the sock segments are pulled into a long strip structure for image acquisition, and then the long strip garter image is segmented according to the marks; after segmentation, each sock segment is also cropped so that the areas of the different cropped sock segments, that is, the first sock segments, are all within the specified area, ensuring that the area of the first sock segment is appropriate. Since the garter image in this embodiment includes many segments with different dyeings, therefore, when cropping and segmenting the garter along the marks, the different sock segments after segmentation may have the situation of mixing the colors of other segments at the edge positions. Therefore, this embodiment sets a set area, and the set area is adjusted and differentiated according to the actual situation of each garter. The segmented sock segments are cropped so that the first sock segment is within the set area. This operation can ensure that the dyeing situation on each first sock segment represents the actual dyeing situation of this sock segment, and there will be no influence of other sock segments on the current sock segment, and the subsequent extraction of color feature values can accurately represent the dyeing situation of the current sock segment.
[0054] Subsequently, the images of multiple first sock segments are subjected to color mode conversion. Preferably, the images of the first sock segments are converted from the RGB color mode to the HSV color mode, and this mode is convenient for the function calculation of subsequent color feature value extraction. In this embodiment, preferably, the API function calcHist for calculating the color histogram in the HSV space provided by OpenCV is used to extract the color feature values of different second sock segments.
[0055] Optionally, the "judging the dyeing grade according to the color characteristic value of each sock segment" specifically includes:
[0056] Comparing the color characteristic value of the test segment on each second sock segment image with the color characteristic value of the standard segment,
[0057] When the color characteristic of the test segment is greater than or equal to the color characteristic value of the standard segment, it is judged that the dyeing grade of the current sock segment is excellent.
[0058] In this embodiment, a standard segment and a test segment are provided on the sock band. The standard segment and the test segment acquire images under the same conditions, then perform format conversion, and are cropped into a set size, and the color characteristic values of each sock segment are calculated. Among them, the color characteristic value of the standard segment is the standard value. The color characteristic values of other test segments are compared with the color characteristic value of the standard segment. When the color characteristic value of the test segment is greater than the standard value, it is determined that the dyeing grade of the current sock segment is excellent, and the others are good. This embodiment can also refine the dyeing grade according to the difference between the color characteristic value of the test segment and the color characteristic value of the standard segment, optimize it into multiple grades, and apply the dyeing conditions of different grades to different scenarios to achieve classified use.
[0059] Reference Figure 2 As shown, this embodiment also provides a schematic diagram of a device for judging the dyeing uniformity of a sock band. Among them, the device includes: a sock band installation module 30, and the sock band installation module 30 is used to fix and disassemble the sock band;
[0060] An image acquisition module 10, which is arranged above the sock band installation module 30 and is used to acquire sock band images;
[0061] A light source 20, which is installed above the sock band installation module 30 and is used to provide light to the sock band installation module 30;
[0062] A control module, which is used to receive the sock band image of the image acquisition module 10 and judge the dyeing grade according to the sock band image.
[0063] The device slews the sock band on the sock band installation module. After the sock band is installed and fixed, the sock band image is acquired through the image acquisition module, and the acquired sock band image is analyzed to judge whether the dyeing of each part of the sock band is uniform, and the dyeing uniformity is analyzed and the grade is judged.
[0064] The sock band installation module 30 includes: a sock band installation member 31, and the sock band installation member 31 includes sock band installation rods 311 arranged oppositely. The sock band is slewed on the sock band installation rods 311, and the sock band installation rods 311 are used to support the sock band;
[0065] A driving member 32, which is connected to the garter mounting member 31 and is used to drive the garter mounting member 31 to reciprocate along the length direction of the garter mounting rod 311;
[0066] A fixing member 33, on which a long strip-shaped through hole 331 is provided. The driving member 32 is installed in the through hole 331 and can reciprocate along the through hole 331.
[0067] In this embodiment, the garter for judging the dyeing uniformity is generally in a long strip shape, and is woven with filaments in different dyeing conditions and marks are made between each weaving section. It is necessary to stretch the formed garter section as much as possible to form a flat surface for obtaining the image of the garter section. Therefore, in this embodiment, it is preferably set that the garter mounting member 31 is used for mounting and stretching the garter. Among them, the garter mounting member 31 includes garter mounting rods 311 arranged oppositely, and the distance between the garter mounting rods 311 can be set in an adjustable form to facilitate the installation and use of garter belts with different widths. At the same time, the garter mounting rods 311 can also be set in a telescopic form to match the detection requirements of garter belts with different lengths. The garter mounting rods 311 are connected to a slider 312, and the driving member 32 drives the slider 312 to move, and drives the garter mounting rods 311 to move through the slider 312.
[0068] The garter mounting module 30 further includes a fixing member 33, which can be directly placed or installed on the ground or the workbench, and a long strip-shaped through hole 331 is opened on the fixing member 33. The driving member 32 is installed in the long strip-shaped through hole 331 and can reciprocate along the length direction of the through hole 331. The movement of the driving member 32 and the garter mounting member 31 can realize the subsequent removal of the garter.
[0069] The fixing member 33 provided in this embodiment has an L-shaped structure and is composed of a connected fixing portion 332 and a pushing portion 333. The fixing portion 332 is the part fixed to the ground or the workbench. The long-strip through hole 331 is opened on the fixing portion 332. The pushing portion 333 is connected to the fixing portion 332 and is arranged at one end of the fixing portion 332 close to the garter mounting member 31, forming a certain angle with the fixing portion 332. Preferably, the fixing portion 332 and the pushing portion 333 are vertically arranged. In this embodiment, the vertically arranged pushing portion 333 can push the garter sleeved on the garter mounting rod 311 away. Specifically, the driving member 32 moves in the long-strip through hole 331, so that the pushing portion 333 moves in a direction away from the driving member 32. During the movement, the pushing portion 333 pushes the garter sleeved on the garter mounting rod 311 away from the garter mounting rod 311. And according to the movement path of the driving member 32 and its driving direction for the garter mounting rod 311, the point where the garter is pushed away from the garter mounting rod 311 is set as the working location of the aforementioned staff, which reduces the walking path of the staff during the operation and reduces the work intensity.
[0070] This embodiment also provides a garter dyeing uniformity judgment system, including:
[0071] An image acquisition module for acquiring an initial garter image.
[0072] A preprocessing module for preprocessing the initial garter image to obtain a garter image, and the garter image includes N marks, and the N marks divide the garter image into N + 1 garter segments.
[0073] A feature extraction module for extracting color feature values according to the garter segments from the garter image.
[0074] A quality evaluation module for judging the dyeing grade according to the color feature values of each garter segment.
[0075] This embodiment also provides a system. Through this system, an image of the garter is acquired, and the acquired garter image is processed. The garter is divided into different garter segments according to the marks on the garter, and color feature values are extracted for each garter segment, and the color feature values of each garter segment are compared with the standard values, so that the dyeing effect of each garter segment can be judged quickly and accurately. The system provided in this embodiment can execute any step in the above method.
[0076] This embodiment also provides an electronic device, including:
[0077] A processor;
[0078] A memory for storing instructions executable by the processor;
[0079] Among them, the processor realizes the above method by running the executable instructions.
[0080] The apparatus provided in this embodiment is as Figure 3 shown, which shows a schematic structural diagram of a computer system 500 suitable for implementing the apparatus of the embodiments of the present application.
[0081] As Figure 3 shown, the computer system includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part into the random access memory (RAM) 505. In the RAM 505, various programs and data required for system operation are also stored. The CPU 501, ROM 502, and RAM 505 are connected to each other through a bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0082] The following components are connected to the I / O interface 505: an input part 506 including a keyboard, a mouse, etc.; an output part including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part 508 including a hard disk, etc.; and a communication part 509 including a network interface card such as a LAN card, a modem, etc. The communication part 509 performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that the computer program read from it can be installed into the storage part 508 as needed.
[0083] Specifically, according to the embodiments of the present invention, the process described above with reference to the flow Figure 1 can be implemented as a computer software program. For example, the embodiment of the determination of the evenness of the stocking dyeing disclosed in the present application includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from the removable medium. When the computer program is executed by the central processing unit (CPU) 501, the above functions defined in the system of the present application are executed.
[0084] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0085] In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination of the above.
[0086] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the system and computer program product for determining the uniformity of garter belt dyeing according to the method of the present application. In this regard, each block in a flowchart or block diagram can represent a module, a program segment, or a part of code, and the above module, program segment, or part of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0087] The units involved in the embodiments of the present invention can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not constitute a limitation to the units themselves in some cases. The described units or modules can also be provided in a processor. For example, a processor can be described as including a first acquisition module, a second acquisition module, and a calculation module.
[0088] As another aspect, the present application also provides a computer-readable medium, which can be included in the electronic device described in the above embodiments; or can exist alone without being assembled into the electronic device. The above computer-readable medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device implements the method for judging the dyeing uniformity as described in the above embodiments. The method includes:
[0089] Collect an initial sock band image;
[0090] Preprocess the initial sock band image to obtain a sock band image, where the sock band image includes N marks, and the N marks divide the sock band image into N + 1 sock segments;
[0091] Extract color feature values from the sock band image according to the sock segments;
[0092] Judge the dyeing level according to the color feature values of each sock segment.
[0093] It should be noted that although several modules or units of the devices for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0094] In addition, although the steps of the methods in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be executed in this specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution, etc.
[0095] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented in software or in a manner combining software with necessary hardware.
[0096] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the method for determining the uniformity of garter dyeing as described in the above embodiments can be implemented.
[0097] It should be understood that the above terms such as "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicating orientation or positional relationship are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, so it cannot be understood as a limitation of the present invention; the terms "inner, outer" refer to the inside and outside relative to the contour of each component itself. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.
[0098] For the convenience of description, spatial relative terms such as "above...", "above...", "on the upper surface of...", "above" etc. can be used here to describe the spatial positional relationship between a device or feature shown in the figure and other devices or features. It should be understood that the spatial relative terms are intended to include different orientations in use or operation in addition to the orientation of the device described in the figure. For example, if the device in the figure is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "beneath other devices or structures" afterwards. Thus, the exemplary term "above..." can include both the orientations of "above..." and "below...". The device can also be positioned or rotated in other different ways by 90 degrees or in other orientations, and corresponding interpretations will be made for the spatial relative descriptions used here.
[0099] The above description is only the preferred embodiment of the present application and the explanation of the applied technical principle. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) disclosed in the present application that have similar functions.
Claims
1. A garter dyeing uniformity determination system, characterized in that: include: Image acquisition module, used to acquire the initial garter image, A preprocessing module, configured to preprocess the initial garter image to obtain a garter image, wherein the garter image includes N marks, and the N marks divide the garter image into N+1 sock segments; A feature extraction module, used for extracting color feature values according to sock segments from the garter image; A quality assessment module, used for determining the dyeing grade according to the color characteristic value of each sock segment; A garter installation module, the garter installation module is used to fix and remove the garter, wherein the garter installation module comprises: a garter installation member, the garter installation member comprises a garter installation rod arranged opposite to each other, the garter is sleeved on the garter installation rod, and the garter installation rod is used to support the garter; A driving member, the driving member is connected to the garter mounting member and is used to drive the garter mounting member to reciprocate along the length direction of the garter mounting rod; The fixing member is provided with a long strip through hole, and the driving member is installed in the through hole and can reciprocate along the through hole.
2. The garter dyeing uniformity determination system according to claim 1, characterized in that: The preprocessing module is specifically used to: perform size correction on the initial garter image, and the size of the obtained garter image is a set size.
3. The garter dyeing uniformity determination system according to claim 1, characterized in that: The feature extraction module is specifically used to: crop the garter image according to the mark to form N+1 first sock segments, the first sock segments include a standard segment and a test segment, and the area of each of the first sock segments is less than or equal to a set area; Converting the color mode of each of the images of the first sock segments to form a second sock segment image; A color feature value of the corresponding sock segment is extracted from each of the second sock segment images.
4. The garter dyeing uniformity determination system according to claim 3, characterized in that: The feature extraction module is further used to convert the image of each first sock segment into an HSV color model.
5. The garter dyeing uniformity determination system according to claim 3, characterized in that: The quality assessment module is specifically used to: compare the color feature value of the test segment on each second sock segment image with the color feature value of the standard segment, When the color characteristic of the test section is greater than or equal to the color characteristic value of the standard section, the dyeing grade of the current sock section is judged to be excellent.
6. The garter dyeing uniformity determination system according to claim 1, characterized in that: The initial garter image is collected by an image acquisition device, wherein the image acquisition device includes a CCD image sensor chip and a resolution of at least 1.5 million.