Label detection method and related equipment based on millimeter wave radar

By using millimeter wave radar in the printer to detect the three-dimensional point cloud and similarity calculation of label paper, the problem of low detection accuracy of photoelectric sensors is solved, achieving more accurate label paper gap position detection and improving printing quality.

CN118425946BActive Publication Date: 2024-09-20珠海恒盛条码设备有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410901179.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-20
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

When the photoelectric sensor in the existing label printer is used to detect the gap on the label paper, there is a problem of low detection accuracy, especially because the sensitivity of the fonts and patterns on the label to light reflection is similar to the sensitivity of the gap to light reflection, leading to errors. Judgment.

Method used

A label detection method based on millimeter wave radar is adopted. By moving the label paper in the printer, the millimeter wave radar is used to collect the reflection signal, construct a three-dimensional point cloud, perform splicing and similarity calculation, determine the position information of the gap on the surface of the label paper, and avoid light reflection. Misjudgments with similar sensitivities.

Benefits of technology

It improves the detection accuracy of the gap on the label paper surface, accurately determines the position of the label and gap, and enhances the printing quality control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118425946B
    Figure CN118425946B
Patent Text Reader

Abstract

The present invention provides a label detection method based on millimeter wave radar and related equipment, which relates to the field of data processing technology. The method includes: before the label paper moves in the printer and before information is printed, collecting reflection signals at each moment, the reflection signals are configured to detect the perception data obtained by the millimeter wave radar during the movement of the label paper; performing unidirectional composition according to the perception data to obtain a first three-dimensional point cloud; and then using the first three-dimensional point cloud data to determine the position information of the gap on the surface of the label paper. Since the embodiment of the present invention uses millimeter wave radar for detection, it avoids the problem that the sensitivity of factors such as fonts on the label to light reflection and the sensitivity of gaps to light reflection are similar, thereby improving the detection accuracy of the gap on the surface of the label paper.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a label detection method based on millimeter wave radar and related equipment. Background Art

[0002] During the printing process, the label printer usually needs to ensure that the labels on the label paper are in the correct position to ensure the printing quality of the labels.

[0003] At present, label printers usually use photoelectric sensors to detect whether the label on the label paper is in the correct position. The detection principle is: since the labels and the gaps between adjacent labels on the label paper have different sensitivities to light reflection, the reflected light of the label and the reflected light of the gap can be captured, and then the voltage reflected by each reflected light to the photoresistor can be used to determine whether the position irradiated by the photoelectric sensor is a label or a gap at the current moment, thereby determining whether the label on the label paper is in the correct position.

[0004] However, since the labels on the label paper usually have fonts, patterns or other elements, the sensitivity of these elements to light reflection is similar to the sensitivity of the gap to light reflection, which causes the printer to make errors when detecting whether the current position is a label or a gap. That is, the prior art has the problem of low detection accuracy of the gaps on the label paper. Summary of the invention

[0005] The embodiment of the present invention provides a label detection method based on millimeter wave radar and related equipment to solve the problem of low detection accuracy of gaps on label paper in the prior art.

[0006] In a first aspect, an embodiment of the present invention provides a label detection method based on millimeter wave radar, which is applied to a printer, and the method includes:

[0007] Controlling the label paper to move in the printer so that information is printed on the label on the label paper;

[0008] Before the label paper moves in the printer and information is not printed, a reflection signal is collected at each moment, and the reflection signal is configured to detect the sensing data obtained by the millimeter wave radar during the movement of the label paper, and the sensing data includes the distance, moving speed and angle of the label paper relative to the millimeter wave radar;

[0009] Performing unidirectional composition according to the perception data to obtain a first three-dimensional point cloud;

[0010] For a certain time period, stitching the first three-dimensional point clouds corresponding to each moment in the time period to obtain a target three-dimensional point cloud;

[0011] Performing a first similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain a first similarity, and performing a second similarity calculation on the target three-dimensional image and the preset three-dimensional image to obtain a second similarity, the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the label paper surface, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the label paper surface;

[0012] Determining position information of the gap on the label paper surface according to the first similarity, the second similarity and a target value;

[0013] Among them, the target value is determined by the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity. The actual reflection intensity is obtained by the millimeter wave radar based on the perception data through a signal processing algorithm, the first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface.

[0014] Optionally, before determining the position information of the gap between two adjacent labels on the label paper according to the first similarity, the second similarity and the target value, the method further includes:

[0015] Calculating the first theoretical reflection intensity of the label surface based on a first calculation formula, and calculating the second theoretical reflection intensity of the gap of the label paper based on a second calculation formula;

