A method for detecting the standardization of a flag pattern

CN116045760BActive Publication Date: 2026-09-22CHANGXING BAOFU WEAVING
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211480888.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-24
Publication Date
2026-09-22
Estimated Expiration
2042-11-24

AI Technical Summary

Technical Problem

由于现有国旗图案的制作规范性要求对国旗图案上各元素及各元素间相对参数的限定较为复杂,且允许具备对应范围内的误差,使得现有国旗图案的检测方法具备以下技术问题:大、小五角星的外接圆直径不能在旗面上直接测量;长度测量基准点/线多样,且测量困难,如以旗面上边、旗套、旗面高中心线为测量基点,实际测量时操作较为困难,人为误差大;小五角星相对位置的校验缺乏定量要求,只有右下角小五角星有位置参数要求

Benefits of technology

本发明提供的一种国旗图案规范性的检测方法,通过五角星图案检测模组和特征长度检定尺的设计及对应检测流程的设计,使得对国旗图案中各五角星图案的合规性检测以及各图案相对位置的合规性检测无需依赖人工经验或冗长复杂的测量流程,从而提高对国旗图案规范性的检测效率和检测精度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116045760B_ABST
    Figure CN116045760B_ABST
Patent Text Reader

Abstract

The application discloses a kind of detection methods of flag pattern standardization, it is related to the technical field of figure detection.The application provides a kind of detection methods of flag pattern standardization, through the design of pentacle pattern detection module and characteristic length verification ruler and the design of corresponding detection process, so that the compliance detection of each pentacle pattern in flag pattern and the compliance detection of the relative position of each pattern do not need to rely on artificial experience or long and complex measurement process, so as to improve the detection efficiency and detection accuracy of flag pattern standardization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of graphic inspection technology, and in particular to a method for detecting the standardization of national flag patterns. Background Technology

[0002] Because national flags are required to have good waving and waving shape, the vast majority of national flags are made of soft and elastic fabrics through dyeing (national flag red), printing (yellow five-pointed star discharge printing), finishing (color fixing, shaping, etc.), cutting, and sewing (hemming and flagpole sleeve). Each process may cause the national flag products to fail to meet the standard requirements.

[0003] The national flag is a symbol of a country's image, possessing solemnity and sanctity. In the production and manufacturing of national flags, it is imperative to ensure that every flag is legal, compliant, and meets standards. Therefore, quality inspection of national flag products constitutes a crucial step in the flag processing and production process.

[0004] The core elements of a national flag's image are its color, pattern, size, and the position of the five-pointed stars, which are also key items in the inspection of the finished flag. Among the various items required by the national flag standards, the inspection of the flag pattern, specifically the position of the five-pointed stars, is the most difficult. Due to errors in the precision of printing plate making, as well as the deformation and misalignment of flexible fabrics during printing, there are errors in the relative positions of the five-pointed stars on the flag. The degree of error in the position of the five-pointed stars and whether it exceeds the acceptable range are items that must be inspected, but are also quite difficult to implement.

[0005] In the process of realizing this invention, the inventors discovered that the related technology has at least the following problems: Because the existing national flag design production standards impose complex requirements on the elements and relative parameters between them, and allow for errors within a certain range, the existing national flag design inspection methods have the following technical problems: the circumcircle diameters of the large and small five-pointed stars cannot be directly measured on the flag surface; the reference points / lines for length measurement are diverse and difficult to measure. For example, using the top edge of the flag surface, the flag sleeve, or the center line of the flag height as measurement reference points is difficult to operate in practice and results in large human errors; the verification of the relative position of the small five-pointed stars lacks quantitative requirements, with only the small five-pointed star in the lower right corner having positional parameter requirements. Summary of the Invention

[0006] To address the aforementioned problems in related technologies, this invention provides a method for detecting the standardization of national flag patterns. By designing a five-pointed star pattern detection module and a feature length calibration ruler, along with a corresponding detection process, the method achieves higher efficiency and accuracy in detecting the standardization of national flag patterns.

