Hawthorn strip quality detection method and system and quantitative packaging and feeding mechanism

Automatically judge and cut hawthorn strips through image recognition technology, the problems of low packaging efficiency and waste of resources in the existing technology are solved, and efficient hawthorn strip packaging and effective utilization of resources are achieved.

CN119456447APending Publication Date: 2025-02-18山东金晔农法食品有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411591744.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, hawthorn strips have low packaging efficiency and serious resource waste, mainly because manual screening is not efficient enough to effectively utilize residual hawthorn strips.

Method used

Image recognition technology is used to obtain image information of hawthorn strips in the qualified recognition area and automatically determine whether they are qualified. If it fails, determine the position of the incomplete according to the image information, and use the virtual cutting line to control the actual cutting knife to cut the hawthorn strips, cut them into two parts, complete and incomplete, and collect them separately.

Benefits of technology

Efficient hawthorn strip packaging without manual screening is achieved, which improves overall efficiency and avoids waste of resources by cutting and collecting complete and incomplete hawthorn strips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119456447A_ABST
    Figure CN119456447A_ABST
Patent Text Reader

Abstract

The invention relates to a hawthorn strip quality detection method and system and a quantitative packaging and feeding mechanism, and belongs to the technical field of hawthorn strip packaging.The quality detection method comprises the steps that after hawthorn strips are conveyed to a qualification recognition area, image information of the hawthorn strips is obtained; based on the image information, judging whether the hawthorn strips are qualified or not; if yes, the hawthorn strips continue to be conveyed to a packaging area; if not, determining the incomplete positions of the hawthorn strips; based on the incomplete position, cutting the hawthorn strips; and respectively collecting the cut complete hawthorn strips and incomplete hawthorn strips. The haw strip packaging device has the beneficial effects that the overall haw strip packaging efficiency is improved, and excessive waste of resources is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of hawthorn bar packaging, and in particular to a hawthorn bar quality detection method, system and quantitative packaging feeding mechanism. Background Art

[0002] Before packaging, it is necessary to determine whether the hawthorn strips are qualified, so as to remove the defective hawthorn strips, thereby ensuring that the packaged hawthorn strips are all qualified hawthorn strips. In the related art, the selection of hawthorn strips is usually done manually, which on the one hand leads to low overall packaging efficiency, and on the other hand, the defective hawthorn strips cannot be reused, resulting in a waste of resources. Summary of the invention

[0003] In order to improve the overall efficiency of hawthorn bar packaging and avoid excessive waste of resources, the present application provides a hawthorn bar quality detection method, system and quantitative packaging line.

[0004] In the first aspect, the present application provides a method for detecting the quality of hawthorn strips, which adopts the following technical scheme: A method for detecting the quality of hawthorn strips, comprising: After the hawthorn strips are transmitted to the qualified identification area, image information of the hawthorn strips is obtained; Based on the image information, judging whether the hawthorn strips are qualified; If yes, continue to transfer the hawthorn strips to the packaging area; If not, determining the defective position of the hawthorn strip; Based on the defective position, cutting the hawthorn strips; Collect the complete and incomplete hawthorn strips after cutting respectively.

[0005] By adopting the above technical scheme, after the hawthorn strips are transmitted to the qualified identification area, the image information of the hawthorn strips can be collected, and then it can be automatically judged whether the hawthorn strips are qualified based on the image information, without the need for manual screening, thereby improving the overall efficiency of hawthorn strip packaging; when the hawthorn strips are identified as defective, the damaged position of the hawthorn strips can be determined according to the image information, and then the hawthorn strips can be cut according to the damaged position, so that the defective hawthorn strips can be cut into complete hawthorn strips and damaged hawthorn strips, and then collected separately, which can facilitate the subsequent use of complete hawthorn strips, thereby avoiding excessive waste of resources.

[0006] Optionally, the step of cutting the hawthorn strips comprises: Moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position, the starting boundary referring to the boundary of the hawthorn strips close to the defective position in the image information; Obtaining the moving distance of the virtual cutting line each time; Based on the moving distance, the actual cutting knife is controlled to move so as to cut the hawthorn strips.