[0016] A target value is determined based on a magnitude relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity.

[0017] Optionally, the first calculation formula is as follows:

[0018] ;

[0019] Among them, RCS_1 is used to characterize the first theoretical reflection intensity of the tag surface; RCS_0 is the RCS value when the object surface is completely smooth, RMS_1 is used to characterize the root mean square roughness of the tag surface; alpha is the attenuation coefficient associated with the frequency, polarization mode, and incident angle of the millimeter wave radar, which is used to indicate the speed at which RCS_1 decays with the increase of RMS_1 roughness; e is a natural number.

[0020] Optionally, the second calculation formula is as follows:

[0021] ;

[0022] Among them, RCS_2 is used to characterize the second theoretical reflection intensity of the gap on the surface of the label paper; RCS_0 is the RCS value when the surface of the object is completely smooth, RMS_2 is used to characterize the root mean square roughness of the gap on the surface of the label paper; alpha is the attenuation coefficient associated with the frequency, polarization mode, and incident angle of the millimeter wave radar, which is used to indicate the speed at which RCS_2 decays with the increase of RMS_2 roughness; e is a natural number.

[0023] Optionally, performing a first similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain the first similarity includes:

[0024] Performing a first sub-similarity calculation, a second sub-similarity calculation, and a third sub-similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud, respectively, to obtain the first sub-similarity, the second sub-similarity, and the third sub-similarity;

[0025] Determining the first similarity based on the first sub-similarity, the second sub-similarity, and the third sub-similarity;

[0026] Among them, the first sub-similarity is obtained by calculating the Euclidean distance between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud, the second sub-similarity is obtained by calculating the angle between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud, and the third sub-similarity is obtained by calculating the normal direction and intensity between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud.

[0027] Optionally, the target three-dimensional image and the preset three-dimensional image are subjected to a second similarity calculation, and a calculation formula for obtaining the second similarity is as follows:

[0028] ;

[0029] Wherein, the SAD(I, T) represents the second similarity, the I represents the target three-dimensional image, the T represents the preset three-dimensional image, the (x, y) represents the pixel position, and I(x, y) and T(x, y) respectively represent the pixel values ​​of the target three-dimensional image and the preset three-dimensional image at the position (x, y).

[0030] Optionally, the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the target three-dimensional point cloud includes the three-dimensional coordinates, reflection intensity and color information of the label paper, and the conversion includes:

[0031] Performing denoising, filtering and registration preprocessing on the target three-dimensional point cloud to obtain a second three-dimensional point cloud;

[0032] triangulate the data of the second three-dimensional point cloud to obtain a third three-dimensional point cloud, wherein the third three-dimensional point cloud refers to the point cloud data of the target three-dimensional point cloud represented by triangular fragments;

[0033] Converting the point cloud data of the third three-dimensional point cloud into a first three-dimensional image through point cloud collision;

[0034] Based on interpolation and fitting, the first three-dimensional image is converted into the target three-dimensional image.

[0035] In a second aspect, an embodiment of the present invention further provides a label detection device based on millimeter wave radar, which is applied to a printer, including:

[0036] A control module, used for controlling the label paper to move in the printer so that information is printed on the label on the label paper;

[0037] A collection module, used for collecting a reflection signal at each moment before the label paper moves in the printer and before information is printed, wherein the reflection signal is configured to detect the sensing data obtained by the millimeter wave radar during the movement of the label paper, and the sensing data includes the distance, moving speed and angle of the label paper relative to the millimeter wave radar;

[0038] A composition module, used for performing unidirectional composition according to the perception data to obtain a first three-dimensional point cloud;

[0039] A splicing module, for splicing the first three-dimensional point cloud corresponding to each moment in a certain time period to obtain a target three-dimensional point cloud;

[0040] a calculation module, configured to perform a first similarity calculation on the target three-dimensional point cloud and a preset three-dimensional point cloud to obtain a first similarity, and perform a second similarity calculation on the target three-dimensional image and a preset three-dimensional image to obtain a second similarity, wherein the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the surface of the label paper, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the surface of the label paper;

[0041] a determination module, configured to determine position information of the gap on the surface of the label paper according to the first similarity, the second similarity and a target value,

[0042] Among them, the target value is determined by the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity. The actual reflection intensity is obtained by the millimeter wave radar based on the perception data through a signal processing algorithm, the first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface.

[0043] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the above-mentioned millimeter-wave radar-based tag detection method when executed by the processor.

