Circular sample screening system, circular sample screening method and storage medium

By designing a circular sample screening system, industrial cameras and control equipment are used to automatically identify and compare the size of circular samples, combined with conveyor belt speed adjustment, to solve the problems of human error and low efficiency of traditional detection methods, and achieve efficient sample screening. and yield guarantee.

CN118237287BActive Publication Date: 2024-10-22HANGZHOU HUICUI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410675175.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-10-22
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Traditional circular object detection methods are prone to human error, have low detection efficiency, and are costly and complex to operate.

Method used

Design a circular sample screening system, including control end equipment, industrial camera device, screening device, conveyor belt device and circular sample collection box. Sample images are collected through the industrial camera, and the control end equipment performs size identification and comparison. The screening device is based on Unqualified samples are removed from the comparison results and the conveyor speed is adjusted according to the number of samples.

Benefits of technology

It realizes automated circular sample size measurement and comparison, improves detection efficiency, reduces human errors and operational complexity, and ensures the factory yield of samples.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118237287B_ABST
    Figure CN118237287B_ABST
Patent Text Reader

Abstract

The present application discloses a circular sample screening system, a circular sample screening method and a storage medium. The circular sample screening system includes a control terminal device, an industrial camera device, a screening device, a conveyor belt device and a circular sample collection box. The industrial camera device collects an image of a target circular sample at a preset position on the conveyor belt device and outputs the image to the control terminal device; the control terminal device identifies the target circular sample on the received image to obtain the circular sample size, compares the circular sample size with a preset size range, and outputs a preset control instruction to the screening device when the circular sample size is not within the preset size range; when the screening device receives the preset control instruction, the timer is started, and when the timer reaches the preset time length, the target action corresponding to the preset control instruction is executed to remove the target circular sample from the conveyor belt device. Effective screening of qualified circular samples is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation technology, and in particular to a circular sample screening system, a circular sample screening method and a storage medium. Background Art

[0002] Round objects are very common in daily life, industrial production and scientific research. For example, tires, clocks, coins, balls, etc. are all common round objects. During the manufacturing, use and maintenance of these objects, their size and characteristics need to be accurately understood to ensure their normal operation and meet the expected requirements. Traditional round object detection methods are mostly manual methods or electronic detectors that measure one by one. On the one hand, they rely on manual readings, which is prone to human errors and low detection efficiency. On the other hand, detection by micrometers or infrared instruments is often costly and difficult to perform with such precision instruments.

