A discharge counter and its counting system
By optimizing the linear array camera counting system with multi-angle reflection devices and flow limiting devices, the counting error problem caused by material overlap was solved, achieving high-precision and low-cost counting results.
Patent Information
- Application Number
- CN202510736104.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2045-06-04
AI Technical Summary
Linear scan cameras can cause counting errors due to material overlap during the counting process, and existing technologies make it difficult to count accurately.
A multi-angle reflection device is used to project material images onto a line scan camera. Counting is performed using images from multiple angles to ensure that non-overlapping images are used for accurate counting. Material conveying is optimized by combining a flow limiting device and a counting system.
It improves counting accuracy, reduces costs, simplifies light source design, and reduces counting errors.
Smart Images

Figure CN120258032B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of counting devices, and in particular to a discharge counting machine and a counting system thereof. BACKGROUND
[0002] With the development of camera technology, a line array camera appears, which uses a line array sensor to capture only one row of pixels at a time, and completes the line-by-line scanning of the entire picture through the movement of the object or the camera, so that the line array camera can detect and count high-speed moving objects with high resolution, thus enabling the line array camera to count the materials discharged in a free-fall manner.
[0003] The counting by the line scanning camera usually needs to set up a vertical discharge pipeline, a light-transmitting groove is formed through the side wall of the discharge pipeline, the line scanning camera is arranged on one side of the discharge pipeline, and a light source is arranged on the other side opposite to the discharge pipeline. The materials fall from the discharge pipeline, the light source provides light, the line scanning camera captures the light transmitted from the light-transmitting groove to shoot the materials, and the counting of the materials is completed.
[0004] According to the related technology in the above, the following defects are considered to exist: the materials may overlap during falling, if the overlapping surface of the materials faces the line scanning camera, the line scanning camera may only scan one material, and the other overlapping material is blocked, thereby causing the line scanning camera to count only once, and finally causing the counting error of the line scanning camera. SUMMARY
[0005] In order to solve the problem that the counting of the materials falling from the conveying belt by the line scanning camera may cause counting error, the present application provides a discharge counting machine and a counting system thereof.
[0006] In a first aspect, the discharge counting machine provided by the present application adopts the following technical scheme:
[0007] A discharge counting machine, comprising a rack, a mounting plate arranged on the rack, a light source arranged on the mounting plate, a reflecting device arranged on the mounting plate, and a line scanning camera arranged on the mounting plate, wherein the mounting plate is provided with a counting hole for the materials to pass through, the light source is used for irradiating the materials passing through the counting hole, and the reflecting device is used for projecting the image of the materials passing through the counting hole to the line scanning camera from multiple angles.
[0008] Through the technical scheme, the image of the material passing through the counting hole is projected on the reflection device, and then multiple-angle images are reflected to the line-scan camera by the multiple-angle reflection device. Compared with the traditional counting mode of accepting single-direction images by the line-scan camera, the line-scan camera counts by accepting multiple-angle images. When the images of one angle overlap, the images of other angles are non-overlapping. At this time, the non-overlapping images are taken as accurate counting, so that the counting error phenomenon caused by the material overlap is avoided, and the counting accuracy is improved. Meanwhile, since only one line-scan camera is used, the cost is low, and the design of the light source is relatively simple.
[0009] Optionally, the mounting plate is provided with a first counting pipe and a second counting pipe, and the material to be counted can pass through the first counting pipe and the second counting pipe in sequence. A gap for projecting images is arranged between the end face of the first counting pipe and the end face of the second counting pipe. The second counting pipe is connected with the counting hole, and the diameters of the first counting pipe and the second counting pipe are both smaller than the depth of field size of the line-scan camera.
[0010] Optionally, the diameter of the second counting pipe is greater than the diameter of the first counting pipe.
[0011] Optionally, a plurality of mounting holes are arranged through the side wall of the first counting pipe, and a blocking rod is detachably arranged in the mounting hole. The mounting hole is away from the second counting pipe.
[0012] Optionally, the rack is rotatably provided with a conveying belt, and the conveying belt is used for feeding the material into the first counting pipe. The rack is further provided with a flow limiting device, and the flow limiting device is used for limiting the discharging speed of the discharging conveying belt.
[0013] Optionally, the flow limiting device comprises:
[0014] a first support frame slidingly arranged on the mounting plate;
[0015] a baffle arranged on the first support frame and slidingly driven by the first support frame to the output end of the conveying belt to block the output of the workpieces conveyed by the conveying belt.
[0016] Optionally, the first support frame is slidingly provided with a second support frame, and the baffle is arranged on the second support frame. The second support frame is used for driving the baffle to slide in the direction of opening the output end of the conveying belt or blocking the output end of the conveying belt.
[0017] Optionally, the reflection device comprises a plurality of mirrors arranged on the mounting plate and a prism arranged on the mounting plate at the lens of the line-scan camera. The mirrors are used for reflecting multiple different-angle images of the workpieces passing through the counting hole to the prism, and the prism is used for reflecting the images to the lens of the line-scan camera.
[0018] Optionally, the frame is slidably provided with a mounting bracket, the line scan camera is mounted on the mounting bracket, and the mounting bracket slides along the lens axis of the line scan camera.
[0019] Secondly, this application provides a counting system, comprising:
[0020] The image segmentation module is used to identify the image and segment it into several independent images corresponding to the image receiving angles mentioned above.
[0021] The connected component analysis module is used to perform connected component analysis and region feature extraction on each independent image segmented by the image segmentation module through an independent channel;
[0022] The multi-channel fusion module is used to match regional features extracted from multiple channels with connected component analysis results and analyze the overlap and adhesion of objects in the image through both.
[0023] In summary, in this application, the material passing through the counting hole is reflected by the reflecting device to the line scan camera from multiple angles. Compared with the traditional method of counting by receiving images from a single direction through the line scan camera, the line scan camera counts by receiving images from multiple angles. When the images from one angle overlap, there must be images from other angles that do not overlap. At this time, the non-overlapping images are taken as the accurate count, which makes it less likely for counting errors to occur due to material overlap, thus improving the counting accuracy. Attached Figure Description
[0024] Figure 1 This is a three-dimensional structural diagram of the present application, showing the first type of current limiting device.
[0025] Figure 2 This is a three-dimensional structural diagram of the present application, showing the first type of current limiting device, with most of the rack removed from the diagram.
[0026] Figure 3 This is a three-dimensional structural diagram of the reflector of this application.
[0027] Figure 4 This is a three-dimensional structural diagram of the discharge end of the conveyor belt in this application.
[0028] Figure 5 This is a three-dimensional structural diagram of the present application, showing the second type of current limiting device.
[0029] Figure 6 yes Figure 5 Enlarged schematic diagram of part A in the middle.
[0030] Figure 7 This is a three-dimensional structural diagram of the connecting plate and connecting block of this application.
[0031] Those skilled in the art will appreciate that the elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions and / or relative positioning of some of the elements in the figures can be exaggerated relative to other elements to help to improve understanding of the present embodiments.
[0032] Reference signs: 1, rack; 11, first counting tube; 111, mounting hole; 12, second counting tube; 13, light source; 14, line-scan camera; 15, conveying belt; 16, mounting plate; 161, counting hole; 17, third support frame; 18, support plate; 2, reflecting device; 21, reflecting mirror; 22, prism; 23, first support; 24, second support; 3, mounting frame; 4, flow limiting device; 41, lifting cylinder; 42, baffle; 421, discharge port; 43, first support frame; 44, second support frame; 45, first intercepting plate; 46, second intercepting plate; 5, intercepting cylinder; 51, connecting plate; 511, sliding groove; 52, connecting block; 6, guide plate; 61, pull rod; 62, ejector rod; 63, collection box; 64, baffle; 7, push plate; 71, adjusting screw; 72, limiting plate. DETAILED DESCRIPTION
[0033] The following description will be made in conjunction with the accompanying drawings Figures 1-7 The present application is further described in detail.
[0034] In a first aspect, the embodiments of the present application disclose a discharging counting machine, which refers to Figure 1 and Figure 2 comprise a rack 11, a mounting plate 16 fixedly installed on the rack 1, a light source 13 fixedly installed on the mounting plate 16, and a line-scan camera 14 arranged on the mounting plate 16.
[0035] Referring to Figure 1 and Figure 2 , the mounting plate 16 is horizontal, the mounting plate 16 is provided with a counting hole 161, the light source 13 and the line-scan camera 14 are located on opposite sides of the counting hole 161, the light source 13 irradiates towards the line-scan camera 14, the material passes through the counting hole 161, and the light source 13 projects the image of the material into the line-scan camera 14 to form a counting image.
[0036] Referring to Figure 1 and Figure 2 , the mounting plate 16 is fixedly installed with a third support frame 17, one end of the third support frame 17 is fixedly installed with a first counting tube 11, the first counting tube 11 is coaxial with the counting hole 161 and located above the mounting plate 16, a second counting tube 12 is coaxially and slidingly arranged in the counting hole 161, the second counting tube 12 is fixedly connected with the mounting plate 16, a gap is arranged between the bottom wall of the first counting tube 11 and the top wall of the second counting tube 12, and the light of the light source 13 passes through the gap.
[0037] Referring toFigure 1 And Figure 2 The diameter of the first counting tube 11 is smaller than the diameter of the second counting tube 12, so that the workpiece entering the second counting tube 12 is not easy to touch the inner wall and rebound to the first counting tube 11 to cause repeated counting. The diameter of the first counting tube 11 is not greater than the depth of field distance of the line scan camera 14, so that the image captured by the line scan camera 14 is not easy to blur, thereby making the recognition accuracy higher when subsequent image recognition is performed.
[0038] Referring to Figure 1 And Figure 2 The upper end side wall of the first counting tube 11 is provided with a plurality of mounting holes 111 which are spaced apart in the circumferential direction and the axis of the mounting hole 111 passes through the axis of the first counting tube 11. A group of railings are inserted into the mounting hole 111 in a sliding manner. The workpieces entering the first counting tube 11 are blocked by the group of railings, so that the workpieces in the gathering state entering the first counting tube 11 are scattered by the group of railings, reducing the mutual overlapping and adhesion between the workpieces.
[0039] Referring to Figure 1 And Figure 2 The mounting plate 16 is provided with a reflection device 2, which includes a plurality of mirrors 21 and a prism 22. The mirror 21 is used to reflect the image of the workpiece passing through the gap between the first counting tube 11 and the second counting tube 12 to the prism 22, and the prism 22 is used to reflect the image to the lens of the line scan camera 14.
[0040] Referring to Figure 1 And Figure 2 In the embodiment, the mirror 21 adopts two sides, which are located on the opposite sides of the second counting tube 12, and the prism 22 adopts a three-prism 22. The two mirrors 21 reflect the image projected by the light source 13 from two symmetrical directions to two sides of the three-prism 22, and then the three-prism 22 projects the image into the lens of the line scan camera 14.
[0041] Referring to Figure 1 And Figure 2 The two mirrors 21 reflect the images of the plurality of workpieces passing through the gap between the first counting tube 11 and the second counting tube 12 to the prism 22 from two angles. Even if the materials in one of the angles overlap, the materials in the other angle will be in a separated state. When counting, the counting of the picture with more counting is used as the standard, so that the overall counting of the material unloading is not easy to cause counting error due to the overlapping of the materials in one angle.
[0042] Meanwhile, although theoretically the images reflected by the two symmetrical mirrors 21 can be overlapped at two angles, causing counting errors, in actual use, the workpiece is rarely at the dead point and in the overlapping state, and the dead angle can be ignored. The use of two mirrors 21 greatly reduces the difficulty of subsequent maintenance and adjustment, facilitating subsequent maintenance and adjustment.
[0043] Meanwhile, since only two mirrors 21 are used, the light paths between the mirrors 21 and the prism 22 do not interfere with each other, so that for different materials, the mirrors 21 and the prism 22 do not need to be adjusted to achieve accurate counting.
[0044] Meanwhile, since the prism 22 is used, compared with two mirrors connected to each other for reflection, the middle part of the picture reflected by the prism 22 into the lens of the line-scan camera 14 will not have a shadow, so as not to interfere with subsequent image processing.
[0045] Referring to Figure 1 and Figure 2 , the support frame is rotatably mounted with a conveyor belt 15, and the material is conveyed to the first counting pipe 11 by the conveyor belt 15. When the material is output from the conveyor belt 15, it is thrown into the first counting pipe 11 under the action of inertia, and then freely falls into the second counting pipe 12 under the action of gravity, and finally is discharged from the lower end of the second counting pipe 12.
[0046] Referring to Figure 1 and Figure 2 , the prism 22 is fixedly connected to the mounting plate 16 by a support plate 18, which blocks the light from the light source 13 to the lens of the line-scan camera 14, so that the image reflected by the prism 22 is not disturbed by the light from the light source 13.
[0047] Referring to Figure 2 and Figure 3 , the mirror 21 is provided with a first bracket 23 and a second bracket 24, both of which are arc-shaped fine adjustment slides. The first bracket 23 is fixedly installed on the rack 1, and the second bracket 24 is fixedly installed on the first bracket 23. The mirror 21 is fixed to the second bracket 24. The second bracket 24 and the mirror 21 are rotated around the horizontal axis by the first bracket 23, and the mirror 21 is rotated around the vertical axis by the second bracket 24. The first bracket 23 and the second bracket 24 can conveniently adjust the mirror 21 to the appropriate angle.
[0048] Referring to Figure 1 and Figure 2The third support frame 17 is rotatably installed with a conveying belt 15, the material to be counted is conveyed to the first counting tube 11 by the conveying belt 15, and then is thrown into the middle of the first counting tube 11 under the action of inertia and free fall, and the third support frame 17 is used to support the conveying surface of the conveying belt 15, so that the conveying belt 15 is not easy to shake and cause the material to fall off when conveying the material.
[0049] When the counting result approaches the specified value, the output flow of the workpiece needs to be reduced, and the counting result is supplemented to the specified value by slow supplement, so as to avoid excessive supplement caused by too fast supplement.
[0050] In order to reduce the output flow of the workpiece, the mounting plate 16 is provided with a flow limiting device 4.
[0051] Referring to Figure 2 and Figure 4 , the first flow limiting device 4 includes a first support frame 43 installed on the mounting plate 16 by a vertical lifting cylinder, the first support frame 43 is horizontally slidably installed with a second support frame 44, the second support frame 44 is fixedly installed with a baffle plate 42, and the baffle plate 42 slides through the side of the first counting tube 11 close to the discharge end of the conveying belt 15.
[0052] Referring to Figure 2 and Figure 4 , the cylinder lifting the first support frame 43 is defined as a lifting cylinder 41, when the piston rod of the lifting cylinder 41 is extended, the first support frame 43, the second support frame 44 and the baffle plate 42 are lifted under the action of the lifting cylinder 41, the lifted baffle plate 42 blocks the discharge end of the conveying belt 15, the baffle plate 42 is provided with a discharge port 421, at this time the workpiece output by the conveying belt 15 can only be discharged through the discharge port 421, and the discharge flow of the conveying belt 15 is limited by the lifted baffle plate 42.
[0053] Referring to Figure 2 and Figure 4 , the width of the discharge port 421 of the baffle plate 42 is not less than the width of the conveying belt 15, the width of the part of the baffle plate 42 for blocking the discharge of the conveying belt 15 is not less than the width of the conveying belt 15, and the proportion between the discharge port 421 of the baffle plate 42 and the blocking part of the baffle plate 42 when the baffle plate 42 blocks the discharge end of the conveying belt 15 can be adjusted by sliding the second support frame 44.
[0054] Referring to Figure 2 and Figure 4 , the first support frame 43 drives the second support frame 44 to slide through a lead screw, and for different sizes of workpieces, the lead screw is rotated to drive the second support frame 44 and the baffle plate 42 to slide, and then the proportion between the discharge port 421 of the baffle plate 42 and the blocking part of the baffle plate 42 is adjusted to adapt.
[0055] The above flow limiting device 4 is suitable for the case that the workpiece size is large and the single output quantity is small. Since the output of workpieces in unit time is small during normal output, the output of workpieces can be limited when the count value is closer to the specified value, so that the overall flow limiting time is short and the workpieces are not easy to fall from the conveying belt 15 due to the blocking of the baffle 42.
[0056] When the conveying belt 15 transports workpieces of small size, the number of workpieces entering the first counting pipe 11 in unit time is large, and the output of workpieces needs to be limited when there is a large difference between the technical value and the specified value, so as to avoid exceeding the specified value due to excessive output of workpieces in unit time.
[0057] Therefore, the second flow limiting device 4 needs to be designed so that when a large number of workpieces are intercepted, the workpieces will not fall to the ground and need to be manually collected again.
[0058] Referring to Figure 5 , Figure 6 and Figure 7 , the second flow limiting device 4 includes a first intercepting plate 45 and a second intercepting plate 46 vertically slidingly installed on the third support frame 17. The first intercepting plate 45 and the second intercepting plate 46 are both vertical, and the plate surfaces of the first intercepting plate 45 and the second intercepting plate 46 are both inclined relative to the conveying direction of the conveying belt 15. One end of the first intercepting plate 45 and the second intercepting plate 46 is connected to each other, and the end connected to each other of the first intercepting plate 45 and the second intercepting plate 46 faces the feeding end of the conveying belt 15.
[0059] Referring to Figure 5 , Figure 6 and Figure 7 , the third support frame 17 is fixedly installed with an intercepting cylinder 5, the piston rod of the intercepting cylinder 5 is fixedly installed with a connecting plate 51, and the first intercepting plate 45 and the second intercepting plate 46 are both connected to the connecting plate 51. The intercepting cylinder 5 drives the first intercepting plate 45 and the second intercepting plate 46 to vertically slide through the connecting plate 51.
[0060] Referring to Figure 5 , Figure 6 and Figure 7 , when the piston rod of the intercepting cylinder 5 is extended, the first intercepting plate 45 and the second intercepting plate 46 can be used to intercept the materials transported on the conveying belt 15. When the piston rod of the intercepting cylinder 5 is retracted, the first intercepting plate 45 and the second intercepting plate 46 are away from the conveying belt 15, and the conveying belt 15 can normally transport materials.
[0061] Referring to Figure 5 , Figure 6 and Figure 7, the first intercepting plate 45 extends to outside of the conveying belt 15 at one end far from the second intercepting plate 46, the second intercepting plate 46 is located in the conveying belt 15 at one end far from the first intercepting plate 45, and the connecting end of the first intercepting plate 45 and the second intercepting plate 46 is close to the edge of the conveying belt 15 on the side of the second intercepting plate 46.
[0062] With reference to Figure 5 and Figure 6 When it is necessary to limit the flow of the conveying belt 15, the piston rod of the intercepting cylinder 5 is extended to drive the first intercepting plate 45 and the second intercepting plate 46 to descend, and the materials on the conveying belt 15 are divided by the first intercepting plate 45 and the second intercepting plate 46 when passing through the first intercepting plate 45 and the second intercepting plate 46. Since the connecting end of the first intercepting plate 45 and the second intercepting plate 46 is close to the side of the second intercepting plate 46, most of the materials are guided to the side of the first intercepting plate 45 and fall from the conveying belt 15 under the guidance of the first intercepting plate 45, and a small part of the materials is transported to the first counting pipe 11 through the conveying belt 15 on the side of the second intercepting plate 46 under the guidance of the second intercepting plate 46.
[0063] With reference to Figure 5 and Figure 6 The distance between the second intercepting plate 46 and the side of the conveying belt 15 allows one material to pass through, and the actual passing quantity is referred to the volume of the material. The excess materials are pushed down from the conveying belt 15 by the second intercepting plate 46.
[0064] The third supporting frame 17 on the side of the first intercepting plate 45 is rotatably provided with a guide plate 6, and the third supporting frame 17 on the side of the second intercepting plate 46 is also rotatably provided with a guide plate 6. The rotation axis of the guide plate 6 is parallel to the transport direction of the conveying belt 15.
[0065] The guide plate 6 is rotatably provided with a pull rod 61, one end of the pull rod 61 far from the guide plate 6 is rotatably provided with a connecting block 52 in a cylindrical shape, the connecting plate 51 is provided with a vertical sliding groove 511, and the connecting block 52 is slidingly installed in the sliding groove 511.
[0066] With reference to Figure 5 and Figure 6 One side of the guide plate 6 facing the ground is integrally provided with a jacking rod 62. Under normal circumstances, the guide plate 6 is rotated to be inclined towards the ground under the action of gravity, the jacking rod 62 abuts against the third supporting frame 17, at this time, the piston rod of the intercepting cylinder 5 is extended, the jacking rod 62 pushes the connecting block 52 to slide to the position where the side wall of the connecting block 52 abuts against the top wall of the sliding groove 511.
[0067] With reference to Figure 5 and Figure 6The guiding plate 6 is integrally provided with a collecting box 63 at one end away from the third support frame 17, when the guiding plate 6 is tilted towards the ground, the guiding plate 6 is used to guide the material pushed off the conveying belt 15 by the first intercepting plate 45 or the second intercepting plate 46 to fall into the collecting box 63 for collection.
[0068] Referring to Figure 5 and Figure 6 When the piston rod of the intercepting cylinder 5 is retracted, the connecting block 52 first slides against the bottom wall of the sliding groove 511, at this time, the first intercepting plate 45 and the second intercepting plate 46 are driven by the intercepting cylinder 5 to slide to cancel the intercepting height of the material on the conveying belt, the piston rod of the intercepting cylinder 5 continues to retract, the connecting plate 51 drives the guiding plate 6 to rotate through the connecting block 52 and the pull rod 61, thereby driving the collecting box to overturn, and the material in the collecting box falls onto the conveying belt 15 along the guiding plate 6.
[0069] Referring to Figure 5 and Figure 6 When the piston rod of the intercepting cylinder 5 is fully retracted, the guiding plate 6 is tilted towards the direction away from the ground, at this time, the material in the collecting box 63 completely falls onto the conveying belt 15. One side wall of the collecting box 63 is the guiding plate 6, so that the material in the collecting box 63 is not easy to be left.
[0070] Referring to Figure 5 and Figure 6 Both sides of the guiding plate 6 are provided with a stop edge 64 to block the material from falling off the guiding plate 6, the third support frame 17 is vertically slidably installed with a push plate 7, the push plate 7 is located between the first intercepting plate 45, the second intercepting plate 46 and the discharge end of the conveying belt 15, the third support frame 17 is rotatably installed with an adjusting lead screw 71, the adjusting lead screw 71 passes through the push plate 7 and is in threaded cooperation with the push plate 7.
[0071] The push plate 7 is located directly above the conveying belt 15, the push plate 7 can slide against the conveying belt 15, the distance between the push plate 7 and the conveying belt 15 is adjusted through the adjusting lead screw 71, and then the material stacked on the conveying belt 15 is pushed flat to a single layer through the push plate 7.
[0072] The third support frame 17 on both sides of the push plate 7 is fixedly installed with a limiting plate 72, the limiting plate 72 is used to limit the material from falling off the conveying belt 15 during the process of the push plate 7 pushing the material flat.
[0073] Referring to Figure 5 and Figure 6The rack 1 is slidably installed with the mounting frame 3 along the axis direction of the lens of the line scanning camera 14, and the rack 1 is provided with a plurality of positioning holes which are arranged at intervals along the sliding direction of the mounting frame 3, the mounting frame 3 is sleeved with a fixing bolt, and the positioning hole is threadedly connected with the fixing bolt, for the line scanning camera 14 with different focal lengths, the position adjustment of the line scanning camera 14 can be completed by sliding the mounting frame 3 to adapt to the focal length of the lens of the line scanning camera 14, and the fixing of the mounting frame 3 can be conveniently completed through the cooperation between the fixing bolt and the positioning hole.
[0074] In a second aspect, the embodiments of the present application disclose a counting system, comprising:
[0075] A graph segmentation module is configured to identify an image and segment the image into a plurality of independent images corresponding to the image receiving angle, and binarize the image.
[0076] A connected domain analysis module is configured to analyze each independent image segmented by the graph segmentation module through an independent channel to obtain a connected domain analysis result and region features.
[0077] A multi-channel fusion module is configured to match the region features and the connected domain analysis result extracted from the plurality of channels and analyze object overlapping and adhesion in the image through the region features and the connected domain analysis result.
[0078] The connected domain analysis module can efficiently identify the connected domain in the image through the connected domain analysis algorithm.
[0079] The connected domain analysis algorithm comprises the following steps:
[0080] 1. Run-length encoding, each row of the binarized image is encoded into a series of run-lengths.
[0081] 2. Run-length connection, the run-lengths with the same label between adjacent rows are connected.
[0082] 3. Region labeling and extraction, a unique identifier is assigned to each connected domain, and region features are extracted.
[0083] After the connected domain is identified through the connected domain algorithm in the connected domain analysis module, the features of the connected domain are extracted through a feature extraction algorithm.
[0084] The feature extraction algorithm comprises the following steps:
[0085] 1. Geometric features of the connected domain are extracted, such as area, center point and bounding box.
[0086] 2. Shape features of the connected domain are extracted, such as aspect ratio, circularity and linearity.
[0087] 3. Moment features of the connected domain are extracted, such as first moment, second moment and central moment.
[0088] The multi-channel fusion module uses a fusion algorithm to analyze the extraction results.
[0089] The fusion algorithm includes the following steps:
[0090] 1. Spatial registration is performed on the spatial offsets of the multiple channel supports, and in this embodiment, since the above structure is used, spatial registration is only performed on two channels.
[0091] 2. Time synchronization is performed on the two channels.
[0092] 3. Feature matching is performed on the items in the two images, and the similarity of the area, shape and other features of the items in the two images is compared.
[0093] 4. The technical result is determined according to the matching condition and saved.
[0094] The above are preferred embodiments of the present application, and are not intended to limit the protection scope of the present application, so that: any equivalent changes made according to the structure, shape, principle of the present application should be covered within the protection scope of the present application.
Claims
1. A piece counter, characterized in that The utility model relates to a kind of line-scan camera, including: rack (1), installation plate (16) located in rack (1), light source (13) located in installation plate (16), reflective device (2) located in installation plate (16) and line-scan camera (14) located in installation plate (16), installation plate (16) is equipped with the counting hole (161) for passing through material, installation plate (16) is equipped with third support frame (17), third support frame (17) is equipped with first counting tube (11), first counting tube (11) is coaxial with counting hole (161) and located above installation plate (16), second counting tube (12) is slidably arranged in counting hole (161), second counting tube (12) is fixedly connected with installation plate (16), gap is arranged between the bottom wall of first counting tube (11) and the top wall of second counting tube (12), and the light of light source (13) passes through the gap;The diameter of first counting tube (11) and second counting tube (12) is less than the depth of field size of line-scan camera (14); Reflective device (2) includes two mirrors (21) and a prism (22), two mirrors (21) are located at opposite sides of second counting tube (12), and prism (22) is a three-prism (22), two mirrors (21) reflect the image projected by light source (13) to two sides of three-prism (22), and then the image is projected into the lens of line-scan camera (14) by three-prism (22); The diameter of second counting tube (12) is greater than the diameter of first counting tube (11), and the material to be counted can pass through first counting tube (11) and second counting tube (12) in sequence; Rack (1) is rotatably provided with a conveying belt (15), and the conveying belt (15) is used for feeding the material into first counting tube (11), and rack (1) is further provided with a flow limiting device (4), and the flow limiting device (4) is used for limiting the discharging speed of the discharging conveying belt (15); The flow limiting device (4) comprises: A first support frame (43) is slidably arranged on the installation plate (16). A baffle (42) is arranged on the first support frame (43) and can be driven by the first support frame (43) to slide to the output end of the conveying belt (15) to block the output of the workpieces conveyed by the conveying belt (15). The first support frame (43) is slidably provided with a second support frame (44), and the baffle (42) is arranged on the second support frame (44), and the second support frame (44) is used for driving the baffle (42) to slide in the direction of opening or blocking the output end of the conveying belt (15). The first counting tube (11) is provided with a plurality of mounting holes (111) penetrating through the side wall, and a blocking rod is detachably arranged in the mounting hole (111).
2. A machine according to claim 1, characterised in that: The baffle (42) slides through the first counting tube (11) and is close to one side of the discharging end of the conveying belt (15).
3. A machine according to claim 1, wherein: The rack (1) is slidably provided with a mounting frame (3), and the line-scan camera (14) is arranged on the mounting frame (3), and the mounting frame (3) slides along the lens axis direction of the line-scan camera (14).
4. A machine according to claim 1, wherein: The utility model relates to a kind of line-scan camera, including:
5. A counting system characterized by, a graphics segmentation module, configured to identify the image and segment the image into a plurality of independent images corresponding to the number of image receiving angles of the discharge counter according to any one of claims 1-4; a connected domain analysis module, configured to perform connected domain analysis and region feature extraction on each independent image segmented by the graphics segmentation module through an independent channel; a multi-channel fusion module, configured to match the region features and the connected domain analysis results extracted in the plurality of channels, analyze object overlapping and adhesion in the image through the two, and then perform counting output.
Citation Information
Patent Citations
Multi-angle imaging device
CN116106327A
Pneumatic blocking mechanism
CN117049143A
Material detection method and device, electronic equipment and storage medium
CN117710287A
Automatic insect throwing device
CN220458338U