[0044] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned millimeter-wave radar-based tag detection method are implemented.

[0045] The embodiment of the present invention controls the label paper to move in the printer so that the label on the label paper is printed with information; before the label paper moves in the printer and does not print information, a reflection signal is collected at each moment, and the reflection signal is configured to use the millimeter wave radar to detect the perception data obtained during the movement of the label paper, and the perception data includes the distance, movement speed and angle of the label paper relative to the millimeter wave radar; a single-direction composition is performed according to the perception data to obtain a first three-dimensional point cloud; for a certain time period, the first three-dimensional point cloud corresponding to each moment in the time period is spliced ​​to obtain a target three-dimensional point cloud; a first similarity calculation is performed on the target three-dimensional point cloud and a preset three-dimensional point cloud to obtain a first similarity, and a target three-dimensional image is obtained. The target three-dimensional image is converted into the target three-dimensional point cloud, the preset three-dimensional image is the three-dimensional image of the gap on the label paper surface, and the preset three-dimensional point cloud is the three-dimensional point cloud of the gap on the label paper surface; according to the first similarity, the second similarity and the target value, the position information of the gap on the label paper surface is determined; wherein the target value is determined by the magnitude relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity, the actual reflection intensity is obtained by the millimeter wave radar based on the perception data through the signal processing algorithm, the first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface. Since the millimeter wave radar is used for detection, the problem that the sensitivity of factors such as fonts on the label to light reflection and the sensitivity of the gap to light reflection are similar is avoided, thereby improving the detection accuracy of the gap on the label paper surface. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0047] Figure 1 is a flow chart of a tag detection method based on millimeter wave radar provided in an embodiment of the present invention;

[0048] Figure 2 This is a schematic diagram of a label paper to be tested provided by an embodiment of the present invention;

[0049] Figure 3 is a schematic structural diagram of a millimeter wave radar-based tag detection device provided in an embodiment of the present invention;

[0050] Figure 4 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] See also Figure 1 , Figure 1 : is a flowchart of a tag detection method based on millimeter wave radar provided by an embodiment of the present invention, comprising the following steps:

[0053] Step 101, controlling the label paper to move in the printer so that information is printed on the label on the label paper;

[0054] You can refer to here Figure 2 , Figure 2 It is a schematic diagram of label paper to be tested provided by an embodiment of the present invention.

[0055] Figure 2 The system includes a printer 201, a label 202, a label paper 203, a label paper surface gap 204, and a millimeter wave radar 205.

[0056] It should be understood that a plurality of labels are evenly arranged on the label paper, and there is a gap on the surface of the label paper between two adjacent labels.

[0057] When the printer is in operation, the label paper moves at a constant speed inside the printer, and is detected by the millimeter wave radar 205 during the movement.

[0058] Step 102: before the label paper moves in the printer and information is not printed, collect reflection signals at each moment, wherein the reflection signals are configured to detect the sensing data obtained by the millimeter wave radar 205 during the movement of the label paper, and the sensing data includes the distance, moving speed and angle of the label paper relative to the millimeter wave radar 205;

[0059] It should be understood that the millimeter wave radar 205 detects the label paper in the moving process by transmitting and receiving millimeter wave signals, and provides perception data about the label paper. Exemplarily, the millimeter wave radar 205 usually uses electromagnetic waves with a wavelength of 1 to 10 mm for detection, and the millimeter wave radar 205 has high resolution and strong anti-interference ability.

[0060] Step 103: Perform unidirectional composition according to the perception data to obtain a first three-dimensional point cloud;

[0061] It should be understood that unidirectional composition refers to constructing a perceptual image or model of an environment in a specific direction (for example, front, back, left or right). This unidirectional composition mainly focuses on objects in a specific direction and the relationship between them.

[0062] In step 103, the first three-dimensional point cloud may include a point set composed of multiple three-dimensional points. The number of three-dimensional points constituting the first three-dimensional point cloud is not limited and can be flexibly determined according to actual conditions. The three-dimensional point can be a three-dimensional space point defined by three-dimensional coordinates in space. The specific definition method of the three-dimensional coordinates is not limited. In an example, the three-dimensional coordinates can be coordinates composed of three dimensions: x, y, and z.

[0063] It should be understood that the first three-dimensional point cloud can be regarded as a collection of multiple points, and each point has its corresponding coordinates and corresponding pixel values.

[0064] Step 104: for a certain period of time, stitching the first three-dimensional point cloud corresponding to each moment in the period of time to obtain a target three-dimensional point cloud;

