CN115796213A - Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes - Google Patents

Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes Download PDF

Info

Publication number
CN115796213A
CN115796213A CN202211316851.8A CN202211316851A CN115796213A CN 115796213 A CN115796213 A CN 115796213A CN 202211316851 A CN202211316851 A CN 202211316851A CN 115796213 A CN115796213 A CN 115796213A
Authority
CN
China
Prior art keywords
angle
triangle
dimensional code
concrete
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211316851.8A
Other languages
Chinese (zh)
Inventor
南策云
南子康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Xinhuatong Software Co ltd
Original Assignee
Zhuhai Xinhuatong Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Xinhuatong Software Co ltd filed Critical Zhuhai Xinhuatong Software Co ltd
Priority to CN202211316851.8A priority Critical patent/CN115796213A/en
Publication of CN115796213A publication Critical patent/CN115796213A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)

Abstract

The invention discloses a double two-dimensional code-based anti-exchange inspection method, a double two-dimensional code-based anti-exchange inspection system and a storage medium for a concrete test piece, wherein the method comprises the steps of obtaining first two-dimensional code information and second two-dimensional code information of the concrete test piece, obtaining a first positioning mark according to the first two-dimensional code information, obtaining two second positioning marks according to the second two-dimensional code information, generating an inspection triangle according to the first positioning mark and the two second positioning marks, obtaining an inner angle set according to the inspection triangle, determining that the concrete test piece is not exchanged under the condition that each inner angle in the inner angle set accords with a preset angle range, implanting two-dimensional code chips into concrete, and identifying and judging a triangle formed by the positioning marks in the two-dimensional code chips, so that the anti-exchange capability of the concrete test piece can be effectively improved, the phenomenon that the test sample is exchanged or some illegal contractors forge the test sample for the test to be qualified can be prevented, and the quality of a concrete entity can be better monitored.

Description