[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention

[0004] The purpose of the present application is to provide a circular sample screening system, a circular sample screening method and a storage medium, which can solve the problems that traditional circular object detection methods are prone to human errors, have low detection efficiency, and are relatively costly, and have a certain threshold for operation and high operation complexity. The system can automatically measure and compare the dimensions of circular samples, effectively screen out qualified circular samples, and ensure the factory yield of samples.

[0005] In a first aspect, the present application provides a circular sample screening system, the system comprising: a control end device, an industrial camera device, a screening device, a conveyor belt device and a circular sample collection box, wherein a data output end of the industrial camera device is connected to a first input end of the control end device, and the first output end of the control end device is connected to a data input end of the screening device, the industrial camera device and the screening device are arranged directly above the conveyor belt device, and the circular sample collection box is arranged directly below the outlet end of the conveyor belt device, wherein the screening device is at a preset distance from the industrial camera device and is arranged parallel to the conveying direction of the conveyor belt device;

[0006] The conveyor belt device is used to convey the circular sample input from the inlet end to the outlet end at a first preset speed;

[0007] The circular sample collection box is used to collect the circular samples output from the outlet end;

[0008] The industrial camera device is used to collect an image of a target circular sample at a preset position on the conveyor device and output the image to the control end device, wherein the preset position is a position directly below the industrial camera in the industrial camera device;

[0009] The control terminal device is used to identify the target circular sample on the received image to obtain the circular sample size, compare the circular sample size with a preset range, and output a preset control instruction to the screening device when the circular sample size is not within the preset range;

[0010] The screening device is used to start a timer when receiving the preset control instruction, and when the timer reaches a preset time length, execute the target action corresponding to the preset control instruction to remove the target circular sample from the conveyor device, wherein the preset time length is the quotient of the preset distance and the first preset speed.

[0011] Optionally, the circular sample screening system further comprises: a counting device disposed on the circular sample collection box, connected to the control end device, for counting the circular samples in the circular sample collection box to obtain the number of circular samples, and outputting the number of circular samples to the control end device;

[0012] The control end device is also used to determine the speed update information corresponding to the conveyor belt device according to the number of circular samples and a preset threshold condition when receiving the number of circular samples, and control the conveyor belt device to convey the circular samples at a second preset speed corresponding to the speed update information. Optionally, the circular sample screening system also includes an audible and visual alarm device, which is connected to the control end device;

[0013] The control terminal device is also used to perform data verification on the received image, and output alarm information to the sound and light alarm device when the verification result of the data verification is that the image is invalid data;

[0014] The sound and light alarm device is used to output a sound and light alarm signal when receiving the alarm information.

[0015] In a second aspect, the present application provides a circular sample screening method, which is applied to a circular sample screening system as provided in an embodiment of the present application, and the method comprises:

[0016] The industrial camera device collects an image of a target circular sample at a preset position on the conveyor device, and outputs the image to the control end device, wherein the preset position is a position directly below the industrial camera in the industrial camera device;

[0017] The control end device identifies the target circular sample on the received image to obtain the circular sample size, compares the circular sample size with a preset size range, and outputs a preset control instruction to the screening device if the circular sample size is not within the preset size range;

[0018] When the screening device receives the preset control instruction, it starts the timer, and when the timer reaches the preset time length, it executes the target action corresponding to the preset control instruction to remove the target circular sample from the conveyor device, wherein the preset time length is the quotient of the preset distance and the first preset speed.

[0019] Optionally, the circular sample screening system further comprises: a counting device disposed on the circular sample collection box and connected to the control end device;

[0020] The method further comprises:

[0021] The counting device counts the circular samples in the circular sample collection box to obtain the number of circular samples, and outputs the number of circular samples to the control terminal device;

[0022] When receiving the number of circular samples, the control end device determines the speed update information corresponding to the conveyor belt device according to the number of circular samples and the preset threshold condition, and controls the conveyor belt device to convey the circular samples at a second preset speed corresponding to the speed update information. Optionally, the preset threshold condition is provided with a first threshold and a second threshold;

[0023] Accordingly, the speed update information corresponding to the conveyor device is determined according to the number of circular samples and a preset threshold condition, including:

[0024] When the number of circular samples is lower than the first threshold, or the number of circular samples is higher than the second threshold, the first preset speed is reduced by a preset amplitude to obtain a second preset speed, and the speed update information is generated based on the second preset speed.

[0025] Optionally, the control end device identifies the target circular sample on the received image to obtain the circular sample size, including:

[0026] The control terminal device inputs the received image into the trained image recognition model to obtain the contour graphic of the target circular sample;

[0027] The control terminal device measures the preset size parameters of the contour graphic to obtain the circular sample size.

[0028] Optionally, before the control terminal device inputs the received image into the trained image recognition model to obtain the contour graphic of the target circular sample, the method further includes:

[0029] The control end device performs Gaussian filtering on the received image to obtain a filtered image;

[0030] The control end device performs edge enhancement processing on the filtered image to obtain an enhanced image;

[0031] Correspondingly, the control terminal device inputs the received image into the trained image recognition model to obtain the contour graph of the target circular sample, including:

[0032] The control terminal device inputs the enhanced image into the trained image recognition model to obtain the contour graphic of the target circular sample.

[0033] Optionally, the circular sample screening system further comprises an audible and visual alarm device, and the audible and visual alarm device is connected to the control terminal device;

[0034] The method further comprises:

[0035] The control terminal device performs data verification on the received image, and outputs alarm information to the sound and light alarm device when the verification result of the data verification is that the image is invalid data;

[0036] When receiving the alarm information, the sound and light alarm device outputs a sound and light alarm signal.

[0037] In a third aspect, the present application provides a computer-readable storage medium, which includes a program for a circular sample screening method. When the program for the circular sample screening method is executed by a processor, the steps of the circular sample screening method are implemented.

[0038] As can be seen from the above, the circular sample screening system, circular sample screening method and storage medium provided by the present application include a control end device, an industrial camera device, a screening device, a conveyor belt device and a circular sample collection box. The industrial camera device collects the image of the target circular sample at the preset position on the conveyor belt device and outputs the image to the control end device; the control end device identifies the target circular sample on the received image to obtain the circular sample size, compares the circular sample size with the preset size range, and outputs a preset control instruction to the screening device when the circular sample size is not within the preset size range; when the screening device receives the preset control instruction, it starts the timer, and when the timer reaches the preset time length, it executes the target action corresponding to the preset control instruction to remove the target circular sample from the conveyor belt device, wherein the preset time length is the quotient of the preset distance and the first preset speed. The present application collects sample images through the industrial camera device, measures and compares the size based on the sample image through the control end device, and effectively screens out qualified circular samples based on the comparison results through the control screening device to ensure the factory yield of the samples.

[0039] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A schematic diagram of a circular sample screening system provided in an embodiment of the present application;

[0042] Figure 2 A schematic diagram of the structure of a screening device provided in an embodiment of the present application;

[0043] Figure 3 A flow chart of a circular sample screening method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0045] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0046] Please refer to Figure 1 , is a schematic diagram of a circular sample screening system in some embodiments of the present application. The circular sample screening system comprises: a control end device 101, an industrial camera device 102, a screening device 103, a conveyor belt device 104 and a circular sample collection box 105, wherein the data output end of the industrial camera device 102 is connected to the first input end of the control end device 101, the first output end of the control end device 101 is connected to the data input end of the screening device 103, the industrial camera device 102 and the screening device 103 are arranged directly above the conveyor belt device 104, and the circular sample collection box 105 is arranged directly below the outlet end of the conveyor belt device 104, wherein the screening device 103 is at a preset distance from the industrial camera device 102 and is arranged parallel to the conveying direction of the conveyor belt device;