[0007] According to one aspect of the present invention, a method for detecting the standardization of a national flag pattern is provided, characterized in that the detection method includes: After the target flag is fully laid out, the current flag size of the target flag is obtained; Based on the current flag specifications of the target flag, a five-pointed star pattern detection module and a feature length calibration ruler matching the current flag specifications are determined. The five-pointed star pattern detection module includes a large five-pointed star detection template and a small five-pointed star detection template. The large five-pointed star detection template is a transparent disk with three concentric circles from the inside to the outside. The large five-pointed star outline is inscribed within the middle concentric circle outline of the large five-pointed star detection template. The diameter of the middle concentric circle outline is the standard circumcircle diameter of the large five-pointed star corresponding to the current flag specifications. The diameters of the inner and outer concentric circle outlines are the minimum circumcircle diameter and the maximum diameter of the large five-pointed star corresponding to the current flag specifications, respectively. The large circumscribed circle diameter; the small pentagram detection template is a transparent disk with three concentric circle outlines from the inside to the outside, wherein the small pentagram outline is inscribed within the middle concentric circle outline of the small pentagram detection template, the diameter of the middle concentric circle outline is the standard circumscribed circle diameter of the small pentagram corresponding to the current national flag specification, and the diameters of the inner and outer concentric circle outlines are the minimum and maximum circumscribed circle diameters of the small pentagram corresponding to the current national flag specification, respectively; the characteristic length calibration ruler is a transparent rectangle, and the characteristic length calibration ruler is engraved with, from near to far, a reference scale line, a double scale line for the error range of the large pentagram, and a scale line for the error range of the first small pentagram. The flag is divided into three scales: a double-line scale for the first small five-pointed star, a double-line scale for the second small five-pointed star, a double-line scale for the fourth small five-pointed star, and a double-line scale for the third small five-pointed star. The relative distance between the reference scale line and the error range scale line of the large five-pointed star corresponds to the allowable error distance between the upper left corner of the flag and the center point of the large five-pointed star under the current flag specifications. The relative distance between the reference scale line and the double-line scale line for the first small five-pointed star corresponds to the allowable error distance between the upper left corner of the flag and the center point of the first small five-pointed star under the current flag specifications. The relative distance between the reference scale line and the double-line scale line for the second small five-pointed star corresponds to the allowable error distance between the upper left corner of the flag and the center point of the first small five-pointed star under the current flag specifications. The allowable error distance between the upper corner base point and the center point of the second small five-pointed star above; the relative distance range between the reference scale line and the double scale line of the error range of the second small five-pointed star corresponds to the allowable error distance between the upper left corner base point of the national flag and the center point of the second small five-pointed star above under the current national flag specification; the relative distance range between the reference scale line and the double scale line of the error range of the fourth small five-pointed star corresponds to the allowable error distance between the upper left corner base point of the national flag and the center point of the bottom small five-pointed star under the current national flag specification; the relative distance range between the reference scale line and the double scale line of the error range of the third small five-pointed star corresponds to the allowable error distance between the upper left corner base point of the national flag and the center point of the second small five-pointed star from bottom to top under the current national flag specification. The large five-pointed star detection template is placed over the surface of the large five-pointed star pattern on the target national flag. The position of the large five-pointed star detection template is adjusted so that the distances from each point of the large five-pointed star pattern to the outer concentric circle outline of the large five-pointed star detection template are consistent. The center of the large five-pointed star detection template is then determined as the center point of the large five-pointed star pattern. When it is detected that each point of the large five-pointed star pattern is located between the outer and inner concentric circle outlines of the large five-pointed star detection template, the large five-pointed star pattern of the target national flag is deemed qualified. Similarly, for the target national flag... The small five-pointed star pattern of the flag is covered by the small five-pointed star detection template. The position of the small five-pointed star detection template is adjusted so that the distance between each point of the small five-pointed star pattern and the outer concentric circle outline of the small five-pointed star detection template is the same. The center of the small five-pointed star detection template is determined as the center point of the small five-pointed star pattern. When it is detected that each point of the small five-pointed star pattern is located between the outer concentric circle outline and the inner concentric circle outline of the small five-pointed star detection template, the small five-pointed star pattern of the target flag is determined to be qualified. Align the reference scale line of the characteristic length calibration ruler with the upper left corner base point of the target national flag, adjust the other end of the characteristic length calibration ruler, and when it is detected that the center point of the large five-pointed star pattern and the center point of each small five-pointed star pattern of the target national flag can fall within the corresponding five-pointed star error range scale double line, it is determined that the positions of the large five-pointed star pattern and the small five-pointed star pattern of the target national flag are qualified. For each small five-pointed star pattern of the target national flag, when the center point of the large five-pointed star pattern of the target national flag, the tip of the small five-pointed star pattern pointing to the center point of the large five-pointed star pattern, and the center point of the small five-pointed star are all located on the same straight line, it is determined that the orientation of the small five-pointed star pattern of the target national flag is qualified. When all of the above parameters of the target national flag are found to be qualified, the target national flag is determined to be compliant.

[0008] Preferably, after the step of covering the surface of the large five-pointed star pattern on the target national flag with the large five-pointed star detection template, the detection method further includes: The position of the large pentagram detection template is adjusted so that any concave corner of the large pentagram pattern of the target national flag coincides with any concave corner of the outline of the large pentagram of the detection template. When it is detected that each line of the large pentagram pattern of the target national flag is parallel or coincident with the corresponding line on the outline of the large pentagram, the position of the large pentagram detection template is adjusted so that the distance from each point of the large pentagram pattern to the outer concentric circle outline of the large pentagram detection template is consistent. Then, the center of the large pentagram detection template is determined as the center point of the large pentagram pattern. When it is detected that each point of the large pentagram pattern is located between the outer concentric circle outline and the inner concentric circle outline of the large pentagram detection template, the large pentagram pattern of the target national flag is determined to be qualified. Similarly, for each small five-pointed star pattern of the target national flag, after the step of covering the surface of the small five-pointed star detection template on the surface of the small five-pointed star pattern of the target national flag, the detection method further includes: The position of the small five-pointed star detection template is adjusted so that any concave corner of the small five-pointed star pattern of the target national flag coincides with any concave corner of the small five-pointed star outline of the small five-pointed star detection template. When it is detected that each line of the small five-pointed star pattern of the target national flag is parallel or coincident with the corresponding line on the small five-pointed star outline, the position of the small five-pointed star detection template is adjusted so that the distance from each corner of the small five-pointed star pattern to the outer concentric circle outline of the small five-pointed star detection template is consistent. Then, the center of the small five-pointed star detection template is determined as the center point of the small five-pointed star pattern. When it is detected that each corner of the small five-pointed star pattern is located between the outer concentric circle outline and the inner concentric circle outline of the small five-pointed star detection template, the small five-pointed star pattern of the target national flag is determined to be qualified.

[0009] Preferably, the thickness of the large pentagram detection template, the small pentagram detection template, and the feature length calibration ruler is 1mm-2mm.

[0010] Preferably, the width and depth of the concentric circle outlines of the large pentagram detection template and the small pentagram detection template are 0.1mm-0.2mm.

[0011] Compared with existing technologies, the method for detecting the standardization of national flag patterns provided by this invention has the following advantages: The present invention provides a method for detecting the standardization of national flag patterns. Through the design of a five-pointed star pattern detection module and a feature length calibration ruler, as well as the design of a corresponding detection process, the method enables the detection of the compliance of each five-pointed star pattern in the national flag pattern and the compliance of the relative positions of each pattern to be carried out without relying on manual experience or lengthy and complicated measurement procedures, thereby improving the detection efficiency and accuracy of the standardization of national flag patterns. Attached Figure Description

[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0013] Figure 1 This is a flowchart illustrating a method for detecting the standardization of a national flag pattern, as shown in an embodiment of the present invention.

[0014] Figure 2 This is a schematic diagram of a pentagram detection template shown in an embodiment of the present invention.

[0015] Figure 3 This is a schematic diagram illustrating the characteristic points and positional relationships of each pentagram in an embodiment of the present invention.

[0016] Figure 4 This is a schematic diagram of a characteristic length calibration ruler shown in an embodiment of the present invention. Detailed Implementation

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] It should be noted that, for the convenience of measuring and positioning the characteristic length, the embodiment of the present invention selects the junction of the upper left corner of the national flag and the flagpole sleeve as the base point.

[0019] Figure 1 This is a flowchart illustrating a method for detecting the standardization of a national flag pattern according to an exemplary embodiment, such as... Figure 1 As shown, the method for detecting the standardization of this type of national flag pattern includes: Step 100: After fully unfolding the target national flag, obtain the current flag size of the target national flag.

[0020] For national flags of different specifications, the dimensions are specified in laws, regulations, and standards. Based on the specified length and height of the national flag, this embodiment of the invention calculates the interval dimensions of the national flag on the grid corresponding to the national flag specification, and then calculates the characteristic length between the base point and each five-pointed star feature point, which serves as the basis for verifying the position of the five-pointed stars. According to the allowable error of the length and height of the national flag specified in the standard, the allowable error of the characteristic length is calculated by scaling proportionally. Based on the circumcircle diameter and allowable error of the large and small five-pointed stars of different national flag specifications as specified in GB12982-2004, a five-pointed star pattern detection module and characteristic length calibration ruler corresponding to the national flag specifications are designed and prepared.

[0021] Step 200: Based on the current flag specifications of the target flag, determine the five-pointed star pattern detection module and feature length calibration ruler that match the current flag specifications. The five-pointed star pattern detection module includes a large five-pointed star detection template and a small five-pointed star detection template.

[0022] The large pentagram detection template is a transparent disk with three concentric circles from the inside out. The large pentagram outline is inscribed within the central concentric circle of the template. The diameter of the central concentric circle is the standard circumcircle diameter of the large pentagram corresponding to the current national flag specification. The diameters of the inner and outer concentric circles are the minimum and maximum circumcircle diameters of the large pentagram corresponding to the current national flag specification, respectively. The small pentagram detection template is also a transparent disk with three concentric circles from the inside out. The central concentric circle of the small pentagram detection template... The outline of the flag includes the outline of a small five-pointed star. The diameter of the inner concentric circle outline is the standard circumcircle diameter of the small five-pointed star corresponding to the current flag size. The diameters of the inner and outer concentric circles outline are the minimum and maximum circumcircle diameters of the small five-pointed star corresponding to the current flag size, respectively. The characteristic length calibration ruler is a transparent rectangle. From near to far, the characteristic length calibration ruler is engraved with the following lines in sequence: a reference scale line, a double scale line for the error range of the large five-pointed star, a double scale line for the error range of the first small five-pointed star, a double scale line for the error range of the second small five-pointed star, a double scale line for the error range of the fourth small five-pointed star, and a double scale line for the error range of the third small five-pointed star. The pentagram error range scale has two lines. The relative distance between the reference scale line and the large pentagram error range scale line corresponds to the allowable error distance between the upper left corner base point of the national flag and the center point of the large pentagram under the current national flag specification. The relative distance between the reference scale line and the first small pentagram error range scale line corresponds to the allowable error distance between the upper left corner base point of the national flag and the center point of the first small pentagram above it under the current national flag specification. The relative distance between the reference scale line and the second small pentagram error range scale line corresponds to the allowable error distance between the upper left corner base point of the national flag and the center point of the second small pentagram above it under the current national flag specification. The allowable error distances are defined as follows: the relative distance between the reference scale line and the double line of the error range scale for the second small five-pointed star corresponds to the allowable error distance between the upper left corner of the national flag and the center point of the second small five-pointed star under the current national flag specification; the relative distance between the reference scale line and the double line of the error range scale for the fourth small five-pointed star corresponds to the allowable error distance between the upper left corner of the national flag and the center point of the lowest small five-pointed star under the current national flag specification; and the relative distance between the reference scale line and the double line of the error range scale for the third small five-pointed star corresponds to the allowable error distance between the upper left corner of the national flag and the center point of the second small five-pointed star from bottom to top under the current national flag specification.

[0023] In one possible implementation, the preparation method and parameters of the five-pointed star pattern detection module are as follows: According to GB 12982-2004, the circumscribed circle diameters and allowable errors of the large and small five-pointed stars of different national flag sizes are calculated as shown in Table 1 below: Table 1 Diameter of the circumcircle of the large pentagram / mm 576±10 480±10 384±8 288±6 192±4 60±2 42±2 30±1 Diameter of the circumcircle of the small five-pointed star / mm 192±4 160±3 128±3 96±2 64±2 20±2 14±1 10±2 To create a five-pointed star pattern detection module, each five-pointed star detection template is a transparent disc with a diameter equal to (standard circumscribed circle diameter + allowable error), i.e., the outer concentric circle outline. Two concentric circles are then engraved on the disc, with diameters equal to the standard circumscribed circle diameter and (standard circumscribed circle diameter - allowable error), i.e., the middle and inner concentric circle outlines. The five-pointed star outline is then engraved according to the standard circumscribed circle diameter, and a center point is marked at the center of the disc. Figure 2 As shown. Preferably, the width and depth of the concentric circle outlines of the large pentagram detection template and the small pentagram detection template in the pentagram pattern detection module are 0.1mm-0.2mm, and the engraving method is laser engraving.

[0024] In one possible implementation, the preparation method and parameters of the characteristic length calibration ruler are as follows: The point where the upper left corner of the national flag intersects with the flagpole sleeve is selected as the base point, denoted as point O. The center points of the five five-pointed stars are their characteristic points, respectively denoted as points A, B, C, D, and E. Figure 3 As shown. All five feature points are located at the intersections of the grid lines within the five-pointed star area. Based on the size and allowable error of the national flag, and combined with the coordinates of the five feature points in the grid, the length values ​​and allowable errors from the five feature points to the base points OA, OB, OC, OD, and OE are calculated. The allowable errors for the length values ​​of OA, OB, OC, OD, and OE for each size of national flag are calculated according to the ratio of their respective flag size to their allowable error. The calculated standard values ​​and allowable errors for the lengths of OA, OB, OC, OD, and OE for each size of national flag are shown in Table 2. Table 2

[0025] Taking the length of the No. 1 national flag OA and the allowable error as an example, the calculation method is explained as follows: The standard length of the No. 1 national flag is 2880mm, with a lower limit of -15mm and an upper limit of +30mm. Therefore, its lower limit is 2865mm and its upper limit is 2910mm. Its standard height is 1920mm, with a lower limit of -10mm and an upper limit of +20mm. Therefore, its lower limit is 1910mm and its upper limit is 1940mm. The coordinates of feature point A in the grid are length 5 and height 5 (relative to the base point O). According to the grid drawing rules, each unit of length is 2880mm / 2 / 15 = 96mm, and each unit of height corresponds to 1920mm / 2 / 10 = 96mm. Therefore, the standard length of OA is: mm, rounded up to 679 mm.

[0026] The upper limit for the length of flag number 1 is 2910mm, and the upper limit for the height is 1940mm. Therefore, the corresponding unit for the grid coordinates at point A is 2910mm / 2 / 15 for length and 1940mm / 2 / 10 for height. Using the Pythagorean theorem, the upper limit for OA can be calculated to be 685.89mm. Similarly, based on the lower limits for length and height, the lower limit for OA can be calculated to be 675.29mm. Subtracting the standard value 685.89 - 678.82 from the upper limit for OA gives an upper limit for allowable error of 7.07mm. Similarly, the lower limit for allowable error of OA can be calculated to be 675.29 - 678.82 = -3.53mm.

[0027] For rounding the error, the rule adopted in this embodiment of the invention is: if the first decimal place is ≥1, then round up; if the first decimal place is 0, then discard. Therefore, the upper limit of the allowable error for OA is +7mm, and the lower limit is -4mm.

[0028] Similarly, feature point B has coordinates of length 10 and height 2 in the grid; feature point C has coordinates of length 12 and height 4; feature point D has coordinates of length 12 and height 7; and feature point E has coordinates of length 10 and height 9. Following the above method, the feature lengths and permissible errors of OB, OC, OD, and OE are calculated sequentially. Based on these feature length and permissible error results, the positions of the reference scale line, the double scale line for the error range of the large pentagram, the double scale line for the error range of the first small pentagram, the double scale line for the error range of the second small pentagram, the double scale line for the error range of the fourth small pentagram, and the double scale line for the error range of the third small pentagram are determined on the feature length calibration ruler. It should be noted that the double scale line is a double line with both the maximum and minimum length lines. Based on the above feature length calculation results, calibration rulers are made for rapid feature length detection. One calibration ruler is made for each size of national flag for rapid feature length detection.

[0029] In one possible implementation, a schematic diagram of the characteristic length calibration ruler can be shown as follows: Figure 4 As shown, in Figure 4In the description, the position of the double scale line representing the error range of the large five-pointed star is A, the position of the double scale line representing the error range of the first small five-pointed star is B, the position of the double scale line representing the error range of the second small five-pointed star is C, the position of the double scale line representing the error range of the fourth small five-pointed star is E, and the position of the double scale line representing the error range of the third small five-pointed star is D.