[0007] By adopting the above technical solution, when the virtual cutting line completely passes through the defective position, it means that the area passed by the virtual cutting line is the defective area, so the movement of the actual cutting knife in reality can be controlled to complete the cutting of the hawthorn strips.

[0008] Optionally, the step of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position includes: Moving the virtual cutting line along the side edge close to the defective position until the virtual cutting line completely passes through the defective position, and the length of the virtual cutting line is not less than the length of the side edge; Obtain a first area of ​​the remaining complete area of ​​the hawthorn strip; Moving the virtual cutting line along the edge boundary close to the defective position until the virtual cutting line completely passes through the defective position, and the length of the virtual cutting line is not less than the length of the edge; Obtain a second area of ​​the remaining complete area of ​​the hawthorn strip; comparing the first area and the second area; If the first area is larger than the second area, moving the virtual cutting line along the side boundary close to the defective position; If the first area is smaller than the second area, moving the virtual cutting line along the end edge boundary close to the defective position; If the first area is equal to the second area, the virtual cutting line is moved along a side edge boundary or an end edge boundary close to the defective position.

[0009] By adopting the above technical solution, since the hawthorn strips are rectangular, the boundaries close to the damaged position are generally composed of two, one is the side edge and the other is the end edge. Therefore, the first area and the second area are obtained by moving the virtual cutting line along the side edge and the end edge respectively, so as to compare the first area and the second area, so as to determine which side is more appropriate as the starting boundary, so as to retain the complete hawthorn strips to the greatest extent, and further avoid excessive waste of resources.

[0010] Optionally, before comparing the first area and the second area, the step includes: Determine whether the first area and the second area are both greater than a minimum area threshold; If so, comparing the first area and the second area; If not, then no comparison is necessary; When the first area is smaller than the minimum area threshold, moving the virtual cutting line along the end edge boundary close to the defective position; When the second area is smaller than the minimum area threshold, moving the virtual cutting line along the side boundary close to the defective position; When both the first area and the second area are smaller than the minimum area threshold, defective hawthorn strips are discarded.

[0011] By adopting the above technical solution, before comparing the first area and the second area, it is necessary to first determine whether the first area and the second area are both greater than the minimum area threshold. If both are less than, it means that the hawthorn strips do not need to be recycled, thereby avoiding useless cutting and further improving the overall efficiency of hawthorn strip packaging.

[0012] Optionally, the step of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position includes: Determining whether the incomplete position is unique; If yes, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position; If not, continue to determine whether all the defective positions are on the same side; If they are on the same side, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through all the defective positions; If they are not on the same side, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position on the side and contacts the edge of the defective position on the other side.

[0013] By adopting the above technical solution, when the defective position is not unique and multiple defective positions are not on the same side, it is necessary to cut twice. If the defective position is unique, or multiple defective positions are on the same side, it is only necessary to cut once. By judging whether the defective position is unique, and whether they are all on the same side when not unique, the actual number of cuts required by the cutting knife and the moving distance of the virtual cutting line are determined, thereby improving the cutting accuracy.

[0014] Optionally, continuing to determine whether all the defective positions are before the same side includes: Determining whether the defective position covers the center line of the hawthorn strip; If yes, the virtual cutting line is moved along the starting boundary until the virtual cutting line touches the edge of the defective position closest to the starting boundary and completely passes through the defective position farthest from the starting boundary; If not, continue to determine whether all the defective positions are on the same side.

[0015] By adopting the above technical solution, the cutting accuracy is further improved.

[0016] In the second aspect, the present application provides a hawthorn strip quality detection system, which adopts the following technical solution: A hawthorn bar quality detection system, based on the above hawthorn bar quality detection method, the quality detection system comprises: An image acquisition module, used to acquire image information of the hawthorn strips after the hawthorn strips are transmitted to the qualified identification area; A judging module, used for judging whether the hawthorn strips are qualified based on the image information; if so, the transmission component continues to transmit the hawthorn strips to the packaging area; The defect position determination module is used to determine the defect position of the hawthorn strips when the hawthorn strips are unqualified; based on the defect position, the cutting component cuts the hawthorn strips, and the collecting component collects the complete hawthorn strips and the defective hawthorn strips after cutting respectively.

