Cashmere product color measurement method and device based on image recognition

By using a clamping mechanism and aspirator cleaning mechanism in the color measurement device of cashmere products, the possible movement or deformation of cashmere products during the color measurement process is solved, and a more accurate color measurement and more efficient operation process is achieved.

CN119827504AInactive Publication Date: 2025-04-15NINGXIA LINGZHOU SNOW CLOTHING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411946676.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the color measurement process of cashmere products, cashmere products may move or deform, resulting in inaccuracy of image color.

Method used

The color measurement method based on image recognition is adopted, and the four corners of the cashmere product are clamped and fixed by a clamping mechanism to ensure that the stillness and appropriate posture are maintained during the shooting process. At the same time, use the aspirator and cleaning mechanism to remove the fur on cashmere products to avoid interfering with color measurement.

Benefits of technology

It effectively avoids cashmere products moving or deforming during the color measurement process, ensures the accuracy of image color, improves the reliability of color measurement results, and reduces the complexity of manual operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119827504A_ABST
    Figure CN119827504A_ABST
Patent Text Reader

Abstract

The invention discloses a cashmere product color measurement method and device based on image recognition, and relates to the technical field of image processing. Image acquisition comprises the following steps: firstly, acquiring a high-quality image of a cashmere product, capturing subtle differences of the surface color of the cashmere product through professional image acquisition equipment, and preprocessing the image; the collected images contain some noise and unwanted information, by arranging the clamping mechanism, when the four corners of the cashmere product are clamped, a double-shaft motor is started, the upper output end and the lower output end of the double-shaft motor drive a first lead screw and a second lead screw to rotate correspondingly, and therefore the four corners of the cashmere product are clamped. According to the color measuring device for the cashmere product, the clamping plate and the contact assembly move relatively, the cashmere product is clamped and fixed, and meanwhile, the contact assembly and the clamping block are in extrusion contact, so that the phenomenon that the cashmere product moves and deforms when color measuring work is conducted on the cashmere product is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a cashmere product color measurement method and device based on image recognition. Background Art

[0002] Cashmere product color measurement is an important means to ensure product quality, control production costs, meet market demand and comply with quality standards. It is of great significance to the production and market competition of enterprises. The color of cashmere products is measured using image recognition technology. By collecting image data of cashmere products, extracting color features and analyzing them, accurate color measurement and evaluation can be achieved. Cashmere product color measurement can be performed more accurately, saving labor costs.

[0003] When measuring the color of cashmere products, the cashmere products are usually laid flat on a testing table for color measurement. If they are not clamped and limited, the cashmere products may move or deform during the testing process, so that the accuracy of the image color cannot be guaranteed when measuring the color of the cashmere products. Summary of the invention

[0004] In view of the shortcomings of the prior art, the technical solution adopted by the present invention to solve the technical problems is as follows: the cashmere product color measurement method and device based on image recognition described in the present invention comprises the following steps: S1: image acquisition, firstly, it is necessary to obtain high-quality images of cashmere products, and use professional image acquisition equipment to capture the subtle differences in the surface color of cashmere products; S2: image preprocessing, the acquired images will contain some noise and unnecessary information, so preprocessing is required; S3: color space conversion, the color information of the image is stored in the RGB color space, but RGB The color space is not consistent with the human eye's perception of color, so it needs to be converted into a color space that is more consistent with the human eye's perception; S4: Color feature extraction, in the converted color space, extract color features, and obtain color distribution characteristics by calculating the color histogram. The color histogram is a tool that counts the frequency of each color in the image; S5: Color matching and measurement, match the extracted color features with the standard color library. The standard color library is a cashmere color standard established by an industry standard organization and is used to determine whether the color of the cashmere product being tested meets the standard requirements; S6: Result output and display, store the collected image, pre-processed image, extracted color feature parameters, color matching results, and color difference data in the database for subsequent query and analysis, and display the cashmere product image, color feature information, color matching results, and color difference data in an intuitive manner through the display;

[0005] A cashmere product color measurement device based on image recognition, comprising: a main body, a cabinet door is rotatably connected to the side of the main body, a placing component is fixedly connected to the bottom of the main body inner cavity, an industrial camera is fixedly connected to the top of the main body inner cavity, a lighting lamp is fixedly connected to the top of the main body inner cavity, the lighting lamp is symmetrically arranged at the top of the main body inner cavity with the industrial camera as the center, and a cleaning component is fixedly connected to the side of the top of the main body inner cavity away from the industrial camera; a positioning component, the positioning component is used to position and fix the cashmere product, the bottom of the positioning component is fixedly connected to the bottom of the main body inner cavity; the positioning component comprises a positioning seat, the bottom of the positioning seat is fixedly connected to the bottom of the main body inner cavity, the positioning A first motor is fixedly connected to the side of the seat, a positioning plate is rotatably connected to a side of the positioning seat away from the first motor, an output end of the first motor is fixedly connected to the positioning plate, and a clamping mechanism is fixedly connected to the inner side of the positioning plate; when the cashmere product is placed flat on the placement component, the four angles of the cashmere product are clamped and fixed by the clamping mechanism respectively, so that it can keep still and in a suitable posture during the shooting process, ensuring that the cashmere product will not move or deform during the detection process, thereby ensuring the accuracy of the image color, and at the same time, after the color measurement work is performed on one side of the top of the cashmere product, the two clamping mechanisms at the diagonal corners of the cashmere product are loosened, and the first motor is turned on, and the positioning plate and the clamping mechanism are driven by the output end of the first motor. The mechanism is flipped, so that when the cashmere product is turned over for color measurement, the staff can avoid the secondary clamping work of the cashmere product, thereby increasing the operating intensity of the staff; preferably, the clamping mechanism includes a clamping frame, the inner side of the positioning plate is fixedly connected to a double-axis motor, the inner side of the clamping frame is rotatably connected to a screw rod 1, the side surface of the screw rod 1 is threadedly connected to the inner side of the positioning plate, the output end of the bottom of the double-axis motor is fixedly connected to the screw rod 1, the inner side of the clamping frame is rotatably connected to a screw rod 2, the side surface of the screw rod 2 is threadedly connected to the inner side of the positioning plate, the output end of the top of the double-axis motor is fixedly connected to the screw rod 2, the inner side of the clamping frame is slidably connected to a contact assembly, and the contact assembly The inner side of the component is threadedly connected to the side surface of the screw rod 2, the inner side of the clamping frame is slidably connected with a clamping plate, the inner side of the clamping plate is threadedly connected to the inner side of the screw rod 1, a clamping groove is provided in the middle of the top of the clamping plate, and both sides of the top of the clamping plate are fixedly connected with a yield block; when the four corners of the cashmere product are clamped, the double-axis motor is turned on, and the screw rod 1 and the screw rod 2 are driven to rotate respectively through the upper and lower output ends of the double-axis motor, so that the clamping plate and the contact component are relatively moved, so as to clamp and fix the cashmere product, and at the same time, the contact component is squeezed and contacted with the clamping block, so as to avoid the cashmere product from moving and deforming when the cashmere product is measured for color;

