Discharging counting machine and counting system thereof
Through the design of multi-angle reflection device and current limiting device, the counting error problem caused by material overlap during line scanning camera counting is solved, achieving a higher precision counting effect, while reducing cost and light source complexity.
Patent Information
- Application Number
- CN202510736104.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2045-06-04
AI Technical Summary
Existing line scan cameras are prone to counting errors due to material overlap when counting falling materials, especially when the overlapping surface is facing the camera, which may result in only one material being scanned and counting twice.
The material image is projected to the line scan camera by accepting images from multiple angles for counting. When an angle image overlaps, non-overlapping images are taken as accurate counting, and combined with the current limiting device and counting tube design, the material overlap and adhesion are reduced.
Improve counting accuracy, reduce costs, and simplify light source design and reduce the occurrence of counting errors.
Smart Images

Figure CN120258032A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of counting devices, and in particular, to a discharging counter and its counting system. Background Art
[0002] With the development of camera technology, line array cameras have emerged. Line array cameras use line array sensors and capture only one row of pixels at a time. Through the movement of the object or the camera, the entire image is scanned row by row, enabling line array cameras to perform high-resolution detection and counting on high-speed moving objects. Therefore, line array cameras can be used to photograph and count materials that are fed by free fall. Counting with a line scan camera usually requires setting up a vertical feeding pipe. A light-transmitting groove is formed through the side wall of the feeding pipe. The line scan camera is arranged on one side of the feeding pipe, and the light source is arranged on the opposite side of the feeding pipe. The material falls from the feeding pipe. The light source emits light, and the line scan camera captures the light passing through the light-transmitting groove to photograph the material, completing the counting of the material.
[0003] Regarding the above related technologies, it is considered that there are the following defects: the materials may overlap during the falling process. If the overlapping surface of the materials faces the line scan camera, it may cause the line scan camera to only scan one material, and the other overlapping material is blocked, resulting in the line scan camera only counting once, and finally leading to incorrect counting by the line scan camera. Summary of the Invention
[0004] In order to solve the problem that incorrect counting may occur when counting materials falling from a conveyor belt by the traditional method of photographing with a line scan camera, this application provides a discharging counter and its counting system.
[0005] In a first aspect, a discharging counter provided by this application adopts the following technical solution: A discharging counter includes a frame, a mounting plate arranged on the frame, a light source arranged on the mounting plate, a reflection device arranged on the mounting plate, and a line scan camera arranged on the mounting plate. The mounting plate is provided with a counting hole for passing materials. The light source is used to irradiate the materials passing through the counting hole, and the reflection device is used to project the images of the materials passing through the counting hole onto the line scan camera from multiple angles.
[0006] Through the above technical solution, the image of the material passing through the counting hole is projected onto the reflection device, and then the reflection device at multiple angles reflects the images at multiple angles into the line-scan camera. Compared with the traditional method of counting by receiving images in a single direction through a line-scan camera, the line-scan camera counts by receiving images at multiple angles. When the images at one angle overlap, there must be images at other angles that are non-overlapping. At this time, the non-overlapping images are taken as accurate counts, making it difficult for counting errors to occur due to material overlap, improving the counting accuracy. At the same time, since only one line-scan camera is used, the cost is low and the design of the light source is relatively simple.
[0007] Optionally, the mounting plate is provided with a first counting tube and a second counting tube. The material to be counted can pass through the first counting tube and the second counting tube in sequence. There is a gap for projecting the image between the end face of the first counting tube and the end face of the second counting tube. The second counting tube is connected to the counting hole. The diameters of the first counting tube and the second counting tube are both smaller than the depth-of-field size of the line-scan camera.
[0008] Optionally, the diameter of the second counting tube is larger than that of the first counting tube.
[0009] Optionally, a plurality of mounting holes are formed through the side wall of the first counting tube, and blocking rods are detachably arranged in the mounting holes. The mounting holes are far away from the second counting tube.
[0010] Optionally, a conveyor belt is rotatably installed on the frame. The conveyor belt is used to feed the material into the first counting tube. The frame is also provided with a current-limiting device, and the current-limiting device is used to limit the discharging speed of the discharging conveyor belt.
[0011] Optionally, the current-limiting device includes: A first support frame slidably arranged on the mounting plate; A baffle plate arranged on the first support frame and capable of sliding to the output end of the conveyor belt under the drive of the first support frame to block the output of some of the workpieces transported by the conveyor belt.
[0012] Optionally, a second support frame is slidably installed on the first support frame. The baffle plate is arranged on the second support frame. The second support frame is used to drive the baffle plate to slide in the direction of opening or blocking the output end of the conveyor belt.
[0013] Optionally, the reflection device includes a plurality of reflectors arranged on the mounting plate and a prism on the mounting plate at the lens of the line-scan camera. The reflectors are used to reflect images of the workpiece at multiple different angles passing through the counting hole to the prism, and the prism is used to reflect the images into the lens of the line-scan camera.
[0014] Optionally, an installation frame is slidably provided on the rack, the line scan camera is arranged on the installation frame, and the installation frame slides along the lens axis direction of the line scan camera.
[0015] In a second aspect, the present application provides a counting system, including: A graphic segmentation module, configured to identify an image and segment the image into a plurality of independent images corresponding to the above-mentioned image receiving angles; A connected component analysis module, configured to perform connected component analysis and region feature extraction on each independent image segmented by the graphic segmentation module through an independent channel; A multi-channel fusion module, configured to match the region features and connected component analysis results extracted from multiple channels and analyze the object overlap and adhesion in the image through both.
[0016] In summary, in the present application, the materials passing through the counting holes are reflected by the reflection device to reflect images at multiple angles to the line scan camera. Compared with the traditional method of counting by receiving images in a single direction through a line scan camera, the line scan camera counts by receiving images at multiple angles. When the images at one angle overlap, there must be images at other angles that are non-overlapping. At this time, the non-overlapping images are taken as accurate counting, so that the counting is not easily affected by material overlap and counting errors are reduced, improving the counting accuracy. Description of the Drawings
[0017] Figure 1 is a three-dimensional structural schematic diagram of the present application, showing the first current limiting device in the figure.
[0018] Figure 2 is a three-dimensional structural schematic diagram of the present application, showing the first current limiting device in the figure, and most of the rack is removed in the figure.
[0019] Figure 3 is a three-dimensional structural schematic diagram of the reflector of the present application.
[0020] Figure 4 is a three-dimensional structural schematic diagram at the discharge end of the conveyor belt of the present application.
[0021] Figure 5 is a three-dimensional structural schematic diagram of the present application, showing the second current limiting device in the figure.
[0022] Figure 6 is Figure 5 the enlarged schematic diagram of part A in
[0023] Figure 7 is a three-dimensional structural schematic diagram of the connecting plate and the connecting block of the present application.
[0024] Those skilled in the art will understand that the elements in the drawings are shown for simplicity and clarity and are not necessarily drawn to scale. For example, the dimensions and positions of some elements in the drawings may be enlarged relative to other elements to help improve the understanding of the embodiments of the present invention.
[0025] Reference numerals: 1, frame; 11, first counter tube; 111, mounting hole; 12, second counter tube; 13, light source; 14, line scan camera; 15, conveyor belt; 16, mounting plate; 161, counting hole; 17, third support frame; 18, support plate; 2, reflection device; 21, mirror; 22, prism; 23, first bracket; 24, second bracket; 3, mounting frame; 4, current 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, chute; 52, connecting block; 6, guiding plate; 61, pull rod; 62, ejector rod; 63, collection box; 64, edge stop; 7, push plate; 71, adjusting screw rod; 72, limiting plate. Detailed implementation manners
[0026] The following will further describe the present application in detail with reference to the Figure 1-7 drawings.
[0027] In a first aspect, an embodiment of the present application discloses a discharge counter, referring to Figure 1 and Figure 2 , including a frame 11, a mounting plate 16 fixedly installed on the frame 1, a light source 13 fixedly installed on the mounting plate 16, and a line scan camera 14 provided on the mounting plate 16.
[0028] Referring to Figure 1 and Figure 2 , the mounting plate 16 is horizontal, the mounting plate 16 is provided with a counting hole 161 through it, 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.
[0029] 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 counter tube 11, the first counter tube 11 is coaxial with the counting hole 161 and is located above the mounting plate 16, a second counter tube 12 is slidably inserted through the counting hole 161 coaxially, the second counter tube 12 is fixedly connected to the mounting plate 16, and there is a gap between the bottom wall of the first counter tube 11 and the top wall of the second counter tube 12, and the light of the light source 13 passes through the gap.
[0030] Referring to Figure 1 andFigure 2 , the diameter of the first counting tube 11 is smaller than that of the second counting tube 12, so that when the workpiece enters the second counting tube 12, it is not easy to touch the inner wall and rebound back into the first counting tube 11, resulting in 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 be blurred, and thus the recognition accuracy in subsequent image recognition is higher.
[0031] Refer to Figure 1 and Figure 2 , a plurality of mounting holes 111 are circumferentially and spacedly penetrated through the upper side wall of the first counting tube 11, the axis of the mounting hole 111 passes through the axis of the first counting tube 11, and a set of railings are slidably inserted into the mounting hole 111. The workpiece entering the first counting tube 11 is blocked by the set of railings, so that the workpiece in a gathered state entering the first counting tube 11 will be scattered by the set of railings, reducing the mutual overlap and adhesion between the workpieces.
[0032] Refer to Figure 1 and Figure 2 , the mounting plate 16 is provided with a reflection device 2. The reflection device 2 includes a plurality of reflectors 21 and a prism 22. The reflectors 21 are 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 into the lens of the line-scan camera 14.
[0033] Refer to Figure 1 and Figure 2 , in this embodiment, two reflectors 21 are used, which are respectively located on opposite sides of the second counting tube 12, and the prism 22 is a triangular prism 22. The two reflectors 21 reflect the image projected by the light source 13 from two symmetric directions to two faces of the triangular prism 22, and then the triangular prism 22 projects the image into the lens of the line-scan camera 14.
[0034] Refer to Figure 1 and Figure 2 , the two reflectors 21 reflect the images of multiple workpieces passing through the gap between the first counting tube 11 and the second counting tube 12 from two angles. Even if the materials at one angle overlap, the materials at the other angle will be in a separated state. When counting, the counting is based on the picture with more counted quantity, so that the overall counting of the material feeding is not easy to cause counting errors due to the overlap of materials at one angle.
[0035] Meanwhile, although theoretically the images reflected by the two symmetrically designed mirrors 21 may overlap at both angles, leading to counting errors, in actual use, it is rare for the workpiece to be at this dead point and in an overlapping state exactly. This dead angle can be ignored. Moreover, using two mirrors 21 greatly reduces the difficulty of subsequent maintenance and adjustment, facilitating subsequent maintenance and adjustment.
[0036] Meanwhile, since only two mirrors 21 are used, there is no mutual interference between the optical paths from the mirrors 21 to the prism 22. As a result, for the feeding of various different materials, accurate counting can be achieved without adjusting the mirrors 21 and the prism 22.
[0037] Meanwhile, due to the use of the prism 22, compared with using two interconnected mirrors for reflection, there is no shadow in the middle of the picture reflected by the prism 22 and projected onto the lens of the line scan camera 14, and thus it will not interfere with subsequent image processing.
[0038] Refer to Figure 1 and Figure 2 , a conveyor belt 15 is rotatably installed on the support frame. The material is conveyed to the first counting tube 11 through the conveyor belt 15. When the material is output from the conveyor belt 15, it is thrown into the first counting tube 11 under the action of inertia, and then freely falls into the second counting tube 12 under the action of gravity, and finally exits from the lower end of the second counting tube 12.
[0039] Refer to Figure 1 and Figure 2 , the prism 22 is fixedly connected to the mounting plate 16 by a support plate 18. The support plate 18 blocks the light projected by the light source 13 onto the lens of the line scan camera 14, so that the image reflected by the prism 22 is not interfered by the light of the light source 13.
[0040] Refer to Figure 2 and Figure 3 , the mirror 21 is provided with a first bracket 23 and a second bracket 24. Both the first bracket 23 and the second bracket 24 are arc-shaped fine-tuning sliding tables. The first bracket 23 is fixedly installed on the frame 1, the second bracket 24 is fixedly installed on the first bracket 23, and the mirror 21 is fixed to the second bracket 24. By driving the second bracket 24 and the mirror 21 to rotate around the horizontal axis through the first bracket 23, and driving the mirror 21 to rotate around the vertical axis through the second bracket 24, the mirror 21 can be conveniently adjusted to an appropriate angle through the first bracket 23 and the second bracket 24.
[0041] Refer to Figure 1 and Figure 2, a conveyor belt 15 is rotatably installed on the third support frame 17. The materials to be counted are transported to the first counting tube 11 through the conveyor belt 15, and then are thrown to the middle of the first counting tube 11 under the action of inertia and then fall freely. Moreover, the third support frame 17 is used to support the conveying surface of the conveyor belt 15, so that the conveyor belt 15 is not prone to jitter during material transportation, resulting in material dropping.
[0042] When the counting result is close to the specified value, it is necessary to reduce the output flow rate of the workpieces. The counting result is supplemented to the specified value by the method of slow workpiece replenishment to avoid excessive replenishment caused by too fast workpiece replenishment.
[0043] In order to reduce the output flow rate of the workpieces, a flow limiting device 4 is provided on the mounting plate 16.
[0044] Refer to Figure 2 and Figure 4 , the first type of flow limiting device 4 includes a first support frame 43 vertically lifted and installed on the mounting plate 16 by a cylinder. A second support frame 44 is horizontally slidably installed on the first support frame 43. A baffle 42 is fixedly installed on the second support frame 44. The baffle 42 slidably passes through one side of the first counting tube 11 close to the discharge end of the conveyor belt 15.
[0045] Refer to Figure 2 and Figure 4 , the cylinder that drives the first support frame 43 to lift is defined as the lifting cylinder 41. When the piston rod of the lifting cylinder 41 extends, the first support frame 43, the second support frame 44 and the baffle 42 rise under the drive of the lifting cylinder 41. The raised baffle 42 blocks the discharge end of the conveyor belt 15. The baffle 42 is provided with a discharge port 421. At this time, the workpieces output by the conveyor belt 15 can only be discharged through the discharge port 421. The discharge flow rate of the conveyor belt 15 is limited by the raised baffle 42.
[0046] Refer to Figure 2 and Figure 4 , the width of the discharge port 421 of the baffle 42 is not less than the width of the conveyor belt 15. The width of the part of the baffle 42 used to block the discharge of the conveyor belt 15 is not less than the width of the conveyor belt 15. By sliding the second support frame 44, the baffle 42 can be driven to slide, and further the ratio between the discharge port 421 of the baffle 42 and the blocking part of the baffle 42 when the baffle 42 blocks the discharge end of the conveyor belt 15 can be adjusted.
[0047] Refer to Figure 2 and Figure 4 , the first support frame 43 drives the second support frame 44 to slide through a lead screw. For workpieces of different sizes, the lead screw is rotated to drive the second support frame 44 and the baffle 42 to slide, and further the ratio between the discharge port 421 of the baffle 42 and the blocking part of the baffle 42 is adjusted for adaptation.
[0048] The above current-limiting device 4 is applicable to the case where the workpiece size is large and the single output quantity is small. Since the quantity of workpieces output per unit time during normal output is small, the output of workpieces can be current-limited when the count value is closer to the specified value, so that the overall current-limiting time is short, and the workpieces are not likely to fall from the conveyor belt 15 due to the blockage of the baffle 42.
[0049] When the size of the workpieces conveyed by the conveyor belt 15 is small and the number of workpieces entering the first counting tube 11 per unit time is large, it is necessary to current-limit the output of workpieces when there is still 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 per unit time.
[0050] Therefore, it is necessary to design the second current-limiting device 4 so that when a large number of workpieces are intercepted, the workpieces will not fall to the ground and need to be manually collected repeatedly.
[0051] Refer to Figure 5 、 Figure 6 and Figure 7 The second current-limiting device 4 includes a first intercepting plate 45 and a second intercepting plate 46 that are vertically slidably mounted on the third support frame 17. Both the first intercepting plate 45 and the second intercepting plate 46 are vertical, and the plate surfaces of the first intercepting plate 45 and the second intercepting plate 46 are inclined with respect to the conveying direction of the conveyor belt 15. One end of the first intercepting plate 45 and the second intercepting plate 46 are connected to each other, and the connected end of the first intercepting plate 45 and the second intercepting plate 46 faces the feeding end of the conveyor belt 15.
[0052] Refer 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. Both the first intercepting plate 45 and the second intercepting plate 46 are 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.
[0053] Refer to Figure 5 、 Figure 6 and Figure 7 When the piston rod of the intercepting cylinder 5 extends, the first intercepting plate 45 and the second intercepting plate 46 can be used to intercept the materials transported on the conveyor belt 15. When the piston rod of the intercepting cylinder 5 contracts, the first intercepting plate 45 and the second intercepting plate 46 move away from the conveyor belt 15, and the conveyor belt 15 can transport materials normally.
[0054] Refer to Figure 5 、 Figure 6 and Figure 7, one end of the first intercepting plate 45 away from the second intercepting plate 46 extends outside the conveyor belt 15, one end of the second intercepting plate 46 away from the first intercepting plate 45 is located in the conveyor belt 15, and the connecting end of the first intercepting plate 45 and the second intercepting plate 46 is close to the edge of the conveyor belt 15 on the side of the second intercepting plate 46.
[0055] Refer to Figure 5 and Figure 6 , when it is necessary to limit the flow of the conveyor belt 15, the piston rod of the intercepting cylinder 5 extends to drive the first intercepting plate 45 and the second intercepting plate 46 to descend. When the materials on the conveyor belt 15 pass through the first intercepting plate 45 and the second intercepting plate 46, they are diverted by 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 will be guided to the side of the first intercepting plate 45 and fall from the conveyor belt 15 under the guidance of the first intercepting plate 45, and a small part of the materials will be transported to the first counting tube 11 through the conveyor belt 15 on the side of the second intercepting plate 46 under the guidance of the second intercepting plate 46.
[0056] Refer to Figure 5 and Figure 6 , the distance between the second intercepting plate 46 and the side of the conveyor belt 15 allows one material to pass through. The actual passing quantity refers to the volume of the material, and the excess materials will be pushed down from the conveyor belt 15 by the second intercepting plate 46.
[0057] A guiding plate 6 is rotatably installed on the third support frame 17 on the side of the first intercepting plate 45, and a guiding plate 6 is also rotatably installed on the third support frame 17 on the side of the second intercepting plate 46. The rotation axis of the guiding plate 6 is parallel to the transportation direction of the conveyor belt 15.
[0058] A pull rod 61 is rotatably installed on the guiding plate 6. One end of the pull rod 61 away from the guiding plate 6 is rotatably installed with a cylindrical connecting block 52. The connecting plate 51 is provided with a vertical sliding groove 511, and the connecting block 52 is slidably installed in the sliding groove 511 in a matching manner.
[0059] Refer to Figure 5 and Figure 6 , a top rod 62 is integrally provided on the side of the guiding plate 6 facing the ground. Under normal conditions, the guiding plate 6 rotates to be inclined towards the ground under the action of gravity, and the top rod 62 abuts against the third support frame 17. At this time, the piston rod of the intercepting cylinder 5 extends, and the top rod 62 pushes the connecting block 52 to slide until the side wall of the connecting block 52 abuts against the top wall of the sliding groove 511.
[0060] Refer to Figure 5 and Figure 6, one end of the guide plate 6 away from the third support frame 17 is integrally provided with a collection box 63. When the guide plate 6 rotates to be inclined towards the ground, the guide plate 6 is used to guide the materials pushed off the conveyor belt 15 by the first intercepting plate 45 or the second intercepting plate 46 to fall into the collection box 63 for concentration.
[0061] Refer to Figure 5 and Figure 6 , when the piston rod of the intercepting cylinder 5 contracts, first the connecting block 52 slides to abut against the bottom wall of the chute 511. At this time, the first intercepting plate 45 and the second intercepting plate 46 slide under the drive of the intercepting cylinder 5 to cancel the intercepting height of the materials on the conveyor belt. When the piston rod of the intercepting cylinder 5 continues to contract, the connecting plate 51 drives the guide plate 6 to rotate through the connecting block 52 and the pull rod 61, thereby driving the collection box to flip, and the materials in the collection box fall back onto the conveyor belt 15 along the guide plate 6.
[0062] Refer to Figure 5 and Figure 6 , when the piston rod of the intercepting cylinder 5 is fully contracted, the guide plate 6 rotates to be inclined towards the direction away from the ground. At this time, the materials in the collection box 63 completely fall onto the conveyor belt 15. One side wall of the collection box 63 is the guide plate 6, so that the materials in the collection box 63 are not likely to remain.
[0063] Refer to Figure 5 and Figure 6 , both sides of the guide plate 6 are provided with baffle edges 64 to prevent the materials from falling off the guide 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 conveyor belt 15. The third support frame 17 is rotatably installed with an adjusting screw rod 71. The adjusting screw rod 71 passes through the push plate 7 and is in threaded cooperation with the push plate 7.
[0064] The push plate 7 is located directly above the conveyor belt 15. The push plate 7 can slide to abut against the conveyor belt 15. By adjusting the distance between the push plate 7 and the conveyor belt 15 through the adjusting screw rod 71, the stacked materials poured onto the conveyor belt 15 are pushed flat to a single layer by the push plate 7.
[0065] Limit plates 72 are fixedly installed on both sides of the third support frame 17 of the push plate 7. The limit plates 72 are used to prevent the materials from falling off the conveyor belt 15 during the process of the push plate 7 pushing the materials flat.
[0066] Refer to Figure 5 and Figure 6, a mounting bracket 3 is slidably mounted on the rack 1 along the axial direction of the lens of the line scan camera 14. The rack 1 is also provided with a plurality of positioning holes which are arranged at intervals along the sliding direction of the mounting bracket 3. The mounting bracket 3 is sleeved with fixing bolts, and the positioning holes are in threaded cooperation with the fixing bolts. For line scan cameras 14 with different focal lengths, the position adjustment of the line scan camera 14 can be completed by sliding the mounting bracket 3 to adapt to the lens focal length of the line scan camera 14. At the same time, the fixing of the mounting bracket 3 can be more conveniently completed through the cooperation between the fixing bolts and the positioning holes.
[0067] In a second aspect, an embodiment of the present application discloses a counting system, including: A graphic segmentation module, configured to identify an image and segment the image into a plurality of independent images corresponding to the above-mentioned image receiving angles, and binarize the image; A connected component analysis module, configured to perform connected component analysis and region feature extraction on each independent image segmented by the graphic segmentation module through an independent channel; A multi-channel fusion module, configured to match the region features and connected component analysis results extracted from multiple channels and analyze the object overlap and adhesion in the image through both.
[0068] The connected component analysis module analyzes the image through a connected component analysis algorithm, and can more efficiently identify the connected regions in the image.
[0069] The connected component analysis algorithm includes the following steps: 1. Run-length encoding, encoding each row of the binarized image into a series of runs; 2. Run connection, connecting the runs with the same label between adjacent rows; 3. Region marking and extraction, assigning a unique identifier to each connected region and extracting region features.
[0070] After the connected regions are identified by the connected component algorithm in the connected component analysis module, feature extraction is performed on the connected regions through a feature extraction algorithm.
[0071] The feature extraction algorithm includes the following steps: 1. Extract the geometric features of the connected region, such as area, center point, and bounding box; 2. Extract the shape features of the connected region, such as aspect ratio, circularity, and linearity; 3. Extract the moment features of the connected region, such as first-order moment, second-order moment, and central moment.
[0072] The multi-channel fusion module analyzes the extraction results by using a fusion algorithm.
[0073] The fusion algorithm includes the following steps: 1. Perform spatial registration on the spatial offsets of multiple channel brackets. In this embodiment, due to the adoption of the above structure, only two channels need to be spatially registered.
[0074] 2. Synchronize the time of the two channels.
[0075] 3. Perform feature matching on the items in the two images and compare the similarity of features such as the area and shape of the items in the two images.
[0076] 4. Determine the technical result according to the matching situation and save it.
[0077] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereby. Therefore, all equivalent changes made according to the structure, shape, and principle of the present application should be covered within the protection scope of the present application.
Claims
1. A discharging counter, characterized in that, Comprising: A frame (1), a mounting plate (16) provided on the frame (1), a light source (13) provided on the mounting plate (16), a reflection device (2) provided on the mounting plate (16), and a line scan camera (14) provided on the mounting plate (16). The mounting plate (16) is provided with a counting hole (161) for passing materials. The light source (13) is used to irradiate the materials passing through the counting hole (161). The reflection device (2) is used to project the images of the materials passing through the counting hole (161) onto the line scan camera (14) from multiple angles.
2. The material discharging counter according to claim 1, characterized in that: The mounting plate (16) is provided with a first counting tube (11) and a second counting tube (12). The materials to be counted can sequentially pass through the first counting tube (11) and the second counting tube (12). There is a gap for projecting images between the end face of the first counting tube (11) and the end face of the second counting tube (12). The second counting tube (12) is connected to the counting hole (161). The diameters of both the first counting tube (11) and the second counting tube (12) are smaller than the depth of field size of the line scan camera (14).
3. The material discharging counter according to claim 2, wherein: The diameter of the second counting tube (12) is larger than the diameter of the first counting tube (11).
4. The material discharging counter according to claim 2, characterized in that: A plurality of mounting holes (111) are penetrated through the side wall of the first counting tube (11). A blocking rod is detachably provided in the mounting hole (111). The mounting hole (111) is away from the second counting tube (12).
5. The discharging counter according to claim 2, wherein: The frame (1) is rotatably mounted with a conveyor belt (15). The conveyor belt (15) is used to feed materials into the first counting tube (11). The frame (1) is further provided with a current limiting device (4). The current limiting device (4) is used to limit the discharging speed of the discharging conveyor belt (15).
6. The discharging counter according to claim 5, wherein, The current limiting device (4) includes: A first support frame (43) slidably provided on the mounting plate (16); A baffle (42) provided on the first support frame (43), which can be slid to the output end of the conveyor belt (15) under the drive of the first support frame (43) to block the output of some of the workpieces transported by the conveyor belt (15).
7. The material discharging counter according to claim 6, wherein: The first support frame (43) is slidably mounted with a second support frame (44). The baffle (42) is provided on the second support frame (44). The second support frame (44) is used to drive the baffle (42) to slide along the direction of opening or blocking the output end of the conveyor belt (15).
8. A discharging counter according to claim 1, characterized in that, The reflection device (2) includes a plurality of reflectors (21) provided on the mounting plate (16) and a prism (22) of the mounting plate (16) provided at the lens of the line scan camera (14). The reflectors (21) are used to reflect the images of the workpieces at multiple different angles passing through the counting hole (161) to the prism (22). The prism (22) is used to reflect the images into the lens of the line scan camera (14).
9. A discharging counter according to claim 1, wherein: The frame (1) is slidably provided with a mounting frame (3). The line scan camera (14) is provided on the mounting frame (3). The mounting frame (3) slides along the lens axis direction of the line scan camera (14).
10. A counting system, characterized in that, Including the following modules: A graphic segmentation module, configured to recognize an image and segment the image into a plurality of independent images corresponding to the number of image receiving angles of the discharging counter described in any one of claims 1-9; A connected component analysis module, configured to perform connected component analysis and region feature extraction on each independent image segmented by the graphic segmentation module through an independent channel; A multi-channel fusion module, configured to match the region features and the connected component analysis results extracted in multiple channels, analyze the object overlap and adhesion in the image through both, and then perform counting output.
Citation Information
Patent Citations
Dynamic material counting method and device based on three-dimensional vision technology
CN112381855A
Ten-channel counting equipment
CN114455150A
Multi-angle imaging device
CN116106327A
Pneumatic blocking mechanism
CN117049143A
Material detection method and device, electronic equipment and storage medium
CN117710287A