Visual inspection-based school uniform defect inspection device and inspection method
By designing a flipping and turning mechanism, combined with airbag fixation and camera lighting, all-round defect detection of school uniform pants was achieved, solving the problems of inaccurate detection and low efficiency of existing devices, and improving the integrity and flexibility of detection.
Patent Information
- Application Number
- CN202511169366.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-20
- Publication Date
- 2025-11-18
AI Technical Summary
Existing vision-based inspection devices for school uniform pants cannot flexibly adjust the support and fixation of the pants, resulting in inaccurate detection. Furthermore, they cannot automatically flip the front and back of the pants or inspect the inner core, which increases the labor intensity of operators and reduces inspection efficiency.
A vision-based inspection device for school uniform defects was designed, comprising a flipping mechanism and a turning mechanism. A drive component drives a support component to flip and rotate the front and back of the trousers. The turning mechanism then flips the trousers inside out after inspection, enabling omnidirectional inspection. The device uses airbags and airbag inflation to secure the trouser legs, along with a camera and lighting for inspection.
It enables comprehensive defect detection of school uniform pants, improves the integrity and accuracy of the inspection, reduces the displacement and damage of pants during the inspection process, reduces the labor intensity of operators, and improves the inspection efficiency.
Smart Images

Figure CN120971426A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of inspection devices, and relates to a school uniform defect inspection device and method based on visual inspection. BACKGROUND
[0002] In the production process of school uniforms, strict detection of the quality of school uniforms is a key link to ensure that products meet standards and meet consumer demand. As an important part of school uniforms, trousers may have various defects such as holes, stains, thread ends, and uneven sewing on the surface and inner core. These defects can seriously affect the appearance and quality of school uniforms, so it is necessary to conduct a comprehensive and detailed defect inspection of trousers.
[0003] With the continuous development of science and technology, visual detection technology has been widely used in the field of industrial detection. A defect inspection device based on visual detection obtains images of trousers through a camera and analyzes the images using image processing algorithms to identify defects on the surface of the trousers. This detection method has the advantages of high efficiency, accuracy, and strong repeatability, and can effectively overcome the shortcomings of manual inspection.
[0004] The existing defect inspection device for trousers based on visual detection still has some limitations in structure and function. In terms of trouser support and fixation, the support structure of some devices is relatively simple and cannot be flexibly adjusted according to the different sizes and shapes of trousers, which can cause the trousers to shift or deform during the detection process, affecting the accuracy of the detection. For example, some devices only use simple clamps or hooks to fix the trousers, which can easily damage the trousers and cannot guarantee the flatness of the trousers during the detection process. In addition, the trousers can easily wrinkle during the detection process, affecting the detection effect.
[0005] In terms of trouser turnover detection, most existing devices can only detect one side of the trousers and cannot automatically turn over the front and back of the trousers and detect the inner core. If the other side or the inner core of the trousers needs to be detected, the trousers need to be manually turned over, which not only increases the labor intensity of the operators but also reduces the detection efficiency.
[0006] Therefore, we propose a school uniform defect inspection device and method based on visual inspection to solve the above-mentioned problems. SUMMARY
[0007] Therefore, the present application provides a school uniform defect inspection device and method based on visual inspection to solve the above-mentioned problems.
[0008] To achieve the above-mentioned purpose, the present application provides the following technical solution: a school uniform defect inspection device based on visual inspection, comprising: a base; a housing fixedly arranged on the top of the base; The detection component, housed within the housing, includes a camera and a light source, used to illuminate the pants with the light source and take photos with the camera to detect defects; An extension platform is fixedly installed on one side of the base; A movable frame is movably mounted on the base and the extension platform; A flipping mechanism, mounted on the movable frame, includes a drive assembly and a support assembly. The support assembly supports the pants, and the drive assembly drives the support assembly to flip to detect the front and back of the pants. A flipping mechanism, mounted on the movable frame and cooperating with the support assembly, is used to flip the pants over after inspection to inspect the inner core of the pants. When the support component supports the pants, the camera and the light take pictures of the surface of the pants for detection. The drive component drives the support component to flip and then detects the other side of the pants. The flipping mechanism flips the pants over and then detects the inner core of the pants.
[0009] As a further improvement to the above technical solution: The support assembly includes a No. I flip frame, a fixed base fixedly installed inside the No. I flip frame, a support rod adjustablely installed on the top of the fixed base for supporting the trouser leg, a clamp fixedly sleeved on the other end of the support rod, a groove opened on one side of the clamp, a No. I airbag and a No. II airbag fixedly installed in the groove and connected to an external air source for expanding and fixing the trouser leg, and the clamp is tubular with one end sealed near the fixed base and the other end open.
[0010] The top of the fixed base has two rotating shafts rotatably mounted on bearings. The support rods are fixedly sleeved on the corresponding rotating shafts. Torsion springs are sleeved on the bottom of the rotating shafts, with both ends abutting against the outer wall of the rotating shaft and one side of the fixed base, respectively. Airbag III is located on the top of the fixed base between the two support rods and is connected to an external air source. It is used to expand and drive the two support rods to expand and support the trouser legs.
[0011] The drive assembly includes two fixed frames fixedly mounted on one side of the movable frame, a drive rod rotatably mounted between the two fixed frames via bearings, a No. IV motor fixedly mounted on one side of one of the fixed frames with its output end fixedly connected to the drive rod, the drive rod being drivenly connected to the No. I tilting frame, two support seats fixedly mounted inside the movable frame, and the No. I tilting frame rotatably mounted on the two support seats.
[0012] The material turning mechanism includes a No. I rotating seat movably disposed within the movable frame, a No. II turning frame rotatably disposed within the No. I rotating seat via bearings, and multiple fixing clamps movably disposed within the No. II turning frame for fixing the waistband. The No. II turning frame is coaxial with the No. I turning frame. A connecting frame is fixedly disposed on the top of the No. I rotating seat. A rotating ring is rotatably disposed through one side of the connecting frame and slidably sleeved on the drive rod. A No. II synchronous pulley and a No. II synchronous belt drively connect the rotating ring to the No. II turning frame and the drive rod to the No. I turning frame.
[0013] An elliptical ring is fixedly installed inside the No. II flipping frame. Multiple guide rods are slidably installed through the outer wall of the elliptical ring and correspond to the fixing clamp. The No. II rotating seat is fixedly installed at the bottom end of the guide rod. The fixing clamp is rotatably installed inside the No. II rotating seat. A spring is sleeved on the outer wall of the guide rod, and its two ends abut against the outer wall of the elliptical ring and the top end of the guide rod, respectively.
[0014] Two sets of No. I synchronous pulleys are rotatably installed inside the movable frame. Each set of No. I synchronous pulleys is connected to a No. I synchronous belt. The No. III motor is fixedly installed inside the movable frame, and its output end is fixedly connected to one of the No. I synchronous pulleys. The No. I rotating seat is fixedly installed on top of the two No. I synchronous belts.
[0015] The detection assembly also includes two sets of support frames fixedly installed inside the housing, a support beam fixedly installed on the top of the two sets of support frames, a sliding seat slidably installed on one side of the support beam, a connecting seat fixedly installed on one side of the sliding seat, the camera connected to one side of the connecting seat via a mounting seat, the lighting lamp fixedly installed on one side of the bottom end of the connecting seat, a No. 1 motor installed on one side of the support beam, a screw rotatably installed inside the support beam, the sliding seat threaded onto the screw, and the output end of the No. 1 motor connected to the screw.
[0016] The sliding block is slidably mounted on the extension platform and the base, the lead screw is rotatably mounted on the base and the extension platform, the No. II motor is fixedly mounted on one side of the base and its output end is fixedly connected to the lead screw, the ball nut inside the sliding block is slidably sleeved on the lead screw, and the moving frame is fixedly mounted on the sliding block.
[0017] A method for inspecting defects in school uniforms based on visual detection, using the aforementioned visual detection-based school uniform defect inspection device, includes the following steps: S1. Fix the pants to the support assembly and the turning mechanism, use airbags No. 1 and No. 2 to inflate and fix the pant legs, and use the fixing clips to fix the waistband. S2. Turn on the light to illuminate the pants, and the camera takes pictures to detect defects on the surface of the pants; S3. Drive the support component to flip, change the front and back of the pants, and take another photo for inspection; S4. The flipping mechanism flips the pants so that the inner core faces outward. It uses clamps to inflate the pants into the legs and takes photos to inspect for defects in the inner core. During the inspection process, the mobile frame was moved to adjust the position of the pants, and the camera and lighting were moved to expand the inspection range.
[0018] The beneficial effects of this invention are as follows: 1. This invention discloses a vision-based defect inspection device for school uniforms. By incorporating a flipping mechanism and a turning mechanism, it achieves comprehensive defect detection of school uniform trousers. The driving component of the flipping mechanism can drive the support component to flip, allowing easy switching between the front and back of the trousers for inspection, avoiding missed defects due to inspection of only one side. The turning mechanism, in conjunction with the support component, flips the trousers over after inspection to inspect the inner core, ensuring that all parts of the trousers are thoroughly inspected. This greatly improves the completeness and accuracy of the inspection, effectively preventing defective school uniforms from entering the market and ensuring the quality of school uniforms.
[0019] 2. The visual inspection device for school uniform defects disclosed in this invention uses a camera and a lighting lamp in the detection component to work together. The lighting lamp provides uniform illumination to the pants, providing good lighting conditions for the camera to take pictures and detect defects. This allows the camera to clearly capture minute defects on the surface of the pants, such as holes, stains, and loose threads. At the same time, the coordinated operation of components such as the support frame, support beam, sliding seat, screw, and motor I allows the camera and lighting lamp to move flexibly along the length of the support beam. The detection position can be adjusted according to different positions and sizes of the pants, further expanding the detection range and improving the flexibility and adaptability of the detection.
[0020] 3. The visual inspection device for school uniform defects disclosed in this invention features an adjustable support rod mounted on a fixed base within the No. I flipping frame. The clamp at the other end of the support rod secures the trouser leg by inflating the No. I and No. II airbags. This design is not only secure but also minimizes damage to the trouser leg. The tubular design of the clamp, with one sealed end and one open end, facilitates inflation of the trouser leg before and after flipping, causing the trousers to expand for inspection. Furthermore, the expansion of the No. III airbag drives the two support rods to expand and support the trouser leg. This can be adjusted according to the actual shape and size of the trouser leg, providing more stable support and ensuring that the trousers do not shift during inspection, thus guaranteeing the accuracy of the inspection.
[0021] Other advantages, objectives, and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination, or may be learned from practice of the invention. The objectives and other advantages of the invention can be realized and obtained through the following description. Attached Figure Description
[0022] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein: Figure 1 This is a three-dimensional structural diagram of a vision-based school uniform defect inspection device according to the present invention. Figure 2 This is a schematic diagram of the structure of a vision-based school uniform defect inspection device of the present invention with the outer shell removed; Figure 3 This is a schematic diagram of the camera bracket structure of a vision-based school uniform defect inspection device according to the present invention. Figure 4 This is a schematic diagram of the movable frame structure of a vision-based school uniform defect inspection device according to the present invention; Figure 5 This is a schematic diagram of the flipping frame structure of a vision-based school uniform defect inspection device according to the present invention; Figure 6 This is a schematic diagram of the support rod structure of a vision-based school uniform defect inspection device according to the present invention; Figure 7 This is a schematic diagram of the fixing clamp and flipping frame structure of a school uniform defect inspection device based on visual inspection according to the present invention.
[0023] Reference numerals: 1. Base; 2. Shell; 3. Extension platform; 4. Moving frame; 5. Support frame; 6. Support beam; 7. Mounting seat; 8. Camera; 9. Lighting lamp; 10. Motor I; 11. Motor II; 12. Lead screw; 13. Sliding block; 14. Sliding seat; 15. Connecting seat; 16. Synchronous pulley I; 17. Motor III; 18. Synchronous belt I; 19. Tilting frame I; 20. Tilting frame II; 21. Support seat; 22. Fixing 23. Support rod; 24. Clamp; 25. Groove; 26. Airbag I; 27. Airbag II; 28. Rotating seat I; 29. Connecting frame; 30. Drive rod; 31. Rotating ring; 32. Synchronous pulley II; 33. Synchronous belt II; 34. Motor IV; 35. Fixing frame; 36. Rotating shaft; 37. Torsion spring; 38. Elliptical ring; 39. Rotating seat II; 40. Fixing clamp; 41. Guide rod; 42. Spring; 43. Airbag III. Detailed Implementation
[0024] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0025] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual pictures. They should not be construed as limiting the invention. To better illustrate the embodiments of the invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0026] In the accompanying drawings of the embodiments of the present invention, the same or similar reference numerals correspond to the same or similar components. In the description of the present invention, it should be understood that if terms such as "upper," "lower," "left," "right," "front," and "rear" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting the present invention. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.
[0027] like Figures 1-7 As shown, a vision-based inspection device for school uniform defects is presented. This device mainly consists of a base 1, a housing 2, an extension platform 3, a moving frame 4, inspection components, a flipping mechanism, and a material-turning mechanism, which work together to achieve comprehensive defect detection of school uniform trousers. Precise mechanical connections and transmission relationships between the components ensure a stable, accurate, and efficient inspection process.
[0028] The base 1, serving as the fundamental support structure of the entire device, is made of high-strength metal to ensure sufficient stability and load-bearing capacity during long-term use, preventing deformation. The outer shell 2, also made of metal, is bolted to the top of the base 1. Its internal space is rationally planned to accommodate the detection components. The surface of the outer shell 2 is painted, which not only enhances its appearance but also provides rust and corrosion protection, extending the device's service life. It also includes an access door for maintenance.
[0029] The detection component is one of the core parts of the device, responsible for acquiring image information of the trouser surface for subsequent defect analysis. The detection component includes a camera 8 and a lighting lamp 9. The camera 8 is a high-resolution industrial camera with a resolution of over 5 megapixels, capable of clearly capturing minute defects on the trouser surface. The camera 8 is connected to one side of the connector 15 via a mounting bracket 7. The mounting bracket 7 features an adjustable design; by rotating and tightening the screws, the shooting angle and height of the camera 8 can be easily adjusted to ensure optimal image quality.
[0030] The lighting lamp 9 is fixed to one side of the bottom of the connecting base 15. It is a high-brightness LED lamp with adjustable brightness to meet the lighting needs of different testing environments. During the testing process, the lighting lamp 9 provides uniform illumination to the pants placed on the device, and the camera 8 takes pictures of the pants for testing. By analyzing the captured images, image processing algorithms can accurately detect defects on the surface of the pants, such as holes, stains, and loose threads.
[0031] The extension platform 3 is fixedly mounted on one side of the base 1, and is also made of high-strength metal material. It is fixed to the base 1 by welding or bolting to ensure a firm connection. A sliding block 13 is slidably mounted on both the base 1 and the extension platform 3. A lead screw 12 is rotatably mounted on both the base 1 and the extension platform 3. The lead screw 12 is a high-precision trapezoidal lead screw with a self-locking function, which can ensure that the sliding block 13 is stable in position when it stops moving.
[0032] A No. II motor 11 is fixedly installed on one side of the base 1. The No. II motor 11 is also a stepper motor, and its output end is fixedly connected to the lead screw 12. The ball nut in the sliding block 13 is slidably sleeved on the lead screw 12. When the No. II motor 11 starts, it drives the lead screw 12 to rotate. Since the sliding block 13 cooperates with the lead screw 12 through the ball nut, and the sliding block 13 is restricted by the base 1 and the extension platform 3 to only move along the length direction of the lead screw 12, the sliding block 13 will make linear motion on the base 1 and the extension platform 3.
[0033] The movable frame 4 is fixedly connected to the sliding block 13 by bolts. As the sliding block 13 moves, the movable frame 4 will also move accordingly, thereby adjusting the position of the movable frame 4 so as to cooperate with the camera 8 to detect different positions of the pants.
[0034] The flipping mechanism is set on the movable frame 4 and mainly includes a drive component and a support component. Its function is to flip the pants so as to conduct a comprehensive inspection of the front and back of the pants.
[0035] The support assembly includes a No. I flipping frame 19 housed within the movable frame 4. The No. I flipping frame 19 employs a ring-shaped metal frame structure, providing sufficient strength and rigidity. A fixed base 22 is fixedly installed inside the No. I flipping frame 19. Two rotating shafts 36 are rotatably mounted on the top of the fixed base 22 via bearings. A support rod 23 is fixedly sleeved on each rotating shaft 36, providing support for the trouser legs. The support rod 23 is made of lightweight, high-strength aluminum alloy to reduce overall weight while ensuring its supporting capacity.
[0036] The support rod 23 is tubular, sealed at one end near the fixing base 22, and open at the other end, allowing gas to pass through and inflate the trousers. A clamp 24 is fixedly fitted onto the other end of the support rod 23. A groove 25 is formed on one side of the clamp 24, within which airbags I 26 and II 27 are fixedly installed. Both airbags I 26 and II 27 are connected to an external air source, which is an air compressor connected to them via air pipes. When it is necessary to secure the trouser legs, the air compressor valve is opened, inflating airbags I 26 and II 27, causing them to expand. The inflated airbags I 26 and II 27 then clamp and secure the trouser legs. Airbags I 26 and II 27 are made of highly elastic rubber, providing excellent sealing and wear resistance.
[0037] The flipping mechanism is set on the movable frame 4 and works in conjunction with the support assembly. Its main function is to flip the pants over after inspection in order to check whether there are any defects in the inner core of the pants.
[0038] The flipping mechanism includes a No. I rotating seat 28 movably mounted within the movable frame 4. A No. II flipping frame 20 is rotatably mounted within the No. I rotating seat 28 via bearings. The No. II flipping frame 20 is coaxial with the No. I flipping frame 19, ensuring coordinated movement during the flipping process. Multiple fixing clips 40 (with knurled silicone pads (Shore hardness 40A)) are movably mounted within the No. II flipping frame 20 for securing the waistband. These clips employ a spring clip structure, using spring force to clamp and secure the waistband. The spring force is adjusted to ensure secure clamping without damaging the pants.
[0039] An elliptical ring 38 is fixedly installed inside the No. II flipping frame 20. The elliptical ring 38 is made of metal, and the ratio of its major and minor axes has been calculated to meet the requirements of the trousers flipping action. A guide rod 41 corresponding to the fixing clip 40 is slidably installed through the outer wall of the elliptical ring 38. A No. II rotating seat 39 is fixedly installed at the bottom end of the guide rod 41. The fixing clip 40 is rotatably installed in the No. II rotating seat 39, allowing the fixing clip 40 to rotate freely within a certain range to adapt to the angle changes when the trousers are flipped. A spring 42 is sleeved on the outer wall of the guide rod 41. The two ends of the spring 42 abut against the outer wall of the elliptical ring 38 and the top of the guide rod 41, respectively. In the natural state, the elastic force of the spring 42 keeps the guide rod 41 in a certain position, and the fixing clip 40 is in a suitable state to fix the waistband of the trousers.
[0040] Two sets of No. I synchronous pulleys 16 are rotatably mounted inside the movable frame 4. Each set of No. I synchronous pulleys 16 is connected to a No. I synchronous belt 18. The No. I synchronous pulleys 16 and No. I synchronous belts 18 are selected from standard industrial transmission components, which have good wear resistance and transmission stability. A No. III motor 17 is fixedly installed inside the movable frame 4. The No. III motor 17 is a stepper motor, and its output end is fixedly connected to one of the No. I synchronous pulleys 16. The No. I rotating seat 28 is fixedly installed on the top of the two No. I synchronous belts 18. When the No. III motor 17 starts, it drives the No. I synchronous pulley 16 to rotate. The No. I synchronous pulley 16 drives the elliptical ring 38 to move inside the movable frame 4 through the No. I synchronous belt 18. The moving distance can be precisely controlled according to the length of the pants. During the movement, it can turn the pants inside out, so that the inner core faces outward (equivalent to the step of taking off pants).
[0041] In one embodiment: Refer to Figures 1-7 A visual inspection device for inspecting defects in school uniforms is described. A connecting seat 15 is fixed to a sliding seat 14, which is slidably positioned on one side of a support beam 6. The support beam 6 is fixed within the outer casing 2 by two sets of support frames 5, providing good stability. A No. 1 motor 10, a stepper motor, is located on one side of the support beam 6, characterized by high precision and convenient control. A high-precision ball screw 12 is rotatably mounted inside the support beam 6, offering high transmission efficiency, low friction, and high positioning accuracy. The sliding seat 14 is threaded onto the screw. When the No. 1 motor 10 starts, it drives the screw to rotate. Due to the threaded engagement between the sliding seat 14 and the screw, and because the sliding seat 14 is restricted to moving only along the length of the support beam 6, it moves linearly along the support beam 6, thereby causing the connecting seat 15, camera 8, and lighting lamp 9 to move synchronously.
[0042] A torsion spring 37 is fitted at the bottom of the pivot 36. The two ends of the torsion spring 37 abut against the outer wall of the pivot 36 and one side of the fixing base 22, respectively. In its natural state, the torsion spring 37 keeps the support rod 23 at a certain angle, corresponding to the angle between the trouser legs, facilitating the placement and support of the trouser legs. A No. III airbag 43 is located at the top of the fixing base 22, situated between the two support rods 23. The No. III airbag 43 is connected to an external air source and, similarly, to an air compressor via an air pipe. When the No. III airbag 43 is inflated, it expands, with its two ends abutting against the two support rods 23. As the No. III airbag 43 continues to expand, it drives the two support rods 23 to expand outwards, thus providing better support for the trouser legs.
[0043] The drive assembly includes two fixed brackets 35 fixedly mounted on one side of the movable frame 4. A drive rod 30 is rotatably mounted between the two fixed brackets 35 via bearings. The drive rod 30 is made of high-strength alloy steel and its surface is hardened to improve its hardness and wear resistance. A No. IV motor 34 is fixedly mounted on one side of one of the fixed brackets 35. The No. IV motor 34 is a servo motor, characterized by precise speed control and high torque. Its output end is fixedly connected to the drive rod 30. The drive rod 30 is connected to the No. I tilting frame 19 via a transmission connection. Two support seats 21 are fixedly mounted inside the movable frame 4. The No. I tilting frame 19 is rotatably mounted on the two support seats 21. The support seats 21 use rolling bearings to support the No. I tilting frame 19, reducing rotational friction. When the pants need to be flipped over to change the front and back for inspection, motor IV 34 is started. Motor IV 34 drives the drive rod 30 to rotate. The drive rod 30 drives the flipping frame I 19 to rotate on the two support seats 21 through the transmission connection, thereby causing the support assembly and the pants fixed on the support assembly to flip over. The flipping angle can be precisely controlled at 180° to realize the change of the front and back of the pants for inspection.
[0044] A connecting frame 29 is fixedly installed on the top of the No. 1 rotating seat 28. A rotating ring 31 is rotatably installed through one side of the connecting frame 29. The rotating ring 31 is slidably sleeved on the drive rod 30. The rotating ring 31 and the drive rod 30 are engaged with a key pin to ensure that the rotating ring 31 can slide and rotate smoothly on the drive rod 30. The rotating ring 31 is connected to the No. 2 tilting frame 20, and the drive rod 30 is connected to the No. 1 tilting frame 19 through the No. 2 synchronous pulley 32 and the No. 2 synchronous belt 33. The No. 2 synchronous pulley 32 and the No. 2 synchronous belt 33 are high-precision transmission components to ensure accurate and stable transmission with a transmission ratio of 1:1. When the drive rod 30 rotates, it drives the No. 1 tilting frame 19 to rotate through the No. 2 synchronous pulley 32 and the No. 2 synchronous belt 33, and also drives the No. 2 tilting frame 20 to rotate through the rotating ring 31, the No. 2 synchronous pulley 32, and the No. 2 synchronous belt 33. The No. 2 tilting frame 20 and the No. 1 tilting frame 19 rotate in the same direction and angle. After the inspection is completed, the drive rod 30 is rotated by controlling motor 34 of No. IV, which drives flipping frame 19 of No. I and flipping frame 20 to work together. The fixed clamp 40 is used to flip the pants from front to back to check whether there are defects on the front and back of the pants.
[0045] In use, the device is powered on, and the pants to be tested are placed on the two support rods 23, so that the waistband is located inside the elliptical ring 38. Multiple fixing clips 40 are clamped on the waistband in sequence to support it, and the pant legs are pulled so that the pant legs are located inside the groove 25. The external air source is activated to inflate airbags I 26 and II 27, causing them to expand. During the expansion, they can move closer together to fix the pant legs inside the groove 25. Then another air source is activated, allowing gas to enter the support rods 23 and be discharged through the through holes on the outer wall of the support rods 23. The gas can be used to inflate the pants. During the inflation process, some gas enters airbag III 43, causing airbag III 43 to expand. When airbag III 43 touches the inside of the support rods 23, it can drive the support rods 23 to rotate, and the rotating shaft 36 compresses the torsion spring 37 to prevent the pants from wrinkling.
[0046] Motor II 11 is started to drive the lead screw 12 to rotate. During the rotation of the lead screw 12, it works with the sliding block 13 to drive the moving frame 4 to move, which can move the pants into the base 1 and make one pant leg below the light 9. The light 9 is started to provide illumination, and the camera 8 is started to detect. At the same time, Motor II 11 is driven to move the pants laterally to detect one pant leg. After the detection is completed, Motor I 10 is started to move the sliding seat 14, which can simultaneously move the camera 8 and the light 9 to one side until they are above the other pant leg. Then, Motor II 11 is driven to move the pants to detect the other pant leg. After the front inspection is completed, start motor IV 34 to drive drive rod 30 to rotate. The rotation of drive rod 30 can drive flip frame I 19 and flip frame II 20 to rotate through two sets of synchronous pulleys II 32 and synchronous belt II 33 respectively. During the flipping process of flip frame I 19, the pants can be flipped by two support rods 23 until the back of the pants is facing up. Then, the inspection is carried out again by the above method. After the test is completed, the external air source is disconnected, the No. 3 airbag 43 contracts, and the support rod 23 can return to its original swing under the force of the torsion spring 37. The No. 3 motor 17 is started to drive the No. 1 synchronous belt 18 to move. During the movement of the No. 1 synchronous belt 18, the No. 1 rotating seat 28 can drive the No. 2 flipping frame 20 to move. During the movement of the No. 2 flipping frame 20, the pants can be turned inside out so that the inner core faces outward. Continue to activate the external air source, allowing gas to enter the clamp 24 and exit through the other end of the clamp 24, which can inflate the turned-over pants, causing them to expand. Then, use the above method to check the front and back of the pants' inner core until the check is complete.
[0047] Finally, it should be noted that 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 preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. A vision-based inspection device for inspecting defects in school uniforms, characterized in that, include: Base (1); The outer casing (2) is fixedly mounted on the top of the base (1); The detection component, housed within the housing (2), includes a camera (8) and a lighting lamp (9), used to illuminate the pants with the lighting lamp (9) and take pictures with the camera (8) to detect defects; An extension platform (3) is fixedly installed on one side of the base (1); The movable frame (4) is movably mounted on the base (1) and the extension platform (3); A flipping mechanism is provided on the movable frame (4), including a drive component and a support component. The support component is used to support the pants, and the drive component is used to drive the support component to flip so as to switch the front and back of the pants for detection. The flipping mechanism is set on the movable frame (4) and cooperates with the support assembly to flip the pants over after the inspection is completed in order to inspect the inner core of the pants; When the support component supports the pants, the camera (8) and the lighting lamp (9) take pictures of the surface of the pants for detection. The drive component drives the support component to flip and then detects the other side of the pants. The flipping mechanism flips the pants and then detects the inner core of the pants.
2. The visual inspection device for inspecting defects in school uniforms as described in claim 1, characterized in that, The support assembly includes a No. I flip frame (19), a fixed seat (22) fixedly installed inside the No. I flip frame (19), a support rod (23) adjustablely installed on the top of the fixed seat (22) to support the trouser legs, a clamp (24) fixedly sleeved on the other end of the support rod (23), a groove (25) opened on one side of the clamp (24), a No. I airbag (26) and a No. II airbag (27) fixedly installed in the groove (25) and connected to an external air source for expanding and fixing the trouser legs. The clamp (24) is tubular and sealed at one end near the fixed seat (22), while the other end is open.
3. The visual inspection device for inspecting defects in school uniforms as described in claim 2, characterized in that, The top of the fixed base (22) is rotatably provided with two rotating shafts (36) via bearings. The support rods (23) are fixedly sleeved on the corresponding rotating shafts (36). The torsion springs (37) are sleeved on the bottom end of the rotating shafts (36), and both ends abut against the outer wall of the rotating shafts (36) and one side of the fixed base (22), respectively. The No. III airbag (43) is set on the top of the fixed base (22) and located between the two support rods (23), and is connected to an external air source for expansion to drive the two support rods (23) to expand and support the trouser legs.
4. The visual inspection device for inspecting defects in school uniforms as described in claim 3, characterized in that, The drive assembly includes two fixed frames (35) fixedly mounted on one side of the movable frame (4), a drive rod (30) rotatably mounted between the two fixed frames (35) via a bearing, a No. IV motor (34) fixedly mounted on one side of one of the fixed frames (35), and its output end fixedly connected to the drive rod (30), the drive rod (30) being drivenly connected to the No. I flipping frame (19), two support seats (21) fixedly mounted inside the movable frame (4), and the No. I flipping frame (19) rotatably mounted on the two support seats (21).
5. The visual inspection device for inspecting defects in school uniforms as described in claim 4, characterized in that, The material turning mechanism includes a No. I rotating seat (28) movably disposed within the moving frame (4), a No. II turning frame (20) rotatably disposed within the No. I rotating seat (28) via bearings, and multiple fixing clips (40) movably disposed within the No. II turning frame (20) for fixing the waistband. The No. II turning frame (20) is coaxial with the No. I turning frame (19). A connecting frame (29) is fixedly disposed on the top of the No. I rotating seat (28). A rotating ring (31) is rotatably disposed through one side of the connecting frame (29) and slidably sleeved on the drive rod (30). The No. II synchronous wheel (32) and the No. II synchronous belt (33) drively connect the rotating ring (31) with the No. II turning frame (20) and the drive rod (30) with the No. I turning frame (19).
6. The visual inspection device for inspecting defects in school uniforms as described in claim 5, characterized in that, An elliptical ring (38) is fixedly installed inside the No. II flipping frame (20). Multiple guide rods (41) slide through the outer wall of the elliptical ring (38) and correspond to the fixing clamp (40). The No. II rotating seat (39) is fixedly installed at the bottom end of the guide rod (41). The fixing clamp (40) is rotatably installed inside the No. II rotating seat (39). A spring (42) is sleeved on the outer wall of the guide rod (41), and its two ends abut against the outer wall of the elliptical ring (38) and the top end of the guide rod (41), respectively.
7. The visual inspection device for inspecting defects in school uniforms as described in claim 6, characterized in that, Two sets of No. I synchronous pulleys (16) are rotatably mounted inside the movable frame (4). Each set of No. I synchronous pulleys (16) is connected to a No. I synchronous belt (18). No. III motor (17) is fixedly mounted inside the movable frame (4), and its output end is fixedly connected to one of the No. I synchronous pulleys (16). The No. I rotating seat (28) is fixedly mounted on the top of the two No. I synchronous belts (18).
8. The visual inspection device for inspecting defects in school uniforms as described in claim 1, characterized in that, The detection assembly also includes two sets of support frames (5) fixedly installed inside the outer shell (2), a support beam (6) fixedly installed on the top of the two sets of support frames (5), a sliding seat (14) slidably installed on one side of the support beam (6), a connecting seat (15) fixedly installed on one side of the sliding seat (14), a camera (8) connected to one side of the connecting seat (15) via a mounting seat (7), a lighting lamp (9) fixedly installed on one side of the bottom end of the connecting seat (15), a No. I motor (10) installed on one side of the support beam (6), a screw rotatably installed inside the support beam (6), the sliding seat (14) threadedly fitted onto the screw, and the output end of the No. I motor (10) connected to the screw.
9. The visual inspection device for inspecting defects in school uniforms as described in claim 1, characterized in that, The sliding block (13) is slidably disposed on the extension platform (3) and the base (1), the lead screw (12) is rotatably disposed on the base (1) and the extension platform (3), the No. II motor (11) is fixedly disposed on one side of the base (1), and its output end is fixedly connected to the lead screw (12), the ball nut inside the sliding block (13) is slidably sleeved on the lead screw (12), and the moving frame (4) is fixedly disposed on the sliding block (13).
10. A method for inspecting defects in school uniforms based on visual detection, using the school uniform defect inspection device based on visual detection as described in any one of claims 1-9, characterized in that, Includes the following steps: S1. Fix the pants to the support assembly and the turning mechanism, use No. I airbag (26) and No. II airbag (27) to expand and fix the pant legs, and use the fixing clip (40) to fix the waistband. S2. Turn on the lighting (9) to illuminate the pants, and the camera (8) takes pictures to detect defects on the surface of the pants; S3. Drive the support component to flip, change the front and back of the pants, and take another photo for inspection; S4. The flipping mechanism flips the pants so that the inner core faces outward. The clamp (24) is used to inflate the pants into the legs to make the pants expand. The inner core of the pants is photographed to detect defects. During the detection process, the mobile frame (4) moves to adjust the position of the pants, and the camera (8) and the lighting lamp (9) move to expand the detection range.