[0006] Preferably, the contact assembly includes a contact plate, the inner side of the contact plate is threadedly connected to the side surface of the screw rod 2, both sides of the contact plate are slidably connected to the inner side of the clamping frame, the inner side of the contact plate is slidably connected with a connecting shaft, the bottom of the connecting shaft is fixedly connected with a contact block, a first spring is sleeved on the connecting shaft, the top of the first spring is fixedly connected to the inner side of the contact plate, the bottom of the first spring is fixedly connected to the top of the contact block, the bottom of the contact plate is fixedly connected to a limiting block, and both sides of the bottom of the contact plate are rotatably connected with rollers; when the screw rod 2 rotates on the inner side of the clamping frame, the screw rod 2 drives the contact plate to move downward on the inner side of the clamping frame, so that the contact plate drives the limiting block to contact and squeeze with the clamping groove on the clamping plate, thereby clamping and fixing the cashmere product, and at the same time, the limiting block and the clamping groove are squeezed and counteracted. By arranging rollers on both sides of the limit block, since the cashmere product fibers are delicate and soft, they are easily damaged by friction during the clamping process. Before the color measurement work is performed, the cashmere product needs to be accurately placed in a suitable position. When the cashmere product needs to be moved, it only needs to be gently pulled, and the roller will rotate accordingly, so that the cashmere product can slide smoothly between the limit blocks, and then the position of the cashmere product is adjusted and determined, and the position of the cashmere product is limited and fixed by the limit block. At the same time, when the limit block and the clamping groove are against each other, the contact block slides on the inner side of the contact plate through the connecting shaft, and the buffering work of the first spring is used to avoid excessive squeezing force between the limit block and the cashmere product, and there will be no situation where it is difficult to adjust the position due to excessive friction, thereby improving work efficiency and better ensuring the flatness and accuracy of the cashmere product at the final detection position;

[0007] Preferably, the placing component comprises a placing block, the bottom of the placing block is fixedly connected to the bottom of the inner cavity of the main body, the inner side of the placing block is fixedly connected to a placing plate, the bottom of the inner cavity of the placing block is fixedly connected to an air sucker, the top of the air sucker is fixedly connected to a collecting plate, the side of the collecting plate is fixedly connected to the inner side of the placing block, and the top of the collecting plate is rotatably connected to a cleaning mechanism; the cashmere products are placed flatly on the placing plate, and the air sucker is turned on at the same time, so that the cashmere products are tightly adsorbed on the surface of the platform by the suction force generated by the air sucker, and at the same time, a small amount of hair on the cashmere products is prevented from falling on the placing plate when the cashmere products are adsorbed, and a large number of round holes are evenly opened on the placing plate, so that the suction force generated by the air sucker is At the same time, the wool on the cashmere product enters the inner side of the placement block through the circular holes on the collecting plate, so as to prevent the wool on the cashmere product from adhering to the placement plate. When the color of the cashmere product is compared with the standard color, the wool will also cause interference. If the existence of the wool changes the color background of the placement plate, errors will occur when comparing the colors visually or through the image recognition algorithm. When calculating the color difference, the color difference between the calculated cashmere product and the standard color will be larger or smaller than the actual situation due to the change in background color caused by the wool, thereby affecting the judgment of whether the color of the cashmere product is qualified. At the same time, the suction force of the aspirator causes the cleaning mechanism to rotate on the collecting plate, so that the cleaning mechanism can grab the wool that enters the inner side of the placement block.

[0008] Preferably, the cleaning mechanism includes a cleaning rod, the top of the cleaning rod is rotatably connected to the bottom of the placement plate, the bottom of the cleaning rod is rotatably connected to the top of the collecting plate, the side of the cleaning rod is evenly provided with rotating grooves, the inner side of the rotating groove is rotatably connected with a grabbing rod, both ends of the grabbing rod are provided with grabbing grooves, the top of the cleaning rod is fixedly connected with a brush 1, the side of the brush 1 away from the cleaning rod is in contact with the bottom of the placement plate, the bottom of the cleaning rod is fixedly connected with a brush 2, the side of the brush 2 away from the cleaning rod is in contact with the top of the collecting plate; the suction force generated by the vacuum machine when working makes the cleaning rod The cleaning rod rotates between the bottom of the placement plate and the top of the collection plate, and the cleaning rod drives the brush 1 and the brush 2 to clean the placement plate and the collection plate, thereby preventing the fluff from falling and adhering to the bottom of the collection plate. When the cleaning rod rotates, the cleaning rod drives the grabbing rod to rotate at the same time. At the same time, grabbing grooves are provided at both ends of the grabbing rod, so that the grabbing rod can grab the fluff entering the placement block, thereby preventing the fluff from agglomerating on the inner side of the placement block, thereby preventing a large amount of fluff from floating on the inner side of the collection block, thereby disrupting the suction work of the aspirator.