[0065] It should be understood that since the millimeter wave radar 205 is limited by its detection angle and detection range, it is usually necessary to stitch the first three-dimensional point clouds obtained by detection at multiple moments in each time period to obtain the target three-dimensional point cloud.

[0066] It should be noted that the method of splicing multiple first three-dimensional point clouds to obtain a target three-dimensional point cloud includes:

[0067] 1. Positioning by control points in the absolute coordinate system:

[0068] Principle: Control points with sufficient density and accuracy are arranged in the area to be measured to ensure that each measuring station can observe 2 or more control points. Then, the control points in the absolute coordinate system are used for positioning, and the clouds of each measuring station are merged and optimized to form a whole.

[0069] Features: It is suitable for the test area with simple on-site spatial scenes. For complex test areas, it takes a lot of work to lay out control points.

[0070] 2. Splicing by Target:

[0071] Principle: Two or more targets are placed between adjacent measuring stations and spliced ​​together through the targets.

[0072] Features: This is the most commonly used splicing method, with simple target layout and high efficiency.

[0073] 3. Select points with the same name for splicing:

[0074] Principle: In the point clouds of adjacent stations, select three or more points with the same name for stitching. This method does not require the deployment of control points or targets in the field, but only requires marking three feature points in the 3D point clouds of the two stations in the office processing software.

[0075] Features: The working environment is required to have obvious and identifiable angular feature points.

[0076] 4. Automatic stitching based on views:

[0077] Principle: Based on a certain station point cloud in the office processing software, the adjacent station point clouds are translated, rotated, and raised and lowered respectively, and the spatial features with the same name in the two station point clouds are matched. As long as the spatial features with the same name in the two station point clouds are approximately matched, the software can process and merge the two point clouds.

[0078] Features: This method does not require the deployment of control points or targets in the field, saving field work time.

[0079] 5. Iterative Closest Point (ICP) algorithm:

[0080] Principle: The ICP algorithm is a commonly used point cloud registration algorithm, which realizes point cloud registration by iteratively finding the minimum distance between two sets of point clouds.

[0081] Features: Fast speed, suitable for local point cloud stitching. But sensitive to noise and incomplete point clouds, and prone to falling into local optimal solutions.

[0082] 6. End-to-end deep learning method:

[0083] Principle: The feature representation and registration model of point cloud are learned through deep neural network to achieve point cloud stitching.

[0084] Features: It can process complex global point clouds and has good robustness. However, it requires a large amount of training data and computing resources, and is sensitive to the choice of network structure and hyperparameters.

[0085] 7. Methods based on geometric constraints:

[0086] Principle: Stitching is achieved by utilizing the geometric relationship between point clouds, such as calculating the center of gravity, normal vector, surface features and other information between point clouds for alignment.

[0087] Features: It is highly robust to noise and incomplete point clouds, but requires manual selection and adjustment of geometric parameters and has high requirements on the quality of point clouds.

[0088] Step 105: performing a first similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain a first similarity, and performing a second similarity calculation on the target three-dimensional image and the preset three-dimensional image to obtain a second similarity, wherein the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the label paper surface, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the label paper surface;

[0089] Step 106: Determine the position information of the gap on the surface of the label paper according to the first similarity, the second similarity and the target value;

[0090] Among them, the target value is determined by the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity. The actual reflection intensity is obtained by the millimeter wave radar 205 based on the signal processing algorithm according to the perception data. The first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface.

[0091] In step 106, the position information of the gap on the surface of the label paper is determined according to the first similarity, the second similarity and the target value.

[0092] In a specific implementation manner, the first similarity and the second similarity are both 0.5, and the target value is 0.5. At this time, the sum of the three is equal to 1.5, that is, the sum of the three is greater than or equal to 1.5. At this time, it can be determined that the three-dimensional point cloud detected at the current moment is the three-dimensional point cloud corresponding to the gap on the label paper surface.

[0093] In another specific implementation, the first similarity is 0.1, the second similarity is 0.5, and the target value is 0.6. At this time, the sum of the three is equal to 1.2, that is, the sum of the three is less than 1.5. At this time, it can be determined that the three-dimensional point cloud detected at that moment is the three-dimensional point cloud corresponding to the gap on the label paper surface.

[0094] In another specific implementation, weights may be set for the first similarity, the second similarity and the target value, and their respective values ​​may be multiplied by the weights, and then added and compared with the threshold to further determine whether the three-dimensional point cloud detected at that moment is the three-dimensional point cloud corresponding to the surface gap of the label paper.