Double two-dimensional code-based concrete sample anti-exchange inspection method and system
Technical Field
The application relates to the technical field of constructional engineering, in particular to a concrete test piece anti-exchange inspection method and system based on double two-dimensional codes and a storage medium.
Background
In the field of construction, in order to monitor the quality of concrete entities, currently, in China, concrete samples are manufactured as detection pieces while concrete entities are poured, a construction unit sends the concrete samples to a supervision department for detection, and the concrete samples reflect the strength of the concrete entities to a certain extent and are also the main basis for quality evaluation of the concrete;
the mode of implanting a single two-dimensional code chip is generally adopted to the current concrete test piece, prevents that the prison concrete test piece from being stolen and trades, however, single two-dimensional code chip still exists the problem that probably is replaced at the in-process that the concrete test piece was prevented changing the inspection, leads to the unable accurate intensity of reflection concrete entity of final test result to make the witness sample censorship work of concrete test piece lose effect.
Disclosure of Invention
The embodiment of the application provides a concrete test piece anti-exchange inspection method, system and storage medium based on two-dimensional codes, can effectually improve the anti-exchange ability of concrete test piece at least, reduces test sample and is changed or falsify, leads to the emergence of the phenomenon that final test result can't correctly reflect the intensity of concrete entity.
In a first aspect, an embodiment of the present application provides a method for detecting replacement prevention of a concrete sample based on a dual two-dimensional code, where the method includes:
acquiring first two-dimension code information and second two-dimension code information of a concrete sample;
acquiring a first positioning mark according to the first two-dimension code information;
acquiring two second positioning marks according to the second two-dimension code information;
generating a checking triangle according to the first positioning mark and the two second positioning marks;
obtaining an internal angle set according to the inspection triangle;
and under the condition that the internal angle angles in the internal angle set accord with a preset angle range, determining that the concrete test piece is not exchanged.
In some embodiments, said generating a verification triangle from said first and second localization markers comprises:
generating a first isosceles right triangle according to the first positioning mark;
generating a second isosceles right triangle according to the second positioning mark;
and generating a checking triangle according to the first isosceles right triangle and the second isosceles right triangle.
In some embodiments, the generating the verification triangle from the first isosceles right-angle triangle and the second isosceles right-angle triangle comprises:
connecting the right-angle vertex of the first isosceles right-angle triangle with the hypotenuse of the second isosceles right-angle triangle to generate a first inspection triangle;
and connecting the right-angle vertex of the second isosceles right-angle triangle with the hypotenuse of the first isosceles right-angle triangle to generate a second checking triangle.
In some embodiments, said deriving a set of internal angle angles from said test triangle comprises:
and obtaining an inner angle set according to each inner angle of the first checking triangle and the second checking triangle.
In some embodiments, determining that the concrete sample is not exchanged if each of the set of internal angles meets a predetermined angle range includes:
obtaining an angle change value according to the inner angle set and a preset target angle;
determining that the concrete test piece is not exchanged under the condition that the angle change value is smaller than a preset change threshold value;
and determining that the concrete sample is exchanged under the condition that the angle change value is greater than or equal to a preset change threshold value.
In some embodiments, after obtaining the angle change value according to the internal angle set and the preset target angle, the method further includes:
dividing the included angle of the inspection triangle into an enlarged included angle and a reduced included angle according to the angle change value;
determining that the concrete sample is not exchanged under the condition that the angle change value of the enlarged included angle is smaller than a preset enlarged threshold value and the angle change value of the reduced included angle is smaller than a preset reduced threshold value;
and determining that the concrete test piece is exchanged under the condition that the angle change value of the enlarged included angle is greater than or equal to a preset enlarged threshold value or the angle change value of the reduced included angle is greater than or equal to a preset reduced threshold value.
In some embodiments, the obtaining the first two-dimensional code information and the second two-dimensional code information of the concrete sample includes:
acquiring image information of a concrete test piece implanted on the side of the two-dimensional code chip;
and carrying out zigzag scanning processing on the image information to obtain first two-dimensional code identification information and second two-dimensional code identification information.
In some embodiments, before the obtaining the first two-dimensional code information and the second two-dimensional code information of the concrete sample, the method further includes:
and implanting a first two-dimensional code chip and a second two-dimensional code chip into the concrete test block according to a preset target angle.
In a second aspect, an embodiment of the present application provides a two-dimensional code based anti-exchange inspection system for a concrete sample, which includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor executes the computer program to implement the two-dimensional code based anti-exchange inspection method for a concrete sample according to any one of the embodiments of the first aspect.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer-executable instructions for executing the method for detecting the anti-exchange of a concrete sample based on a dual two-dimensional code according to any one of the embodiments of the first aspect.
The application has at least the following beneficial effects: the invention discloses a double two-dimensional code-based concrete sample anti-exchange inspection method, a system and a storage medium, wherein the double two-dimensional code-based concrete sample anti-exchange inspection method comprises the steps of obtaining first two-dimensional code information and second two-dimensional code information of a concrete sample, obtaining a first positioning mark according to the first two-dimensional code information, obtaining two second positioning marks according to the second two-dimensional code information, generating an inspection triangle according to the first positioning mark and the two second positioning marks, according to the method, an inner angle set is obtained by inspecting triangles, under the condition that each inner angle in the inner angle set accords with a preset angle range, the concrete test piece is determined not to be exchanged, two-dimension code chips are implanted into the concrete, and the triangles formed by the positioning marks in the two-dimension code chips are identified and judged, so that the exchange prevention capacity of the concrete test piece can be effectively improved, the phenomenon that the test sample is exchanged or forged for the test qualification by some illegal contractors is prevented, and the quality of the concrete entity is better monitored.
Drawings
Fig. 1 is a method step diagram of a double two-dimensional code-based anti-exchange inspection method for a concrete sample according to an embodiment of the present application;
fig. 2 is a schematic view of a double two-dimensional code concrete specimen according to another embodiment of the present application;
fig. 3 is a schematic view of a double two-dimensional code concrete sample scanned according to another embodiment of the present application;
fig. 4 is a schematic diagram of determining a positioning mark on a double two-dimensional code concrete sample according to another embodiment of the present application;
fig. 5 is a schematic diagram of determining a positioning mark on a double two-dimensional code concrete sample and forming an isosceles right triangle according to another embodiment of the present application;
FIG. 6 is a schematic diagram of an exemplary method for generating a test triangle from an isosceles right triangle according to another embodiment of the present application;
fig. 7 is a method step diagram of a double two-dimensional code-based anti-exchange inspection method for a concrete test piece according to an embodiment of the present application;
fig. 8 is a method step diagram of a double two-dimensional code-based anti-exchange inspection method for a concrete test piece according to an embodiment of the present application;
FIG. 9 is a schematic diagram of determining an expanded angle and a reduced angle from a test triangle according to another embodiment of the present application;
fig. 10 is a block diagram of an anti-exchange inspection system for a concrete sample according to another embodiment of the present application.
Reference numerals: 1. a concrete sample; 2. two-dimensional code information; 3. a locating mark; 4. an isosceles right triangle; 5. the triangle is examined.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In some embodiments, while functional block divisions are performed in system diagrams, with logical orders shown in the flowcharts, in some cases, the steps shown or described may be performed in an order different than the block divisions in the systems, or the flowcharts. The terms first, second and the like in the description and in the claims, and the accompanying drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the field of construction, in order to monitor the quality of concrete entities, currently, in China, concrete samples are manufactured as detection pieces while concrete entities are poured, a construction unit sends the concrete samples to a supervision department for detection, the concrete samples reflect the strength of the concrete entities to a certain extent and are also the main basis for quality evaluation of concrete, and the conventional concrete samples generally adopt a mode of implanting a single two-dimensional code chip to prevent the monitored concrete samples from being stolen.
In order to at least solve the problems, the application discloses a double-two-dimensional code-based concrete sample anti-exchange inspection method, a double-two-dimensional code-based concrete sample anti-exchange inspection system and a storage medium, wherein the double-two-dimensional code-based concrete sample anti-exchange inspection method comprises the steps of obtaining first two-dimensional code information and second two-dimensional code information of a concrete sample; acquiring a first positioning mark according to the first two-dimension code information; the method comprises the steps of obtaining a second positioning mark according to second two-dimensional code information, generating a checking triangle according to the first positioning mark and the second positioning mark, obtaining an inner angle set according to the checking triangle, determining that a concrete test piece is not changed under the condition that the inner angle set accords with a preset angle range, implanting two-dimensional code chips into concrete, identifying and judging triangles formed by the positioning marks in the two-dimensional code chips, effectively improving the anti-changing capacity of the concrete test piece, preventing the test sample from being changed or forging the test sample for the test qualification by some illegal contractors, and better monitoring the quality of a concrete entity.
In some embodiments, the two-dimensional code is a pattern which is distributed in two-dimensional directions according to a certain rule by using a certain specific geometric figure, is black and white and is alternated, and records data symbol information; the concept of '0' and '1' bit stream which forms the internal logic base of computer is skillfully utilized in coding, a plurality of geometric shapes corresponding to binary system are used for representing literal numerical information, and the information is automatically read by an image input device or an optoelectronic scanning device so as to realize the automatic processing of the information: it has some commonalities with barcode technology: each code system has its specific character set; each character occupies a certain width; has certain checking function and the like. Meanwhile, the method also has the function of automatically identifying information of different rows and processing the graph rotation change points.
The embodiments of the present application will be further described with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a method for detecting the anti-exchange of a concrete sample based on a dual two-dimensional code according to an embodiment of the present application, and the embodiment of the present application provides a method for detecting the anti-exchange of a concrete sample based on a dual two-dimensional code, where the method for detecting the anti-exchange of a concrete sample based on a dual two-dimensional code at least includes the following steps:
step S110, acquiring first two-dimension code information and second two-dimension code information of a concrete test piece;
step S120, acquiring a first positioning mark according to the first two-dimensional code information;
step S130, two second positioning marks are obtained according to the second two-dimension code information;
step S140, generating a checking triangle according to the first positioning mark and the two second positioning marks;
s150, obtaining an internal angle set according to the inspection triangle;
and step S160, determining that the concrete sample is not exchanged under the condition that the internal angle angles in the internal angle set accord with the preset angle range.
Referring to fig. 2, fig. 2 is a schematic view of a double two-dimensional code concrete sample 1 provided in another embodiment of the present application, and the first two-dimensional code information and the second two-dimensional code information of the concrete sample 1 are obtained to subsequently generate a checking triangle 5 and perform anti-exchange checking on the concrete sample 1.
In some embodiments, the first two-dimensional code information and the second two-dimensional code information of the concrete sample 1 are obtained, parameters of the concrete sample 1 such as the number and the generation time of the concrete sample 1 can be determined according to the first two-dimensional code information and the second two-dimensional code information, the concrete sample 1 can be further subjected to anti-exchange inspection according to the number of the concrete sample 1, and the concrete sample 1 is determined not to be exchanged under the condition that the parameters of the concrete sample 1 corresponding to the first two-dimensional code information and the second two-dimensional code information meet the relevant threshold value in the system.
In some embodiments, referring to fig. 3, fig. 3 is a schematic diagram of scanning a double two-dimensional code concrete sample 1 according to another embodiment of the present disclosure, obtaining two-dimensional code information 2 of the concrete sample 1, where the two-dimensional code information 2 includes first two-dimensional code information and second two-dimensional code information, including obtaining image information of a two-dimensional code chip embedded in the concrete sample 1, performing zigzag scanning processing on the image information, and obtaining first two-dimensional code identification information and second two-dimensional code identification information, where the first two-dimensional code identification information and the second two-dimensional code identification information can be obtained simultaneously in one scanning processing through the zigzag scanning processing, so that the speed of obtaining the first two-dimensional code information and the second two-dimensional code information of the concrete sample 1 in the present disclosure can be increased, thereby performing anti-exchange inspection work on the concrete sample 1 more quickly, improving work efficiency, effectively improving anti-exchange capability of the concrete sample 1, and reducing occurrence of a phenomenon that a final test result cannot correctly reflect strength of a concrete entity.
In some embodiments, referring to fig. 4, fig. 4 is a schematic diagram of determining a positioning mark 3 on a two-dimensional code concrete sample 1 according to another embodiment of the present disclosure, where a two-dimensional code generally has a specific positioning mark 3 (e.g., three large black squares at the corners of the two-dimensional code), and the two-dimensional code is correctly identified and read by a code reader through the positioning mark, so that the two-dimensional code can be identified regardless of the direction from which the two-dimensional code is read, and a first positioning mark is obtained according to first two-dimensional code information, and a second positioning mark is obtained according to second two-dimensional code information, so as to prepare for a subsequent step of generating a verification triangle 5 according to the first positioning mark and the second positioning mark.
In some embodiments, generating the inspection triangle 5 from the first and second positioning marks comprises generating an isosceles right triangle 4 from the first and second positioning marks, and generating the inspection triangle 5 from the isosceles right triangle 4.
In some embodiments, referring to fig. 5, fig. 5 is a schematic diagram of determining a positioning mark on a two-dimensional code concrete sample 1 and forming an isosceles right triangle 4 according to another embodiment of the present application.
Wherein, generate isosceles right triangle 4 according to first locating mark and first locating mark 3, include, connect three locating mark in the two-dimensional code and form isosceles right triangle 4, be convenient for form inspection triangle 5 according to two isosceles right triangle 4 that two-dimensional codes correspond in follow-up step and carry out the inspection of preventing changing of concrete sample 1, the effectual ability of preventing changing that improves concrete sample 1 reduces test sample and is changed or forge, leads to the emergence of the unable accurate phenomenon of reflecting the concrete entity's of final test result intensity.
In some embodiments, referring to fig. 6, fig. 6 is a schematic diagram of generating a test triangle 5 from an isosceles right triangle 4 according to another embodiment of the present application.
Wherein, through the hypotenuse of the isosceles right triangle 4 that connects the right angle summit of the isosceles right triangle 4 that first two-dimensional code information corresponds and the isosceles right triangle 4 that the second two-dimensional code information corresponds, and/or connect the hypotenuse of the isosceles right triangle 4 that the right angle summit of the isosceles right triangle 4 that the second two-dimensional code information corresponds and the isosceles right triangle 4 that first two-dimensional code information corresponds, form inspection triangle 5, wherein, because the angle of the inspection triangle 5 who generates can be along with the relative position of two-dimensional codes, the change of rotation angle changes, so inspection triangle 5's angle can effectually improve the anti-exchange ability of concrete test piece 1 as the index, reduce test sample and be changed or forge, lead to the emergence of the unable correct phenomenon of reflection concrete entity's of final test result.
In some embodiments, in the process of performing anti-exchange inspection on the concrete test piece 1, the concrete test piece 1 is limited to be photographed, whether the concrete test piece 1 is exchanged or not is inspected according to the inspection triangle 5 formed by the two-dimensional codes in the photos, and according to the property that the angle is not changed when the included angle is zoomed, the method for performing anti-exchange inspection according to the angle of the inspection triangle 5 has no influence on the differences of the size, the color difference and the like of the photos generated in the process of performing anti-exchange inspection, so that the anti-exchange method in the application can be used in the scene that the colors of the photos are difficult to identify or the colors of the photos are dark when the colors of the photos are insufficient, has better stability and feasibility, and can better improve the anti-exchange inspection of the concrete test piece 1.
Referring to fig. 7, fig. 7 is a flowchart of a method of a double two-dimensional code-based anti-exchange inspection method for a concrete sample, which is provided in an embodiment of the present application, and the embodiment of the present application provides a double two-dimensional code-based anti-exchange inspection method for a concrete sample, wherein an inspection triangle is generated according to a first positioning mark and a second positioning mark, and the method at least includes the following steps:
step S710, generating a first isosceles right triangle according to the first positioning mark;
step S720, generating a second isosceles right triangle according to the second positioning mark;
step S730, a checking triangle is generated according to the first isosceles right triangle and the second isosceles right triangle.
In some embodiments, a first isosceles right triangle is generated from the first locator mark, a second isosceles right triangle is generated from the second locator mark, and a verification triangle is generated from the first isosceles right triangle and the second isosceles right triangle.
Referring to fig. 8, fig. 8 is a flowchart of a method for checking replacement prevention of a concrete sample based on a dual two-dimensional code according to an embodiment of the present application, and an embodiment of the present application provides a method for checking replacement prevention of a concrete sample based on a dual two-dimensional code, where a checking triangle includes a first checking triangle and a second checking triangle, and the checking triangle is generated according to the first isosceles right angle triangle and the second isosceles right angle triangle, and includes at least the following steps:
step S810, connecting the right-angle vertex of the first isosceles right-angle triangle with the hypotenuse of the second isosceles right-angle triangle to generate a first inspection triangle;
and S820, connecting the right-angle vertex of the second isosceles right-angle triangle with the hypotenuse of the first isosceles right-angle triangle to generate a second inspection triangle.
In some embodiments, a right angle vertex of the first isosceles right-angle triangle and a hypotenuse of the second isosceles right-angle triangle are connected to generate a first check triangle, a right angle vertex of the second isosceles right-angle triangle and a hypotenuse of the first isosceles right-angle triangle are connected to generate a second check triangle, a preset change threshold value is compared according to six inner angle angles of the first check triangle and the second check triangle, and under the condition that the inner angle accords with the angle threshold value or the difference value between the inner angle and the angle threshold value is smaller than the preset change value, it is determined that the concrete test piece is not changed, so that the concrete test piece has stronger anti-change capability.
In some embodiments, deriving the set of internal angle angles from the inspection triangles includes deriving the set of internal angle angles from a first inspection triangle and a second inspection triangle.
In some embodiments, determining that the concrete sample is not exchanged when the inner angle set meets the preset angle range includes obtaining an angle change value according to the inner angle set and a preset target angle, determining that the concrete sample is not exchanged when the angle change value is smaller than a preset change threshold, and determining that the concrete sample is exchanged when the angle change value is greater than or equal to the preset change threshold.
In some embodiments, after obtaining the angle change value according to the inner angle set and the preset target angle, the method further includes dividing the included angle of the inspection triangle into an enlarged included angle and a reduced included angle according to the angle change value, determining that the concrete sample is not exchanged when the angle change value of the enlarged included angle is smaller than a preset enlarged threshold value and the angle change value of the reduced included angle is smaller than a preset reduced threshold value, and determining that the concrete sample is exchanged when the angle change value of the enlarged included angle is greater than or equal to the preset enlarged threshold value or the angle change value of the reduced included angle is greater than or equal to the preset reduced threshold value.
In some embodiments, referring to fig. 9, the dividing of the included angle of the inspection triangle into an enlarged included angle and a reduced included angle according to the angle variation includes determining a deformation direction of the inspection triangle according to the angle variation, drawing parallel lines through three vertexes of the inspection triangle according to the deformation direction, determining the included angle of two sides of the inspection triangle located at two sides of the corresponding parallel lines as an enlarged included angle, and determining the included angle of two sides of the inspection triangle located at the same side of the corresponding parallel lines as a reduced included angle.
In some embodiments, before obtaining the first two-dimensional code information and the second two-dimensional code information of the concrete test piece, the method further comprises the steps of implanting a first two-dimensional code chip and a second two-dimensional code chip into the concrete test piece according to a preset target angle, wherein the positioning representation position information corresponding to the inspection triangle is generated according to the preset target angle, the implantation position of the two-dimensional code is determined according to the positioning representation position information, and then the first two-dimensional code chip and the second two-dimensional code chip corresponding to the first two-dimensional code information and the second two-dimensional code information are implanted, implanting the first two-dimensional code chip and the second two-dimensional code chip into the concrete test piece according to the preset target angle, the implantation position of the two-dimensional code can be better positioned, the problem that the two-dimensional code chip has no fixed implantation position in the prior art and is inconvenient to replace and inspect is solved.
Referring to fig. 10, an embodiment of the present application further provides a double two-dimensional code based anti-exchange inspection system 1000 for a concrete sample, including: the memory 1020, the processor 1010 and a computer program stored on the memory and executable on the processor, when the processor 1010 executes the computer program, the method for checking the anti-exchange of the concrete sample based on the dual two-dimensional code according to any one of the above embodiments is implemented, for example, the method steps S110 to S160 in fig. 1, the method steps S710 to S730 in fig. 7 and the method steps S810 to S820 in fig. 8 described above are executed.
Furthermore, an embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions, which are executed by one or more control processors, for example, to perform the above-described method steps S110 to S160 in fig. 1, method steps S710 to S730 in fig. 7, and method steps S810 to S820 in fig. 8.
It will be understood by those of ordinary skill in the art that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a general processor, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (10)