[0030] Step 300: covering the large five-pointed star detection template on the surface of the large five-pointed star pattern of the target national flag, adjusting the position of the large five-pointed star detection template so that the distances from each corner of the large five-pointed star pattern to the outer concentric contour line of the large five-pointed star detection template are consistent, then determining the center of the large five-pointed star detection template as the center point of the large five-pointed star pattern. When it is detected that all corners of the large five-pointed star pattern are located between the outer concentric contour line and the inner concentric contour line of the large five-pointed star detection template, the large five-pointed star pattern of the target national flag is determined to be qualified; similarly, for each small five-pointed star pattern of the target national flag, covering the small five-pointed star detection template on the surface of the small five-pointed star pattern of the target national flag, adjusting the position of the small five-pointed star detection template so that the distances from each corner of the small five-pointed star pattern to the outer concentric contour line of the small five-pointed star detection template are consistent, then determining the center of the small five-pointed star detection template as the center point of the small five-pointed star pattern. When it is detected that all corners of the small five-pointed star pattern are located between the outer concentric contour line and the inner concentric contour line of the small five-pointed star detection template, the small five-pointed star pattern of the target national flag is determined to be qualified.

[0031] Step 400: aligning the reference scale line of the characteristic length verification ruler with the top-left base point of the target national flag, adjusting the other end of the characteristic length verification ruler. When it is detected that the center point of the large five-pointed star pattern and the center point of each small five-pointed star pattern of the target national flag can all fall within the corresponding double scale line for error range of the five-pointed star, the positions of the large five-pointed star pattern and the small five-pointed star patterns of the target national flag are determined to be qualified.

[0032] Step 500: for each small five-pointed star pattern of the target national flag, when it is detected by using the characteristic length verification ruler that the center point of the large five-pointed star pattern of the target national flag, the corner of the small five-pointed star pattern pointing to the center point of the large five-pointed star pattern, and the center point of the small five-pointed star are located on the same straight line, the orientation of the small five-pointed star pattern of the target national flag is determined to be qualified.

[0033] Step 600: when it is detected that all the above parameters of the target national flag are qualified, the target national flag is determined to be compliant with the specification.

[0034] Preferably, after the step of covering the large five-pointed star detection template on the surface of the large five-pointed star pattern of the target national flag, the detection method further comprises: Step 310: Adjust the position of the large pentagram detection template so that any concave corner of the large pentagram pattern of the target national flag coincides with any concave corner of the outline of the large pentagram of the detection template. When it is detected that each line of the large pentagram pattern of the target national flag is parallel or coincident with the corresponding line on the outline of the large pentagram, perform the step of adjusting the position of the large pentagram detection template so that the distance from each corner of the large pentagram pattern to the outer concentric circle outline of the detection template is consistent. Then, determine the center of the large pentagram detection template as the center point of the large pentagram pattern. When it is detected that each corner of the large pentagram pattern is located between the outer concentric circle outline and the inner concentric circle outline of the detection template, the large pentagram pattern of the target national flag is determined to be qualified.

[0035] Similarly, for each small five-pointed star pattern of the target national flag, after the step of covering the surface of the small five-pointed star detection template on the surface of the small five-pointed star pattern of the target national flag, the detection method further includes: Step 320: Adjust the position of the small five-pointed star detection template so that any concave corner of the small five-pointed star pattern of the target national flag coincides with any concave corner of the small five-pointed star outline of the small five-pointed star detection template. When it is detected that each line of the small five-pointed star pattern of the target national flag is parallel or coincident with the corresponding line on the small five-pointed star outline, perform the step of adjusting the position of the small five-pointed star detection template so that the distance from each corner of the small five-pointed star pattern to the outer concentric circle outline of the small five-pointed star detection template is consistent. Then, determine the center of the small five-pointed star detection template as the center point of the small five-pointed star pattern. When it is detected that each corner of the small five-pointed star pattern is located between the outer concentric circle outline and the inner concentric circle outline of the small five-pointed star detection template, determine that the small five-pointed star pattern of the target national flag is qualified.

[0036] The implementation of steps 310 and 320 above can further check the standardization of the corners of each five-pointed star pattern.