[0095] The embodiment of the present invention controls the label paper to move in the printer so that the label on the label paper is printed with information; before the label paper moves in the printer and does not print information, a reflection signal is collected at each moment, and the reflection signal is configured to detect the perception data obtained by the millimeter wave radar 205 during the movement of the label paper, and the perception data includes the distance, movement speed and angle of the label paper relative to the millimeter wave radar 205; a single-direction composition is performed according to the perception data to obtain a first three-dimensional point cloud; for a certain time period, the first three-dimensional point cloud corresponding to each moment in the time period is spliced ​​to obtain a target three-dimensional point cloud; a first similarity calculation is performed on the target three-dimensional point cloud and a preset three-dimensional point cloud to obtain a first similarity, and the target three-dimensional point cloud is spliced ​​to obtain a target three-dimensional point cloud. The target three-dimensional image and the preset three-dimensional image are subjected to a second similarity calculation to obtain a second similarity, the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the surface of the label paper, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the surface of the label paper; according to the first similarity, the second similarity and the target value, the position information of the gap on the surface of the label paper is determined; wherein the target value is determined by the magnitude relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity, the actual reflection intensity is obtained by the millimeter wave radar 205 based on the signal processing algorithm according to the perception data, the first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the surface of the label paper. Since the millimeter wave radar 205 is used for detection, the problem that the sensitivity of factors such as fonts on the label to light reflection and the sensitivity of the gap to light reflection are similar is avoided, thereby improving the detection accuracy of the gap on the surface of the label paper.

[0096] Optionally, in some embodiments, before determining the position information of the gap between two adjacent labels on the label paper according to the first similarity, the second similarity and the target value, the method further includes:

[0097] Calculating the first theoretical reflection intensity of the label surface based on a first calculation formula, and calculating the second theoretical reflection intensity of the gap of the label paper based on a second calculation formula;

[0098] A target value is determined based on a magnitude relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity.

[0099] In an embodiment of the present invention, based on the magnitude relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity, a method for determining the target value includes:

[0100] In one embodiment, if the difference between the actual reflection intensity and the first theoretical reflection intensity is greater than the difference between the actual reflection intensity and the second theoretical reflection intensity, the target value may be set to a larger percentage; if the difference between the actual reflection intensity and the first theoretical reflection intensity is less than the difference between the actual reflection intensity and the second theoretical reflection intensity, the target value may be set to a smaller percentage;

[0101] In an embodiment of the present invention, by determining the target value based on the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity, it is possible to assist in judging whether the three-dimensional point cloud corresponding to that moment is the three-dimensional point cloud corresponding to the label paper surface gap, thereby improving the detection accuracy of the label paper surface gap.

[0102] Optionally, in some embodiments, the first calculation formula is as follows:

[0103] ;

[0104] Among them, RCS_1 is used to characterize the first theoretical reflection intensity of the tag surface; RCS_0 is the RCS value when the object surface is completely smooth, RMS_1 is used to characterize the root mean square roughness of the tag surface; alpha is the attenuation coefficient associated with the frequency, polarization mode, and incident angle of the millimeter wave radar 205, and is used to indicate the speed at which RCS_1 decays with the increase of RMS_1 roughness; e is a natural number.

[0105] In an embodiment of the present invention, the first theoretical reflection intensity of the label surface is obtained in the above manner, which can assist in determining whether the three-dimensional point cloud corresponding to the time moment is the three-dimensional point cloud corresponding to the gap on the label paper surface, thereby improving the detection accuracy of the gap on the label paper surface.

[0106] Optionally, in some embodiments, the second calculation formula is as follows:

[0107] ;

[0108] Among them, RCS_2 is used to characterize the second theoretical reflection intensity of the gap on the surface of the label paper; RCS_0 is the RCS value when the surface of the object is completely smooth, RMS_2 is used to characterize the root mean square roughness of the gap on the surface of the label paper; alpha is the attenuation coefficient associated with the frequency, polarization mode, and incident angle of the millimeter wave radar 205, and is used to indicate the speed at which RCS_2 attenuates with the increase of RMS_2 roughness; e is a natural number.

[0109] In an embodiment of the present invention, the first theoretical reflection intensity of the label surface is obtained in the above manner, which can assist in determining whether the three-dimensional point cloud corresponding to the time moment is the three-dimensional point cloud corresponding to the gap on the label paper surface, thereby improving the detection accuracy of the gap on the label paper surface.

[0110] Optionally, in some embodiments, performing a first similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain the first similarity includes:

[0111] Performing a first sub-similarity calculation, a second sub-similarity calculation, and a third sub-similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud, respectively, to obtain the first sub-similarity, the second sub-similarity, and the third sub-similarity;

[0112] Determining the first similarity based on the first sub-similarity, the second sub-similarity, and the third sub-similarity;

[0113] Among them, the first sub-similarity is obtained by calculating the Euclidean distance between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud, the second sub-similarity is obtained by calculating the angle between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud, and the third sub-similarity is obtained by calculating the normal direction and intensity between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud.

[0114] In an embodiment of the present invention, the first similarity is obtained in the above manner, which can assist in determining whether the three-dimensional point cloud corresponding to the time is the three-dimensional point cloud corresponding to the label paper surface gap, thereby improving the detection accuracy of the label paper surface gap.

[0115] Optionally, in some embodiments, the target three-dimensional image and the preset three-dimensional image are subjected to a second similarity calculation, and a calculation formula for obtaining the second similarity is as follows:

[0116] ;

[0117] Wherein, the SAD(I, T) represents the second similarity, the I represents the target three-dimensional image, the T represents the preset three-dimensional image, the (x, y) represents the pixel position, and I(x, y) and T(x, y) respectively represent the pixel values ​​of the target three-dimensional image and the preset three-dimensional image at the position (x, y).

[0118] In an embodiment of the present invention, the second similarity is obtained in the above manner, which can assist in determining whether the three-dimensional point cloud corresponding to the time is the three-dimensional point cloud corresponding to the label paper surface gap, thereby improving the detection accuracy of the label paper surface gap.

[0119] Optionally, in some embodiments, the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the target three-dimensional point cloud includes the three-dimensional coordinates, reflection intensity and color information of the label paper, and the conversion includes:

[0120] Performing denoising, filtering and registration preprocessing on the target three-dimensional point cloud to obtain a second three-dimensional point cloud;

[0121] triangulate the data of the second three-dimensional point cloud to obtain a third three-dimensional point cloud, wherein the third three-dimensional point cloud refers to the point cloud data of the target three-dimensional point cloud represented by triangular fragments;

[0122] Converting the point cloud data of the third three-dimensional point cloud into a first three-dimensional image through point cloud collision;

[0123] Based on interpolation and fitting, the first three-dimensional image is converted into the target three-dimensional image.

[0124] In an embodiment of the present invention, the first three-dimensional image can be converted into the target three-dimensional image through the above method, so as to facilitate the calculation of the second similarity, and then assist in judging whether the three-dimensional point cloud corresponding to the time is the three-dimensional point cloud corresponding to the gap on the label paper surface, thereby improving the detection accuracy of the gap on the label paper surface.

[0125] See also Figure 3 , Figure 3 2 is a schematic diagram of the structure of a label detection device 300 based on a millimeter wave radar 205 provided in an embodiment of the present invention, which is applied to a printer and includes:

[0126] A control module 301 is used to control the label paper to move in the printer so that the label on the label paper can be printed with information;

[0127] The acquisition module 302 is used to collect the reflection signal at each moment before the label paper moves in the printer and before information is printed, wherein the reflection signal is configured to detect the sensing data obtained by the millimeter wave radar 205 during the movement of the label paper, and the sensing data includes the distance, moving speed and angle of the label paper relative to the millimeter wave radar 205;

[0128] A composition module 303, configured to perform unidirectional composition according to the sensing data to obtain a first three-dimensional point cloud;

[0129] A stitching module 304 is used to stitch the first three-dimensional point cloud corresponding to each moment in a certain time period to obtain a target three-dimensional point cloud;

[0130] The calculation module 305 is used to perform a first similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain a first similarity, and perform a second similarity calculation on the target three-dimensional image and the preset three-dimensional image to obtain a second similarity, wherein the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the label paper surface, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the label paper surface;

[0131] A determination module 306 is used to determine the position information of the gap on the label paper surface according to the first similarity, the second similarity and the target value,

[0132] Among them, the target value is determined by the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity. The actual reflection intensity is obtained by the millimeter wave radar 205 based on the signal processing algorithm according to the perception data. The first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface.