[0009] Preferably, the cleaning component comprises a second electric hydraulic cylinder and a connecting block, the side of the second electric hydraulic cylinder is fixedly connected to the top of the inner cavity of the main body, the side of the connecting block is slidably connected to the top of the inner cavity of the main body, the output end of the second electric hydraulic cylinder is fixedly connected to the top of the connecting block, the side of the connecting block is fixedly connected to the first electric hydraulic cylinder, the side of the connecting block close to the industrial camera is slidably connected to a scraper mechanism, and the output end of the first electric hydraulic cylinder is fixedly connected to the side of the scraper mechanism; when it is found that the collected cashmere product image is blurred, and after eliminating factors such as camera parameter settings and inaccurate focus, it is likely that there is dirt or dust on the lens surface, by turning on the second electric hydraulic cylinder, the connecting block is driven to move downward through the output end of the second electric hydraulic cylinder, detached from the inner side of the main body, and moved downward in the inner cavity of the main body, and at the same time, by turning on the first electric hydraulic cylinder, the scraper mechanism is driven to move through the output end of the first electric hydraulic cylinder, so that the output end of the first electric hydraulic cylinder drives the scraper mechanism to clean the lens of the industrial camera;

[0010] Preferably, the scraper mechanism includes a scraper, both sides of which are slidably connected to the inner side of the connecting block, the side of the scraper is fixedly connected to the output end of the first electric hydraulic cylinder, a bent plate is fixedly connected to the side of the scraper close to the industrial camera, and a cleaning roller is rotatably connected to the inner side of the scraper; the scraper is driven by the output end of the first electric hydraulic cylinder to move toward the lens of the industrial camera, and the bent plate is driven by the scraper to move toward the lens of the industrial camera, and the bent plate is made of rubber material, so that the bent plate cleans the lens of the industrial camera, thereby avoiding some dried water stains or stains with high viscosity on the lens, which are attached to the lens of the industrial camera for a long time and are difficult to fall off naturally, and at the same time, a cleaning roller is rotatably connected to the inner side of the scraper, and the cleaning roller is made of sponge material, so that after the bent plate cleans the lens of the industrial camera and scratches it, it can move against the lens of the industrial camera through the cleaning roller, thereby cleaning and wiping the stains on the surface of the lens, such as fingerprints, oil stains, water stains, etc.

[0011] The beneficial effects of the present invention are as follows:

[0012] 1. The present invention sets a clamping mechanism. When clamping the four corners of the cashmere product, the double-axis motor is turned on, and the upper and lower output ends of the double-axis motor respectively drive the screw rod 1 and the screw rod 2 to rotate, so that the clamping plate and the contact component move relative to each other, so as to clamp and fix the cashmere product. At the same time, the contact component is squeezed and contacted with the clamping block, so as to avoid the cashmere product from moving and deforming when the cashmere product is measured for color.

[0013] 2. The present invention arranges a placement component, and when the color of the cashmere product is compared with the standard color, the fluff will also cause interference. If the presence of the fluff changes the color background of the placement plate, errors will occur when the colors are compared visually or through an image recognition algorithm. When calculating the color difference, the background color change caused by the fluff will make the calculated color difference between the cashmere product and the standard color larger or smaller than the actual situation, thereby affecting the judgment of whether the color of the cashmere product is qualified. At the same time, the suction force of the vacuum machine is used to rotate the cleaning mechanism on the collecting plate, so that the cleaning mechanism can grab the fluff that enters the inner side of the placement block.

[0014] 3. The present invention sets a cleaning mechanism, and uses the suction force generated when the vacuum machine is working, so that the cleaning rod rotates between the bottom of the placement plate and the top of the collection plate, and at the same time, the cleaning rod drives brush 1 and brush 2 to clean the placement plate and the collection plate, so as to prevent the fluff from falling and adhering to the bottom of the collection plate. At the same time, when the cleaning rod rotates, the cleaning rod also drives the grabbing rod to rotate. At the same time, grabbing grooves are provided at both ends of the grabbing rod, so that the grabbing rod can grab the fluff that enters the placement block, so as to prevent the fluff from gathering into clumps on the inner side of the placement block, thereby preventing a large amount of fluff from floating on the inner side of the collection block, thereby disrupting the suction work of the vacuum machine.

[0015] 4. The present invention sets a cleaning component. When it is found that the collected image of cashmere products is blurred and after eliminating factors such as camera parameter settings and inaccurate focus, it is likely that there is dirt or dust on the lens surface. By turning on the second electric hydraulic cylinder, the connecting block is driven to move downward through the output end of the second electric hydraulic cylinder, detached from the inner side of the main body, and moved downward in the inner cavity of the main body. At the same time, by turning on the first electric hydraulic cylinder, the scraper mechanism is driven to move through the output end of the first electric hydraulic cylinder, so that the output end of the first electric hydraulic cylinder drives the scraper mechanism to clean the lens of the industrial camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the process of cashmere product color measurement method based on image recognition of the present invention;

[0017] Figure 2 It is a structural schematic diagram of a cashmere product color measurement device based on image recognition according to the present invention;

[0018] Figure 3 is a cross-sectional view of a cashmere product color measurement device based on image recognition according to the present invention;

[0019] Figure 4 It is an isometric view of a cashmere product color measurement device based on image recognition according to the present invention;

[0020] Figure 5 It is a structural schematic diagram of the positioning component of the present invention;

[0021] Figure 6 It is a structural schematic diagram of the clamping mechanism of the present invention;

[0022] Figure 7 is a schematic structural diagram of a contact assembly of the present invention;

[0023] Figure 8 It is a schematic diagram of the structure of the placement components of the present invention;

[0024] Fig. 9 It is a structural schematic diagram of the cleaning mechanism of the present invention;

[0025] Fig.10 It is a structural schematic diagram of the cleaning component of the present invention;

[0026] Fig.11 It is a structural schematic diagram of the scraper mechanism of the present invention;