[0037] Preferably, the thickness of the large pentagram detection template, the small pentagram detection template, and the feature length calibration ruler is 1mm-2mm.

[0038] To avoid the impact of the thickness of the testing tools on the accuracy of the testing data, the thickness of each testing tool is set to 1mm-2mm.

[0039] In summary, this invention provides a method for detecting the standardization of national flag patterns. Through the design of a five-pointed star pattern detection module and a feature length calibration ruler, as well as the design of the corresponding detection process, the compliance detection of each five-pointed star pattern in the national flag pattern and the compliance detection of the relative positions of each pattern do not rely on manual experience or lengthy and complicated measurement procedures, thereby improving the efficiency and accuracy of detecting the standardization of national flag patterns.

[0040] Although the present invention has been described in detail above with general descriptions, specific embodiments, and experiments, modifications or improvements can be made to it, which will be obvious to those skilled in the art. Therefore, all such modifications or improvements made without departing from the spirit of the present invention fall within the scope of protection claimed by the present invention.

[0041] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. It should be understood that the invention is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.

Claims

1. A method for detecting the standardization of national flag patterns, characterized in that, The detection method includes: After the target flag is fully laid out, the current flag size of the target flag is obtained; Based on the current flag specifications of the target flag, a five-pointed star pattern detection module and a feature length calibration ruler matching the current flag specifications are determined. The five-pointed star pattern detection module includes a large five-pointed star detection template and a small five-pointed star detection template. The large five-pointed star detection template is a transparent disk with three concentric circles from the inside to the outside. The large five-pointed star outline is inscribed within the middle concentric circle outline of the large five-pointed star detection template. The diameter of the middle concentric circle outline is the diameter of the standard circumscribed circle of the large five-pointed star corresponding to the current flag specifications. The diameters of the inner and outer concentric circle outlines are respectively the diameters of the large five-pointed star corresponding to the current flag specifications. The smallest circumscribed circle diameter of the five-pointed star and the largest circumscribed circle diameter of the large five-pointed star; the small five-pointed star detection template is a transparent disk with three concentric circles from the inside to the outside, wherein the small five-pointed star outline is inscribed within the middle concentric circle outline of the small five-pointed star detection template, the diameter of the middle concentric circle outline is the standard circumscribed circle diameter of the small five-pointed star corresponding to the current national flag specification, and the diameters of the inner and outer concentric circle outlines are the smallest and largest circumscribed circle diameters of the small five-pointed star corresponding to the current national flag specification, respectively; the characteristic length calibration ruler is a transparent rectangle, and the characteristic length calibration rulers are arranged sequentially from near to far. The flag is engraved with a reference scale line, a double scale line for the error range of the large five-pointed star, a double scale line for the error range of the first small five-pointed star, a double scale line for the error range of the second small five-pointed star, a double scale line for the error range of the fourth small five-pointed star, and a double scale line for the error range of the third small five-pointed star. The relative distance between the reference scale line and the double scale line for the error range of the large five-pointed star corresponds to the allowable error distance between the upper left corner of the flag and the center point of the large five-pointed star under the current flag specifications. The relative distance between the reference scale line and the double scale line for the error range of the first small five-pointed star corresponds to the relative distance between the upper left corner of the flag and the center point of the first small five-pointed star under the current flag specifications. The allowable error distance range is defined as follows: the relative distance between the reference scale line and the double line of the error range scale of the second small five-pointed star corresponds to the allowable error distance between the base point of the upper left corner of the national flag and the center point of the second small five-pointed star under the current national flag specification; the relative distance between the reference scale line and the double line of the error range scale of the fourth small five-pointed star corresponds to the allowable error distance between the base point of the upper left corner of the national flag and the center point of the bottom small five-pointed star under the current national flag specification; and the relative distance between the reference scale line and the double line of the error range scale of the third small five-pointed star corresponds to the allowable error distance between the base point of the upper left corner of the national flag and the center point of the second small five-pointed star from bottom to top under the current national flag specification. The large five-pointed star detection template is placed over the surface of the large five-pointed star pattern on the target national flag. The position of the large five-pointed star detection template is adjusted so that the distances from each point of the large five-pointed star pattern to the outer concentric circle outline of the large five-pointed star detection template are consistent. The center of the large five-pointed star detection template is then determined as the center point of the large five-pointed star pattern. When it is detected that each point of the large five-pointed star pattern is located between the outer concentric circle outline and the inner concentric circle outline of the large five-pointed star detection template, the large five-pointed star pattern of the target national flag is deemed qualified. Similarly, for each small five-pointed star pattern of the target national flag, the small five-pointed star detection template is placed over the surface of the small five-pointed star pattern of the target national flag. The position of the small five-pointed star detection template is adjusted so that the distance between each point of the small five-pointed star pattern and the outer concentric circle outline of the small five-pointed star detection template is consistent. The center of the small five-pointed star detection template is then determined as the center point of the small five-pointed star pattern. When it is detected that each point of the small five-pointed star pattern is located between the outer concentric circle outline and the inner concentric circle outline of the small five-pointed star detection template, the small five-pointed star pattern of the target national flag is determined to be qualified. Align the reference scale line of the characteristic length calibration ruler with the upper left corner base point of the target national flag, adjust the other end of the characteristic length calibration ruler, and when it is detected that the center point of the large five-pointed star pattern and the center point of each small five-pointed star pattern of the target national flag can fall within the corresponding five-pointed star error range scale double line, it is determined that the positions of the large five-pointed star pattern and the small five-pointed star pattern of the target national flag are qualified. For each small five-pointed star pattern of the target national flag, when the center point of the large five-pointed star pattern of the target national flag, the tip of the small five-pointed star pattern pointing to the center point of the large five-pointed star pattern, and the center point of the small five-pointed star are all located on the same straight line, it is determined that the orientation of the small five-pointed star pattern of the target national flag is qualified. When the positions of the large and small five-pointed star patterns, the orientation of the small five-pointed star pattern, and the overall position of the large and small five-pointed star patterns of the target national flag are all found to be within acceptable limits, the target national flag is determined to be compliant with regulations.