[0017] By adopting the above technical scheme, after the hawthorn strips are transmitted to the qualified identification area, the image information of the hawthorn strips can be collected, and then it can be automatically judged whether the hawthorn strips are qualified based on the image information, without the need for manual screening, thereby improving the overall efficiency of hawthorn strip packaging; when the hawthorn strips are identified as defective, the damaged position of the hawthorn strips can be determined according to the image information, and then the hawthorn strips can be cut according to the damaged position, so that the defective hawthorn strips can be cut into complete hawthorn strips and damaged hawthorn strips, and then collected separately, which can facilitate the subsequent use of complete hawthorn strips, thereby avoiding excessive waste of resources.

[0018] In a third aspect, the present application provides a feeding mechanism for quantitative packaging of hawthorn strips, which adopts the following technical solution: A feeding mechanism for quantitative packaging of hawthorn strips, suitable for the above-mentioned hawthorn strip quality detection method, the feeding mechanism comprising: A vibrating plate for feeding the transmission assembly; A material sorting component is installed at the beginning of the transmission component and is used to sort the loaded hawthorn strips in the same direction; A conveying assembly, used for conveying hawthorn strips to a packaging area; an industrial camera, mounted on the transmission component, for capturing images of the hawthorn strips when the hawthorn strips are transmitted to the qualified identification area; An industrial computer, used for judging whether the hawthorn strips are qualified based on the image; A cutting component, used for cutting hawthorn strips according to the damaged positions of the hawthorn strips; A collecting component, used for collecting the complete and incomplete hawthorn strips after cutting; The quantitative component is installed at the end of the transmission component and is used to transmit the qualified hawthorn strips in groups, with the number of hawthorn strips in each group being the same.

[0019] By adopting the above technical scheme, the hawthorn slices are fed into the vibration plate, the vibration plate vibrates and feeds the hawthorn strips to the transmission component, and the material sorting component straightens the hawthorn strips when the transmission component transmits the hawthorn strips; after the hawthorn strips are transmitted to the qualified identification area, the industrial camera collects the image of the hawthorn strips; when the hawthorn strips are qualified, the transmission component continues to transmit, and the quantitative component transmits the qualified hawthorn strips in groups to the packaging area; when the hawthorn strips are defective, the cutting component cuts the hawthorn strips according to the damaged position of the hawthorn strips, and the collecting component collects the complete hawthorn strips and the damaged hawthorn strips after cutting.

[0020] Optionally, the cutting assembly comprises: A cutting frame, installed at the industrial camera; A cutting knife, arranged on the cutting frame, for cutting defective hawthorn strips; A sliding component, used for driving the cutting knife to slide and rise and fall; The rotating component is used to drive the cutting knife to rotate; the sliding component and the rotating component are both connected to the industrial computer for communication.

[0021] Optionally, the rotating component includes: A rotating motor is mounted on the cutting frame; A rotating disk, coaxially fixedly connected to the output shaft of the rotating motor; The sliding component comprises: A sliding cylinder is mounted on the rotating disk; A sliding plate, mounted on the piston rod of the sliding cylinder, and having a length direction perpendicular to the axial direction of the sliding cylinder; The stator of the linear motor is mounted on the sliding plate, and the cutting knife is mounted on the mover of the linear motor.

[0022] In summary, the present application has at least the following beneficial effects: 1. After the hawthorn strips are transmitted to the qualified identification area, the image information of the hawthorn strips is obtained. When the hawthorn strips are judged to be unqualified, the damaged position of the hawthorn strips is determined. The purpose of cutting the hawthorn strips according to the damaged position is to improve the overall efficiency of hawthorn strip packaging without manual screening; when the hawthorn strips are identified as defective, the damaged position of the hawthorn strips can be determined according to the image information, and the hawthorn strips can be cut according to the damaged position, so as to cut the defective hawthorn strips into completed hawthorn strips and damaged hawthorn strips, and then collect them separately, which can facilitate the subsequent use of complete hawthorn strips, thereby avoiding excessive waste of resources.

[0023] 2. Move the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position, and obtain the moving distance of each virtual cutting line movement. The purpose is that when the virtual cutting line completely passes through the defective position, it means that the area passed by the virtual cutting line is a defective area. Therefore, the movement of the actual cutting knife in reality can be controlled to complete the cutting of the hawthorn strips.