[0027] In the figure: 1, main body; 2, cabinet door; 3, positioning component; 31, positioning seat; 32, first motor; 33, positioning plate; 34, clamping mechanism; 341, clamping frame; 342, double-axis motor; 343, screw rod 1; 344, screw rod 2; 345, contact assembly; 3451, contact plate; 3452, connecting shaft; 3453, contact block; 3454, first spring; 3455, limit block; 3456, roller; 346, clamping plate; 347, clamping groove; 348, clearance block; 4. Placement components; 41. Placement block; 42. Placement plate; 43. Vacuum; 44. Collecting plate; 45. Cleaning mechanism; 451. Cleaning rod; 452. Rotating trough; 453. Brush 1; 454. Brush 2; 455. Grabbing rod; 456. Grabbing trough; 5. Cleaning components; 51. Connecting block; 52. Second electric hydraulic cylinder; 53. First electric hydraulic cylinder; 54. Scraper mechanism; 541. Scraper; 542. Bending plate; 543. Cleaning roller; 6. Industrial camera; 7. Lighting lamp. DETAILED DESCRIPTION

[0028] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention are provided for the purpose of illustration and description, and are not intended to be exhaustive or to limit the present invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention, and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

[0029] Example 1: A cashmere product color measurement method based on image recognition according to an embodiment of the present invention is described as follows;

[0030] like Figure 1 The present invention discloses a cashmere product color measurement method based on image recognition, which comprises the following steps: S1: image acquisition, firstly, it is necessary to obtain a high-quality image of the cashmere product, and capture the subtle differences in the surface color of the cashmere product through professional image acquisition equipment; S2: image preprocessing, the acquired image will contain some noise and unnecessary information, so preprocessing is required; S3: color space conversion, the color information of the image is stored in the RGB color space, but the RGB color space is not consistent with the human eye's perception of color, so it needs to be converted into a color space that is more in line with the human eye's perception; S4: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S5: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S6: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S7: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S8: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S9: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S10: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S11: color feature extraction, in the converted color space, color features are extracted, and the color space is converted into a color space that is more in line with the human eye's perception; S12: color feature extraction, in the converted color space, color features are extracted, and The color distribution characteristics are obtained by calculating the color histogram. The color histogram is a tool for counting the frequency of each color in the image. S5: Color matching and measurement, matching the extracted color characteristics with the standard color library. The standard color library is a cashmere color standard established by an industry standard organization and is used to determine whether the color of the cashmere product being tested meets the standard requirements. S6: Result output and display, storing the collected image, pre-processed image, extracted color feature parameters, color matching results and color difference data in the database for subsequent query and analysis. The image, color feature information, color matching results and color difference data of the cashmere product are displayed in an intuitive manner through the display.

[0031] Embodiment 2, use Figure 2-Figure 7 The cashmere product device based on image recognition of the present invention is described as follows;

[0032] like Figure 2-Figure 7The present invention shows a cashmere product color measurement device based on image recognition, which, on the basis of the first embodiment, comprises: a main body 1, a cabinet door 2 is rotatably connected to the side of the main body 1, a placing component 4 is fixedly connected to the bottom of the inner cavity of the main body 1, an industrial camera 6 is fixedly connected to the top of the inner cavity of the main body 1, a lighting lamp 7 is fixedly connected to the top of the inner cavity of the main body 1, the lighting lamp 7 is symmetrically arranged at the top of the inner cavity of the main body with the industrial camera 6 as the center, and a cleaning component 5 is fixedly connected to the side of the top of the inner cavity of the main body 1 away from the industrial camera 6; a positioning component 3, the positioning component 3 is used to position and fix the cashmere product, and the bottom of the positioning component 3 is fixedly connected to the bottom of the inner cavity of the main body 1; the positioning component 3 Part 3 includes a positioning seat 31, the bottom of the positioning seat 31 is fixedly connected to the bottom of the inner cavity of the main body 1, the side of the positioning seat 31 is fixedly connected to the first motor 32, the side of the positioning seat 31 away from the first motor 32 is rotatably connected to the positioning plate 33, the output end of the first motor 32 is fixedly connected to the positioning plate 33, and the inner side of the positioning plate 33 is fixedly connected to a clamping mechanism 34; when the cashmere product is placed flat on the placement component 4, the four angles of the cashmere product are clamped and fixed by the clamping mechanism 34 respectively, so that it can keep still and in a suitable posture during the shooting process, ensuring that the cashmere product will not move or deform during the detection process, thereby ensuring the accuracy of the image color, and at the same time through After the color measurement is performed on one side of the top of the cashmere product, the two clamping mechanisms 34 at the diagonal corners of the cashmere product are loosened, the first motor 32 is turned on, and the positioning plate 33 and the clamping mechanism 34 are driven to flip through the output end of the first motor 32, so that when the cashmere product is turned over for color measurement, the staff is prevented from performing secondary clamping work on the cashmere product, thereby increasing the operating intensity of the staff; the clamping mechanism 34 includes a clamping frame 341, the inner side of the positioning plate 33 is fixedly connected to a double-axis motor 342, the inner side of the clamping frame 341 is rotatably connected to a screw rod 343, the side of the screw rod 343 is threadedly connected to the inner side of the positioning plate 33, and the bottom of the double-axis motor 342 is connected to the inner side of the positioning plate 33. The output end is fixedly connected to the screw rod 1 343, the inner side of the clamping frame 341 is rotatably connected to the screw rod 2 344, the side of the screw rod 2 344 is threadedly connected to the inner side of the positioning plate 33, the output end of the top of the dual-axis motor 342 is fixedly connected to the screw rod 2 344, the inner side of the clamping frame 341 is slidably connected to the contact assembly 345, the inner side of the contact assembly 345 is threadedly connected to the side of the screw rod 2 344, the inner side of the clamping frame 341 is slidably connected to the clamping plate 346, the inner side of the clamping plate 346 is threadedly connected to the inner side of the screw rod 1 343, a clamping groove 347 is provided in the middle of the top of the clamping plate 346, and both sides of the top of the clamping plate 346 are fixedly connected to give way blocks 348;When clamping the four corners of the cashmere product, the double-axis motor 342 is turned on, and the upper and lower output ends of the double-axis motor 342 respectively drive the screw rod 1 343 and the screw rod 2 344 to rotate, so that the clamping plate 346 and the contact component 345 move relatively, so as to clamp and fix the cashmere product. At the same time, the contact component 345 is squeezed and contacted with the clamping block, so as to avoid the cashmere product from moving and deforming when the cashmere product is measured for color;