1. The anti-exchange inspection method for the concrete test piece based on the double two-dimensional codes is characterized by comprising the following steps of:
acquiring first two-dimension code information and second two-dimension code information of a concrete test piece;
acquiring a first positioning mark according to the first two-dimension code information;
acquiring two second positioning marks according to the second two-dimension code information;
generating a checking triangle according to the first positioning mark and the two second positioning marks;
obtaining an internal angle set according to the inspection triangle;
and under the condition that the internal angle angles in the internal angle set accord with a preset angle range, determining that the concrete sample is not exchanged.
2. The double two-dimensional code-based anti-exchange inspection method for the concrete sample, as recited in claim 1, wherein the generating of the inspection triangle according to the first positioning mark and the two second positioning marks comprises:
generating a first isosceles right triangle according to the first positioning mark;
generating a second isosceles right triangle according to the second positioning mark;
and generating a checking triangle according to the first isosceles right triangle and the second isosceles right triangle.
3. The double two-dimensional code-based anti-exchange inspection method for the concrete test piece, as recited in claim 2, wherein the inspection triangles comprise a first inspection triangle and a second inspection triangle, and the generation of the inspection triangle according to the first isosceles right triangle and the second isosceles right triangle comprises:
connecting the right-angle vertex of the first isosceles right-angle triangle with the hypotenuse of the second isosceles right-angle triangle to generate a first inspection triangle;
and connecting the right-angle vertex of the second isosceles right-angle triangle with the hypotenuse of the first isosceles right-angle triangle to generate a second checking triangle.
4. The double two-dimensional code-based concrete sample exchange prevention inspection method according to claim 3, wherein the obtaining of the internal angle set according to the inspection triangle comprises:
and obtaining an inner angle set according to each inner angle of the first checking triangle and the second checking triangle.
5. The double two-dimensional code-based concrete sample exchange prevention inspection method according to claim 1, wherein the step of determining that the concrete sample is not exchanged when each inner angle in the inner angle set conforms to a preset angle range comprises:
obtaining an angle change value according to the inner angle set and a preset target angle;
determining that the concrete test piece is not exchanged under the condition that the angle change value is smaller than a preset change threshold value;
and determining that the concrete sample is exchanged under the condition that the angle change value is greater than or equal to a preset change threshold value.
6. The double two-dimensional code-based concrete test piece exchange-prevention inspection method according to claim 5, wherein after obtaining the angle change value according to the internal angle set and the preset target angle, the method further comprises:
dividing the included angle of the inspection triangle into an enlarged included angle and a reduced included angle according to the angle change value;
determining that the concrete test piece is not exchanged under the condition that the angle change value of the enlarged included angle is smaller than a preset enlarged threshold value and the angle change value of the reduced included angle is smaller than a preset reduced threshold value;
and determining that the concrete test piece is exchanged under the condition that the angle change value of the enlarged included angle is greater than or equal to a preset enlarged threshold value or the angle change value of the reduced included angle is greater than or equal to a preset reduced threshold value.
7. The double two-dimensional code-based concrete test piece anti-exchange inspection method according to claim 1, wherein the step of obtaining the first two-dimensional code information and the second two-dimensional code information of the concrete test piece comprises the following steps:
acquiring image information of a concrete test piece implanted on the side of the two-dimensional code chip;
and performing zigzag scanning processing on the image information to acquire first two-dimensional code identification information and second two-dimensional code identification information.
8. The double two-dimensional code based anti-exchange inspection method for the concrete sample according to claim 1, wherein before the obtaining of the first two-dimensional code information and the second two-dimensional code information of the concrete sample, the method further comprises:
and implanting a first two-dimensional code chip and a second two-dimensional code chip into the concrete test block according to a preset target angle.
9. A concrete sample anti-exchange inspection system based on double two-dimensional codes is characterized by comprising a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the concrete sample anti-exchange inspection method based on the double two-dimensional codes as claimed in any one of claims 1 to 8.
10. A computer-readable storage medium storing computer-executable instructions for performing the double two-dimensional code-based anti-exchange inspection method for a concrete specimen according to any one of claims 1 to 8.
CN202211316851.8A 2022-10-26 2022-10-26 Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes Pending CN115796213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211316851.8A CN115796213A (en) 2022-10-26 2022-10-26 Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211316851.8A CN115796213A (en) 2022-10-26 2022-10-26 Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes

Publications (1)

Publication Number Publication Date
CN115796213A true CN115796213A (en) 2023-03-14

Family

ID=85433844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211316851.8A Pending CN115796213A (en) 2022-10-26 2022-10-26 Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes

Country Status (1)

Country Link
CN (1) CN115796213A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273035A (en) * 2023-06-01 2023-12-22 山东浪潮成方数字服务有限公司 Replacement-preventing method for concrete test piece implanted with multiple random features

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117273035A (en) * 2023-06-01 2023-12-22 山东浪潮成方数字服务有限公司 Replacement-preventing method for concrete test piece implanted with multiple random features

Similar Documents

Publication Publication Date Title
CN111627009B (en) Screen detection method and device and head-mounted display equipment
Chierchia et al. PRNU-based detection of small-size image forgeries
US20060067566A1 (en) Plain four-finger image determination device, plain four-finger image determination method and plain four-finger determination program
CN111626941A (en) Document correction method based on deep learning semantic segmentation
CN115796213A (en) Concrete test piece replacement-preventing inspection method and system based on double two-dimensional codes
US9552506B1 (en) Method and apparatus for industrial identification mark verification
CN112129773A (en) Wood surface defect detection method, device, equipment, system and storage medium
US6775409B1 (en) Method for locating codes in bidimensional images
CN115761270A (en) Color card detection method and device, electronic equipment and storage medium
CN111354038B (en) Anchor detection method and device, electronic equipment and storage medium
US11288475B2 (en) Two-dimensional barcode generating method, verification method, server and two-dimensional barcode
KR102260556B1 (en) Deep learning-based parking slot detection method and apparatus integrating global and local information
CN116958101A (en) Identification method and system for concave marks on forged workpiece, storage medium and data processing terminal
CN111523331B (en) Two-dimensional code identification method and device
CN115661131B (en) Image identification method and device, electronic equipment and storage medium
CN111126286A (en) Vehicle dynamic detection method and device, computer equipment and storage medium
CN115809999A (en) Method and device for detecting target object on device, electronic equipment and storage medium
CN113822092B (en) Method and apparatus for positioning position detection pattern, electronic device, and medium
CN111428530B (en) Two-dimensional code image detection and identification equipment, device and method
JP2001099625A (en) Device and method for pattern inspection
CN116342590B (en) Method and device for detecting wafer test needle mark
Zhang et al. A fast color barcode detection method through cross identification on mobile platforms
CN107730708B (en) Method, equipment and storage medium for distinguishing true and false of paper money
CN107705416B (en) paper money image processing method, paper money image processing device and electronic equipment
JP2001357401A (en) Picture processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination