A yarn movement detection device and image alignment method based on multi-camera cooperation
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHAOXING UNIVERSITY
- Filing Date
- 2022-11-02
- Publication Date
- 2026-07-03
Smart Images

Figure CN117146731B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of yarn detection equipment technology, specifically to a moving yarn detection device and image alignment method based on multi-camera collaboration. Background Technology
[0002] Yarn appearance is the direct visual reflection of yarn by the human eye. It not only affects the yarn's strength, elongation, optical properties, friction properties, and spinnability, but also influences the fabric's appearance quality, mechanical properties, hand feel, style, and dyeing and finishing processes. Yarn dryness and hairiness are the two most important parameters for evaluating yarn appearance quality, and their detection and analysis are necessary conditions for controlling and improving yarn quality.
[0003] According to Chinese Patent No. CN202210408109.3, a yarn three-dimensional detection device based on a multi-camera system is provided. The device includes a frame, a yarn feeding mechanism, a light source emitter, a support plate, a guide rail, an adjustment mechanism, an image acquisition device, and a speed-regulating motor. A top plate is installed on the upper side of the frame. A fixing rod and two ceramic eye mounting parts are installed sequentially from the edge to the center on the upper surface of the top plate. A yarn feeding hole is opened at the center of the top plate. There are two light source emitters, one of which is located at the center of the lower end face of the top plate. A support platform is installed on the inner side of the frame, located on the lower side of the top plate. The support plate is installed in the support platform, and the guide rail is fixedly installed on the upper end of the support plate.
[0004] However, the yarn 3D inspection device based on a multi-camera system proposed in this document requires the cameras to be aligned with the yarn passing through the yarn feed hole from multiple angles. Therefore, all cameras are oriented towards the yarn. When a broken thread gets stuck to the camera lens, or when periodic maintenance is required, cameras facing the yarn are inconvenient for maintenance. Furthermore, if... Figure 9 As shown, when multiple cameras acquire images of moving yarn, the yarn is small and in motion, making it difficult for multiple cameras to accurately capture the length of the same section of yarn when acquiring images. This makes it difficult to perform three-dimensional measurement and reconstruction of the subsequent yarn, and thus makes it impossible to accurately assess the yarn quality. Summary of the Invention
[0005] (a) Technical problems to be solved
[0006] To address the shortcomings of existing technologies, this invention provides a moving yarn detection device and image alignment method based on multi-camera collaboration, which solves the problems mentioned in the background technology.
[0007] (II) Technical Solution
[0008] To achieve the above objectives, the present invention provides the following technical solution: a multi-camera collaborative yarn detection device, comprising a base, a worktable above the base, a top plate above the worktable, a yarn feeding mechanism on both the top plate and the base, and a yarn feeding hole at the center of both the top plate and the worktable. Multiple yarn detection mechanisms are provided on the worktable, each yarn detection mechanism comprising a base, a flip plate, and a camera body. The base is fixedly connected to the worktable, one end of the flip plate is rotatably connected to the base, and the camera body is located at the end of the flip plate away from the base. Normally, the lens of the camera body faces the yarn passing through the yarn feeding hole, and when the flip plate is rotated 180 degrees, the camera body flips to the outside of the worktable.
[0009] Preferably, the number of yarn detection mechanisms is set to four, and the four yarn detection mechanisms are distributed at equal angles.
[0010] Preferably, a limiting frame for limiting the rotation angle of the flip plate is fixedly connected to the base, and the limiting frame is configured as a rectangular frame structure.
[0011] Preferably, a first support column is fixedly connected between the base and the worktable, and a second support column is fixedly connected between the worktable and the top plate.
[0012] Preferably, it further includes a rapid flipping mechanism for synchronously flipping all the flipping plates. The rapid flipping mechanism includes a rotating shaft, a bevel gear, a first gear, a second gear, and a transmission belt. The number of rotating shafts is the same as the number of flipping plates. The rotating shafts are rotatably connected to the first support column. Both ends of the rotating shafts extend into the interior of the first support column and are fixedly connected to bevel gears. All rotating shafts are linked together through the bevel gears at their two ends. When one rotating shaft rotates, all rotating shafts rotate synchronously. The first gear is coaxially connected to the rotating connection between the flipping plate and the base. The second gear is fixedly connected to the rotating shaft. The first gear and the second gear are connected by a transmission belt.
[0013] Preferably, a rotating sleeve is fixedly connected to the rotating shaft, and the outer surface of the rotating sleeve is provided with anti-slip texture.
[0014] Preferably, the device includes an orientation disassembly mechanism for facilitating the disassembly and maintenance of the camera body. The orientation disassembly mechanism includes a gravity block, a limiting post, a sliding rod, a sliding sleeve, a slot, an insert plate, a limiting hole, and a mounting plate. The flip plate has a slot matching the insert plate at its end away from the base. The insert plate is inserted into the slot, and one end of the insert plate is fixedly connected to the mounting plate. The camera body is mounted on the mounting plate. The bottom of the gravity block is fixedly connected to the limiting post. The insert plate has a limiting hole matching the limiting post. The flip plate has a through hole for the limiting post to be inserted into the limiting hole. The gravity block is positioned... Above the through hole, sliding sleeves are fixedly connected to both sides of the flip plate. A sliding rod is slidably fitted inside the sliding sleeve. One end of the sliding rod is fixedly connected to the gravity block. When the camera body faces the yarn direction, the gravity block is positioned above the flip plate. Under the action of gravity, the limiting post at the bottom of the gravity block inserts into the limiting hole. At this time, the insert plate cannot be pulled out of the slot. When the camera body faces the outside of the worktable, the gravity block is positioned below the flip plate. Under the action of gravity, the gravity block moves downward. The gravity block drives the limiting post to be pulled out of the limiting hole. At this time, the insert plate loses the fixing effect of the limiting post, and thus the insert plate can be pulled out.
[0015] Preferably, an anti-detachment rod is provided at the end of the slide rod away from the gravity block, and the two ends of the anti-detachment rod are respectively fixedly connected to the two slide rods.
[0016] A method for aligning moving yarn images based on multi-camera collaboration includes the following steps:
[0017] Step 1: Yarn image calibration. A regular circular sphere is simultaneously acquired by multiple cameras. The center of the sphere is obtained from each viewpoint by combining image segmentation. Based on the diameter and center position of the sphere in each viewpoint, the length of the yarn and the height of the camera body in the camera body image are calibrated to ensure that the magnification and height of multiple camera bodies are consistent.
[0018] Step 2: Interval triggering. Using the same length of yarn in each calibrated viewpoint, the interval time is calculated based on the running speed. During the interval time, the relay accumulates the signal, and then the accumulated signal is converted into a camera trigger signal to realize the equal interval image acquisition of the camera body.
[0019] Step 3: Signal filtering. After obtaining the camera trigger signal, the disturbance data is smoothed by combining the signal filtering algorithm to achieve a stable trigger signal and prevent the trigger signal from causing misalignment of the acquired yarn image.
[0020] Step 4: Thread interlocking. Use trigger signals to control thread start and stop. When the trigger signal reaches each camera body, the thread lock is enabled to ensure that each camera body obtains the same yarn image in terms of software.
[0021] (III) Beneficial Effects
[0022] This invention provides a moving yarn detection device and image alignment method based on multi-camera collaboration.
[0023] It has the following beneficial effects:
[0024] 1. This multi-camera collaborative motion yarn detection device, through the setting of the base and the flip plate, when it is necessary to inspect or repair the lens of the camera body or the camera body itself, simply flip the flip plate 180 degrees. At this time, the camera body flips to the outside of the worktable, so that the lens of the camera body faces outward. This allows for quick and convenient cleaning of floating yarn ends in front of the lens, and also facilitates inspection and repair. It is easy to use.
[0025] 2. This multi-camera collaborative motion yarn detection device, through the setting of a rapid flipping mechanism, only needs to rotate one rotating shaft, and all rotating shafts will rotate synchronously. The rotating shaft drives the second gear to rotate, and the second gear drives the first gear to rotate through the transmission belt. The first gear drives the flipping plate to flip, thus enabling all flipping plates to be flipped at the same time, greatly improving the flipping efficiency.
[0026] 3. This multi-camera collaborative yarn detection device, through the orientation disassembly mechanism, allows the gravity block to be positioned above the flip plate when the camera body faces the yarn direction. Under the action of gravity, the limiting post at the bottom of the gravity block inserts into the limiting hole, preventing the insert plate from being pulled out of the slot. When the camera body faces outward from the worktable, the gravity block is positioned below the flip plate, causing it to move downward and pull the limiting post out of the limiting hole. At this point, the insert plate loses the fixing effect of the limiting post and can be pulled out. The camera body is mounted on the mounting plate at one end of the insert plate, allowing for quick removal by simply pulling the camera body outward when it flips to face outward. During installation, simply insert the insert plate completely into the slot and then reset the flip plate to complete the installation quickly. This device can fix the camera body according to its orientation and allows for quick installation and removal of replacement camera bodies, making it convenient to use.
[0027] 4. This method for aligning moving yarn images under multi-camera collaboration can effectively solve the problem of synchronous acquisition and image alignment of moving yarn objects under multi-camera collaboration, and can lay the foundation for multi-view 3D reconstruction and detection. Attached Figure Description
[0028] Figure 1 This is a schematic diagram of the structure of the present invention. Figure 1 ;
[0029] Figure 2 This is a schematic diagram of the structure of the present invention. Figure 2 ;
[0030] Figure 3 This is a schematic diagram of the structure of the present invention. Figure 3 ;
[0031] Figure 4 This is a schematic diagram of the rapid flipping mechanism of the present invention;
[0032] Figure 5 This is a schematic diagram of the yarn testing mechanism of the present invention. Figure 1 ;
[0033] Figure 6 This is a schematic diagram of the yarn testing mechanism of the present invention. Figure 2 ;
[0034] Figure 7 This is the front view of the yarn testing mechanism structure of the present invention. Figure 1 ;
[0035] Figure 8 This is the front view of the yarn testing mechanism structure of the present invention. Figure 2 ;
[0036] Figure 9 This is a schematic diagram of the yarn structure of the present invention. Figure 1 ;
[0037] Figure 10 This is a schematic diagram of the yarn structure of the present invention. Figure 2 .
[0038] In the diagram: 1. Base, 2. First support column, 3. Workbench, 4. Yarn detection mechanism, 5. Second support column, 6. Top plate, 7. Cable routing mechanism, 8. Rotating shaft, 9. Rotating sleeve, 10. Second gear, 11. Transmission belt, 12. Bevel gear, 13. Flip plate, 14. Base, 15. Camera body, 16. First gear, 17. Limiting frame, 18. Sliding sleeve, 19. Slot, 20. Insert plate, 21. Limiting hole, 22. Mounting plate, 23. Gravity block, 24. Limiting column, 25. Sliding rod, 26. Anti-detachment rod. Detailed Implementation
[0039] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0040] This invention provides a motion yarn detection device based on multi-camera collaborative operation, such as... Figure 1-8As shown, the device includes a base 1, a worktable 3 above the base 1, a top plate 6 above the worktable 3, a yarn feeding mechanism 7 on both the top plate 6 and the base 1, and a yarn feeding hole at the center of both the top plate 6 and the worktable 3. Multiple yarn detection mechanisms 4 are provided on the worktable 3. Each yarn detection mechanism 4 includes a base 14, a flip plate 13, and a camera body 15. The base 14 is fixedly connected to the worktable 3, one end of the flip plate 13 is rotatably connected to the base 14, and the camera body 15 is located at the end of the flip plate 13 away from the base 14. Under normal conditions, the lens of the camera body 15 faces the yarn passing through the yarn feeding hole, and when the flip plate 13 is rotated 180 degrees, the camera body 15 flips to the outside of the worktable 3.
[0041] With the base 14 and the flip plate 13 in place, when it is necessary to inspect or repair the lens of the camera body 15, simply flip the flip plate 13 180 degrees. At this time, the camera body 15 will be flipped to the outside of the worktable 3, so that the lens of the camera body 15 faces outward. This allows for quick and easy cleaning of the floating wire ends in front of the lens, as well as convenient inspection and repair. It is easy to use.
[0042] The number of yarn detection mechanisms 4 is set to four, and the four yarn detection mechanisms 4 are distributed at equal angles. A limiting frame 17 for limiting the rotation angle of the flip plate 13 is fixedly connected to the base 14. The limiting frame 17 is set as a rectangular frame structure. A first support column 2 is fixedly connected between the base 1 and the worktable 3, and a second support column 5 is fixedly connected between the worktable 3 and the top plate 6.
[0043] It also includes a rapid flipping mechanism for synchronously flipping all the flipping plates 13. The rapid flipping mechanism includes a rotating shaft 8, a bevel gear 12, a first gear 16, a second gear 10, and a transmission belt 11. The number of rotating shafts 8 is the same as the number of flipping plates 13. The rotating shafts 8 are rotatably connected to the first support column 2. Both ends of the rotating shafts 8 extend into the interior of the first support column 2 and are fixedly connected to the bevel gears 12. All the rotating shafts 8 are linked together through the bevel gears 12 at both ends. When one of the rotating shafts 8 rotates, all the rotating shafts 8 rotate synchronously. The first gear 16 is coaxially connected to the rotating connection between the flipping plate 13 and the base 14. The second gear 10 is fixedly connected to the rotating shaft 8. The first gear 16 and the second gear 10 are connected by transmission belt 11.
[0044] With the rapid flipping mechanism, rotating just one of the rotating shafts 8 will cause all the rotating shafts 8 to rotate synchronously. The rotating shaft 8 drives the second gear 10 to rotate, and the second gear 10 drives the first gear 16 to rotate through the transmission belt 11. The first gear 16 drives the flipping plate 13 to flip, thus enabling all the flipping plates 13 to be flipped at the same time, greatly improving the flipping efficiency.
[0045] A rotating sleeve 9 is fixedly connected to the rotating shaft 8, and the outer surface of the rotating sleeve 9 is provided with anti-slip texture.
[0046] The device includes an orientation disassembly mechanism for facilitating the disassembly and maintenance of the camera body 15. This mechanism comprises a gravity block 23, a limiting post 24, a sliding rod 25, a sliding sleeve 18, a slot 19, an insert plate 20, a limiting hole 21, and a mounting plate 22. The end of the flip plate 13 furthest from the base 14 has a slot 19 that matches the insert plate 20. The insert plate 20 is inserted into the slot 19, and one end of the insert plate 20 is fixedly connected to the mounting plate 22. The camera body 15 is mounted on the mounting plate 22. The bottom of the gravity block 23 is fixedly connected to the limiting post 24. The insert plate 20 has a limiting hole 21 that matches the limiting post 24. The flip plate 13 has a through hole for the limiting post 24 to be inserted into the limiting hole 21. The gravity block 23 is positioned within the through hole. Above, sliding sleeves 18 are fixedly connected to both sides of the flip plate 13. Sliding rods 25 are slidably fitted inside the sliding sleeves 18. One end of the sliding rods 25 is fixedly connected to the gravity block 23. When the camera body 15 faces the yarn direction, the gravity block 23 is positioned above the flip plate 13. Under the action of gravity, the limiting post 24 at the bottom of the gravity block 23 is inserted into the limiting hole 21. At this time, the insert plate 20 cannot be pulled out from the slot 19. When the camera body 15 faces the outside of the worktable 3, the gravity block 23 is positioned below the flip plate 13. Under the action of gravity, the gravity block 23 moves downward. The gravity block 23 drives the limiting post 24 to be pulled out from the limiting hole 21. At this time, the insert plate 20 loses the fixing effect of the limiting post 24, and thus the insert plate 20 can be pulled out.
[0047] By aligning the disassembly mechanism, when the camera body 15 faces the yarn direction, the gravity block 23 is positioned above the flip plate 13. Under the influence of gravity, the limiting post 24 at the bottom of the gravity block 23 inserts into the limiting hole 21. At this time, the insert plate 20 cannot be pulled out of the slot 19. When the camera body 15 faces outward from the worktable 3, the gravity block 23 is positioned below the flip plate 13. Under the influence of gravity, the gravity block 23 moves downward, causing the limiting post 24 to be pulled out of the limiting hole 21. At this time, the insert plate 20 loses the limiting post 24. The mounting plate 20 is fixed in place, allowing the insert plate 20 to be pulled out. The camera body 15 is mounted on the mounting plate 22 at one end of the insert plate 20. When the camera body 15 is flipped to face outward, it can be quickly removed by simply pulling the camera body 15 outward. During installation, the insert plate 20 is fully inserted into the slot 19, and then the flip plate 13 is reset to complete the installation quickly. The camera body 15 can be fixed according to its orientation, and the camera body 15 that needs to be replaced can be quickly installed and removed, making it convenient to use.
[0048] An anti-detachment rod 26 is provided at the end of the slide rod 25 away from the gravity block 23, and the two ends of the anti-detachment rod 26 are fixedly connected to the two slide rods 25 respectively.
[0049] Multi-camera systems can acquire yarn images from different perspectives, enabling 3D reconstruction and detection of the yarn. However, before performing 3D reconstruction and detection, it is crucial that multiple cameras simultaneously acquire images of the same segment of the moving yarn. When using multiple cameras to acquire images of moving yarn, existing methods struggle to simultaneously capture images of the same segment of yarn from the small yarn that must be in motion.
[0050] This invention combines yarn image calibration, interval triggering, signal filtering, and thread interlocking to achieve synchronous acquisition and alignment of multi-view images of moving yarn.
[0051] A method for aligning moving yarn images based on multi-camera collaboration includes the following steps:
[0052] Step 1: Yarn image calibration. A regular circular sphere is simultaneously acquired by multiple camera bodies 15. The center of the sphere is obtained from each viewpoint by combining image segmentation. Based on the diameter and center position of the sphere in each viewpoint, the length of the yarn and the height of the camera body 15 in the image of the camera body 15 are calibrated respectively, so that the magnification and height of multiple camera bodies 15 are consistent.
[0053] Step 2: Interval triggering. Using the same length of yarn in each calibrated viewpoint, the interval time is calculated based on the running speed. During the interval time, the relay accumulates the signal and then converts the accumulated signal into a camera trigger signal to realize the equal-interval image acquisition of the camera body 15.
[0054] Step 3: Signal filtering. After obtaining the camera trigger signal, the disturbance data is smoothed by combining the signal filtering algorithm to achieve a stable trigger signal and prevent the trigger signal from causing misalignment of the acquired yarn image.
[0055] Step 4: Thread interlocking. Use trigger signals to control thread start and stop. When the trigger signal reaches each camera body 15, the thread lock is enabled to ensure that each camera body 15 acquires the same yarn image in terms of software.
[0056] like Figure 10 As shown, the method of aligning moving yarn images based on multi-camera collaboration can effectively solve the problem of synchronous acquisition and image alignment of moving yarn objects under multi-camera collaboration, and can lay the foundation for multi-view 3D reconstruction and detection.
[0057] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A device for detecting moving yarn based on multi-camera cooperation, comprising a base (1), characterized in that: A workbench (3) is provided above the base (1), and a top plate (6) is provided above the workbench (3). Both the top plate (6) and the base (1) are provided with a thread feeding mechanism (7). Both the top plate (6) and the workbench (3) have a yarn feeding hole in the center. Multiple yarn detection mechanisms (4) are provided on the workbench (3). The yarn detection mechanism (4) includes a base (14), a flip plate (13), and a camera body (15). The base (14) is fixedly connected to the workbench (3). One end of the flip plate (13) is rotatably connected to the base (14). The camera body (15) is located at the end of the flip plate (13) away from the base (14). Under normal conditions, the lens of the camera body (15) faces the yarn passing through the yarn feeding hole. When the flip plate (13) is flipped 180 degrees, the camera body (15) flips to the outside of the workbench (3). It also includes a rapid flipping mechanism for synchronously flipping all the flipping plates (13). The rapid flipping mechanism includes a rotating shaft (8), a bevel gear (12), a first gear (16), a second gear (10), and a transmission belt (11). The number of rotating shafts (8) is the same as the number of flipping plates (13). The rotating shafts (8) are rotatably connected to the first support column (2). Both ends of the rotating shafts (8) extend into the interior of the first support column (2) and are fixedly connected with bevel gears (12). All rotating shafts (8) are linked together through the bevel gears (12) at both ends. When one of the rotating shafts (8) rotates, all rotating shafts (8) rotate synchronously. The first gear (16) is coaxially connected to the rotating connection between the flipping plate (13) and the base (14). The second gear (10) is fixedly connected to the rotating shaft (8). The first gear (16) and the second gear (10) are connected by transmission belt (11).
2. The yarn movement detection device based on multi-camera cooperation according to claim 1, characterized in that: The number of yarn detection mechanisms (4) is set to four, and the four yarn detection mechanisms (4) are distributed at equal angles.
3. The yarn movement detection device based on multi-camera cooperation according to claim 2, characterized in that: A limiting frame (17) for limiting the rotation angle of the flip plate (13) is fixedly connected to the base (14), and the limiting frame (17) is configured as a rectangular frame structure.
4. The yarn movement detection device based on multi-camera cooperation according to claim 3, characterized in that: A first support column (2) is fixedly connected between the base (1) and the workbench (3), and a second support column (5) is fixedly connected between the workbench (3) and the top plate (6).
5. The motion yarn detection device based on multi-camera cooperation according to claim 4, characterized in that: A rotating sleeve (9) is fixedly connected to the rotating shaft (8), and the outer surface of the rotating sleeve (9) is provided with anti-slip texture.
6. The motion yarn detection device based on multi-camera cooperation according to claim 5, characterized in that: The device includes an orientation disassembly mechanism for facilitating the disassembly and maintenance of the camera body (15). The orientation disassembly mechanism includes a gravity block (23), a limiting post (24), a sliding rod (25), a sliding sleeve (18), a slot (19), an insert plate (20), a limiting hole (21), and a mounting plate (22). The flip plate (13) has a slot (19) that matches the insert plate (20) at one end away from the base (14). The insert plate (20) is inserted into the slot (19), and a mounting plate (22) is fixedly connected to one end of the insert plate (20). The camera body (15) is mounted on the mounting plate (22). The bottom of the gravity block (23) is fixedly connected to the limiting post (24). The insert plate (20) has a limiting hole (21) that matches the limiting post (24). The flip plate (13) has a through hole for the limiting post (24) to be inserted into the limiting hole (21). The gravity block (23) has a through hole for the limiting post (24) to be inserted into the limiting hole (21). The rotating plate (13) is positioned above the through hole. Sliding sleeves (18) are fixedly connected to both sides of the rotating plate (13). A sliding rod (25) is slidably fitted inside the sliding sleeves (18). One end of the sliding rod (25) is fixedly connected to the gravity block (23). When the camera body (15) faces the yarn direction, the gravity block (23) is positioned above the rotating plate (13). Under the action of gravity, the limiting post (24) at the bottom of the gravity block (23) inserts into the limiting hole (21). Inside the slot (19), the insert plate (20) cannot be pulled out of the slot (19). When the camera body (15) faces the outside of the worktable (3), the position of the gravity block (23) is below the flip plate (13). Under the action of gravity, the gravity block (23) moves downward and the gravity block (23) drives the limiting post (24) to be pulled out from the limiting hole (21). At this time, the insert plate (20) loses the fixing effect of the limiting post (24) and can be pulled out.
7. The motion yarn detection device based on multi-camera cooperation according to claim 6, characterized in that: An anti-detachment rod (26) is provided at the end of the slide rod (25) away from the gravity block (23), and the two ends of the anti-detachment rod (26) are fixedly connected to the two slide rods (25) respectively.
8. A method for aligning moving yarn images based on multi-camera cooperation, characterized in that: Aligning yarn images acquired by the multi-camera collaborative motion yarn detection device according to any one of claims 1 to 7 includes the following steps: Step 1: Yarn image calibration. A regular circular ball is simultaneously acquired by multiple camera bodies (15). The center of the ball is obtained from each viewpoint by combining image segmentation. Based on the diameter and center position of the ball in each viewpoint, the length of the yarn and the height of the camera body (15) in the image of the camera body (15) are calibrated respectively, so that the magnification and height of multiple camera bodies (15) are consistent. Step 2: Interval triggering. Using the same length of yarn in each calibrated viewpoint, the interval time is calculated based on the running speed. The relay accumulates the signal within the interval time, and then the accumulated signal is converted into a camera trigger signal to realize the equal interval image acquisition of the camera body (15). Step three: signal filtering, after obtaining the camera trigger signal, combine the signal filtering algorithm to smooth the disturbance data, realize the smooth of trigger signal, prevent the trigger of disturbance trigger signal from causing the misplacement of collected yarn image; Step four: thread interlocking, use the trigger signal to control the start and stop of the thread, when the trigger signal reaches each camera body (15), enable the thread lock to ensure that each camera body (15) obtains the same section of yarn image in the software aspect.