[0047] The conveyor device 104 is used to convey the circular sample input from the inlet end to the outlet end at a first preset speed;

[0048] The circular sample collection box 105 is used to collect the circular samples output from the outlet;

[0049] The industrial camera device 102 is used to collect an image of a target circular sample at a preset position on the conveyor device 104 and output the image to the control terminal device 101. The preset position is a position directly below the industrial camera in the industrial camera device.

[0050] The control terminal device 101 is used to identify the target circular sample from the received image to obtain the circular sample size, compare the circular sample size with a preset range, and output a preset control instruction to the screening device 103 when the circular sample size is not within the preset range;

[0051] The screening device 103 is used to start a timer when receiving a preset control instruction, and when the timer reaches a preset time length, execute the target action corresponding to the preset control instruction to remove the target circular sample from the conveyor device 104, wherein the preset time length is the quotient of the preset distance and the first preset speed.

[0052] It should be noted that the control end device can be a computing device with a memory and a processor, and can transmit data with other devices through a wired connection or a wireless connection. The control end device can be deployed on site in the form of a machine. The industrial camera device may include a bracket, a mainboard fixed to the back side of the bracket, and at least one industrial camera fixed to the bracket and located between the mainboard and the bracket. The industrial camera may be a CCD black and white camera, a two-dimensional RGB camera, etc. The conveyor belt device may include a conveyor belt body, a driving mechanism, a supporting mechanism, a tensioning device, a guiding device, and a safety protection device. In one embodiment, as Figure 2 As shown, the screening device 103 may include a fixed rod 1031, a motor 1032 and a scraper 1033, and the motor 1032 can drive the scraper 1033 to sweep the unqualified circular samples out of the conveyor belt device. Of course, the screening device can also be provided with a gripping mechanism, an adsorption mechanism, etc., corresponding to different actions of removing the circular sample from the conveyor belt device, and can be adapted to the shape, weight and precision of the circular sample for adaptive selection, which is not limited in this application. In the process of transmitting the circular sample input from the inlet end to the outlet end at a first preset speed, the conveyor belt device can place the circular sample under the industrial camera device and the screening device, and collect the image of the circular sample through the industrial camera device, and perform image detection and judgment on whether the circular sample is a qualified sample through the control end device, and finally screen out the unqualified samples through the screening device, and collect the qualified circular samples through the circular sample collection box.

[0053] Optionally, before using the circular sample screening system for circular sample screening, a zero point calibration can be performed to ensure that the conveyor belt is in a level state before use. The specific operation process is to place a level meter on the conveyor belt and adjust the conveyor belt to a level state by using the level meter to ensure the image acquisition effect of the industrial camera and maintain the stability of the conveyor belt.

[0054] It should be noted that the circular sample screening system collects the image of the target circular sample at the preset position on the conveyor belt device through the industrial camera device, and outputs the image to the control end device; the control end device identifies the target circular sample on the received image to obtain the circular sample size, compares the circular sample size with the preset size range, and outputs the preset control instruction to the screening device when the circular sample size is not within the preset size range; when the screening device receives the preset control instruction, the timer is started, and when the timer reaches the preset time, the target action corresponding to the preset control instruction is executed to remove the target circular sample from the conveyor belt device, wherein the preset time is the quotient of the preset distance and the first preset speed. The system realizes the acquisition of sample images through the industrial camera device, the size measurement and comparison based on the sample image through the control end device, and the effective screening of qualified circular samples through the control screening device based on the comparison results, thereby ensuring the factory yield of the samples.

[0055] According to an embodiment of the present invention, the circular sample screening system further comprises: a counting device disposed on the circular sample collection box, connected to the control end device, for counting the circular samples in the circular sample collection box to obtain the number of circular samples, and outputting the number of circular samples to the control end device;

[0056] The control end device is also used to determine the speed update information corresponding to the conveyor belt device according to the number of circular samples and the preset threshold conditions when the number of circular samples is received, and control the conveyor belt device to convey the circular samples at the second preset speed corresponding to the speed update information. It should be noted that the counting device can be provided with a reflective photoelectric sensor, which counts by emitting a light beam and then detecting the light beam reflected back by the measured object, or it can be provided with an infrared photoelectric sensor, which is not limited in this application. The counting device can confirm the number of circular samples judged to be qualified in a single batch. If the number of the circular samples is too small or the number of the circular samples is the complete number of a single batch, it means that the conveyor belt device may have a speed abnormality, which makes it easy for the industrial camera device to collect abnormal images. The speed of the conveyor belt device needs to be adjusted to ensure the normal screening of circular samples.

[0057] According to an embodiment of the present invention, the circular sample screening system further comprises an audible and visual alarm device, which is connected to the control terminal device;

[0058] The control terminal device is also used to perform data verification on the received image, and output alarm information to the sound and light alarm device when the verification result of the data verification is that the image is invalid data;

[0059] The sound and light alarm device is used to output sound and light alarm signals when receiving alarm information.

[0060] It should be noted that the sound and light alarm device may be provided with a light alarm and a sound alarm, the light alarm may be used to emit a high-brightness light, and the sound alarm may be used to emit a high-frequency sound. If the image is invalid data, it means that the industrial camera device may be abnormal, and it is necessary to output a sound and light alarm signal to remind the staff to conduct an abnormality investigation in time.

[0061] Please refer to Figure 3 , is a flow chart of a circular sample screening method in some embodiments of the present application. The circular sample screening method is applied to a circular sample screening system, and specifically includes the following steps:

[0062] S101, the industrial camera device collects an image of a target circular sample at a preset position on the conveyor device, and outputs the image to a control terminal device;

[0063] S102, the control end device identifies the target circular sample on the received image to obtain the circular sample size, compares the circular sample size with a preset size range, and outputs a preset control instruction to the screening device when the circular sample size is not within the preset size range;

[0064] S103. When the screening device receives a preset control instruction, it starts the timer. When the timer reaches a preset time length, it executes the target action corresponding to the preset control instruction to remove the target circular sample from the conveyor device, wherein the preset time length is the quotient of the preset distance and the first preset speed.

[0065] It should be noted that the shooting angle of the industrial camera device can be perpendicular to the upper surface of the conveyor device, and can be aimed at the circular sample corresponding to the preset position directly below it. Among them, the shooting frequency of the industrial camera device can be set in conjunction with the speed of the conveyor device to ensure that the industrial camera device can accurately capture the image of the circular sample at the preset position each time. The preset duration is the quotient of the preset distance and the first preset speed. Specifically, if the conveyor device moves at a constant speed V, and the distance between the screening device and the industrial camera device is L, then the time for the circular sample to reach the corresponding position of the screening device after passing through the industrial camera is T=L / V. The screening device can perform the corresponding target action after receiving the preset control instruction output by the control end device, for example, removing the circular sample from the conveyor device after a time T. In one embodiment, the size of the circular sample can be the diameter of the sample. The staff can input the preset size range into the control end device in advance. For example, d is the diameter of the circular sample, and the preset size range can be (d1, d2), where d1 and d2 are the endpoint thresholds of the diameter compliance range, respectively. Correspondingly, the circular sample with a diameter at (d1, d2) can be considered qualified and screened out by the screening device. Optionally, the spacing of the circular samples on the conveyor device can be set to adapt to the size of the screening component of the screening device. For example, the screening component is a scraper and can be set to be larger than , to avoid accidentally touching the adjacent sample when the scraper moves. Of course, the circular sample size can also be the contour area of ​​the circular sample in the image. For example, S is the contour area of ​​the circular sample, then the preset size range can be set to (S1, S2) etc., wherein S1 and S2 are the endpoint thresholds of the area compliance range respectively, and there can also be other size forms, which are not limited in this application. In one embodiment, the circular sample to be detected is placed on a conveyor belt device, and the conveyor belt device conveys the circular sample to the shooting position of the industrial camera device, and the industrial camera device shoots it. The industrial camera device outputs the image of the circular sample to the control end device in real time, and the control end device recognizes the image to obtain the circular sample size, and compares the circular sample size with the preset size range, and judges the circular sample that is not in the preset size range as unqualified, and sends a preset control instruction to the screening device. After the screening device receives the preset control instruction, when the preset time is reached, the unqualified circular sample is removed from the conveyor belt device, and the qualified circular sample will continue to be conveyed by the conveyor belt device to the circular sample collection box for collection, thereby achieving the effect of circular sample screening.

[0066] According to an embodiment of the present invention, the circular sample screening system further comprises: a counting device disposed on the circular sample collection box and connected to the control terminal device; the method further comprises:

[0067] The counting device counts the circular samples in the circular sample collection box to obtain the number of circular samples, and outputs the number of circular samples to the control end device;

[0068] When the control end device receives the number of circular samples, it determines the speed update information corresponding to the conveyor belt device according to the number of circular samples and the preset threshold conditions, and controls the conveyor belt device to convey the circular samples at the second preset speed corresponding to the speed update information. It should be noted that the counting device can be provided with a reflective photoelectric sensor, which counts by emitting a light beam and then detecting the light beam reflected back by the measured object, or it can be provided with an infrared photoelectric sensor, which is not limited in this application. The counting device can confirm the number of circular samples judged to be qualified in a single batch. If the number of the circular samples is too small or the number of the circular samples is the complete number of a single batch, it means that the conveyor belt device may have a speed abnormality, which makes it easy for the industrial camera device to collect abnormal images. The speed of the conveyor belt device needs to be adjusted to ensure the normal screening of circular samples.

[0069] According to an embodiment of the present invention, the preset threshold condition is provided with a first threshold and a second threshold;

[0070] Accordingly, the speed update information corresponding to the conveyor device is determined according to the number of circular samples and the preset threshold condition, including:

[0071] When the number of circular samples is lower than a first threshold, or the number of circular samples is higher than a second threshold, the first preset speed is reduced by a preset amplitude to obtain a second preset speed, and speed update information is generated based on the second preset speed.