[0133] The tag detection device 300 based on the millimeter wave radar 205 provided in the embodiment of the present invention can achieve Figure 1 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0134] Figure 4 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0135] The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411. Those skilled in the art will appreciate that Figure 4The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0136] The processor 410 is used to control the label paper to move in the printer so that the label on the label paper is printed with information; before the label paper moves in the printer and does not print information, collect the reflection signal at each moment; perform unidirectional composition according to the sensing data to obtain a first three-dimensional point cloud; for a certain period of time, splice the first three-dimensional point cloud corresponding to each moment in the period of time to obtain a target three-dimensional point cloud; perform a first similarity calculation on the target three-dimensional point cloud and a preset three-dimensional point cloud to obtain a first similarity, and perform a second similarity calculation on the target three-dimensional image and a preset three-dimensional image to obtain a second similarity; determine the position information of the gap on the surface of the label paper according to the first similarity, the second similarity and the target value;

[0137] It should be noted that the electronic device provided by the embodiment of the present invention can achieve Figure 1 To avoid repetition, the various processes implemented by the electronic device in the method embodiment are not described here.

[0138] It should be understood that in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 410 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 401 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.

[0139] The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0140] The audio output unit 403 can convert the audio data received by the RF unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 can also provide audio output related to a specific function performed by the electronic device 400 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, etc.

[0141] The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 processes the point cloud data of a static picture or video obtained by a point cloud capture device (such as a camera) in a video capture mode or a point cloud capture mode. The processed point cloud frame can be displayed on the display unit 406. The point cloud frame processed by the graphics processor 4041 can be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode.

[0142] The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and / or the backlight when the electronic device 400 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 405 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0143] The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0144] The user input unit 407 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch panel 4071). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 410, receives the command sent by the processor 410 and executes it. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.

[0145] Furthermore, the touch panel 4071 may be overlaid on the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it is transmitted to the processor 410 to determine the type of the touch event. Then, the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Figure 4 In the figure, the touch panel 4071 and the display panel 4061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0146] The interface unit 408 is an interface for connecting an external device to the electronic device 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 400 or may be used to transmit data between the electronic device 400 and an external device.

[0147] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, a point cloud playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 409 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0148] The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 409, and calling data stored in the memory 409, so as to monitor the electronic device as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.

[0149] The electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Preferably, the power source 411 may be logically connected to the processor 410 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0150] In addition, the electronic device 400 includes some functional modules not shown, which will not be described in detail here.

[0151] Preferably, an embodiment of the present invention further provides an electronic device, including a processor 410, a memory 409, and a computer program stored in the memory 409 and executable on the processor 410. When the computer program is executed by the processor 410, the various processes of the above-mentioned millimeter-wave radar-based tag detection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0152] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the embodiment of the tag detection method based on millimeter wave radar is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0153] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0154] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

[0156] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.

[0157] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0158] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0159] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A label detection method based on millimeter wave radar, applied to a printer, characterized in that: The method comprises: Controlling the label paper to move in the printer so that information is printed on the label on the label paper; Before the label paper moves in the printer and information is not printed, a reflection signal is collected at each moment, and the reflection signal is configured to detect the sensing data obtained by the millimeter wave radar during the movement of the label paper, and the sensing data includes the distance, moving speed and angle of the label paper relative to the millimeter wave radar; Performing unidirectional composition according to the perception data to obtain a first three-dimensional point cloud; For a certain time period, stitching the first three-dimensional point clouds corresponding to each moment in the time period to obtain a target three-dimensional point cloud; Performing a first similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain a first similarity, and performing a second similarity calculation on the target three-dimensional image and the preset three-dimensional image to obtain a second similarity, the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the label paper surface, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the label paper surface; Determining position information of the gap on the label paper surface according to the first similarity, the second similarity and a target value; Among them, the target value is determined by the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity. The actual reflection intensity is obtained by the millimeter wave radar through a signal processing algorithm based on the perception data, the first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface.

2. The method according to claim 1, characterized in that Before determining the position information of the gap on the label paper surface according to the first similarity, the second similarity and the target value, the method further includes: Calculating the first theoretical reflection intensity of the label surface based on a first calculation formula, and calculating the second theoretical reflection intensity of the gap on the label paper surface based on a second calculation formula; Determining a target value based on a magnitude relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity; The first calculation formula is as follows: RCS_1=RCS_0·e -alpha·RMS _ 1 Among them, RCS_1 is used to characterize the first theoretical reflection intensity of the tag surface; RCS_0 is the RCS value when the object surface is completely smooth; RMS_1 is used to characterize the root mean square roughness of the tag surface; alpha is the attenuation coefficient associated with the frequency, polarization mode, and incident angle of the millimeter wave radar, which is used to indicate the speed at which RCS_1 decays with the increase of RMS_1 roughness; e is a natural number; The second calculation formula is as follows: RCS_2=RCS_0·e -alpha·RMS _ 2 Among them, RCS_2 is used to characterize the second theoretical reflection intensity of the gap on the surface of the label paper; RCS_0 is the RCS value when the surface of the object is completely smooth, RMS_2 is used to characterize the root mean square roughness of the gap on the surface of the label paper; alpha is the attenuation coefficient associated with the frequency, polarization mode, and incident angle of the millimeter wave radar, which is used to indicate the speed at which RCS_2 decays with the increase of RMS_2 roughness; e is a natural number.