2. The detection method according to claim 1, characterized in that, After the step of covering the large five-pointed star detection template onto the surface of the large five-pointed star pattern of the target national flag, the detection method further includes: The position of the large pentagram detection template is adjusted so that any concave corner of the large pentagram pattern of the target national flag coincides with any concave corner of the outline of the large pentagram of the detection template. When it is detected that each line of the large pentagram pattern of the target national flag is parallel or coincident with the corresponding line on the outline of the large pentagram, the position of the large pentagram detection template is adjusted so that the distance from each point of the large pentagram pattern to the outer concentric circle outline of the large pentagram detection template is consistent. Then, the center of the large pentagram detection template is determined as the center point of the large pentagram pattern. When it is detected that each point of the large pentagram pattern is located between the outer concentric circle outline and the inner concentric circle outline of the large pentagram detection template, the large pentagram pattern of the target national flag is determined to be qualified. Similarly, for each small five-pointed star pattern of the target national flag, after the step of covering the surface of the small five-pointed star detection template on the surface of the small five-pointed star pattern of the target national flag, the detection method further includes: The position of the small five-pointed star detection template is adjusted so that any concave corner of the small five-pointed star pattern of the target national flag coincides with any concave corner of the small five-pointed star outline of the small five-pointed star detection template. When it is detected that each line of the small five-pointed star pattern of the target national flag is parallel or coincident with the corresponding line on the small five-pointed star outline, the position of the small five-pointed star detection template is adjusted so that the distance from each corner of the small five-pointed star pattern to the outer concentric circle outline of the small five-pointed star detection template is consistent. Then, the center of the small five-pointed star detection template is determined as the center point of the small five-pointed star pattern. When it is detected that each corner of the small five-pointed star pattern is located between the outer concentric circle outline and the inner concentric circle outline of the small five-pointed star detection template, the small five-pointed star pattern of the target national flag is determined to be qualified.

3. The detection method according to claim 1, characterized in that, The thickness of the large pentagram detection template, the small pentagram detection template, and the characteristic length calibration ruler is 1mm-2mm.

4. The detection method according to claim 1, characterized in that, The width and depth of the concentric circle outlines of the large pentagram detection template and the small pentagram detection template are 0.1mm-0.2mm.

Citation Information

Patent Citations

  • National flag detection method based on single image

    CN110992308A

  • National Flag Measurement and Positioning Board

    CN201611243U