[0072] It should be noted that, when there is no abnormality in the industrial camera device, if the number of circular samples is lower than the first threshold, it means that too many circular samples have been removed, or if the number of circular samples is higher than the first threshold, it means that the circular samples have basically not been screened out. This can be regarded as the speed of the conveyor belt device being too fast, resulting in the image taken by the industrial camera device being blurred, and the recognition result of the blurred image may basically be within the preset size range, or basically not within the preset size range. Therefore, it is necessary to adjust the speed of the conveyor belt device to reduce it by a preset amplitude.

[0073] According to an embodiment of the present invention, the control terminal device identifies the target circular sample in the received image to obtain the circular sample size, including:

[0074] The control end device inputs the received image into the trained image recognition model to obtain the contour graphic of the target circular sample;

[0075] The control end device measures the preset size parameters of the contour graphic to obtain the circular sample size.

[0076] It should be noted that the image recognition model can be a convolutional neural network CNN, a residual network ResNet, etc., and the image recognition model can be trained based on images of circular samples collected in advance. The target circular sample can be accurately and efficiently identified by the image recognition model to obtain the contour graph of the target circular sample. The preset size parameters can be parameters such as diameter, length, width, and area, and can be adaptively selected according to the shape characteristics of the circular sample and the specification requirements of the actual application scenario, which is not limited in this application.

[0077] According to an embodiment of the present invention, before the control terminal device inputs the received image into the trained image recognition model to obtain the contour graph of the target circular sample, the method further includes:

[0078] The control end device performs Gaussian filtering on the received image to obtain a filtered image;

[0079] The control end device performs edge enhancement processing on the filtered image to obtain an enhanced image;

[0080] Correspondingly, the control end device inputs the received image into the trained image recognition model to obtain the contour graph of the target circular sample, including:

[0081] The control end device inputs the enhanced image into the trained image recognition model to obtain the contour graphic of the target circular sample.

[0082] It should be noted that the Gaussian filter processing can be performed using a convolution kernel of size 3×3. For example, the relevant formula for the Gaussian filter processing is:

[0083] ,

[0084] Among them, G(x,y) is the Gaussian filter value, x and y represent the displacement values ​​of the original image in the x direction and y direction respectively. represents a constant, m is the center value of the Gaussian kernel in the x direction, n is the center value of the Gaussian kernel in the y direction, and e is a natural constant. By applying Gaussian filtering, the purpose of eliminating noise in the image can be achieved.

[0085] The edge enhancement process may select a gradient-based edge enhancement technique, a sharpening-based edge enhancement technique, etc., to accurately identify and extract the area or boundary of the target circular sample in the image.

[0086] According to an embodiment of the present invention, the circular sample screening system further comprises an audible and visual alarm device, which is connected to the control terminal device;

[0087] The method further includes:

[0088] The control end device performs data verification on the received image, and outputs alarm information to the sound and light alarm device when the verification result of the data verification is that the image is invalid data;

[0089] When receiving the alarm information, the sound and light alarm device outputs the sound and light alarm signal.

[0090] It should be noted that the data verification can be a format check, data size check, data pixel range check, etc. of the image. Invalid data can be incomplete image content due to abnormal image size, abnormal image content due to image pixels being in an abnormal value range, unreadable image content due to image format errors, etc. By outputting sound and light alarm signals, the staff can be effectively reminded to conduct abnormality inspections on the industrial camera device in a timely manner to confirm whether there are any abnormalities in the image acquisition function, data communication connection, etc.

[0091] The present invention also provides a computer-readable storage medium, which includes a circular sample screening method program. When the circular sample screening method program is executed by a processor, the steps of the circular sample screening method are implemented.

