Sock appearance low color gamut detection device and method
By using a low color gamut detection device for sock appearance, a black and white occlusion area is formed by a light source platform and a light-transmitting panel. An industrial camera analyzes the occlusion pattern of the sock, which solves the problem of insufficient accuracy in sock appearance detection and achieves efficient automatic detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2026-03-17
AI Technical Summary
Existing technologies for sock appearance inspection lack precision, manual inspection suffers from large errors and low efficiency, and industrial camera inspection suffers from large data processing volume and insufficient precision due to its wide color gamut.
A low color gamut detection device for socks is used. A black obscured area and a white transparent area are formed through a light source platform and a light-transmitting panel. An industrial camera captures and analyzes the obscured pattern, and the results are compared with those of an industrial host to screen out unqualified socks.
It improves the accuracy and efficiency of sock appearance inspection, reduces data processing volume, avoids equipment crashes and lags, and achieves automatic, high-precision detection of sock size and density.
Smart Images

Figure CN116222424B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of sock appearance inspection technology, specifically to a device and method for detecting low color gamut in sock appearance. Background Technology
[0002] After the socks are sewn, their appearance needs to be inspected to determine if the size meets the standards. Currently, there are two main inspection methods:
[0003] 1. Manual inspection of appearance: This method requires a high level of judgment from workers, has high training costs, and is prone to errors and has low efficiency.
[0004] 2. The conveyor belt feeds socks one by one under the industrial camera. The industrial camera takes pictures of the socks and then compares them with the standard pictures built into the industrial control host. If they match, the sock size is qualified; otherwise, it is unqualified. However, in actual shooting, due to the wide color gamut of the produced socks, the different colors of different types of socks, and the inconsistent surface color of individual socks, there is too much interference color when the industrial control host extracts the sock outline, resulting in a large amount of data processing and ultimately insufficient accuracy of the extracted sock outline.
[0005] In summary, there is currently a lack of a device that can automatically and accurately detect the appearance of socks. Summary of the Invention
[0006] To address the shortcomings of existing technologies, this invention provides a low color gamut detection device for sock appearance, which solves the problem of insufficient accuracy in current sock appearance detection.
[0007] To achieve the above objectives, the present invention provides the following technical solution:
[0008] A low color gamut detection device for socks includes a main housing, a light source platform embedded in the top surface of the main housing, and a screening and discharge assembly installed on the side of the main housing;
[0009] A movable acquisition component is installed directly above the light source platform. The acquisition component includes a dark cover, a second light-transmitting panel, and an industrial camera. The dark cover has a structure that is narrow at the top and wide at the bottom. An industrial camera is installed at the top inside the dark cover. The second light-transmitting panel is embedded in the bottom opening of the dark cover. The industrial camera is used to capture the panel image of the second light-transmitting panel. The panel image includes a black sock-covered area and a white light-transmitting area. The signal output terminal of the industrial camera is connected to an industrial host.
[0010] The industrial host extracts each sock-covering graphic from the panel graphic and compares the size and brightness of the sock-covering graphics with standard data.
[0011] Furthermore, the screening and discharge assembly includes a first jet plate and a second jet plate;
[0012] The main body has a first jet plate on one longitudinal side and a discharge position on the other longitudinal side. A discharge conveying assembly is installed at the discharge position. The inner wall of the first jet plate has multiple first jet holes.
[0013] A second air jet plate is provided on one side of the surface of the main box, and the other side of the surface of the main box is the feeding position. A defective product collection box is installed on the other side of the surface of the main box. Multiple second air jet holes are opened on the inner wall of the second air jet plate. n socks are placed longitudinally at intervals on the surface of the light source platform and each sock extends laterally.
[0014] Furthermore, the non-conforming product collection box has independent dimensional non-conforming recovery chambers and density non-conforming recovery chambers inside. The dimensional non-conforming recovery chambers are located close to the main box body, and the top of the dimensional non-conforming recovery chambers is provided with a flip-up guide plate.
[0015] Furthermore, a pressing assembly is installed on the discharge end face of the second air jet plate. The pressing assembly includes a first flip motor, a fixed plate, a longitudinal tube, and a pressing component. One end of the fixed plate is rotatably mounted on the end of the second air jet plate. The side of the fixed plate is connected to the first flip motor, which is fixedly connected to the second air jet plate. The other end of the fixed plate has a vertically arranged longitudinal tube. The pressing component is installed inside the longitudinal tube. The pressing component is used to position the sock opening of each sock by pressing down. The gas ejected from the second air jet plate can blow open the sock.
[0016] Furthermore, the bottom surface of the longitudinal tube is provided with multiple transversely distributed baffles at vertical intervals, the area between two baffles is a sock placement area, and the multiple baffles are used to separate each second air jet hole.
[0017] Furthermore, the pressing component includes a rotating rod, a second flipping motor, and a pressure plate. The rotating rod is rotatably mounted inside the longitudinal tube and is coaxially arranged. Multiple pressure plates are vertically arranged on the outer wall of the rotating rod. The longitudinal tube has slots for the pressure plates to move. The end of the rotating rod is provided with a second flipping motor.
[0018] A method for detecting low color gamut in socks, the method comprising the following steps:
[0019] S1. Socks placement:
[0020] Place n socks flat on a light source platform, with each sock arranged horizontally and the rest arranged vertically.
[0021] S2, Socks are flat:
[0022] The pressing component rotates onto the socks and presses down to position each sock;
[0023] The second jet ejects a high-pressure airflow, which fills the sock and causes it to fully expand.
[0024] After leveling is completed, the pressing component is rotated to the outside of the second jet plate;
[0025] S3. Appearance Graphics Acquisition:
[0026] The dark panel moves downwards until the second light-transmitting panel is attached to the sock;
[0027] When the light source of the light source platform is turned on, part of the light shines through the first light-transmitting panel onto the second light-transmitting panel, while the other part is blocked by the sock. At this time, a black sock-covered area and a white light-transmitting area are formed on the second light-transmitting panel.
[0028] Graphics captured by an industrial camera on a control panel;
[0029] S4. Visual Inspection:
[0030] The industrial camera transmits the panel image to the industrial host computer;
[0031] The industrial host extracts n sock-covering graphics from the panel graphics according to the processing rules;
[0032] The industrial host analyzes the occlusion pattern of the socks according to the screening rules and filters out unqualified socks.
[0033] Furthermore, the extraction rules are as follows:
[0034] Identify the white areas in the panel graphic;
[0035] Remove the white area from the panel graphic, leaving n sock-covered graphics;
[0036] Number the n sock-covered shapes sequentially;
[0037] The n socks obscuring the graphic are rotated and corrected to a standard angle.
[0038] Furthermore, the filtering rules are as follows:
[0039] a. Determine whether the outline dimensions of the shape obscured by the sock are the same as the outline dimensions of the standard shape:
[0040] If yes, mark the socks as size-appropriate and proceed to step b;
[0041] No, then mark the sock as a size defective sock, and the industrial host will assign a size defective output program to the sock; proceed to step c;
[0042] b. Determine whether the brightness of the image obscured by the socks is the same as the brightness of the standard image:
[0043] If yes, mark the socks as having acceptable density and proceed to step c;
[0044] No, then mark the socks as having unacceptable density, and the industrial host will assign an unacceptable density discharge program to the socks; proceed to step c;
[0045] c. Final unloading process, checking for any defective socks:
[0046] Yes, the industrial host drives the pressing component to switch to the unloading state. The industrial host outputs the unqualified unloading program in sequence according to the sock serial number. After the unqualified socks are discharged, the industrial host executes the qualified unloading program.
[0047] If not, the industrial host will directly execute the qualified material discharge procedure.
[0048] This invention provides a device for detecting low color gamut in sock appearance. Compared with existing technologies, it has the following advantages:
[0049] When the sock is placed on the light source platform, during testing, part of the light from the platform passes through the first light-transmitting panel and illuminates the second light-transmitting panel, while the other part is blocked by the sock. In this way, a black sock-obscured pattern and a white light-transmitting area are formed on the second light-transmitting panel. At this time, the image captured by the industrial camera only shows white and black. During data processing, the industrial host only needs to separate the black and white, resulting in a small amount of data processing, high program versatility, and avoiding equipment crashes and freezes. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0051] Figure 1 A schematic diagram of the low color gamut detection device for sock appearance according to the present invention is shown;
[0052] Figure 2 A schematic diagram of the overall structure of the pressing component of the present invention is shown;
[0053] Figure 3 A schematic diagram of the internal structure of the longitudinal tube of the present invention is shown;
[0054] Figure 4 A schematic diagram of the pressing component of the present invention in conjunction with a sock is shown;
[0055] Figure 5 This diagram illustrates the separation state of the acquisition component and the light source platform of the present invention.
[0056] Figure 6 This diagram illustrates the combined state of the acquisition component and the light source platform of the present invention.
[0057] Figure 7 A schematic diagram of the distribution structure of the first and second jet holes of the present invention is shown;
[0058] The diagram shows: 1. Main housing; 11. First air jet plate; 111. First air jet hole; 12. Second air jet plate; 121. Second air jet hole; 2. Light source platform; 21. Lamp tube; 22. First light-transmitting panel; 3. Pressing assembly; 31. First flip motor; 32. Fixing plate; 33. Longitudinal tube; 34. Pressing component; 341. Rotating rod; 342. Second flip motor; 343. Pressure plate; 35. Partition; 4. Collection assembly; 41. Dark cover; 42. Second light-transmitting panel; 43. Industrial camera; 5. Lifting drive assembly; 51. Vertical rod; 52. Horizontal rod; 6. Gathering cover; 7. Discharge conveyor belt; 8. Non-conforming product collection box; 81. Size non-conforming recovery chamber; 82. Density non-conforming recovery chamber; 83. Guide plate. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are described clearly and completely. 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 those skilled in the art without creative effort are within the scope of protection of the present invention.
[0060] To address the issues of excessive color interference, large data processing volume, and insufficient contrast accuracy in traditional industrial cameras, the following low color gamut detection device for socks is proposed:
[0061] like Figure 1 As shown, the system includes a main housing 1, with a light source platform 2 embedded in the top surface of the main housing 1, and a screening and discharge assembly installed on the side of the main housing 1. A movable acquisition assembly 4 is installed directly above the light source platform 2. The acquisition assembly 4 includes a dark cover 41, a second light-transmitting panel 42, and an industrial camera 43. The dark cover 41 has a structure that is narrow at the top and wide at the bottom. The industrial camera 43 is installed at the top inside the dark cover 41, and the second light-transmitting panel 42 is embedded in the bottom opening of the dark cover 41. The industrial camera 43 is used to capture the panel pattern of the second light-transmitting panel 42. The panel pattern includes a black sock-covering area and a white light-transmitting area. The signal output terminal of the industrial camera 43 is connected to the industrial host. The industrial host extracts each sock-covering pattern in the panel pattern and compares the size and brightness of the sock-covering pattern with standard data.
[0062] When the sock is placed on the light source platform 2, during detection, part of the light from the light source platform 2 shines through the first light-transmitting panel 22 onto the second light-transmitting panel 42, while the other part is blocked by the sock. Thus, a black sock-obscured pattern and a white light-transmitting area are formed on the second light-transmitting panel 42. At this time, the image captured by the industrial camera 43 only shows white and black. During data processing, the industrial host only needs to separate the black and white, resulting in a small amount of data processing, high program versatility, and avoidance of equipment crashes and freezes.
[0063] The sock occlusion pattern can not only extract the outline and analyze whether the size of the sock meets the standard, but also, by utilizing the light penetration ability, the brightness of the sock occlusion pattern can be analyzed to determine whether the density of the sock meets the standard. Density reflects the breathability and elasticity of the sock, which is also an important indicator in sock inspection. The traditional method is to manually pull and test. In this embodiment, the testing step is integrated with the size detection, thereby shortening the production process and improving production efficiency.
[0064] Since the industrial camera 43 is installed inside the dark cover 41 and captures area graphics, external environmental interference can be effectively avoided, resulting in higher image quality and more accurate subsequent analysis.
[0065] The dark cover 41 is connected to the lifting drive assembly 5, which includes a vertical rod 51 and a horizontal rod 52. The bottom end of the vertical rod 51 is connected to the main housing 1, and the inner wall of the vertical rod 51 is pneumatically slidably connected to the horizontal rod 52. The bottom surface of the horizontal rod 52 is slidably connected to the dark cover 41. The dark cover 41 can move up and down along the vertical rod 51 to switch between loading / unloading and detection actions. The dark cover 41 can also move along the horizontal rod 52 to adapt to detection needs.
[0066] To enable the light source platform 2 to achieve the aforementioned functions of light source and object placement, the following design is proposed:
[0067] like Figure 5 and Figure 6 As shown, the light source platform 2 includes lamp tubes 21 and a first light-transmitting panel 22. The first light-transmitting panel 22 is embedded in the top opening of the main housing 1. The area of the first light-transmitting panel 22 is the same as that of the second light-transmitting panel. Multiple lamp tubes 21 are installed inside the main housing 1, and the multiple lamp tubes 21 are placed at the bottom of the first light-transmitting panel 22.
[0068] The first light-transmitting panel 22 can hold socks and also meet the light transmission requirements.
[0069] To enable the screening and discharge assembly to automatically separate and convey defective and qualified socks, this embodiment presents the following design:
[0070] like Figure 1As shown, the screening and discharge assembly includes a first air jet plate 11 and a second air jet plate 12; the first air jet plate 11 is provided on one longitudinal side of the surface of the main housing 1, and the discharge position is on the other longitudinal side, where a discharge conveying assembly is installed; the discharge conveying assembly includes a gathering cover 6 and a discharge conveyor belt 7, the gathering cover 6 is located above the discharge conveyor belt 7, the second air jet plate 12 is provided on one transverse side of the surface of the main housing 1, the other transverse side of the surface of the main housing 1 is the loading position, and a defective product collection box 8 is installed on the other transverse side of the main housing 1; n socks are placed longitudinally at intervals on the surface of the light source platform 2, and each sock extends laterally;
[0071] The sock placement design is compatible with the design of the first air jet plate 11 and the second air jet plate 12. The length of the first air jet plate 11 is the same as the horizontal side length of the main box 1. The inner wall of the first air jet plate 11 has a linear array of first air jet holes 111. The interior of the first air jet plate 11 is connected to a high-pressure air pump. The first air jet holes 111 are used to instantly discharge high-pressure gas to blow qualified socks to the discharge conveying component. The length of the second air jet plate 12 is the same as the vertical side length of the main box 1. The inner wall of the second air jet plate 12 has a linear array of second air jet holes 121. The interior of the second air jet plate 12 is connected to a high-pressure air pump. The second air jet holes 121 are used to instantly discharge high-pressure gas to blow unqualified socks to the unqualified product collection box 8. The second air jet holes 121 are divided into multiple blocks. The output end of each block corresponds to one sock. The input end of each area is equipped with a solenoid valve. When a sock is unqualified, the solenoid valve of the corresponding area is activated, so that the second air jet hole 121 of the corresponding area is opened, thereby achieving targeted discharge.
[0072] To separate and store socks that are not up to size or have incorrect density for subsequent targeted repair, this embodiment provides the following design:
[0073] like Figure 1 As shown, the non-conforming product collection box 8 has two independent non-conforming size collection chambers 81 and sparse non-conforming size collection chambers 82. The non-conforming size collection chamber 81 is located close to the main box 1, and the top of the non-conforming size collection chamber 81 is provided with a flip-up guide plate 83.
[0074] When it is necessary to recycle socks that are not up to size, the guide plate 83 remains vertical, so the socks that are not up to size will be blown directly into the socks that are not up to size recycling chamber 81, and the guide plate 83 can act as a stop. When it is necessary to recycle socks that are not up to density, the motor drives the guide plate 83 to rotate towards the top of the socks that are not up to size recycling chamber 81, so the guide plate 83 will block the socks that are not up to density recycling chamber 82 from above, and the socks that are not up to density recycling chamber 82 will be discharged along the guide plate 83.
[0075] When the first light-transmitting panel 22 and the second light-transmitting panel 42 are engaged, the socks can no longer be adjusted. Therefore, before engagement, the socks must be in a completely flat state to ensure the detection accuracy of the socks. To solve the above problem, this embodiment provides the following design:
[0076] like Figures 2-4 As shown, a pressing assembly 3 is installed on the discharge end face of the second air jet plate 12. The pressing assembly 3 includes a first flip motor 31, a fixed plate 32, a longitudinal tube 33, and a pressing member 34. One end of the fixed plate 32 is rotatably installed on the end of the second air jet plate 12. The side of the fixed plate 32 is connected to the first flip motor 31. The first flip motor 31 is fixedly connected to the second air jet plate 12. The other side wall of the fixed plate 32 is vertically provided with a longitudinal tube 33. The pressing member 34 is installed inside the longitudinal tube 33. The pressing member 34 is used to press down and position the sock opening of each sock. The gas sprayed from the second air jet plate 12 can blow the socks open.
[0077] During the sock placement stage, the first flip motor 31 drives the fixing plate 32 and the longitudinal tube 33 to rotate above the first light-transmitting panel 22. The pressing member 34 can then press down and position each sock opening. In this way, the second air jet hole 121 vents, and high-pressure gas is discharged into the corresponding sock opening, so that the sock is blown out without any bending. After the sock is flattened, the exhaust stops, and the first flip motor 31 drives the longitudinal tube 33 to rotate outward to the outer side, so that the second light-transmitting panel 42 flattens and presses down the sock.
[0078] During the air jet leveling and material feeding at the second air jet hole 121, to prevent the ejected gas from spreading to the sides of the socks and to ensure the targeted air jetting, this embodiment provides the following structural design:
[0079] like Figures 2-4 As shown, the bottom surface of the longitudinal tube 33 is vertically spaced with multiple transversely distributed partitions 35. The area between two partitions 35 is the sock placement area, and the multiple partitions 35 are used to separate each second air jet hole 121.
[0080] When the longitudinal tube 33 is rotated to the working state, one end of each baffle 35 will abut against the boundary line of each block of the second jet plate 12. In this way, the ejected gas can be sealed and guided to avoid gas diffusion, resulting in better flatness and material feeding effect, and preventing qualified socks from being blown off-center.
[0081] To enable the pressing component 3 to achieve the above functions, the pressing member 34 needs to extend outwards when flattening the sock opening and retract during material feeding to ensure that defective socks can be discharged. Therefore, this embodiment provides the following structural design:
[0082] like Figures 2-4As shown, the lower pressing component 34 includes a rotating rod 341, a second flipping motor 342, and a pressure plate 343. The rotating rod 341 is rotatably mounted inside the longitudinal tube 33. Multiple sets of pressure plates 343 are vertically arranged on the outer wall of the rotating rod 341. A slot 331 for the pressure plate 343 to move is opened on the longitudinal tube 33. The second flipping motor 342 is provided at the end of the rotating rod 341.
[0083] When flattening socks, the second flip motor 342 drives the rotating rod 341 to rotate downwards, causing the pressure plate 343 to press down on the sock opening; when blowing out substandard socks, the second flip motor 342 drives the rotating rod 341 to rotate upwards, causing the pressure plate 343 to retract; thus adapting to the needs of the two actions, the mode switching is flexible.
[0084] Specifically, the detection method used by the low color gamut detection device for socks includes the following steps:
[0085] S1. Socks placement:
[0086] Place n socks flat on the light source platform 2, with each sock arranged horizontally and the n socks arranged vertically. The socks can be placed automatically by means of negative pressure, conveyor rollers, conveyor belts, etc., or they can be placed manually.
[0087] S2, Socks are flat:
[0088] The pressing component 3 rotates onto the socks and presses down to position each sock;
[0089] Specifically, the first flipping motor 31 drives the longitudinal tube 33 to rotate above the sock, and each pressure plate 343 presses down to position the sock opening to prevent the sock from being blown away during subsequent flattening;
[0090] The second jet plate 12 ejects a high-pressure airflow, which fills the sock and makes the sock fully expand.
[0091] Specifically, the high-pressure gas ejected from the second jet hole 121 directly enters the corresponding sock, and the airflow continues to flow forward through the area between each pressure plate 343, so that the sock is fully stretched.
[0092] After leveling is completed, the pressing component 3 is rotated to the outside of the second jet plate 12;
[0093] Specifically, the first flipping motor 31 drives the longitudinal tube 33 to rotate outward, and the second flipping motor 342 drives the rotating rod 341 to rotate, causing the pressure plate 343 to retract upward;
[0094] S3. Appearance Graphics Acquisition:
[0095] The dark panel 41 moves downward until the second light-transmitting panel 42 is attached to the sock;
[0096] When the light source of the light source platform 2 is turned on, part of the light shines through the first light-transmitting panel 22 onto the second light-transmitting panel 42, and the other part is blocked by the sock. At this time, a black sock-covered area and a white light-transmitting area are formed on the second light-transmitting panel 42.
[0097] Industrial camera 43 captures images of the camera panel.
[0098] S4. Visual Inspection:
[0099] The industrial camera 43 outputs the panel image to the industrial host computer;
[0100] The industrial host extracts n sock-covering graphics from the panel graphics according to the processing rules;
[0101] The industrial host analyzes the occlusion pattern of the socks according to the screening rules and filters out unqualified socks.
[0102] To further achieve efficient extraction of sock-occluded graphics, the following extraction rules are proposed:
[0103] The extraction rules are as follows:
[0104] Identify the white areas in the panel graphic;
[0105] Remove the white area from the panel graphic, leaving n sock-covered graphics;
[0106] Number the n sock-covered shapes sequentially;
[0107] The n socks obscuring the graphic are rotated and corrected to a standard angle.
[0108] The method of removing white areas and leaving black areas to obtain the sock-covered graphic is based on the fact that the parameters of the first light-transmitting panel 22, the second light-transmitting panel 42, and the light source are all constant. Therefore, the color and brightness parameters of the white areas are also constant. Thus, the white areas have the highest versatility, higher recognition accuracy, and are easier to recognize. Once the program for removing white areas is set, no further changes are needed. As for the black areas, since the density of the socks varies, their brightness varies. Therefore, there may be some recognition omissions during automatic selection. This rule can solve the above problems.
[0109] The purpose of labeling is to facilitate subsequent data pairing and sequential data processing, making it easier to determine the program's runtime.
[0110] Rotation correction makes comparisons faster; simply compare the outline coordinates of the sock-covered graphic in the photograph with the outline coordinates of the standard graphic.
[0111] To further automate the sock sorting process and make the automatic sorting program simpler and more efficient, the following sorting rules are provided:
[0112] The filtering rules are as follows:
[0113] a. Determine whether the outline dimensions of the shape obscured by the sock are the same as the outline dimensions of the standard shape:
[0114] If yes, mark the socks as size-compliant and proceed to step b; when the size is compliant, it is also necessary to determine whether the density of the socks is compliant. Only when both are compliant is the appearance compliant.
[0115] No, then the sock is marked as a size defective sock, and the industrial host assigns a size defective discharge procedure to the sock; proceed to step c; when the size is defective, the sock is judged to be size defective, and there is no need to evaluate the density, because size priority is higher than density priority; the size defective discharge procedure is as follows: the guide plate remains vertical and does not move; the solenoid valve of the second air jet hole 121 opposite to the sock is opened; the first air jet plate 11 does not move.
[0116] b. Determine whether the brightness of the image obscured by the socks is the same as the brightness of the standard image:
[0117] If yes, mark the socks as having acceptable density and proceed to step c;
[0118] No, then the sock is marked as a non-compliant sock in terms of density, and the industrial host assigns a non-compliant discharge program to the sock; proceed to step c; the non-compliant discharge program is as follows: the guide plate rotates to an inclined state; the solenoid valve of the second air jet hole 121 opposite to the sock opens; the first air jet plate 11 does not move.
[0119] c. Final discharge procedure, determining if there are any defective socks: During the screening and discharge process, defective socks are discharged first, followed by qualified socks. Therefore, it is necessary to first determine if there are any defective socks.
[0120] Yes, the industrial host drives the pressing component 3 to switch to the unloading state, and outputs the unqualified unloading program in sequence according to the sock serial number;
[0121] Specifically, when the pressing component 3 is activated to the feeding state, each partition 35 rotates to the sides of each sock, the pressure plate 343 rotates upward and retracts, and then unqualified socks are discharged in sequence according to the sock number. After the unqualified socks are discharged, the pressing component 3 rotates to reset, and then the industrial host outputs the qualified discharge program. The qualified discharge program is as follows: the first air jet plate 11 is working, and the second air jet plate 12 is not working.
[0122] If not, the industrial host will directly output a qualified material discharge program.
[0123] The method of removing white areas and leaving black areas to obtain the sock-covered pattern is based on the fact that the parameters of the first light-transmitting panel 22, the second light-transmitting panel 42, and the lamp tube 21 are all constant. Therefore, the color and brightness parameters of the white areas are also constant. Thus, the white areas have the highest versatility, higher recognition accuracy, and are easier to recognize. Once the program for removing white areas is set, no further changes are needed. As for the black areas, since the density of the socks varies, their brightness varies. Therefore, there may be some recognition omissions during automatic selection. This rule can solve the above problems.
[0124] The purpose of labeling is to facilitate subsequent data pairing and sequential data processing, making it easier to determine the program's runtime.
[0125] Rotation correction makes comparisons faster; simply compare the outline coordinates of the sock-covered graphic in the photograph with the outline coordinates of the standard graphic.
[0126] To further automate the sock sorting process and make the automatic sorting program simpler and more efficient, the following sorting rules are provided:
[0127] The filtering rules are as follows:
[0128] a. Determine whether the outline dimensions of the shape obscured by the sock are the same as the outline dimensions of the standard shape:
[0129] If yes, mark the socks as size-compliant and proceed to step b; when the size is compliant, it is also necessary to determine whether the density of the socks is compliant. Only when both are compliant is the appearance compliant.
[0130] No, then the sock is marked as a size defective sock, and the industrial host assigns a size defective discharge procedure to the sock; proceed to step c; when the size is defective, the sock is judged to be size defective, and there is no need to evaluate the density, because size priority is higher than density priority; the size defective discharge procedure is as follows: the guide plate remains vertical and does not move; the solenoid valve connected to the second air jet hole 121 in the area opposite to the sock is opened; the first air jet plate 11 does not move.
[0131] b. Determine whether the brightness of the image obscured by the socks is the same as the brightness of the standard image:
[0132] If yes, mark the socks as having acceptable density and proceed to step c;
[0133] No, then the sock is marked as a non-compliant sock in terms of density, and the industrial host assigns a non-compliant discharge program to the sock; proceed to step c; the non-compliant discharge program is as follows: the guide plate rotates to an inclined state; the solenoid valve connected to the second air hole 121 in the area opposite to the sock opens; the first air plate 11 does not move.
[0134] c. Final discharge procedure, determining if there are any defective socks: During the screening and discharge process, defective socks are discharged first, followed by qualified socks. Therefore, it is necessary to first determine if there are any defective socks.
[0135] Yes, the industrial host drives the pressing component 3 to switch to the unloading state, and outputs the unqualified unloading program in sequence according to the sock serial number;
[0136] Specifically, when the pressing component 3 is activated to the feeding state, each partition 35 rotates to the sides of each sock, the pressure plate 343 rotates upward and retracts, and then unqualified socks are discharged in sequence according to the sock number. After the unqualified socks are discharged, the pressing component 3 rotates to reset, and then the industrial host outputs the qualified discharge program. The qualified discharge program is as follows: the first air jet plate 11 is working, and the second air jet plate 12 is not working.
[0137] If not, the industrial host will directly output a qualified material discharge program.
[0138] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0139] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A hosiery appearance low color gamut detection apparatus, characterized by: The main box body is embedded with a light source platform on the top surface, and a screening and discharging assembly is installed on the side edge of the main box body; The light source platform includes a lamp tube and a first light-transmitting panel, the first light-transmitting panel is embedded at the opening of the top of the main box body, and a plurality of lamp tubes are installed in the interior of the main box body and arranged at the bottom of the first light-transmitting panel; A liftable and movable collecting assembly is installed directly above the light source platform; the collecting assembly includes a dark cover, a second light-transmitting panel and an industrial camera, the dark cover has a narrow upper portion and a wide lower portion, the industrial camera is installed at the interior top of the dark cover, the bottom opening of the dark cover is embedded with the second light-transmitting panel, the industrial camera is used to shoot the panel pattern of the second light-transmitting panel, the panel pattern includes a black sock shielding area and a white light-transmitting area, and the signal output end of the industrial camera is connected to an industrial host computer; The industrial host computer extracts each sock shielding pattern in the panel pattern, and compares the size parameter and the brightness parameter of the sock shielding pattern with standard parameters; The screening and discharging assembly includes a first air jet plate and a second air jet plate; A first air jet plate is arranged on one longitudinal side of the surface of the main box body, and a discharging position is arranged on the other longitudinal side of the surface of the main box body, a discharging conveying assembly is installed at the discharging position, and a plurality of first air jet holes are arranged in the inner wall of the first air jet plate; A second air jet plate is arranged on one transverse side of the surface of the main box body, a feeding position is arranged on the other transverse side of the surface of the main box body, an unqualified product collecting box is installed on the other transverse side of the main box body, and a plurality of second air jet holes are arranged in the inner wall of the second air jet plate; n socks are longitudinally spaced apart and arranged on the surface of the light source platform, and each sock is arranged in a transverse direction.
2. The hosiery appearance low color gamut detection apparatus of claim 1, wherein: The interior of the unqualified product collecting box is provided with a size-unqualified recycling cavity and a tightness-unqualified recycling cavity which are independent of each other, the size-unqualified recycling cavity is arranged close to the main box body, and a reversible guide plate is arranged at the top end of the size-unqualified recycling cavity.
3. The hosiery appearance low color gamut detection apparatus of claim 2, wherein: A pressing assembly is installed on the discharging end surface of the second air jet plate, the pressing assembly includes a first reversing motor, a fixed plate, a vertical pipe and a pressing piece, one end of the fixed plate is rotatably installed on the end of the second air jet plate, the side of the fixed plate is connected with the first reversing motor, the first reversing motor is fixedly connected with the second air jet plate, the other end of the fixed plate is vertically provided with the vertical pipe, the vertical pipe is internally provided with the pressing piece, the pressing piece is used to press and position the sock top of each sock, and the gas jetted from the second air jet plate can blow and spread the socks.
4. The hosiery appearance low color gamut detection apparatus of claim 3, wherein: A plurality of transversely distributed partition plates are vertically and spaced apart on the bottom surface of the vertical pipe, the area between two partition plates is a sock placing area, and the plurality of partition plates are used to separate the plurality of second air jet holes.
5. The hosiery appearance low color gamut detection apparatus of claim 4, wherein: The pressing piece includes a rotating rod, a second reversing motor and a pressing plate, the rotating rod is coaxially arranged and rotatably installed in the vertical pipe, a plurality of groups of pressing plates are vertically arranged on the outer wall of the rotating rod, a slot is arranged on the vertical pipe for the movement of the pressing plates, and the second reversing motor is arranged at the end of the rotating rod.
6. A method for detecting low color gamut in hosiery appearance, characterized by: The detection device of the above claim 5 is applied, and the detection method includes the following steps: S1, sock arrangement: n socks are arranged on the light source platform in a transverse direction and n socks are arranged in a longitudinal direction; S2, sock flattening: The pressing assembly rotates to the socks and presses each sock in position; The second air jet plate blows high pressure air into the socks, which makes the socks fully stretch out; After the socks are flattened, the pressing assembly rotates to the outside of the second air jet plate; S3, appearance pattern collection: The dark cover moves downward until the second light-transmitting panel is attached to the socks; The light source of the light source platform is started, and part of the light is transmitted to the second light-transmitting panel through the first light-transmitting panel, and the other part is blocked by the socks. At this time, the second light-transmitting panel forms a black sock blocking area and a white light-transmitting area; The industrial camera captures the panel pattern; S4, appearance pattern detection: The industrial camera transmits the panel pattern to the industrial host; The industrial host extracts n sock blocking patterns from the panel pattern according to the processing rule; The industrial host analyzes the sock blocking patterns according to the screening rule and screens out unqualified socks.
7. The hosiery appearance low color gamut detection method of claim 6, wherein: The extraction rule is: Identify the white blocks in the panel pattern; Remove the white blocks from the panel pattern, leaving n sock blocking patterns; Label the n sock blocking patterns in turn; Rotate the n sock blocking patterns to the standard angle.
8. The hosiery appearance low color gamut detection method of claim 7, wherein: The screening rule is: a. Determine whether the contour size of the sock blocking pattern is the same as the contour size of the standard pattern: Yes, mark the sock as a size qualified sock and go to step b; No, mark the sock as a size unqualified sock, and the industrial host assigns a size unqualified discharge program to the sock; Go to step c; b. Determine whether the brightness of the sock blocking pattern is the same as the brightness of the standard pattern: Yes, mark the sock as a density qualified sock and go to step c; No, mark the sock as a density unqualified sock, and the industrial host assigns a density unqualified discharge program to the sock; go to step c; c. Final discharge program, determine whether there are unqualified socks: Yes, the industrial host drives the pressing assembly to switch to the discharging state, and the industrial host outputs the unqualified discharge program in order according to the sock number. After the unqualified socks are discharged, the industrial host executes the qualified discharge program; No, the industrial host directly executes the qualified discharge program.
Citation Information
Patent Citations
Glass lens defect detecting device and method
CN110261410A
Battery cell tab detection device and method thereof
CN111750788A
Online detection device for knitted socks
CN112808633A
Online visual detection device for measuring distance from edge of lithium battery pole piece to edge of tab
CN210207697U