[0024] 3. Move the virtual cutting line along the side boundary close to the defective position to obtain the first area of ​​the remaining complete area of ​​the hawthorn strip, and move the virtual cutting line along the end boundary close to the defective position to obtain the second area of ​​the remaining complete area of ​​the hawthorn strip. The purpose of comparing the first area and the second area is that since the hawthorn strip is a rectangle, the boundary close to the defective position is generally composed of two, one is the side and the other is the end. Therefore, the virtual cutting line is moved along the side and along the end to obtain the first area and the second area, respectively. The first area and the second area are compared to determine which side is more appropriate as the starting boundary, so as to retain the complete hawthorn strip to the greatest extent, and further avoid excessive waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 This is a schematic diagram of the structure of the quantitative packaging feeding mechanism of hawthorn strips of the present application; Figure 2 is a schematic diagram of the structure of the cutting assembly; Figure 3 It is a flowchart of an implementation method of Example 1 of the present application; Figure 4 It is a flowchart of the steps of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position; Figure 5 It is a flowchart of specific steps of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position; Figure 6 It is a flowchart of the steps that can be executed before S305; Figure 7 It is a structural block diagram of an embodiment of the system of the present application.

[0026] Explanation of the accompanying drawings: 101, image acquisition module; 102, judgment module; 103, incomplete position determination module; 104, virtual cutting line movement module; 105, distance acquisition module; 106, area acquisition module; 107, area comparison module; 210, vibration plate; 220, material sorting component; 230, transmission component; 240, industrial camera; 250, industrial computer; 260, cutting component; 261, cutting frame; 262, cutting knife; 263, sliding component; 2631, sliding cylinder; 2632, sliding plate; 2633, linear motor; 264, rotating component; 2641, rotating motor; 2642, rotating plate; 270, collecting component; 271, robotic arm; 272, collecting box; 280, quantitative component; 281, quantitative conveyor belt; 282, pushing plate; 283, collecting conveyor belt; 284, pushing cylinder. DETAILED DESCRIPTION

[0027] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the following will be combined with the appended drawings of the embodiments of the present invention. Figure 1 -Attached Figure 7 , the technical solutions in the embodiments of the present invention are clearly and completely described. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] The first embodiment of the present application discloses a feeding mechanism for quantitative packaging of hawthorn strips. Figure 1 As an embodiment of the feeding mechanism, the feeding mechanism may include a vibration plate 210, a material sorting component 220, a transmission component 230, an industrial camera 240, an industrial computer 250, a cutting component 260, a collecting component 270 and a quantitative component 280.

[0029] Among them, the vibration plate 210 is used to feed the transmission component 230, the material sorting component 220 is installed at the beginning of the transmission component 230, and is used to straighten the fed hawthorn strips in the same direction. The transmission component 230 is used to transmit the hawthorn strips to the quantitative component 280, and the transmission component 230 can be a belt conveyor. The industrial camera 240 is installed on the transmission component 230, and is used to collect the image of the hawthorn strips when the hawthorn strips are transmitted to the qualified identification area, and transmit the image to the industrial computer 250. The industrial computer 250 determines whether the hawthorn strips are qualified based on the image, and determines the defective position of the defective hawthorn strips. The cutting component 260 is used to cut the hawthorn strips according to the defective position, and the collection component 270 is used to collect the complete hawthorn strips and the defective hawthorn strips after cutting. The quantitative component 280 is installed at the end of the transmission component 230, and is used to transmit the qualified hawthorn strips to the packaging area in groups, and the number of hawthorn strips in each group is the same.

[0030] The material sorting assembly 220 may include a material sorting plate, and at least two material sorting plates are provided, which are provided according to actual conditions. Taking two material sorting plates as an example, the two material sorting plates are both installed at the transmission start end of the transmission assembly 230, and the two material sorting plates are provided at an angle, so that the hawthorn strips discharged from the vibration plate 210 face the same direction under the obstruction of the two material sorting plates.

[0031] Reference Figure 2 The cutting assembly 260 includes a cutting frame 261, a cutting knife 262, a sliding component 263 and a rotating component 264. The cutting frame 261 is installed at the industrial camera 240, and the cutting knife 262 is arranged on the cutting frame 261 to cut the defective hawthorn strips. The sliding component 263 is used to drive the sliding and lifting of the cutting knife 262, and the rotating component 264 is used to drive the rotation of the cutting knife 262; the sliding component 263 and the rotating component 264 are both connected to the industrial computer 250 for communication.

[0032] The rotating component 264 may include a rotating motor 2641 and a rotating disk 2642. The rotating motor 2641 is mounted on the cutting frame 261, and the rotating disk 2642 is coaxially fixedly connected to the output shaft of the rotating motor 2641.

[0033] The sliding component 263 may include a sliding cylinder 2631, a sliding plate 2632 and a linear motor 2633. The cylinder body of the sliding cylinder 2631 is mounted on the rotating disk 2642, and the axis of the sliding cylinder 2631 is parallel to the axis of the output shaft of the rotating motor 2641. The sliding plate 2632 is horizontally mounted on the piston rod of the sliding cylinder 2631, the stator of the linear motor 2633 is mounted on the sliding plate 2632, and the cutting knife 262 is mounted on the mover of the linear motor 2633. The linear motor 2633, the rotating motor 2641 and the sliding cylinder 2631 are all connected to the industrial computer 250 for communication.

[0034] Reference Figure 1 The collecting assembly 270 may include a mechanical arm 271 and a collecting box 272; two collecting boxes 272 are provided, respectively storing the complete hawthorn strips after cutting and the incomplete hawthorn strips after cutting. The mechanical arm 271 is installed at the cutting position and is used to clamp the hawthorn strips.

[0035] The quantitative assembly 280 may include a quantitative conveyor belt 281, a push plate 282, a collection conveyor belt 283 and a push cylinder 284. The collection conveyor belt 283 is installed at the transmission end of the transmission assembly 230, and the transmission direction of the collection conveyor belt 283 is perpendicular to the transmission direction of the transmission assembly 230; the collection conveyor belt 283 is evenly spaced with material dividing plates, and when the number of hawthorn strips falling on the collection conveyor belt 283 reaches the requirement, the collection conveyor belt 283 drives the hawthorn strips to move. The quantitative conveyor belt 281 is installed on one side of the transmission end of the collection conveyor belt 283, and the transmission direction is parallel to the transmission direction of the transmission assembly 230; the quantitative conveyor belt 281 is evenly spaced with quantitative partitions. The pushing cylinder 284 is installed on the other side of the transmission end of the collecting conveyor belt 283, and the pushing plate 282 is fixedly connected to the piston rod of the pushing cylinder 284, and is used to push the hawthorn strips between adjacent dividing plates on the collecting conveyor belt 283 to the quantitative conveyor belt 281, so that the quantitative conveyor belt 281 quantitatively transports qualified hawthorn strips to the packaging area.

[0036] The implementation principle of this embodiment is: The vibration plate 210 vibrates the hawthorn strips to the transmission component 230, and the transmission component 230 transmits the hawthorn strips. The hawthorn strips are transmitted in the same direction under the obstruction of the material sorting plate; after the transmission component 230 transmits the hawthorn strips to the qualified identification area, the industrial control camera collects the image of the hawthorn strips and sends the image to the industrial control computer 250, and the industrial control computer 250 determines whether the hawthorn strips are qualified according to the image. If so, the transmission component 230 continues to transmit, and when the number of hawthorn strips on the collecting conveyor belt 283 reaches the requirement, the collecting conveyor belt 283 conveys the hawthorn strips to the pushing place, the pushing cylinder 284 is actuated, and the pushing plate 282 pushes the hawthorn strips to the quantitative conveyor belt 281, and the quantitative conveyor belt 281 continues to transmit the hawthorn strips to the packaging area; If the hawthorn strips are unqualified, the cutting knife 262 is controlled to cut the hawthorn strips according to the damaged position, and the complete hawthorn strips and the damaged hawthorn strips are placed in the collection box 272 respectively through the mechanical arm 271.

[0037] The second embodiment of the present application discloses a method for detecting the quality of hawthorn strips. Figure 3 As an implementation of the quality detection method, the quality detection method may include S110-S160: S110, after the hawthorn strips are transmitted to the qualified identification area, image information of the hawthorn strips is obtained; S120, judging whether the hawthorn strips are qualified based on the image information; S130, if yes, continue to transfer the hawthorn strips to the packaging area; S140, if not, determining the defective position of the hawthorn strip; S150, cutting hawthorn strips based on the incomplete position; S160, collecting the complete hawthorn strips and the incomplete hawthorn strips after cutting.

[0038] Specifically, the image information of the collected hawthorn strips can be compared with the standard image information when the hawthorn strips are qualified, so as to determine whether the hawthorn strips are qualified. When the current image does not match the standard image, it means that the current hawthorn strips are unqualified, so as to further determine the incomplete position of the hawthorn strips. When determining the incomplete position of the hawthorn strips, a certain inflection point in the standard image can be used as the origin to establish a two-dimensional rectangular coordinate axis. After the boundary of the current image and the standard image overlap, the incomplete position of the hawthorn strips is determined according to the position mapped to the coordinate axis by the incomplete position. The actual position of the cutting knife 262 is the boundary position where the origin is located.

[0039] In S150, the specific steps of cutting hawthorn strips may include: The virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position, and the starting boundary refers to the boundary of the hawthorn strip close to the defective position in the image information; Get the moving distance of each virtual cutting line movement; Based on the moving distance, the actual cutting knife 262 is controlled to move so as to cut the hawthorn strips.

[0040] Further, refer to Figure 4 , the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position. The steps before that include S201-S205: S201, determining whether the incomplete position is unique; S202, if yes, move the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position; S203, if not, continue to determine whether all defective positions are on the same side; S204, if they are on the same side, moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through all the defective positions; S205: If they are not on the same side, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position on that side and contacts the edge of the defective position on the other side.

[0041] Furthermore, before S203, the following steps may be performed: Determine whether the defective position covers the center line of the hawthorn strip; If yes, move the virtual cutting line along the starting boundary until the virtual cutting line touches the edge of the defective position closest to the starting boundary and completely passes through the defective position farthest from the starting boundary; If not, continue to determine whether all the defective positions are on the same side.

[0042] When the defective position is not on the same side, the actual cutting knife 262 needs to cut twice. The same side means that the defective position does not cover the middle line of the hawthorn strip, and the middle line of the hawthorn strip is used as the boundary for division.

[0043] Reference Figure 5 , the specific steps of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position may include S301-S308: S301, moving the virtual cutting line along the side edge close to the defective position until the virtual cutting line completely passes through the defective position, and the length of the virtual cutting line is not less than the length of the side edge; S302, obtaining a first area of ​​the remaining complete area of ​​the hawthorn strips; S303, moving the virtual cutting line along the edge boundary close to the defective position until the virtual cutting line completely passes through the defective position, and the length of the virtual cutting line is not less than the length of the edge; S304, obtaining a second area of ​​the remaining intact region of the hawthorn strips; S305, comparing the first area and the second area; S306, if the first area is greater than the second area, moving the virtual cutting line along the side boundary close to the defective position; S307, if the first area is smaller than the second area, moving the virtual cutting line along the edge boundary close to the defective position; S308: If the first area is equal to the second area, the virtual cutting line is moved along the side edge or the end edge close to the defective position.

[0044] Further, refer to Figure 6 , before S305, you also need to execute S401-S406: S401, determining whether the first area and the second area are both greater than a minimum area threshold; S402, if yes, compare the first area with the second area; S403, if not, no comparison is required; S404, when the first area is less than the minimum area threshold, moving the virtual cutting line along the edge boundary close to the defective position; S405, when the second area is less than the minimum area threshold, moving the virtual cutting line along the side boundary close to the defective position; S406: When both the first area and the second area are smaller than the minimum area threshold, the defective hawthorn strips are removed.

[0045] A scenario is as follows: After the hawthorn strips are determined to be unqualified based on the image information, the defective position is determined, and it is judged whether the defective position is unique. If so, the virtual cutting line is moved along the side boundary close to the defective position until the virtual cutting line completely passes through the defective position, and the first area of ​​the remaining complete area of ​​the hawthorn strips is obtained; then the virtual cutting line is moved along the end boundary close to the defective position until the virtual cutting line completely passes through the defective position, and the second area of ​​the remaining complete area of ​​the hawthorn strips is obtained; then it is judged whether the first area and the second area are both greater than the minimum area threshold, if so, the first area and the second area are compared; if the first area is greater than the second area, the virtual cutting line is moved along the side boundary close to the defective position; after the virtual cutting line completely passes through the defective position, the moving distance of the virtual cutting line is obtained, so as to adjust the actual cutting knife 262 to coincide with the side boundary, and control the actual cutting knife 262 to move the same distance to cut the hawthorn strips; after cutting, the complete hawthorn strips and the incomplete hawthorn strips are collected respectively.

[0046] Based on the above method embodiment, the third embodiment of the present application discloses a hawthorn strip quality detection system. Figure 7 As an implementation of the quality inspection system, the quality inspection system may include: An image acquisition module 101 is used to acquire image information of the hawthorn strips after the hawthorn strips are transmitted to the qualified identification area; The judging module 102 is used to judge whether the hawthorn strips are qualified based on the image information; if so, the transmission component 230 continues to transmit the hawthorn strips to the packaging area; The defective position determination module 103 is used to determine the defective position of the hawthorn strips when the hawthorn strips are unqualified; based on the defective position, the cutting component 260 cuts the hawthorn strips, and the collecting component 270 collects the complete hawthorn strips and the defective hawthorn strips after cutting respectively.

[0047] Furthermore, the quality inspection system may also include: A virtual cutting line moving module 104 is used to move the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position; The distance acquisition module 105 is used to acquire the moving distance of each virtual cutting line movement; based on the moving distance, the industrial computer 250 controls the cutting component 260 to cut the hawthorn strips.

[0048] An area acquisition module 106 is used to acquire a first area and a second area of ​​the remaining complete area of ​​the hawthorn strips; The area comparison module 107 is used to compare the first area and the second area; if the first area is larger than the second area, the virtual cutting line moving module 104 moves the virtual cutting line along the side boundary close to the defective position; if the first area is smaller than the second area, the virtual cutting line is moved along the end boundary close to the defective position; if the first area is equal to the second area, the virtual cutting line is moved along the side boundary or the end boundary close to the defective position.

[0049] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application in sequence. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A method for detecting the quality of hawthorn strips, characterized in that: include: After the hawthorn strips are transmitted to the qualified identification area, image information of the hawthorn strips is obtained; Based on the image information, judging whether the hawthorn strips are qualified; If yes, continue to transfer the hawthorn strips to the packaging area; If not, determining the defective position of the hawthorn strip; Based on the defective position, cutting the hawthorn strips; Collect the complete and incomplete hawthorn strips after cutting respectively.

2. A method for detecting the quality of hawthorn strips according to claim 1, characterized in that: The step of cutting the hawthorn strips comprises: Moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position, the starting boundary referring to the boundary of the hawthorn strips close to the defective position in the image information; Obtaining the moving distance of the virtual cutting line each time; Based on the moving distance, the actual cutting knife (262) is controlled to move so as to cut the hawthorn strips.

3. A method for detecting the quality of hawthorn strips according to claim 2, characterized in that: The step of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position comprises: Moving the virtual cutting line along the side edge close to the defective position until the virtual cutting line completely passes through the defective position, and the length of the virtual cutting line is not less than the length of the side edge; Obtain a first area of ​​the remaining complete area of ​​the hawthorn strip; Moving the virtual cutting line along the edge boundary close to the defective position until the virtual cutting line completely passes through the defective position, and the length of the virtual cutting line is not less than the length of the edge; Obtain a second area of ​​the remaining complete area of ​​the hawthorn strip; comparing the first area and the second area; If the first area is larger than the second area, moving the virtual cutting line along the side boundary close to the defective position; If the first area is smaller than the second area, moving the virtual cutting line along the end edge boundary close to the defective position; If the first area is equal to the second area, the virtual cutting line is moved along a side edge boundary or an end edge boundary close to the defective position.

4. A method for detecting the quality of hawthorn strips according to claim 3, characterized in that: Before comparing the first area and the second area, the method includes: Determine whether the first area and the second area are both greater than a minimum area threshold; If so, comparing the first area and the second area; If not, then no comparison is necessary; When the first area is smaller than the minimum area threshold, moving the virtual cutting line along the end edge boundary close to the defective position; When the second area is smaller than the minimum area threshold, moving the virtual cutting line along the side boundary close to the defective position; When both the first area and the second area are smaller than the minimum area threshold, defective hawthorn strips are discarded.