[0033] The contact assembly 345 includes a contact plate 3451, the inner side of the contact plate 3451 is threadedly connected to the side of the screw rod 344, both sides of the contact plate 3451 are slidably connected to the inner side of the clamping frame 341, the inner side of the contact plate 3451 is slidably connected to a connecting shaft 3452, the bottom of the connecting shaft 3452 is fixedly connected to a contact block 3453, a first spring 3454 is sleeved on the connecting shaft 3452, the top of the first spring 3454 is fixedly connected to the inner side of the contact plate 3451, and the bottom of the first spring 3454 is fixedly connected to the contact block 3453. 453 is fixedly connected at the top, and the bottom of the contact plate 3451 is fixedly connected to the limit block 3455, and both sides of the bottom of the contact plate 3451 are rotatably connected with rollers 3456; when the second screw rod 344 rotates on the inner side of the clamping frame 341, the second screw rod 344 drives the contact plate 3451 to move downward on the inner side of the clamping frame 341, so that the contact plate 3451 drives the limit block 3455 to contact and extrude with the clamping groove 347 on the clamping plate 346, thereby clamping and fixing the cashmere product, and at the same time, The limit block 3455 is pressed against the clamping groove 347. Rollers 3456 are arranged on both sides of the limit block 3455. Since the cashmere product fiber is delicate and soft, it is easy to be damaged by friction during the clamping process. Before the color measurement, the cashmere product needs to be accurately placed in a suitable position. When the cashmere product needs to be moved, it only needs to be gently pulled, and the roller 3456 will rotate accordingly, so that the cashmere product can slide smoothly between the limit blocks 3455. After the position of the cashmere product is adjusted and determined, the roller 3456 is moved to the position of the cashmere product. The limit block 3455 limits and fixes the position of the cashmere product. When the limit block 3455 abuts against the clamping groove 347, the contact block 3453 slides inside the contact plate 3451 through the connecting shaft 3452. The buffering work of the first spring 3454 prevents the extrusion force between the limit block 3455 and the cashmere product from being too large, and the situation that the position is difficult to adjust due to excessive friction will not occur, thereby improving the work efficiency and better ensuring the flatness and accuracy of the cashmere product at the final detection position.

[0034] Example 3, using Figure 8-Figure 9 The cashmere product color measurement device based on image recognition of the present invention is described as follows;

[0035] like Figure 8-Figure 9 The present invention shows a cashmere product color measurement device based on image recognition, based on the first embodiment;

[0036] The placing component 4 includes a placing block 41, the bottom of the placing block 41 is fixedly connected to the bottom of the inner cavity of the main body 1, the inner side of the placing block 41 is fixedly connected to a placing plate 42, the bottom of the inner cavity of the placing block 41 is fixedly connected to an air sucker 43, the top of the air sucker 43 is fixedly connected to a collecting plate 44, the side of the collecting plate 44 is fixedly connected to the inner side of the placing block 41, and the top of the collecting plate 44 is rotatably connected to a cleaning mechanism 45; the cashmere products are placed flatly on the placing plate 42, and at the same time, the air sucker 43 is turned on, and the suction force generated by the air sucker 43 is used to make the cashmere products tightly adsorbed on the platform surface, and at the same time, a small amount of wool on the cashmere products is prevented from falling on the placing plate 42 when the cashmere products are adsorbed, and a large number of round holes are evenly opened on the placing plate 42, and when the cashmere products are adsorbed, the suction force generated by the air sucker 43 is used to force, and at the same time, through the round holes on the collecting plate 44, the wool on the cashmere product enters the inner side of the placement block 41, so as to prevent the wool on the cashmere product from adhering to the placement plate 42. When the color of the cashmere product is compared with the standard color, the wool will also cause interference. If the existence of the wool changes the color background of the placement plate 42, errors will occur when the color is compared visually or through the image recognition algorithm. When calculating the color difference, due to the change in background color caused by the wool, the calculated color difference between the cashmere product and the standard color will be larger or smaller than the actual situation, thereby affecting the judgment of whether the color of the cashmere product is qualified. At the same time, through the suction force of the aspirator 43, the cleaning mechanism 45 rotates on the collecting plate 44, so that the cleaning mechanism 45 grabs the wool that enters the inner side of the placement block 41;

[0037] The cleaning mechanism 45 includes a cleaning rod 451, the top of the cleaning rod 451 is rotatably connected to the bottom of the placement plate 42, the bottom of the cleaning rod 451 is rotatably connected to the top of the collecting plate 44, the side of the cleaning rod 451 is evenly provided with a rotating groove 452, the inner side of the rotating groove 452 is rotatably connected with a grabbing rod 455, and both ends of the grabbing rod 455 are provided with a grabbing groove 456, the top of the cleaning rod 451 is fixedly connected with a brush 1 453, the side of the brush 1 453 away from the cleaning rod 451 is in contact with the bottom of the placement plate 42, the bottom of the cleaning rod 451 is fixedly connected with a brush 2 454, the side of the brush 2 454 away from the cleaning rod 451 is in contact with the top of the collecting plate 44; the suction force generated by the suction machine 43 when it is working makes the cleaning rod 451 The bottom of the placing plate 42 and the top of the collecting plate 44 rotate, and the brush 1 453 and the brush 2 454 are driven by the cleaning rod 451 to clean the placing plate 42 and the collecting plate 44, so as to prevent the fluff from falling and adhering to the bottom of the collecting plate 44. When the cleaning rod 451 rotates, the cleaning rod 451 drives the grabbing rod 455 to rotate at the same time. At the same time, grabbing grooves 456 are provided at both ends of the grabbing rod 455, so that the grabbing rod 455 can grab the fluff entering the placing block 41, so as to prevent the fluff from agglomerating on the inner side of the placing block 41, thereby preventing a large amount of fluff from floating on the inner side of the collecting block, thereby disrupting the suction work of the suction machine 43.

[0038] Embodiment 4, use Figure 10-11 The cashmere product color measurement device based on image recognition of the present invention is described as follows;

[0039] like Figure 10-11 The present invention shows a cashmere product color measurement device based on image recognition, based on the first embodiment;

[0040] The cleaning component 5 includes a second electric hydraulic cylinder 52 and a connecting block 51. The side of the second electric hydraulic cylinder 52 is fixedly connected to the top of the inner cavity of the main body 1. The side of the connecting block 51 is slidably connected to the top of the inner cavity of the main body 1. The output end of the second electric hydraulic cylinder 52 is fixedly connected to the top of the connecting block 51. The side of the connecting block 51 is fixedly connected to the first electric hydraulic cylinder 53. The side of the connecting block 51 close to the industrial camera 6 is slidably connected to a scraper mechanism 54. The output end of the first electric hydraulic cylinder 53 is fixedly connected to the side of the scraper mechanism 54. When it is found that the collected cashmere product image is blurred If the lens is not clear and factors such as camera parameter settings and inaccurate focus are excluded, it is likely that there is dirt or dust on the lens surface. By turning on the second electric hydraulic cylinder 52, the output end of the second electric hydraulic cylinder 52 drives the connecting block 51 to move downward, detach from the inner side of the main body 1, and move downward in the inner cavity of the main body 1. At the same time, by turning on the first electric hydraulic cylinder 53, the output end of the first electric hydraulic cylinder 53 drives the scraper mechanism 54 to move, so that the output end of the first electric hydraulic cylinder 53 drives the scraper mechanism 54 to clean the lens of the industrial camera 6.

[0041] The scraper mechanism 54 includes a scraper 541, both sides of which are slidably connected to the inner side of the connecting block 51, the side of the scraper 541 is fixedly connected to the output end of the first electric hydraulic cylinder 53, the side of the scraper 541 close to the industrial camera 6 is fixedly connected with a bent plate 542, and the inner side of the scraper 541 is rotatably connected with a cleaning roller 543; the scraper 541 is driven by the output end of the first electric hydraulic cylinder 53 to move toward the lens of the industrial camera 6, and the bent plate 542 is driven by the scraper 541 to move toward the lens of the industrial camera 6, and the bent plate 542 is made of rubber, so that The curved plate 542 cleans the lens of the industrial camera 6, thereby preventing some dried water stains or sticky stains on the lens from being attached to the lens of the industrial camera 6 for a long time and being difficult to fall off naturally. At the same time, a cleaning roller 543 is connected to the inner side of the scraper 541 by rotation. The cleaning roller 543 is made of sponge material, so that after the curved plate 542 cleans and scratches the lens of the industrial camera 6, the cleaning roller 543 can move against the lens of the industrial camera 6, thereby cleaning and wiping the stains on the surface of the lens, such as fingerprints, oil stains, water stains, etc.;

[0042] The specific workflow is as follows:

[0043] When working, the cashmere product is placed flatly on the placement component 4 by opening the cabinet door 2, and the positioning component 3 is used to ensure that it will not move or deform during the acquisition process to ensure the quality of the acquired image. The image of the cashmere product is captured by controlling the industrial camera 6. Multiple shots can be taken from different angles and under different lighting conditions to obtain more comprehensive color information. The contrast and brightness of the image are enhanced by contrast enhancement, histogram equalization and other methods, and the color characteristics of the cashmere product are highlighted to make the color difference more obvious, which is convenient for subsequent color extraction and analysis. In the selected color space, various color feature parameters of the cashmere product image are calculated, such as color histogram, color mean, color variance, etc. The color histogram can count the distribution of different colors in the image and reflect the overall distribution characteristics of the cashmere product color. The color mean and variance can describe the average level and discrete degree of the color, which are used to evaluate the uniformity of the color and pre-collect and establish the standard color of cashmere products. Sample library, these standard color samples should have accurate color values ​​and corresponding color names or numbers. The standard color library can be used as a reference for color matching to determine whether the color of the cashmere product being tested meets the standard requirements. A suitable color matching algorithm is used to compare and match the extracted color features of the cashmere product with the colors in the standard color library. The closest standard color is determined by calculating the distance or similarity between the tested color and the standard color, and the color difference between the two is evaluated. The collected image, pre-processed image, extracted color feature parameters, color matching results, color difference and other data are stored in a local hard disk or database for subsequent query and analysis. The image, color feature information, color matching results and color difference and other data of the cashmere product are displayed in an intuitive manner through a display and other equipment for operators to view and analyze. The display interface can use a graphical interface to display data in the form of charts, curves, etc., making the results clearer and easier to understand;

[0044] The cashmere product is placed flat on the placement component 4, and the four angles of the cashmere product are clamped and fixed by the clamping mechanism 34 respectively, so that it can keep still and in a suitable posture during the shooting process, ensuring that the cashmere product will not move or deform during the detection process, thereby ensuring the accuracy of the image color. At the same time, after the color measurement work is performed on one side of the top of the cashmere product, the two clamping mechanisms 34 at the diagonal corners of the cashmere product are loosened, and the first motor 32 is turned on. The positioning plate 33 and the clamping mechanism 34 are driven to flip through the output end of the first motor 32, so that when the cashmere product is turned over for color measurement, the staff is prevented from performing secondary clamping work on the cashmere product, thereby increasing the operating intensity of the staff;

[0045] When clamping the four corners of the cashmere product, the double-axis motor 342 is turned on, and the upper and lower output ends of the double-axis motor 342 respectively drive the screw rod 1 343 and the screw rod 2 344 to rotate, so that the clamping plate 346 and the contact component 345 move relatively, so as to clamp and fix the cashmere product. At the same time, the contact component 345 is squeezed and contacted with the clamping block, so as to avoid the cashmere product from moving and deforming when the cashmere product is measured for color;