3. The method according to claim 1, characterized in that The calculating a first similarity between the target three-dimensional point cloud and the preset three-dimensional point cloud to obtain the first similarity comprises: Performing a first sub-similarity calculation, a second sub-similarity calculation, and a third sub-similarity calculation on the target three-dimensional point cloud and the preset three-dimensional point cloud, respectively, to obtain the first sub-similarity, the second sub-similarity, and the third sub-similarity; Determining the first similarity based on the first sub-similarity, the second sub-similarity, and the third sub-similarity; Among them, the first sub-similarity is obtained by calculating the Euclidean distance between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud, the second sub-similarity is obtained by calculating the angle between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud, and the third sub-similarity is obtained by calculating the normal direction and intensity between the two groups of points of the target three-dimensional point cloud and the preset three-dimensional point cloud.

4. The method according to claim 1, characterized in that The target three-dimensional image and the preset three-dimensional image are subjected to a second similarity calculation, and a calculation formula for obtaining the second similarity is as follows: SAD(I,T)=Σ|I(x,y)-T(x,y)| Among them, the SAD(I, T) represents the second similarity, the I represents the target three-dimensional image, the T represents the preset three-dimensional image, the (x, y) represents the pixel position, and I(x, y) and T(x, y) respectively represent the pixel values ​​of the target three-dimensional image and the preset three-dimensional image at the position (x, y).

5. The method according to claim 1, characterized in that The target three-dimensional image is obtained by converting the target three-dimensional point cloud, wherein the target three-dimensional point cloud includes the three-dimensional coordinates, reflection intensity and color information of the label paper, and the conversion includes: Performing denoising, filtering and registration preprocessing on the target three-dimensional point cloud to obtain a second three-dimensional point cloud; triangulate the data of the second three-dimensional point cloud to obtain a third three-dimensional point cloud, wherein the third three-dimensional point cloud refers to the point cloud data of the target three-dimensional point cloud represented by triangular fragments; Converting the point cloud data of the third three-dimensional point cloud into a first three-dimensional image through point cloud collision; Based on interpolation and fitting, the first three-dimensional image is converted into the target three-dimensional image.

6. A millimeter wave radar based label detection device, applied to a printer, characterized in that: include: A control module, used for controlling the label paper to move in the printer so that information is printed on the label on the label paper; A collection module, used for collecting a reflection signal at each moment before the label paper moves in the printer and before information is printed, wherein the reflection signal is configured to detect the sensing data obtained by the millimeter wave radar during the movement of the label paper, and the sensing data includes the distance, moving speed and angle of the label paper relative to the millimeter wave radar; A composition module, used for performing unidirectional composition according to the perception data to obtain a first three-dimensional point cloud; A splicing module, for splicing the first three-dimensional point cloud corresponding to each moment in a certain time period to obtain a target three-dimensional point cloud; a calculation module, configured to perform a first similarity calculation on the target three-dimensional point cloud and a preset three-dimensional point cloud to obtain a first similarity, and perform a second similarity calculation on the target three-dimensional image and a preset three-dimensional image to obtain a second similarity, wherein the target three-dimensional image is obtained by converting the target three-dimensional point cloud, the preset three-dimensional image is a three-dimensional image of the gap on the surface of the label paper, and the preset three-dimensional point cloud is a three-dimensional point cloud of the gap on the surface of the label paper; a determination module, configured to determine position information of the gap on the surface of the label paper according to the first similarity, the second similarity and a target value, Among them, the target value is determined by the relationship between the actual reflection intensity and the first theoretical reflection intensity and the second theoretical reflection intensity. The actual reflection intensity is obtained by the millimeter wave radar through a signal processing algorithm based on the perception data, the first theoretical reflection intensity is the reflection intensity of the label surface, and the second theoretical reflection intensity is the reflection intensity of the gap on the label paper surface.

7. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the millimeter wave radar-based tag detection method as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the millimeter-wave radar-based tag detection method described in any one of claims 1 to 5 are implemented.