5. A method for detecting the quality of hawthorn strips according to claim 2, characterized in that: The step of moving the virtual cutting line along the starting boundary until the virtual cutting line completely passes through the defective position includes: Determining whether the incomplete position is unique; If yes, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position; If not, continue to determine whether all the defective positions are on the same side; If they are on the same side, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through all the defective positions; If they are not on the same side, the virtual cutting line is moved along the starting boundary until the virtual cutting line completely passes through the defective position on the side and contacts the edge of the defective position on the other side.

6. A method for detecting the quality of hawthorn strips according to claim 5, characterized in that: The step of continuing to judge whether all the defective positions are before the same side includes: Determining whether the defective position covers the center line of the hawthorn strip; If yes, the virtual cutting line is moved along the starting boundary until the virtual cutting line touches the edge of the defective position closest to the starting boundary and completely passes through the defective position farthest from the starting boundary; If not, continue to determine whether all the defective positions are on the same side.

7. A hawthorn strip quality detection system, characterized in that: Based on the hawthorn strip quality detection method according to any one of claims 1 to 6, the quality detection system comprises: An image acquisition module (101) is used to acquire image information of the hawthorn strips after the hawthorn strips are transmitted to the qualified identification area; A judgment module (102) is used to judge whether the hawthorn strips are qualified based on the image information; if so, the transmission component (230) continues to transmit the hawthorn strips to the packaging area; The defect position determination module (103) is used to determine the defect position of the hawthorn strips when the hawthorn strips are unqualified; based on the defect position, the cutting component (260) cuts the hawthorn strips, and the collecting component (270) respectively collects the complete hawthorn strips and the defective hawthorn strips after cutting.

8. A feeding mechanism for quantitative packaging of hawthorn strips, characterized in that: Applicable to the method for detecting the quality of hawthorn strips as claimed in any one of claims 1 to 6, wherein the feeding mechanism comprises: A vibration plate (210) for feeding materials to the transmission component (230); A material sorting component (220) is installed at the beginning of the transmission component (230) and is used to sort the loaded hawthorn strips in the same direction; A transmission component (230) for transmitting hawthorn strips to a packaging area; an industrial camera (240), mounted on the transmission component (230), and used to capture images of the hawthorn strips when the hawthorn strips are transmitted to the qualified identification area; An industrial computer (250) is used to determine whether the hawthorn strips are qualified based on the image; A cutting assembly (260) is used to cut the hawthorn strips according to the damaged positions of the hawthorn strips; A collecting component (270) is used to collect the complete hawthorn strips and the incomplete hawthorn strips after cutting; The quantitative component (280) is installed at the end of the transmission component (230) and is used to transmit the qualified hawthorn strips in groups, with each group having the same number of hawthorn strips.

9. A feeding mechanism for quantitative packaging of hawthorn strips according to claim 8, characterized in that: The cutting assembly (260) comprises: A cutting frame (261) installed at the industrial camera (240); A cutting knife (262) is disposed on the cutting frame (261) and is used for cutting defective hawthorn strips; A sliding component (263) used for driving the cutting knife (262) to slide and rise and fall; The rotating component (264) is used to drive the cutting blade (262) to rotate; the sliding component (263) and the rotating component (264) are both communicatively connected to the industrial computer (250).

10. A feeding mechanism for quantitative packaging of hawthorn strips according to claim 9, characterized in that: The rotating component (264) comprises: A rotating motor (2641) is mounted on the cutting frame (261); A rotating disk (2642) is coaxially fixedly connected to the output shaft of the rotating motor (2641); The sliding component (263) comprises: A sliding cylinder (2631) is mounted on the rotating disk (2642); A sliding plate (2632) is mounted on the piston rod of the sliding cylinder (2631), and its length direction is perpendicular to the axial direction of the sliding cylinder (2631); A linear motor (2633) has a stator mounted on the sliding plate (2632), and the cutting knife (262) is mounted on a mover of the linear motor (2633).