Gas tank qualification detection method, system, equipment, medium and program product
Through image acquisition and edge recognition technology of gas tanks, edge distance information is generated and compared, safety hazards caused by simple gas tank detection methods are solved, and more accurate qualification detection and lower safety risks are achieved.
Patent Information
- Application Number
- CN202411570582.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-11-06
AI Technical Summary
The detection method of gas tanks during the filling stage is relatively simple, which leads to unqualified gas tanks that may be filled with gas and put into use, which poses high safety hazards.
By collecting the image of the gas tank to be filled, identifying the gas tank identification code and the contour edge of the shield, generating identification edge distance information, and comparing it with the standard edge distance information to conduct qualification detection.
It improves the accuracy of gas tank qualification testing, reduces the situation of unqualified gas tanks being put into use after filling gas, and reduces safety hazards.
Smart Images

Figure CN119090876B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of gas tank management technology, and in particular to a gas tank qualification detection method, system, equipment, medium and program product. Background Art
[0002] As a highly efficient and clean energy source, gas is widely used in homes and commercial places in today's society. However, due to the risk of gas being flammable and explosive, if the large number of highly mobile gas tanks are not managed properly, it will pose a safety hazard to people and property.
[0003] In order to strengthen the safety management of gas tanks and reduce the safety risks of explosion and combustion of unqualified gas tanks, relevant departments require the installation of identification codes on gas tanks, and the detection of the legality and validity period of gas tanks according to the identification codes on the gas tanks during the gas filling stage. Gas filling can only be carried out when the gas tanks pass the inspection. However, the current inspection method for gas tanks is relatively simple, and gas filling personnel can use the identification codes of other qualified gas tanks for inspection to evade qualified inspection, which makes it easy for unqualified gas tanks to be filled with gas and put into use, resulting in high safety risks. Summary of the invention
[0004] The present invention provides a gas tank qualification detection method, system, equipment, medium and program product to solve the problem that during the gas tank filling stage, the detection method of the gas tank is relatively simple, and unqualified gas tanks are easily filled with gas and put into use, resulting in a high safety hazard.
[0005] In a first aspect, an embodiment of the present application provides a gas tank qualification detection method, comprising:
[0006] Capturing an image of the gas tank shield region containing the gas tank identification code on the gas tank to be filled, and obtaining an image to be identified of the gas tank to be filled;
[0007] Determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes the standard edge distance information generated according to the edge line of the gas tank cover and the edge line of the identification code on the cover when the gas tank leaves the factory;
[0008] Perform entity edge recognition on the image to be recognized to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield;
[0009] Generate identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield;
[0010] The gas tank to be filled is tested for its conformity based on the identified edge distance information and the standard edge distance information.
[0011] Optionally, performing entity edge recognition on the image to be recognized to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield includes:
[0012] Use edge detection algorithm to detect entity edges on the image to be identified, and obtain a target identification image including the edges of each entity;
[0013] The contour detection algorithm is used to perform contour recognition on the target recognition image based on the edges of each entity, and the entity contour information in the image to be recognized is obtained;
[0014] According to the entity contour information in the image to be identified, the contour edge information of each named entity in the image to be identified is determined, and the contour edge information of each named entity includes a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield.
[0015] Optionally, the contour edge information of each named entity also includes a third contour edge of the identification code label where the gas tank identification code in the image to be identified is located. According to the entity contour information in the image to be identified, the contour edge information of each named entity in the image to be identified is determined, including:
[0016] Perform named entity recognition classification according to entity contour information in the image to be recognized, and determine contour information of the gas tank identification code, contour information of the gas tank shield, and contour information of the identification code label in the image to be recognized;
[0017] Determine a first contour edge of the gas tank identification code according to the contour information of the gas tank identification code, where the first contour edge is a contour edge of the gas tank identification code that is shortest in distance from the gas tank shield and the multiple contour edges of the gas tank identification code;
[0018] Determine a second contour edge of the gas tank shield according to the contour information of the gas tank shield, where the second contour edge is a contour edge of the gas tank shield that is shortest to the first contour edge among the multiple contour edges of the gas tank shield;
[0019] According to the contour information of the identification code tag, a third contour edge of the identification code tag is determined, and the position of the third contour edge is between the first contour edge and the second contour edge.
[0020] Optionally, an edge detection algorithm is used to perform entity edge detection on the image to be identified, and a target identification image including edges of each entity is obtained, including:
[0021] Performing image grayscale conversion on the image to be identified, and performing Gaussian noise filtering on the image to be identified after the grayscale conversion, to obtain a preprocessed image to be identified;
[0022] The edge detection algorithm is used to perform entity edge detection on the preprocessed image to be identified, and a target identification image including the edges of each entity is obtained.
[0023] Optionally, according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield, the identification edge distance information is generated, including:
[0024] Acquire the third contour edge of the identification code label where the gas tank identification code in the image to be identified is located, and the third contour edge of the identification code label is obtained by performing entity edge recognition on the image to be identified;
[0025] According to the third contour edge, the first contour edge and the second contour edge, identification edge distance information is generated.
[0026] Optionally, generating identification edge distance information according to the third contour edge, the first contour edge, and the second contour edge includes:
[0027] Determine the shortest distance between the first contour edge and the third contour edge to obtain a first edge distance, and determine the shortest distance between the third contour edge and the second contour edge to obtain a second edge distance;
[0028] According to the first edge distance and the second edge distance, identification edge distance information is generated.
[0029] Optionally, the gas tank fingerprint information also includes standard micro-texture features of the identification code area on the gas tank bound to the gas tank identification code. Before performing entity edge recognition on the image to be identified, the method further includes:
[0030] Acquire a microscopic image of the gas tank shield area on the gas tank to be filled, and extract features of the microscopic texture information of the microscopic image to obtain target microscopic texture features of the microscopic image. The microscopic image is acquired by collecting the gas tank shield area containing the gas tank identification code on the gas tank to be filled through a microscope camera device;
[0031] When the matching degree between the target micro-texture feature and the standard micro-texture feature is greater than or equal to the preset matching degree, entity edge recognition is performed on the image to be recognized.
[0032] In a second aspect, an embodiment of the present application provides a gas tank qualification detection system, including a detection device, the detection device is used to:
[0033] Capturing an image of the gas tank shield region containing the gas tank identification code on the gas tank to be filled, and obtaining an image to be identified of the gas tank to be filled;
[0034] Determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes the standard edge distance information generated according to the edge line of the gas tank cover and the edge line of the identification code on the cover when the gas tank leaves the factory;
[0035] Perform entity edge recognition on the image to be recognized to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield;
[0036] Generate identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield;
[0037] The gas tank to be filled is tested for its conformity based on the identified edge distance information and the standard edge distance information.
[0038] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electronic device implements the above-mentioned gas tank qualification detection method.
[0039] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned gas tank qualification detection method is executed.
[0040] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is run, the above-mentioned gas tank qualification detection method is executed.
[0041] In a scheme provided by the above-mentioned gas tank qualification detection method, system, equipment, medium and program product, image acquisition is performed on the gas tank guard area containing the gas tank identification code on the gas tank to be filled to obtain the image to be identified of the gas tank to be filled; the gas tank fingerprint information of the gas tank bound to the gas tank identification code is determined, and the gas tank fingerprint information includes the standard edge distance information generated according to the edge line of the gas tank guard and the edge line of the identification code on the guard when the gas tank leaves the factory; entity edge recognition is performed on the image to be identified to obtain the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard; the identification edge distance information is generated according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard; the gas tank to be filled is qualified for detection according to the identification edge distance information and the standard edge distance information. In this embodiment, the gas tank fingerprint information of the gas tank is obtained by pre-generating standard edge distance information based on the edge line of the gas tank cover and the edge line of the identification code on the cover. During the gas tank filling stage, edge detection is performed on the gas tank identification code and the gas tank cover to obtain identification edge distance information. Then, the gas tank qualification detection is performed based on the identification edge distance information and the standard edge distance information. The gas tank qualification detection is implemented based on visual recognition technology, which improves the accuracy of the gas tank qualification detection, reduces the situation where unqualified gas tanks are put into use after being filled with gas, and reduces safety hazards. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0043] Figure 1 It is a structural schematic diagram of a gas tank qualification detection system in one embodiment of the present invention;
[0044] Figure 2 It is a flow chart of a method for testing the quality of a gas tank in one embodiment of the present invention;
[0045] Figure 3 yes Figure 2 A schematic diagram of an implementation process of step S30;
[0046] Figure 4 is a schematic diagram of the locations of entities in an image to be identified in one embodiment of the present invention;
[0047] Figure 5 It is a schematic diagram of the entity contour edge obtained after performing entity edge recognition on the image to be recognized;
[0048] Figure 6 yes Figure 2 A schematic diagram of an implementation process of step S40;
[0049] Figure 7 It is a schematic diagram of edge distance information determined according to the contour edges of each entity in the image to be identified;
[0050] Figure 8 It is another flow chart of a gas tank qualification detection method in one embodiment of the present invention;
[0051] Fig. 9 yes Figure 1 A structural schematic diagram of the detection device;
[0052] Fig.10 It is a schematic diagram of the structure of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. 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.
[0054] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or their collections. It should also be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0055] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0056] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0057] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0058] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0059] It is important to understand that as an efficient and clean energy source, gas is widely used, and a large number of households and commercial places use gas. However, due to the large number of gas cylinders and their high mobility, improper management will lead to a series of safety problems. In order to reduce safety hazards, relevant departments require that identification codes or identification code labels with identification codes printed on them, such as QR code labels, be installed on gas cylinders, and the scanned QR codes be matched with the data in the cloud platform to confirm the property status and inspection validity period of the gas cylinders. At present, the inspection method of gas cylinders is relatively simple, and relevant personnel can use the identification codes of other qualified gas cylinders for inspection to evade qualified inspection, which has high safety hazards. For example, in order to evade supervision, gas filling personnel often print the QR codes of some qualified gas cylinders and put them in their pockets. These printed QR codes of qualified gas cylinders are called pocket codes; when filling gas, gas filling employees will scan pocket codes instead of the QR codes of unqualified gas cylinders to evade qualified inspection, and illegally fill unqualified gas cylinders, so that unqualified gas cylinders can be filled with gas and put into use, which has high safety hazards. To this end, during the gas filling stage, it is necessary to verify the authenticity of the gas tank QR code image to improve the accuracy of gas steel tank qualification detection, reduce the occurrence of unqualified gas tanks being put into use after being filled with gas, and reduce safety hazards.
[0060] In view of the above problems, the gas tank qualification detection method provided by the embodiment of the present invention can be applied in Figure 1 In the gas tank qualification detection system shown, the gas tank qualification detection system includes a collection device and a detection device, wherein the detection device communicates with the collection device through a network.
[0061] Among them, the detection device is used to: perform image acquisition on the gas tank guard area containing the gas tank identification code on the gas tank to be filled through the acquisition device to obtain the image to be identified of the gas tank to be filled; determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes the standard edge distance information generated according to the edge line of the gas tank guard (i.e., the gas tank guard) and the edge line of the identification code on the guard (i.e., the gas tank identification code) when the gas tank leaves the factory; perform entity edge recognition on the image to be identified to obtain the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard; generate identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard; perform qualification detection on the gas tank to be filled according to the identification edge distance information and the standard edge distance information, so that when it is detected that the gas tank to be filled is a qualified gas tank, the gas tank to be filled is filled with gas.
[0062] In the present embodiment, the gas tank fingerprint information of the gas tank is obtained by pre-generating standard edge distance information based on the edge line of the gas tank cover and the edge line of the identification code on the cover when leaving the factory. During the gas tank filling stage, edge recognition of the gas tank identification code and the gas tank cover is determined to obtain identification edge distance information. Then, the gas tank qualification test is performed based on the identification edge distance information and the standard edge distance information. The gas tank qualification test is implemented based on visual recognition technology, which improves the accuracy of the gas tank qualification test, reduces the situation where unqualified gas tanks are put into use after being filled with gas, and reduces safety hazards.
[0063] In this embodiment, the detection device can be an electronic control unit. In other embodiments, the detection device can also be a computer device, including but not limited to various personal computers, laptops, smart phones, tablet computers and other terminal devices, or it can be a server device implemented by an independent server or a server cluster composed of multiple servers.
[0064] Among them, the gas tank qualification detection system including the collection device and the detection device is only an exemplary illustration. In other embodiments, the gas tank qualification detection system may also include other devices necessary for the gas filling process, such as gas filling equipment. That is, the gas tank qualification detection system may be a gas filling system, which not only does not include the collection device and the detection device, but also includes gas filling equipment and other devices necessary for related gas filling stages.
[0065] In one embodiment, if Figure 2 As shown, a gas tank qualification detection method is provided, and the method is applied in Figure 1 The detection device in is taken as an example to illustrate, and the steps are as follows:
[0066] S10: Capturing an image of the gas tank shield region including the gas tank identification code on the gas tank to be filled, and obtaining an image to be identified of the gas tank to be filled.
[0067] During the filling stage of the gas tank, it is necessary to collect images of the identification codes (such as QR codes) of the gas tanks to be filled, so as to subsequently detect the information of the gas tanks based on the collected images. Among them, the gas tanks to be filled are the gas tanks that currently need to be filled with gas. When the automated gas filling system is filling gas, the gas tanks placed on the filling stations of the gas filling system can be directly used as the gas tanks to be filled.
[0068] The detection device controls the acquisition device of the gas tank qualification detection system (i.e., the gas filling system) to acquire images of the gas tank shield area containing the gas tank identification code on the gas tank to be filled, and obtains the image to be identified of the gas tank to be filled. The image to be identified at least includes the gas tank shield and the identification code printed on the gas tank shield, i.e., the gas tank identification code. The gas tank shield is a protective cap or shield on the body of the gas tank used to protect the tank body and facilitate transportation.
[0069] S20: Determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes standard edge distance information generated according to the edge line of the gas tank cover and the edge line of the identification code on the cover when the gas tank leaves the factory.
[0070] After obtaining the image to be identified of the gas tank to be filled, the detection device needs to identify the gas tank identification code in the image to be identified through an identification code recognition device (such as a QR code recognition device or a QR code recognition program), and then match the gas tank identification code with multiple gas tank identification codes pre-stored in the database, and obtain the gas tank fingerprint information of the gas tank bound to the matched gas tank identification code.
[0071] Among them, when the gas tank leaves the factory, it is necessary to collect identification code images and extract fingerprint information of all gas tanks leaving the factory, and bind the extracted gas tank fingerprint information with the gas tank identification code of the gas tank one by one and store it in the database for subsequent gas tank information management and monitoring.
[0072] The gas tank fingerprint information includes standard edge distance information generated according to the edge line of the gas tank's shield and the edge line of the identification code on the shield when the gas tank leaves the factory, that is, the standard edge distance information is the distance information between the shield and the edge line of the identification code. In other embodiments, the gas tank fingerprint information also includes a standard image (such as a light intensity image) obtained by capturing an image of the gas tank shield area containing the gas tank identification code on the gas tank when the gas tank leaves the factory, or a microscopic image obtained by capturing an image of the gas tank shield area containing the gas tank identification code on the gas tank.
[0073] S30: Perform entity edge recognition on the image to be recognized to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield.
[0074] After obtaining the image to be identified of the gas tank to be filled, the detection device needs to use an edge detection algorithm to perform entity edge recognition on the image to be identified, identify all entity edges in the image to be identified, and determine the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield from all entity edges in the image to be identified. Among them, the first contour edge of the gas tank identification code is the contour edge with the shortest distance from the gas tank shield among the multiple contour edges of the gas tank identification code; the second contour edge of the gas tank shield is the contour edge with the shortest distance from the first contour edge among the multiple contour edges of the gas tank shield.
[0075] S40: Generate identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield.
[0076] After obtaining the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard, the detection device needs to generate the position distance information of the first contour edge and the second contour edge based on the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard, that is, to obtain the identification edge distance information.
[0077] For example, the identification edge distance information may be the shortest vertical distance between the first contour edge and the second contour edge. In other embodiments, the identification edge distance information may also be the vertical distance from a certain point in the first contour edge (such as the two corners of the gas tank identification code) to the second contour edge.
[0078] In other embodiments, the identification edge distance information includes the ratio of the first edge distance to the second edge distance; wherein the first edge distance is the distance between the first contour edge and the third contour edge (such as the shortest distance), the second edge distance is the distance between the third contour edge and the second contour edge (such as the shortest distance), and the third contour edge is the third contour edge of the identification code label installed on the gas tank shield and printed with the shield identification code. Correspondingly, the standard edge distance information is the standard edge distance information generated according to the identification code, identification code label, and edge line of the shield on the gas tank when the gas tank leaves the factory, and the standard edge distance information includes the ratio of the first edge distance to the second edge distance determined according to the standard image when the gas tank leaves the factory. The distance ratio of the identification code, identification code label, and the contour edge of the gas tank shield is used as the basis for information verification to judge the authenticity of the captured image of the gas tank. Compared with directly using the contour edge distance as the basis for information verification, the distance error generated by the acquisition device acquiring images of the same object at different distances can be reduced, and the accuracy of the standard edge distance information and the identification edge distance information is improved, which is conducive to improving the accuracy of the subsequent gas tank qualification verification.
[0079] S50: Performing a qualification test on the gas tank to be filled according to the identification edge distance information and the standard edge distance information in the gas tank fingerprint information.
[0080] After determining the identification edge distance information between the gas tank identification code and the gas tank guard, the detection device needs to perform a qualification test on the gas tank to be filled based on the identification edge distance information and the standard edge distance information in the gas tank fingerprint information, and when it is detected that the gas tank to be filled is a qualified gas tank, control the gas filling equipment to fill the gas tank to be filled with gas; when it is detected that the gas tank to be filled is an unqualified gas tank, gas filling is prohibited for the gas tank to be filled, and an unqualified gas tank alarm is generated to prompt relevant personnel.
[0081] Among them, based on the identification edge distance information and the standard edge distance information, the qualification test is carried out on the gas tank to be filled, including: determining the difference between the identification edge distance information and the standard edge distance information, such as judging the distance difference between the two. When the difference between the identification edge distance information and the standard edge distance information is less than a preset value, it means that the relative positions of the identification code and the gas tank cover (and the identification code label) are basically unchanged, the identification code of the gas tank to be filled has not been moved, and the identification code of the image to be identified is the real identification code of the gas tank to be filled.
[0082] Among them, according to the identification edge distance information and the standard edge distance information, the qualification inspection of the gas cylinder to be filled is carried out, including: if the service age of the gas cylinder to be filled is determined to be less than the preset service life according to the production date of the gas cylinder bound to the gas cylinder identification code, and / or it is determined that the current date is earlier than the date to be inspected bound to the gas cylinder identification code, determine whether the identification edge distance information is consistent with the standard edge distance information. When the identification edge distance information is consistent with the standard edge distance information, it means that the difference between the two is small, indicating that the relative positions of the identification code and the gas cylinder guard cover (and the identification code label) are basically unchanged, the position of the gas cylinder identification code is normal, the identification code of the gas cylinder to be filled has not been moved, and the image to be identified is the real identification code image of the gas cylinder to be filled, it is determined that the gas cylinder to be filled is a qualified gas tank, and the gas filling equipment can be controlled to fill the gas cylinder to be filled with gas.
[0083] Among them, before performing entity edge recognition on the image to be identified, it is necessary to determine whether the age of the gas tank to be filled is less than the preset service life based on the production date of the gas tank bound to the gas tank identification code, and / or determine whether the current date is earlier than the date to be inspected bound to the gas tank identification code (that is, the date on which the gas tank needs to be inspected at the relevant agency). For example, the date to be inspected bound to the gas tank identification code is October 2023, and the current date is October 2024, indicating that the gas tank to be filled has expired and has not been inspected; the date to be inspected bound to the gas tank identification code is November 2024, and the current date is October 2024, indicating that the gas tank to be filled is normally inspected. If the algorithm determines that the age of the gas tank to be filled is less than the preset service life, it means that the gas tank to be filled has not exceeded the service life, and the current date is earlier than the inspection date bound to the gas tank identification code, it means that the gas tank to be filled has participated in the inspection normally. Subsequently, when it is determined that the identified edge distance information is consistent with the standard edge distance information, the gas tank to be filled can be directly determined as a qualified gas tank.
[0084] When the recognition edge distance information is inconsistent with the standard edge distance information, it means that the two are quite different, the position of the gas tank identification code has changed, and there is a possibility that the identification code has been forged and replaced. The image to be recognized may not be the real identification code image of the gas tank to be filled, and the gas tank to be filled is determined to be an unqualified gas tank. Alternatively, before performing entity edge recognition on the image to be recognized, if the service age of the gas tank to be filled determined based on the gas tank generation date bound to the gas tank identification code is greater than or equal to the preset service life, the gas tank to be filled is determined to be an unqualified gas tank. Alternatively, before performing entity edge recognition on the image to be recognized, it is determined that the gas tank to be filled has expired and has not been inspected based on the inspection date bound to the gas tank identification code, and the gas tank to be filled is determined to be an unqualified gas tank.
[0085] Among them, when the error between the identified edge distance information and the standard edge distance information is less than a preset value (such as the preset value can be a value less than 0.1 and greater than or equal to 0), it is determined that the identified edge distance information is consistent with the standard edge distance information; when the error between the identified edge distance information and the standard edge distance information is greater than or equal to the preset value, it is determined that the identified edge distance information is inconsistent with the standard edge distance information.
[0086] In this embodiment, image acquisition is performed on the gas tank shield area containing the gas tank identification code on the gas tank to be filled to obtain the image to be identified of the gas tank to be filled; the gas tank fingerprint information of the gas tank bound to the gas tank identification code is determined, and the gas tank fingerprint information includes standard edge distance information generated according to the edge line of the gas tank shield and the edge line of the identification code on the shield when the gas tank leaves the factory; entity edge recognition is performed on the image to be identified to obtain the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield; identification edge distance information is generated according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield; and based on the identification edge distance information and the standard edge distance information, a qualification test is performed on the gas tank to be filled, so that when it is detected that the gas tank to be filled is a qualified gas tank, gas filling is performed on the gas tank to be filled. In the present embodiment, the standard edge distance information of the identification code and the protective cover is generated in advance according to the identification code on the gas tank protective cover and the edge line of the protective cover, so as to obtain the gas tank fingerprint information of the gas tank. During the gas tank filling stage, the recognition edge distance information of the gas tank identification code and the gas tank protective cover is determined, and then the gas tank qualification detection is performed based on the recognition edge distance information and the standard edge distance information. The gas tank qualification detection is implemented based on the visual recognition technology, which improves the accuracy of the gas tank qualification detection, reduces the situation where unqualified gas tanks are put into use after being filled with gas, and reduces safety hazards.
[0087] In one embodiment, if Figure 3 As shown, in step S30, entity edge recognition is performed on the image to be recognized to obtain the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield, which specifically includes the following steps:
[0088] S31: Using an edge detection algorithm to perform entity edge detection on the image to be identified, and obtaining a target identification image including the edges of each entity.
[0089] After obtaining the image to be identified, the detection device uses an edge detection algorithm to perform entity edge detection on the image to be identified, and obtains a target identification image including the edges of each entity. Wherein, the image to be identified includes the gas tank shield and the gas tank identification code on the gas tank shield, and the target identification image includes the edge lines of the gas tank shield and the edge lines of the gas tank identification code. Through the edge detection algorithm, the boundaries of the objects in the image can be accurately obtained, and the outer contour edges of the gas tank, the gas tank identification code on the gas tank, and the gas tank shield can be highlighted.
[0090] Specifically, an edge detection algorithm is used to perform entity edge detection on an image to be identified, and a target identification image including the edges of each entity is obtained, which includes the following steps: grayscale conversion is performed on the image to be identified, and Gaussian noise filtering is performed on the image to be identified after grayscale conversion to obtain a preprocessed image to be identified; an edge detection algorithm is used to perform entity edge detection on the preprocessed image to be identified, and a target identification image including the edges of each entity is obtained. Among them, converting the image to be identified into a grayscale image can reduce the amount of calculation and only retain the contour information. Using Gaussian blur to filter noise can enhance the clarity of the image edge and improve the accuracy and robustness of entity edge recognition in the image. Subsequently, contour detection is performed on the target identification image. By combining image preprocessing (grayscale, denoising), edge detection and contour detection, the stability and efficiency of contour edge recognition under complex background and lighting conditions are ensured.
[0091] Among them, the edge detection algorithm can be an image edge detection algorithm such as Sobel operator, first-order differential operator Prewitt, etc. For example, the Sobel operator can be used to perform entity edge detection on the image to be identified, and a target identification image including the edges of each entity can be obtained, including: performing gradient calculation on the image to be identified, that is, calculating the gradient strength and direction of each pixel in the image, wherein the gradient strength represents the amplitude of the pixel value change, and the gradient direction represents the direction of the change; performing pixel processing on the image to be identified after the gradient calculation, and the pixel processing includes non-maximum suppression and edge separation based on dual thresholds, so as to ensure that the edge is marked only at the position with the largest change through non-maximum suppression, and separate strong edges, weak edges and non-edges by setting high and low thresholds, where a strong edge is a pixel with a gradient strength greater than a high threshold, and a weak edge is a pixel with a gradient strength greater than a high threshold. The pixels whose gradient strength is between the low threshold and the high threshold are suppressed. The pixels below the low threshold are suppressed. The edges are refined by suppressing non-maxima. For each pixel, the neighboring pixels in the gradient direction are checked, and only the local maximum value is retained to ensure the accuracy of the edge and remove unnecessary edge pixels. The edge connection is performed on the pixel-processed image to be identified. The edge connection is to connect the weak edges and the strong edges through edge tracking to connect the isolated weak edge pixels into a complete edge. Only the weak edges connected to the strong edges are retained, and a target recognition image showing all the significant edges in the image is output to ensure the continuity of the edges and reduce broken edges.
[0092] S32: using a contour detection algorithm to perform contour recognition on the target recognition image based on the edges of each entity, and identifying and obtaining entity contour information in the image to be recognized.
[0093] After obtaining the target recognition image including the edges of each entity, the detection device uses a contour detection algorithm to perform contour recognition on the target recognition image based on the edges of each entity, and recognizes the entity contour information in the image to be recognized.
[0094] Among them, the contour detection algorithm is used to extract the contour of the entity edge in the target recognition image to find the continuous edge lines (i.e. edge contours) in the target recognition image. These edge contours represent the boundaries of the object, and then all the continuous edge lines in the target recognition image are contour classified, and different edge contours are divided into outer contours (object boundaries) and inner contours (such as the internal segmentation of the identification code), and the shape and boundary of each object in the image are defined. The identified edge contours are output in the form of coordinate points to obtain the entity contour information in the image to be identified. Through contour detection, the edge information obtained by edge detection can be converted into more structured contour data, providing accurate object shape information, and can accurately identify the rectangular or linear contours of the gas tank identification code and the overall shape of the gas tank shield.
[0095] For example, the image to be identified is converted into grayscale to obtain a grayscale image, in which the values of all pixels are 0 or 255; the grayscale image is smoothed using a Gaussian filter to reduce the impact of noise. The Gaussian filter blurs the image through a convolution operation to remove fine noise; then, the edge detection algorithm can be used to detect the image edge in the binary grayscale image, and by scanning the pixels of the grayscale image, a continuous set of edge points can be identified. These sets are called contours. Contours can be closed (such as circles, rectangles) or open (such as line segments). By analyzing the shape features of the contour (such as area, perimeter, rectangular boundary, etc.), entity contour recognition can be performed to further screen out the contour information of different entities. For example, the positioning pattern of a QR code is composed of specific black and white squares, and these squares in the image can be used as a factor in judging the QR code.
[0096] Among them, the edge detection algorithm Canny or other methods (such as thresholding) are used to generate a binary grayscale image, and the function Find Contours(Input Output Array image, Output Array Of Arrayscontours, Output Array hierarchy, int mode, int method, Point offset = Point()) is used to find contours in the binary grayscale image. Each contour is a vector of points, representing the boundary of the contour. If the hierarchy parameter is specified, the returned hierarchy information can help understand the nested relationship between contours. In an image, a contour is usually a closed or open path composed of continuous edge pixels. The following can be identified as contours: the boundary of an object: such as the outer contour of an object in an image; the internal boundary: such as holes or other features inside an object; noise: sometimes noise may also be identified as a contour, which needs to be filtered out through shape analysis.
[0097] S33: Determine the contour edge information of each named entity in the image to be identified based on the entity contour information in the image to be identified, wherein the contour edge information of each named entity includes the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield.
[0098] After obtaining the entity contour information in the image to be identified, the detection device determines the contour edge information of each named entity in the image to be identified according to the entity contour information in the image to be identified, wherein the contour edge information of each named entity includes the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield.
[0099] Specifically, the detection device analyzes the shape, size and position of the image contour through the entity contour information in the image to be identified, identifies and distinguishes the contour edges of different entities, and obtains the contour edge information of the gas tank identification code and the contour edge information of the gas tank shield. For example, the gas tank identification code is usually a small and regular rectangular area, while the contour of the gas tank shield is a larger area surrounding the gas tank body. The accuracy of the entity classification can be further confirmed based on the preset contour shape rules (such as rectangle, circle, etc.) or through the trained model. Then, the first contour edge of the gas tank identification code is determined in the contour edge information of the gas tank identification code, and the second contour edge of the gas tank shield is determined in the contour edge information of the gas tank shield. This process can effectively identify and distinguish different object contours, ensure that the gas tank identification code and the gas tank shield can be correctly identified and located, and provide an accurate basis for subsequent data processing (such as scanning, qualification testing, etc.).
[0100] In this embodiment, an edge detection algorithm is used to perform entity edge detection on the image to be identified, and a target identification image including the edges of each entity is obtained. Then, a contour detection algorithm is used to perform contour recognition based on the edges of each entity on the target identification image, and the entity contour information in the image to be identified is identified. Finally, the contour edge information of each named entity in the image to be identified is determined based on the entity contour information in the image to be identified. The contour edge information of each named entity includes the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield, and the specific process of entity edge recognition of the image to be identified is refined. The combination of edge detection and contour recognition algorithms enhances the accuracy and robustness of recognition, can cope with the needs of gas tank image recognition in various complex scenarios, can quickly and accurately identify the gas tank identification code and gas tank shield in the gas tank image, and provides an accurate basis for subsequent image processing steps.
[0101] In one embodiment, the contour edge information of each named entity also includes the third contour edge of the identification code label where the gas tank identification code is located in the image to be identified. In step S33, the contour edge information of each named entity in the image to be identified is determined according to the entity contour information in the image to be identified, which specifically includes the following steps:
[0102] S331: Perform named entity recognition classification according to the entity contour information in the image to be recognized, and determine the contour information of the gas tank identification code, the contour information of the gas tank shield, and the contour information of the identification code label in the image to be recognized.
[0103] In this embodiment, Figure 4 As shown, the gas tank guard of the gas tank produced by XX Gas Company is installed with an identification code label, and the identification code label is printed with the gas tank identification code. Then the image to be identified includes the gas tank guard, the identification code label installed on the gas tank guard, and the gas tank identification code printed in the identification code label. Correspondingly, the contour edge information of each named entity in the image to be identified also includes the third contour edge of the identification code label where the gas tank identification code is located in the image to be identified.
[0104] The detection device performs named entity recognition and classification according to the entity contour information in the image to be recognized, and determines the contour information of the gas tank identification code, the contour information of the gas tank shield and the contour information of the identification code label in the image to be recognized.
[0105] Among them, feature classification algorithms (such as those based on shape, size, position, and other features) can be used to preliminarily classify the entity contour information in the image to be identified. Usually, the shapes and positions of the gas tank identification code, gas tank protective cover, and identification code label have certain regularities. According to predetermined classification rules or pre-trained entity recognition models, the contour information of the gas tank identification code, the contour information of the gas tank protective cover, and the contour information of the identification code label are classified. Through contour-based classification, the key parts in the gas tank image can be accurately distinguished, which facilitates the further extraction of subsequent edge information. This classification method reduces the misrecognition rate, allowing the system to reliably distinguish between structures such as the gas tank identification code and its protective cover.
[0106] S332: Determine a first contour edge of the gas tank identification code according to the contour information of the gas tank identification code.
[0107] According to the contour information of the gas tank identification code, a first contour edge of the gas tank identification code is determined, where the first contour edge is a contour edge with the shortest distance from the multiple contour edges of the gas tank identification code to the gas tank shield.
[0108] Specifically, the contour information of the gas tank identification code obtained by classification is used to determine the multiple contour edges of the gas tank identification code, and the distances between each contour edge of the gas tank identification code and the gas tank shield (such as the center point of the gas tank shield or the reference contour edge) are calculated respectively, and a distance calculation algorithm (such as Euclidean distance) is used to compare the distances between each contour edge of the gas tank identification code and each contour edge of the gas tank shield, and the contour edge closest to the gas tank shield among the multiple contour edges of the gas tank identification code is selected as the first contour edge. This process can accurately determine the specific position and outer contour of the gas tank identification code, especially in complex scenes where the identification code may be adjacent to other objects. By accurately calculating the distance between the edge and the shield, the accuracy of edge recognition can be improved to avoid misidentifying other areas as the edge of the identification code.
[0109] In other embodiments, the first contour edge may also be a plurality of contour edges of the gas cylinder identification code and a contour edge that is the longest distance from the gas cylinder shield.
[0110] S333: Determine a second contour edge of the gas tank shield according to the contour information of the gas tank shield.
[0111] According to the contour information of the gas tank shield, a second contour edge of the gas tank shield is determined, wherein the second contour edge is a contour edge with the shortest distance from the first contour edge among the multiple contour edges of the gas tank shield.
[0112] Specifically, multiple contour edges of the gas tank shield are determined through the contour information of the gas tank shield, and then the distances between the multiple contour edges of the gas tank shield and the first contour edge of the gas tank identification code are calculated, and from the multiple contour edges of the shield, the edge with the shortest distance to the first contour edge of the identification code is selected as the second contour edge of the gas tank shield. By calculating the distance to the first contour edge of the gas tank identification code, the precise position and boundary of the gas tank shield can be determined, which helps to identify the relative position relationship between the shield and the gas tank identification code, making the recognition result more stable and reliable.
[0113] S334: Determine a third contour edge of the identification code tag according to the contour information of the identification code tag.
[0114] According to the contour information of the identification code tag, a third contour edge of the identification code tag is determined, wherein the position of the third contour edge is between the first contour edge and the second contour edge. The contour information of the identification code tag is obtained through the previous contour classification result.
[0115] Specifically, according to the contour information of the identification code label, the relative positions of each contour edge of the identification code label and the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield are determined, and then the contour edge between the first contour edge and the second contour edge is determined, and the contour edge is recorded as the third contour edge of the identification code label.
[0116] For example, after performing entity edge recognition on the image to be identified, the contour information of each named entity in the image to be identified can be obtained as follows: Figure 5 As shown. Among them, Figure 5 The edge line 1, edge line 2, and edge line 3 in the figure are respectively the second contour edge of the gas tank shield, the third contour edge of the identification code label, and the first contour edge of the gas tank identification code.
[0117] In other embodiments, only the second contour edge of the gas tank guard and the first contour edge of the gas tank identification code may be determined, but the third contour edge of the identification code label may not be determined. That is, the contour edge information of each named entity in the image to be identified includes the first contour edge of the gas tank identification code and the second contour edge of the gas tank guard, but does not include the third contour edge of the identification code label.
[0118] After determining the first contour edge of the gas tank identification code, the second contour edge of the gas tank shield and the third contour edge of the identification code label, the identification edge distance information is generated according to the third contour edge, the first contour edge and the second contour edge.
[0119] In this embodiment, named entity recognition and classification are performed based on entity contour information in the image to be recognized, and contour information of the gas tank identification code, contour information of the gas tank guard and contour information of the identification code label in the image to be recognized are determined; based on the contour information of the gas tank identification code, a first contour edge of the gas tank identification code is determined, and the first contour edge is a contour edge with the shortest distance from multiple contour edges of the gas tank identification code and the gas tank guard; based on the contour information of the gas tank guard, a second contour edge of the gas tank guard is determined, and the second contour edge is a contour edge with the shortest distance from the first contour edge among multiple contour edges of the gas tank guard; based on the contour information of the identification code label, a third contour edge of the identification code label is determined, and the position of the third contour edge is between the first contour edge and the second contour edge. Through multiple rounds of edge calculation and contour detection, the system can effectively identify the edges of gas tank identification codes, gas tank shields and their identification code labels, ensuring that the edge information is accurate; by gradually determining the distance relationship between different contour edges, it ensures that in complex scenarios, especially when the contour edges of named entities are adjacent or overlapping, the system can still accurately identify different contours, reducing misidentification caused by proximity between objects or image noise, reducing recognition errors and improving recognition robustness, and providing a good foundation for subsequent recognition tasks by accurately extracting and classifying various entity edge information in gas tank images.
[0120] In one embodiment, before step S332, that is, before determining the first contour edge of the gas tank identification code according to the contour information of the gas tank identification code, the method further includes the following steps:
[0121] S335: After performing named entity recognition classification according to entity contour information in the image to be recognized, determining whether there are first-category entities and second-category entities in the image to be recognized.
[0122] After performing named entity recognition and classification according to the entity contour information in the image to be recognized, all named entities included in the image to be recognized are obtained, and all named entities included in the image to be recognized are matched with the first category of entities. If the first category of entities are matched, it is determined that the first category of entities exist in the image to be recognized. If the first category of entities are not matched, it is determined that the first category of entities do not exist in the image to be recognized. Similarly, all named entities included in the image to be recognized are matched with the second category of entities. If the second category of entities are matched, it is determined that the second category of entities exist in the image to be recognized. If the second category of entities are not matched, it is determined that the second category of entities do not exist in the image to be recognized.
[0123] Among them, the first type of entities are entities that exist in the standard image in the gas tank fingerprint information, such as gas tank shields, gas tank identification codes, identification code labels, fixtures on identification code labels (such as bolts, screws), etc. The second type of entities are entities that do not exist in the standard image in the gas tank fingerprint information, such as human body parts (palms, fingers), gas tank identification codes or other entities around identification code labels (such as tape, ropes, etc.).
[0124] S336: If the first type of entity exists in the image to be identified and the second type of entity does not exist in the image to be identified, determine the first contour edge of the gas tank identification code according to the contour information of the gas tank identification code.
[0125] If the first type of entity exists in the image to be identified and the second type of entity does not exist in the image to be identified, the first contour edge of the gas tank identification code is determined according to the contour information of the gas tank identification code, so as to perform subsequent gas tank qualification detection based on the contour edge.
[0126] S337: If the first type of entity does not exist in the image to be identified, or if the second type of entity exists in the image to be identified, it is determined that the gas tank to be filled is an unqualified gas tank.
[0127] If the first type of entity does not exist in the image to be identified, or the second type of entity exists in the image to be identified, it means that the identification code in the image to be identified may not be the real identification code of the liquefied tank to be filled, and the identification code is forged and replaced, then the gas tank to be filled is determined to be an unqualified gas tank. No further contour edge detection is required, which reduces data processing and improves the efficiency of gas tank qualification detection.
[0128] In this embodiment, after performing named entity recognition and classification according to the entity contour information in the image to be recognized, it is determined whether there are first-category entities and second-category entities in the image to be recognized. If there are first-category entities in the image to be recognized and there are no second-category entities in the image to be recognized, the first contour edge of the gas tank identification code is determined according to the contour information of the gas tank identification code; if there is no first-category entity in the image to be recognized, or there is a second-category entity in the image to be recognized, it is determined that the gas tank to be filled is an unqualified gas tank, which can reduce data processing and improve the efficiency of gas tank qualification detection.
[0129] In other embodiments, before performing entity edge recognition on the image to be recognized, the detection device can perform entity detection on the image to be recognized through a pre-trained target detection model to obtain all named entities in the image to be recognized, and then determine whether there are first-category entities and second-category entities in the image to be recognized. If the first-category entity exists in the image to be recognized and the second-category entity does not exist in the image to be recognized, entity edge recognition is performed on the image to be recognized; if the first-category entity does not exist in the image to be recognized, or the second-category entity exists in the image to be recognized, the gas tank to be filled is determined to be an unqualified gas tank, which can reduce data processing and improve the efficiency of gas tank qualification detection.
[0130] In one embodiment, if Figure 6 As shown, in step S40, the identification edge distance information is generated according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield, which specifically includes the following steps:
[0131] S41: Obtain the third contour edge of the identification code label where the gas tank identification code is located in the image to be identified.
[0132] After obtaining the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield, it is necessary to obtain the third contour edge of the identification code label where the gas tank identification code is located in the image to be identified. The third contour edge of the identification code label is obtained by performing entity edge recognition on the image to be identified. The specific process is described above and will not be repeated here.
[0133] S42: Generate identification edge distance information according to the third contour edge, the first contour edge and the second contour edge.
[0134] Then, according to the third contour edge, the first contour edge and the second contour edge, the identification edge distance information is generated to improve the diversity and accuracy of the identification edge distance information. For example, the distance between the third contour edge and the first contour edge, the distance between the third contour edge and the second contour edge, and the distance between the first contour edge and the second contour edge can be used together as the identification edge distance information of the gas tank identification code and the gas tank shield.
[0135] In other embodiments, the third contour edge may be ignored, and the identification edge distance information of the gas tank identification code and the gas tank shield may be generated directly based on the first contour edge and the second contour edge. For example, the distance between the first contour edge and the second contour edge may be directly used as the identification edge distance information.
[0136] In this embodiment, by obtaining the third contour edge of the identification code label where the gas tank identification code in the image to be identified is located, the third contour edge of the identification code label is obtained by performing entity edge recognition on the image to be identified, and based on the third contour edge, the first contour edge and the second contour edge, the identification edge distance information is generated. When determining the identification edge distance information, the third contour edge of the identification code label is added, thereby improving the diversity and accuracy of the identification edge distance information.
[0137] In one embodiment, in step S42, that is, generating the identification edge distance information according to the third contour edge, the first contour edge and the second contour edge, specifically includes the following steps:
[0138] S421: Determine the shortest distance between the first contour edge and the third contour edge to obtain a first edge distance, and determine the shortest distance between the third contour edge and the second contour edge to obtain a second edge distance.
[0139] Among them, the distance calculation is performed for each point of the first contour edge of the gas tank identification code and the third contour edge of the identification code label, and a minimum distance is selected from all possible distances from the first contour edge to the third contour edge as the shortest distance between the two, that is, the first edge distance is obtained; similarly, the distance calculation is performed for each point of the second contour edge and the third contour edge, and a minimum distance is selected from all possible distances from the second contour edge to the third contour edge as the shortest distance between the two, that is, the second edge distance is obtained.
[0140] In other embodiments, the first edge distance between the first contour edge and the third contour edge may be determined in other ways, and the second edge distance between the second contour edge and the third contour edge may be determined in other ways. For example, when the gas tank identification code is a rectangular identification code, a certain point on the first contour edge of the gas tank identification code (such as the upper left corner or upper right corner of the rectangular identification code) is used as a reference point, and the vertical distance from the reference point to the third contour edge is determined to obtain the first edge distance, and the vertical distance from the reference point (or the intersection of the vertical line between the reference point and the third contour edge) to the second contour edge is determined to obtain the second edge distance.
[0141] For example, Figure 7As shown, the gas tank identification code is a square two-dimensional code, with a certain point on the first contour edge of the gas tank identification code (such as the upper left corner of the two-dimensional code) as the reference point, the reference point as the coordinate origin o, the first contour edge as the x-axis, and the y-axis is established in the direction perpendicular to the third contour edge to establish a rectangular coordinate system; wherein the y-axis and the third contour edge of the identification code label form a first intersection M, the y-axis and the second contour edge of the gas tank shield form a second intersection N, the distance from the reference point of the first contour edge to the first intersection M is the first edge distance a, and the distance from the first intersection M to the second intersection N is the second edge distance b, which is simple and convenient, and reduces the amount of calculation.
[0142] S422: Generate identification edge distance information according to the first edge distance and the second edge distance.
[0143] Then, according to the first edge distance and the second edge distance, the identification edge distance information is generated, and the identification edge distance information is generated by selecting the shortest distance between the two contour edges, thereby improving the accuracy of the identification edge distance information. The identification edge distance information includes the ratio of the first edge distance to the second edge distance, the first edge distance is the distance between the first contour edge and the third contour edge (such as the shortest distance), and the second edge distance is the distance between the third contour edge and the second contour edge (such as the shortest distance).
[0144] For example, the ratio a / b of the first edge distance a and the second edge distance b can be used as the identification edge distance information. The ratio a / b of the first edge distance a and the second edge distance b and the sum of the first edge distance a and the second edge distance b can also be used as the identification edge distance information. That is, the identification edge distance information includes the ratio of the first edge distance and the second edge distance and the sum of the first edge distance and the second edge distance.
[0145] In one embodiment, the first edge distance a, the second edge distance b, the ratio a / b of the first edge distance a and the second edge distance b, and the sum of the first edge distance a and the second edge distance b can be used together as identification edge distance information. That is, the identification edge distance information includes the first edge distance a, the second edge distance b, the ratio a / b of the first edge distance and the second edge distance, and the sum (a+b) of the first edge distance and the second edge distance. Correspondingly, the calculation process of the standard edge distance information and the system of the identification edge distance information, that is, the standard edge distance information has the same number and type of distance information as the identification edge distance information. In this embodiment, the accuracy of the identification edge distance information and the standard edge distance information can be improved, the judgment error caused by a single distance information can be avoided, and the accuracy of the gas tank qualification detection can be improved.
[0146] In this embodiment, the first edge distance is obtained by determining the shortest distance between the first contour edge and the third contour edge, and the second edge distance is obtained by determining the shortest distance between the third contour edge and the second contour edge, and the identification edge distance information is generated based on the first edge distance and the second edge distance. The specific process of generating the identification edge distance information is clarified, and the accuracy of the identification edge distance information is improved.
[0147] In one embodiment, if Figure 8 As shown, the gas tank fingerprint information also includes the standard micro-texture features of the identification code area on the gas tank bound to the gas tank identification code. Before step S30, that is, before performing entity edge recognition on the image to be identified, the method also includes the following steps:
[0148] S60: Acquire a microscopic image of the gas tank shield area on the gas tank to be filled, and perform feature extraction on microscopic texture information of the microscopic image to obtain target microscopic texture features of the microscopic image.
[0149] Before performing entity edge recognition on the image to be identified, the detection device obtains a microscopic image of the gas tank shield area on the gas tank to be filled. The microscopic image is obtained by collecting the gas tank shield area containing the gas tank identification code on the gas tank to be filled by a microscope camera device. The microscope camera device is a camera device developed for a microscope, which is used to collect images of objects observed in a microscope.
[0150] In this embodiment, the acquisition device may be a camera device with a microscope camera function. When the acquisition device is used to acquire an image of the gas tank shield area containing the gas tank identification code on the gas tank to be filled, an ordinary camera (such as a digital camera) in the acquisition device is used to acquire an image of the gas tank shield area containing the gas tank identification code on the gas tank to be filled, thereby obtaining an image to be identified, and a microscope camera device in the acquisition device is used to acquire a microscopic image of the gas tank shield area containing the gas tank identification code on the gas tank to be filled, thereby obtaining a microscopic image of the gas tank shield area on the gas tank to be filled. Among them, since the image acquisition distance, acquisition angle, and device image parameters will affect the imaging effect, when controlling the acquisition device to acquire an image of the gas tank to be filled, it is necessary to ensure that the relevant parameters of the acquisition device are the same as the relevant parameters (such as image acquisition distance, acquisition angle, and device image parameters) when the standard microscopic image is acquired when the gas tank leaves the factory, so as to ensure that the acquisition and imaging effects are similar and improve the accuracy and robustness of subsequent recognition.
[0151] After acquiring a microscopic image of the gas tank shield area on the gas tank to be filled, the detection device extracts features from the microscopic texture information of the microscopic image to obtain target microscopic texture features of the microscopic image.
[0152] Among them, the collected microscopic images are analyzed by computer vision algorithms to extract the microscopic texture information of the gas tank shield area. The extracted texture features (target microscopic texture features and standard microscopic texture features) are numerical feature vectors, and each feature vector represents the texture information of a specific area in the image. For example, computer vision algorithms such as the scale-invariant feature transform SIFT (Scale-invariant feature transform) algorithm, the accelerated robust feature SURF (Speeded UpRobust Features) algorithm, and the fast feature point extraction ORB (Oriented Fast and Rotated Brief) algorithm can be used to extract the texture features of the microscopic image and obtain the target microscopic texture features. The extracted target microscopic texture features may include surface roughness, texture directionality, subtle shape, etc., which are used to describe the microscopic features of the surface of the gas tank shield and the gas tank identification code (and identification code label).
[0153] Using a microscope camera to image the shield area containing the gas tank identification code on the gas tank can capture the microscopic details of the surface of the gas tank shield. The microscope device can provide sufficient magnification to clearly capture the microscopic texture information on the surface of the gas tank. These microscopic textures may reflect the material, processing technology and wear of the shield surface. By extracting the features of the surface texture of the gas tank shield area, the microscopic structure of the gas tank surface can be quantified and digitized, so that the surface features of different gas tanks can be accurately compared and evaluated. The inflator uses the printed pocket code to replace the QR code image of the unqualified gas tank for qualification verification. Since the printed pocket code image is relatively flat, it does not have the texture information in the real gas tank image, so it can intuitively and quickly filter out the unreal gas tank QR code image, thereby detecting unqualified gas tanks.
[0154] S70: When the matching degree between the target micro-texture feature and the standard micro-texture feature is greater than or equal to a preset matching degree, entity edge recognition is performed on the image to be recognized.
[0155] In this embodiment, the gas tank fingerprint information also includes the standard microscopic texture features of the identification code area on the gas tank bound to the gas tank identification code. That is, when the gas tank leaves the factory, it is necessary to use a microscope camera device to collect images of the gas tank shield area containing the gas tank identification code on the gas tank to obtain a standard microscopic image, and perform feature extraction on the microscopic texture information of the standard microscopic image to obtain standard microscopic texture features, and then use the standard microscopic texture features and standard distance information of the gas tank as the gas tank fingerprint information, and store the gas tank fingerprint information and the gas tank representation on the gas tank in a database after binding one by one for subsequent use.
[0156] After obtaining the target micro-texture features of the microscopic image, the target micro-texture features of the microscopic image and the standard micro-texture features bound to the gas tank identification code in the image to be identified of the gas tank to be filled are matched to obtain the matching degree between the target micro-texture features and the standard micro-texture features. The matching degree between the two can be calculated by using a feature matching algorithm such as Euclidean distance and cosine similarity.
[0157] Determine whether the matching degree between the target microtexture features and the standard microtexture features is less than the preset matching degree. When the matching degree between the target microtexture features and the standard microtexture features is greater than or equal to the preset matching degree, it indicates that the collected microscopic image may be the real identification code image of the gas tank to be filled. Then, entity edge recognition can be performed on the image to be identified to further perform a qualification test on the gas tank to be filled.
[0158] Before edge recognition, standard micro-texture feature recognition and feature comparison are performed first. Only when the comparison is passed will entity edge recognition be performed on the image to be identified. The conformity test of the filled gas tank is carried out together with the micro-texture feature recognition and edge distance information, which improves the accuracy of the conformity test of the gas tank.
[0159] Among them, when the matching degree between the target micro-texture feature and the standard micro-texture feature is less than the preset matching degree, the gas tank to be filled is determined to be an unqualified gas tank, gas filling is prohibited for the gas tank to be filled, and an unqualified gas tank alarm is generated to prompt relevant personnel.
[0160] Before edge recognition, standard micro-texture feature recognition and feature comparison are performed first. When the comparison fails, the gas tank to be filled is directly determined to be an unqualified gas tank, and gas filling is prohibited in the gas tank to be filled. This can quickly identify unqualified gas tanks, reduce unnecessary data processing, and improve the efficiency of gas tank qualification detection.
[0161] In this embodiment, before performing entity edge recognition on the image to be identified, a microscopic image of the gas tank shield area on the gas tank to be filled is obtained, and the microscopic image is collected by a microscope camera device on the gas tank shield area containing the gas tank identification code on the gas tank to be filled; feature extraction is performed on the microscopic texture information of the microscopic image to obtain the target microscopic texture feature of the microscopic image, and when the matching degree between the target microscopic texture feature and the standard microscopic texture feature is greater than or equal to the preset matching degree, entity edge recognition is performed on the image to be identified; when the matching degree between the target microscopic texture feature and the standard microscopic texture feature is less than the preset matching degree, it is determined that the gas tank to be filled is an unqualified gas tank, and gas filling is prohibited for the gas tank to be filled. The accuracy of the gas tank qualification detection is improved by combining the texture feature recognition and the edge distance information, and the data processing amount can also be reduced to improve the efficiency of the gas tank qualification detection.
[0162] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0163] In one embodiment, a detection device is provided, which corresponds one-to-one with the gas tank qualification detection method in the above embodiment. Fig. 9 As shown, the detection device includes an acquisition module 901, a determination module 902, an identification module 903, a generation module 904 and a detection module 905. The functional modules are described in detail as follows:
[0164] The acquisition module 901 is used to acquire an image of the gas tank shield area containing the gas tank identification code on the gas tank to be filled, so as to obtain an image to be identified of the gas tank to be filled;
[0165] The determination module 902 is used to determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes the standard edge distance information generated according to the edge line of the gas tank cover and the edge line of the identification code on the cover when the gas tank leaves the factory;
[0166] The recognition module 903 is used to perform entity edge recognition on the image to be recognized, and obtain the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield;
[0167] A generating module 904, configured to generate identification edge distance information according to a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield;
[0168] The detection module 905 is used to perform a conformity detection on the gas tank to be filled according to the identification edge distance information and the standard edge distance information.
[0169] Optionally, the identification module 903 is specifically used for:
[0170] Use edge detection algorithm to detect entity edges on the image to be identified, and obtain a target identification image including the edges of each entity;
[0171] The contour detection algorithm is used to perform contour recognition on the target recognition image based on the edges of each entity, and the entity contour information in the image to be recognized is obtained;
[0172] According to the entity contour information in the image to be identified, the contour edge information of each named entity in the image to be identified is determined, and the contour edge information of each named entity includes a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield.
[0173] Optionally, the contour edge information of each named entity further includes a third contour edge of the identification code label where the gas tank identification code in the image to be identified is located, and the identification module 903 is specifically further used to:
[0174] Perform named entity recognition classification according to entity contour information in the image to be recognized, and determine contour information of the gas tank identification code, contour information of the gas tank shield, and contour information of the identification code label in the image to be recognized;
[0175] Determine a first contour edge of the gas tank identification code according to the contour information of the gas tank identification code, where the first contour edge is a contour edge of the gas tank identification code that is shortest in distance from the gas tank shield and the multiple contour edges of the gas tank identification code;
[0176] Determine a second contour edge of the gas tank shield according to the contour information of the gas tank shield, where the second contour edge is a contour edge of the gas tank shield that is shortest to the first contour edge among the multiple contour edges of the gas tank shield;
[0177] According to the contour information of the identification code tag, a third contour edge of the identification code tag is determined, and the position of the third contour edge is between the first contour edge and the second contour edge.
[0178] Optionally, the identification module 903 is further configured to:
[0179] Performing image grayscale conversion on the image to be identified, and performing Gaussian noise filtering on the image to be identified after the grayscale conversion, to obtain a preprocessed image to be identified;
[0180] The edge detection algorithm is used to perform entity edge detection on the preprocessed image to be identified, and a target identification image including the edges of each entity is obtained.
[0181] Optionally, the generating module 904 is specifically used for:
[0182] Acquire the third contour edge of the identification code label where the gas tank identification code in the image to be identified is located, and the third contour edge of the identification code label is obtained by performing entity edge recognition on the image to be identified;
[0183] According to the third contour edge, the first contour edge and the second contour edge, identification edge distance information is generated.
[0184] Optionally, the generating module 904 is further configured to:
[0185] Determine the shortest distance between the first contour edge and the third contour edge to obtain a first edge distance, and determine the shortest distance between the third contour edge and the second contour edge to obtain a second edge distance;
[0186] According to the first edge distance and the second edge distance, identification edge distance information is generated.
[0187] Optionally, the gas tank fingerprint information also includes standard micro-texture features of the identification code area on the gas tank bound to the gas tank identification code. The detection module 905 is also used for, before performing entity edge recognition on the image to be recognized:
[0188] Acquire a microscopic image of the gas tank shield area on the gas tank to be filled, the microscopic image being acquired by collecting the gas tank shield area containing the gas tank identification code on the gas tank to be filled by a microscope camera device;
[0189] Extracting features of the microscopic texture information of the microscopic image to obtain target microscopic texture features of the microscopic image;
[0190] When the matching degree between the target micro-texture feature and the standard micro-texture feature is greater than or equal to the preset matching degree, entity edge recognition is performed on the image to be recognized.
[0191] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0192] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0193] The present application also provides an electronic device, such as Fig.10 As shown, the electronic device 2 includes: at least one processor 20, a memory 21, and a computer program 22 stored in the memory 21 and executable on at least one processor 20. When the processor 20 executes the computer program 22, the steps in any of the above-mentioned method embodiments are implemented, or when the processor 20 executes the computer program 22, the functions of each module / unit in the above-mentioned device embodiments are implemented.
[0194] Exemplarily, the computer program 22 may be divided into one or more modules / units, one or more modules / units are stored in the memory 21, and are executed by the processor 20 to complete the present application. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 22 in the electronic device 2.
[0195] Those skilled in the art will understand that Fig.10 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0196] The processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0197] The memory may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, etc. equipped on the electronic device. Furthermore, the memory may also include both an internal storage unit of the electronic device and an external storage device.
[0198] An embodiment of the present application also provides a readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned gas tank qualification detection method is executed.
[0199] An embodiment of the present application provides a computer program product, which enables the above-mentioned gas tank qualification detection method to be executed when the computer program product is run on an electronic device.
[0200] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, which can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0201] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0202] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0203] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are merely schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0204] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.
[0205] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A gas tank qualification detection method, characterized in that: include: Capturing an image of a gas tank shield region including a gas tank identification code on the gas tank to be filled, to obtain an image to be identified of the gas tank to be filled; Determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes standard edge distance information generated according to the edge line of the shield of the gas tank and the edge line of the identification code on the shield when the gas tank leaves the factory, and the gas tank fingerprint information also includes standard micro-texture features of the identification code area on the gas tank bound to the gas tank identification code; Acquire a microscopic image of the gas tank shield area on the gas tank to be filled, and extract features of the microscopic texture information of the microscopic image to obtain target microscopic texture features of the microscopic image, wherein the microscopic image is acquired by collecting the gas tank shield area containing the gas tank identification code on the gas tank to be filled through a microscope camera device; When the matching degree between the target micro-texture feature and the standard micro-texture feature is greater than or equal to a preset matching degree, entity edge recognition is performed on the image to be identified to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield; Generate identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield; Performing a qualification test on the gas tank to be filled according to the identification edge distance information and the standard edge distance information; Among them, the identification edge distance information includes the ratio of the first edge distance and the second edge distance, the first edge distance is the distance between the first contour edge and the third contour edge, the second edge distance is the distance between the third contour edge and the second contour edge, and the third contour edge is the contour edge of the identification code label installed on the gas tank guard and printed with the guard identification code; the standard edge distance information has the same quantity and type of distance information as the identification edge distance information.
2. The gas tank qualification detection method according to claim 1, characterized in that: The performing entity edge recognition on the image to be recognized to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield includes: Using an edge detection algorithm to perform entity edge detection on the image to be identified, to obtain a target identification image including the edges of each entity; Using a contour detection algorithm to perform contour recognition on the target recognition image based on the edges of each entity, and identifying the entity contour information in the image to be recognized; According to the entity contour information in the image to be identified, the contour edge information of each named entity in the image to be identified is determined, and the contour edge information of each named entity includes the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield.
3. The gas tank qualification detection method according to claim 2, characterized in that: The contour edge information of each named entity also includes a third contour edge of the identification code label where the gas tank identification code is located in the image to be identified. The determining of the contour edge information of each named entity in the image to be identified based on the entity contour information in the image to be identified includes: Perform named entity recognition classification according to the entity contour information in the image to be recognized, and determine the contour information of the gas tank identification code, the contour information of the gas tank shield, and the contour information of the identification code label in the image to be recognized; Determine a first contour edge of the gas tank identification code according to the contour information of the gas tank identification code, wherein the first contour edge is a contour edge of the gas tank identification code that is shortest in distance from the gas tank shield and the multiple contour edges of the gas tank identification code; Determine a second contour edge of the gas tank shield according to the contour information of the gas tank shield, wherein the second contour edge is a contour edge of the gas tank shield having the shortest distance from the first contour edge among multiple contour edges of the gas tank shield; A third contour edge of the identification code tag is determined according to the contour information of the identification code tag, and the position of the third contour edge is between the first contour edge and the second contour edge.
4. The gas tank qualification detection method according to claim 2, characterized in that: The method of using an edge detection algorithm to perform entity edge detection on the image to be identified to obtain a target identification image including the edges of each entity includes: Performing image grayscale conversion on the image to be identified, and performing Gaussian noise filtering on the image to be identified after the grayscale conversion, to obtain the preprocessed image to be identified; An edge detection algorithm is used to perform entity edge detection on the preprocessed image to be identified, so as to obtain a target identification image including the edges of each entity.
5. The gas tank qualification detection method according to any one of claims 1 to 4, characterized in that: The step of generating identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield comprises: Acquire a third contour edge of the identification code label where the gas tank identification code is located in the image to be identified, wherein the third contour edge of the identification code label is obtained by performing entity edge recognition on the image to be identified; The identified edge distance information is generated according to the third contour edge, the first contour edge and the second contour edge.
6. The gas tank qualification detection method according to claim 5, characterized in that: The step of generating the identification edge distance information between the gas tank identification code and the gas tank shield according to the third contour edge, the first contour edge and the second contour edge comprises: Determine the shortest distance between the first contour edge and the third contour edge to obtain a first edge distance, and determine the shortest distance between the third contour edge and the second contour edge to obtain a second edge distance; The identified edge distance information is generated according to the first edge distance and the second edge distance.
7. A gas tank qualification detection system, characterized in that: A detection device is included, wherein the detection device is used to: Capturing an image of a gas tank shield region including a gas tank identification code on the gas tank to be filled, to obtain an image to be identified of the gas tank to be filled; Determine the gas tank fingerprint information of the gas tank bound to the gas tank identification code, the gas tank fingerprint information includes standard edge distance information generated according to the edge line of the shield of the gas tank and the edge line of the identification code on the shield when the gas tank leaves the factory, and the gas tank fingerprint information also includes standard micro-texture features of the identification code area on the gas tank bound to the gas tank identification code; Acquire a microscopic image of the gas tank shield area on the gas tank to be filled, and extract features of the microscopic texture information of the microscopic image to obtain target microscopic texture features of the microscopic image, wherein the microscopic image is acquired by collecting the gas tank shield area containing the gas tank identification code on the gas tank to be filled through a microscope camera device; When the matching degree between the target micro-texture feature and the standard micro-texture feature is greater than or equal to a preset matching degree, entity edge recognition is performed on the image to be recognized to obtain a first contour edge of the gas tank identification code and a second contour edge of the gas tank shield; Generate identification edge distance information according to the first contour edge of the gas tank identification code and the second contour edge of the gas tank shield; Performing a qualification test on the gas tank to be filled according to the identification edge distance information and the standard edge distance information; Among them, the identification edge distance information includes the ratio of the first edge distance and the second edge distance, the first edge distance is the distance between the first contour edge and the third contour edge, the second edge distance is the distance between the third contour edge and the second contour edge, and the third contour edge is the contour edge of the identification code label installed on the gas tank guard and printed with the guard identification code; the standard edge distance information has the same quantity and type of distance information as the identification edge distance information.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the electronic device implements the gas tank conformity detection method as described in any one of claims 1 to 6.
9. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the gas tank qualification detection method as described in any one of claims 1 to 6 is executed.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed, the gas tank qualification detection method according to any one of claims 1 to 6 is executed.
Citation Information
Patent Citations
Anti-counterfeiting detection method and device
CN111932283A
Steel cylinder inspection method and device and medium
CN118840350A