[0046] When the screw rod 344 rotates on the inner side of the clamping frame 341, the screw rod 344 drives the contact plate 3451 to move downward on the inner side of the clamping frame 341, so that the contact plate 3451 drives the limit block 3455 to contact and squeeze the clamping groove 347 on the clamping plate 346, so as to clamp and fix the cashmere product. At the same time, the limit block 3455 and the clamping groove 347 are squeezed and counteracted. Rollers 3456 are provided on both sides of the limit block 3455. Since the cashmere product fiber is delicate and soft, it is easily damaged by friction during the clamping process. Before performing the color measurement, the cashmere product needs to be accurately placed in the appropriate position. When the cashmere product needs to be moved, it only needs to be gently moved. When the cashmere product is pulled, the roller 3456 will rotate accordingly, so that the cashmere product can slide smoothly between the limit blocks 3455. After the position of the cashmere product is adjusted and determined, the position of the cashmere product is limited and fixed by the limit blocks 3455. At the same time, when the limit blocks 3455 and the clamping grooves 347 are against each other, the contact block 3453 slides on the inner side of the contact plate 3451 through the connecting shaft 3452. Through the buffering work of the first spring 3454, the extrusion force between the limit blocks 3455 and the cashmere product is prevented from being too large, and the situation that the position is difficult to adjust due to excessive friction will not occur, thereby improving work efficiency and better ensuring the flatness and accuracy of the cashmere product at the final detection position.

[0047] The cashmere products are placed flatly on the placement plate 42, and the suction machine 43 is turned on. The suction force generated by the suction machine 43 makes the cashmere products tightly adsorbed on the platform surface, and at the same time, a small amount of wool on the cashmere products is prevented from falling on the placement plate 42 when the cashmere products are adsorbed. A large number of round holes are evenly opened on the placement plate 42. When the cashmere products are adsorbed, the suction force generated by the suction machine 43 and the round holes on the collecting plate 44 make the wool on the cashmere products enter the inner side of the placement block 41, and the wool on the cashmere products is prevented from adhering to the placement plate 42. When comparing with the standard color, the fluff will also cause interference. If the presence of the fluff changes the color background of the placement plate 42, errors will occur when comparing colors visually or through image recognition algorithms. When calculating color difference, the background color change caused by the fluff will make the calculated color difference between the cashmere product and the standard color larger or smaller than the actual situation, thereby affecting the judgment of whether the color of the cashmere product is qualified. At the same time, the suction force of the aspirator 43 causes the cleaning mechanism 45 to rotate on the collecting plate 44, so that the cleaning mechanism 45 can grab the fluff that enters the inner side of the placement block 41;

[0048] The suction force generated by the suction machine 43 when it is working makes the cleaning rod 451 rotate between the bottom of the placement plate 42 and the top of the collection plate 44, and at the same time, the cleaning rod 451 drives the brush 1 453 and the brush 2 454 to clean the placement plate 42 and the collection plate 44, so as to prevent the fluff from falling and adhering to the bottom of the collection plate 44. At the same time, when the cleaning rod 451 is rotated, the cleaning rod 451 also drives the grabbing rod 455 to rotate. At the same time, grabbing grooves 456 are provided at both ends of the grabbing rod 455, so that the grabbing rod 455 can grab the fluff entering the placement block 41, so as to prevent the fluff from agglomerating on the inner side of the placement block 41, thereby preventing a large amount of fluff from floating on the inner side of the collection block, thereby disrupting the suction work of the suction machine 43.

[0049] When it is found that the collected cashmere product image is blurred, and after eliminating factors such as camera parameter settings and inaccurate focus, it is likely that there is dirt or dust on the lens surface. By turning on the second electric hydraulic cylinder 52, the connecting block 51 is driven to move downward through the output end of the second electric hydraulic cylinder 52, detached from the inner side of the main body 1, and moved downward in the inner cavity of the main body 1. At the same time, by turning on the first electric hydraulic cylinder 53, the scraper mechanism 54 is driven to move through the output end of the first electric hydraulic cylinder 53, so that the output end of the first electric hydraulic cylinder 53 drives the scraper mechanism 54 to clean the lens of the industrial camera 6;

[0050] The scraper 541 is driven by the output end of the first electric hydraulic cylinder 53 to move toward the lens of the industrial camera 6, and the curved plate 542 is driven by the scraper 541 to move toward the lens of the industrial camera 6. The curved plate 542 is made of rubber material, so that the curved plate 542 cleans the lens of the industrial camera 6, thereby avoiding some dried water stains or sticky stains on the lens, which are attached to the lens of the industrial camera 6 for a long time and are difficult to fall off naturally. At the same time, a cleaning roller 543 is connected to the inner side of the scraper 541 by rotation, and the cleaning roller 543 is made of sponge material, so that after the curved plate 542 cleans and scratches the lens of the industrial camera 6, it can move against the lens of the industrial camera 6 through the cleaning roller 543, thereby cleaning and wiping the stains on the surface of the lens, such as fingerprints, oil stains, water stains, etc.

[0051] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field and related fields without creative work should fall within the scope of protection of the present invention. The structures, devices and operating methods not specifically described and explained in the present invention are implemented according to the conventional means in the field unless otherwise specified and limited.

Claims

1. A cashmere product color measurement method based on image recognition, characterized in that: The following steps are involved: S1: Image acquisition. First, you need to obtain high-quality images of cashmere products. Through professional image acquisition equipment, you can capture the subtle differences in the surface color of cashmere products. S2: Image preprocessing. The acquired images will contain some noise and unnecessary information, so they need to be preprocessed. S3: Color space conversion. The color information of the image is stored in the RGB color space, but the RGB color space is not consistent with the human eye's perception of color. Therefore, it needs to be converted into a color space that is more in line with the human eye's perception. S4: Color feature extraction. In the converted color space, extract color features and obtain color distribution features by calculating the color histogram. The color histogram is a tool for counting the frequency of each color in the image. S5: Color matching and measurement. Match the extracted color features with the standard color library. The standard color library is a cashmere color standard established by an industry standard organization and is used to determine whether the color of the cashmere product being tested meets the standard requirements. S6: Result output and display: the collected images, pre-processed images, extracted color feature parameters, color matching results and color difference data are stored in the database for subsequent query and analysis. The images, color feature information, color matching results and color difference data of cashmere products are displayed in an intuitive manner through the display.