[0092] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0093] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0094] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0095] Those skilled in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0096] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A circular sample screening system, characterized in that: The system comprises: a control end device, an industrial camera device, a screening device, a conveyor belt device and a circular sample collection box, wherein the control end device is connected to the industrial camera device and the screening device respectively, the industrial camera device and the screening device are arranged directly above the conveyor belt device, and the circular sample collection box is arranged directly below the outlet end of the conveyor belt device, wherein the screening device is arranged at a preset distance from the industrial camera device and parallel to the conveying direction of the conveyor belt device; The conveyor belt device is used to convey the circular sample input from the inlet end to the outlet end at a first preset speed; The circular sample collection box is used to collect the circular samples output from the outlet end; The industrial camera device is used to collect an image of a target circular sample at a preset position on the conveyor device and output the image to the control end device, wherein the preset position is a position directly below the industrial camera in the industrial camera device; The control terminal device is used to identify the target circular sample on the received image to obtain the circular sample size, compare the circular sample size with a preset range, and output a preset control instruction to the screening device when the circular sample size is not within the preset range; The screening device is used to start a timer when receiving the preset control instruction, and when the timer reaches a preset time length, execute a target action corresponding to the preset control instruction to remove the target circular sample from the conveyor device, wherein the preset time length is the quotient of the preset distance and the first preset speed; The screening method applied to the circular sample screening system is characterized by comprising the following steps: The industrial camera device collects an image of a target circular sample at a preset position on the conveyor device, and outputs the image to the control end device, wherein the preset position is a position directly below the industrial camera in the industrial camera device; The control end device identifies the target circular sample on the received image to obtain the circular sample size, compares the circular sample size with a preset size range, and outputs a preset control instruction to the screening device if the circular sample size is not within the preset size range; When the screening device receives the preset control instruction, the timer is started, and when the timer reaches the preset time length, the target action corresponding to the preset control instruction is executed to remove the target circular sample from the conveyor device, wherein the preset time length is the quotient of the preset distance and the first preset speed; The circular sample screening system further comprises: a counting device disposed on the circular sample collection box, connected to the control end device, for counting the circular samples in the circular sample collection box to obtain the number of circular samples, and outputting the number of circular samples to the control end device; The control end device is also used to determine the speed update information corresponding to the conveyor belt device according to the number of circular samples and a preset threshold condition when receiving the number of circular samples, and control the conveyor belt device to convey the circular samples at a second preset speed corresponding to the speed update information; The preset threshold condition is provided with a first threshold and a second threshold. Accordingly, the speed update information corresponding to the conveyor device is determined according to the number of circular samples and the preset threshold condition, including: When the number of circular samples is lower than the first threshold, or the number of circular samples is higher than the second threshold, the first preset speed is reduced by a preset amplitude to obtain a second preset speed, and the speed update information is generated based on the second preset speed; The control end device identifies the target circular sample on the received image to obtain the circular sample size, including: The control terminal device inputs the received image into the trained image recognition model to obtain the contour graphic of the target circular sample; The control end device measures the preset size parameters of the contour graphic to obtain the circular sample size; Before the control terminal device inputs the received image into the trained image recognition model to obtain the contour graphic of the target circular sample, the method further includes: The control end device performs Gaussian filtering on the received image to obtain a filtered image; The control end device performs edge enhancement processing on the filtered image to obtain an enhanced image; Correspondingly, the control terminal device inputs the received image into the trained image recognition model to obtain the contour graph of the target circular sample, including: The control terminal device inputs the enhanced image into the trained image recognition model to obtain the contour graphic of the target circular sample; It also includes: Before using the circular sample screening system for circular sample screening, a zero point calibration can be performed to ensure that the conveyor belt is in a level state before use. The specific operation process is to place a level meter on the conveyor belt and adjust the conveyor belt to a level state by using the level meter to ensure the image acquisition effect of the industrial camera and maintain the stability of the conveyor belt.

2. The circular sample screening system according to claim 1, characterized in that: The circular sample screening system further comprises an audible and visual alarm device, which is connected to the control terminal device; The control terminal device is also used to perform data verification on the received image, and output alarm information to the sound and light alarm device when the verification result of the data verification is that the image is invalid data; The sound and light alarm device is used to output a sound and light alarm signal when receiving the alarm information.

3. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a circular sample screening method program, and when the circular sample screening method program is executed by a processor, the steps of the screening method applied to the circular sample screening system as described in claim 1 are implemented.