2. A cashmere product color measurement device based on image recognition, characterized in that: include: A main body (1), the side of the main body (1) is rotatably connected to a cabinet door (2), the bottom of the inner cavity of the main body (1) is fixedly connected to a placement component (4), the top of the inner cavity of the main body (1) is fixedly connected to an industrial camera (6), the top of the inner cavity of the main body (1) is fixedly connected to an illumination lamp (7), the illumination lamp (7) is symmetrically arranged at the top of the inner cavity of the main body with the industrial camera (6) as the center, and a cleaning component (5) is fixedly connected to the side of the inner cavity of the main body (1) away from the industrial camera (6); a positioning component (3), the positioning component (3) is used to clean the cashmere products. Positioning and fixing work, the bottom of the positioning component (3) is fixedly connected to the bottom of the inner cavity of the main body (1); the positioning component (3) comprises a positioning seat (31), the bottom of the positioning seat (31) is fixedly connected to the bottom of the inner cavity of the main body (1), a first motor (32) is fixedly connected to the side of the positioning seat (31), a positioning plate (33) is rotatably connected to the side of the positioning seat (31) away from the first motor (32), an output end of the first motor (32) is fixedly connected to the positioning plate (33), and a clamping mechanism (34) is fixedly connected to the inner side of the positioning plate (33); The clamping mechanism (34) comprises a clamping frame (341), a dual-axis motor (342) is fixedly connected to the inner side of the positioning plate (33), a screw rod (343) is rotatably connected to the inner side of the clamping frame (341), a side of the screw rod (343) is threadedly connected to the inner side of the positioning plate (33), an output end at the bottom of the dual-axis motor (342) is fixedly connected to the screw rod (343), a second screw rod (344) is rotatably connected to the inner side of the clamping frame (341), a side of the screw rod (344) is threadedly connected to the inner side of the positioning plate (33), and the dual-axis motor (341) is rotatably connected to the inner side of the positioning plate (33). The output end at the top of the clamping frame (342) is fixedly connected to the second screw rod (344), the inner side of the clamping frame (341) is slidably connected to a contact assembly (345), the inner side of the contact assembly (345) is threadedly connected to the side of the second screw rod (344), the inner side of the clamping frame (341) is slidably connected to a clamping plate (346), the inner side of the clamping plate (346) is threadedly connected to the inner side of the first screw rod (343), a clamping groove (347) is provided in the middle of the top of the clamping plate (346), and both sides of the top of the clamping plate (346) are fixedly connected to a clearance block (348).

3. The cashmere product color measurement device based on image recognition according to claim 2, characterized in that: The contact assembly (345) comprises a contact plate (3451), the inner side of the contact plate (3451) is slidably connected to a connecting shaft (3452), the bottom of the connecting shaft (3452) is fixedly connected to a contact block (3453), a first spring (3454) is sleeved on the connecting shaft (3452), the bottom of the contact plate (3451) is fixedly connected to a limiting block (3455), and both sides of the bottom of the contact plate (3451) are rotatably connected to rollers (3456).

4. The cashmere product color measurement device based on image recognition according to claim 3, characterized in that: Both sides of the contact plate (3451) are slidably connected to the inner side of the clamping frame (341), the inner side of the contact plate (3451) is threadedly connected to the side of the second screw rod (344), the top of the first spring (3454) is fixedly connected to the inner side of the contact plate (3451), and the bottom of the first spring (3454) is fixedly connected to the top of the contact block (3453).

5. The cashmere product color measurement device based on image recognition according to claim 2, characterized in that: The placement component (4) comprises a placement block (41), the inner side of the placement block (41) is fixedly connected to a placement plate (42), the bottom of the inner cavity of the placement block (41) is fixedly connected to an air suction machine (43), the top of the air suction machine (43) is fixedly connected to a collection plate (44), the side of the collection plate (44) is fixedly connected to the inner side of the placement block (41), and the top of the collection plate (44) is rotatably connected to a cleaning mechanism (45).

6. The cashmere product color measurement device based on image recognition according to claim 5, characterized in that: The cleaning mechanism (45) comprises a cleaning rod (451), the side surface of the cleaning rod (451) is evenly provided with rotation grooves (452), the inner side of the rotation groove (452) is rotatably connected to a grabbing rod (455), both ends of the grabbing rod (455) are provided with grabbing grooves (456), the top of the cleaning rod (451) is fixedly connected to a brush 1 (453), and the bottom of the cleaning rod (451) is fixedly connected to a brush 2 (454).

7. The cashmere product color measurement device based on image recognition according to claim 6, characterized in that: The bottom of the placement block (41) is fixedly connected to the bottom of the inner cavity of the main body (1); the top of the cleaning rod (451) is rotatably connected to the bottom of the placement plate (42); the bottom of the cleaning rod (451) is rotatably connected to the top of the collection plate (44); the side of the brush 1 (453) away from the cleaning rod (451) contacts the bottom of the placement plate (42); and the side of the brush 2 (454) away from the cleaning rod (451) contacts the top of the collection plate (44).

8. The cashmere product color measurement device based on image recognition according to claim 2, characterized in that: The cleaning component (5) comprises a second electric hydraulic cylinder (52) and a connecting block (51); the side of the second electric hydraulic cylinder (52) is fixedly connected to the top of the inner cavity of the main body (1); the side of the connecting block (51) is slidably connected to the top of the inner cavity of the main body (1); the output end of the second electric hydraulic cylinder (52) is fixedly connected to the top of the connecting block (51); the side of the connecting block (51) is fixedly connected to the first electric hydraulic cylinder (53); a scraper mechanism (54) is slidably connected to a side of the connecting block (51) close to the industrial camera (6); and the output end of the first electric hydraulic cylinder (53) is fixedly connected to the side of the scraper mechanism (54).

9. The cashmere product color measurement device based on image recognition according to claim 8, characterized in that: The scraper mechanism (54) comprises a scraper (541), both sides of which are slidably connected to the inner side of the connection block (51), the side of the scraper (541) is fixedly connected to the output end of the first electric hydraulic cylinder (53), a bending plate (542) is fixedly connected to the side of the scraper (541) close to the industrial camera (6), and a cleaning roller (543) is rotatably connected to the inner side of the scraper (541).