Code band coding block and visual positioning method thereof

By using the combination of group coding and block coding of code band coding blocks in visual positioning, combined with mark blocks and type coding, the problem of afterimages caused by high-speed camera movement is solved, the recognition efficiency and accuracy are improved, and the cost is reduced. Enhanced anti-interference performance.

CN118540489APending Publication Date: 2024-08-23HUZHOU ZAAG ELECTRIC TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410607284.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the field of visual positioning, after-image effects are likely to occur when the camera moves at high speed, which affects code recognition and reduces recognition efficiency. The existing technology solves this problem by limiting the movement speed, but this limits the recognition efficiency.

Method used

The combination of group coding and block coding of code band coding blocks is adopted. The block coding is parallel to the width direction of the code band and is located in the center. The group coding is arranged along the length direction. Combined with mark blocks and type coding, position identification is performed through identification and position tracking methods. , reduce the impact of afterimages.

Benefits of technology

It improves the recognition efficiency and accuracy, reduces the restriction of camera movement speed on recognition, enhances the anti-interference performance, and has low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540489A
    Figure CN118540489A
Patent Text Reader

Abstract

According to the code band coding block and the visual positioning method thereof, a coding mode of combining group coding and block coding is adopted, the structure is simple, the cost is low, and the anti-interference performance is high; and position identification is realized by combining two modes of code identification and position tracking, so that the code identification efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual positioning, and in particular to a code band coding block and a visual positioning method thereof. Background Art

[0002] In the field of visual positioning, when the camera moves at high speed relative to the code strip, an afterimage effect will occur. In order to avoid the influence of the afterimage effect on code recognition, the movement speed of the camera is usually limited, but this reduces the recognition efficiency.

[0003] Therefore, there is an urgent need to develop a code band encoding block that can significantly reduce the impact of the afterimage effect produced by shooting on recognition and reduce the restrictions on camera movement speed and recognition efficiency. Summary of the invention

[0004] The purpose of the present invention is to provide a code band coding block and a visual positioning method thereof, which can reduce the influence of the afterimage effect produced by shooting on recognition, reduce the restriction on the camera movement speed and recognition efficiency, and have strong anti-interference ability and low cost.

[0005] The present invention provides a code band coding block, including: block coding and group coding;

[0006] The plurality of group codes are arranged along the length direction of the code band, and the plurality of block codes are arranged parallel to the width direction of the code band;

[0007] The plurality of block codes are located at the center of the coding block, and the plurality of group codes are located at one side of the block code.

[0008] Optionally, the block code and the group code are both rectangular.

[0009] Optionally, a type code is also included, and the type code is parallel to the width direction of the code band.

[0010] Optionally, the type code includes at least two types.

[0011] Optionally, the type code and the group code are located on both sides of the block code respectively.

[0012] Optionally, a marking block is also included, and the marking block is used to locate the position of the coding block.

[0013] The present invention also provides a visual positioning method for identifying the code block of the code band as described above, comprising:

[0014] identifying a block code of the coded block;

[0015] Identifying the position of the coding block within the group through the block coding;

[0016] The position is tracked according to the group number recognized by the previous frame image, and the position of the current group is determined according to the shortest distance principle to obtain the group code.

[0017] Optionally, before the step of identifying the block encoding of the encoding block, the method further includes: identifying each encoding block boundary by type encoding.

[0018] Optionally, the method further includes: when the camera is in a stationary or low-speed motion state, after taking a clear image through the camera, identifying the group code and the block code.

[0019] Optionally, after the camera captures the image, the captured image is stretched and corrected through the marking block and the type coding block.

[0020] Compared with the prior art, the present invention has at least the following technical effects:

[0021] The technical solution of the present invention discloses a code band coding block and a visual positioning method thereof, which adopts a coding method combining group coding and block coding, has a simple structure, low cost and strong anti-interference ability; and combines recognition and position tracking to realize position recognition, thereby improving recognition efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a schematic diagram of the structure of the code band coding block in the present invention;

[0023] Figure 2 This is a schematic diagram of the structure of a code band identification system in an embodiment of the present invention;

[0024] Figure 3 Flow chart of the visual positioning method in an embodiment of the present invention.

[0025] In the figure, 1, code band; 2, camera; 11, block code; 12, group code; 13, type code; 14, marker block. DETAILED DESCRIPTION

[0026] The following is a description of a code band coding block and a visual positioning method thereof of the present invention in conjunction with a schematic diagram, wherein a preferred embodiment of the present invention is shown, and it should be understood that those skilled in the art can modify the present invention described herein while still achieving the advantageous effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art, and not as a limitation of the present invention.

[0027] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the accompanying drawings are in very simplified form and in non-precise proportions, and are only used to facilitate and clearly assist in illustrating the purpose of the embodiments of the present invention.

[0028] Embodiment 1

[0029] Please refer to Figure 1-Figure 2 This embodiment provides a code band coding block, including: a block code 11 and a group code 12; a plurality of the group codes 12 are arranged along the length direction of the code band 1, and a plurality of the block codes 11 are arranged parallel to the width direction of the code band 1; a plurality of the block codes 11 are located on one side of the group code 12, and a plurality of the block codes 11 are located at the center of the coding block.

[0030] Please note that, please refer to Figure 1 In this embodiment, the plurality of block codes 11 are located at the center position of the coding block, and the center position refers to the block code 11 being close to the center position of the coding block relative to the group code 12; the group code 12 is close to one side of the coding block; in this embodiment, during the recognition process, the recognition and position tracking methods are combined, the block code 11 located at the center position is not affected by the camera afterimage effect and can be accurately recognized, while the group code 12 is positioned by position tracking.

[0031] In this embodiment, a coding method combining block code 11 and group code 12 is adopted. When the camera used to identify the code block of the code band moves at high speed, there is an afterimage effect. The afterimage effect of the camera makes the image blurred in the direction of movement. At this time, due to the blurring effect, the shorter group code 12 cannot be identified. Since the block code 11 is arranged parallel to the width direction of the code band 1, that is, parallel to the direction of movement, and the block code 11 is located at the center of the coding block, the high-speed movement of the camera 2 has almost no effect on the recognition of the block code 11. Therefore, a coding method combining group code 12 and block code 11 is designed to reduce the impact of high-speed movement on recognition and break through the limitation of recognition rate.

[0032] Furthermore, the block code 11 and the group code 12 are both rectangular.

[0033] In this embodiment, the length of the block code 11 is longer than the length of the group code 12 .

[0034] Furthermore, it also includes a type code 13 , and the type code 13 is parallel to the width direction of the code strip 1 .

[0035] The type code 13 includes at least two types: type A and type B. The type A and type B codes are arranged alternately. In this embodiment, please continue to refer to Figure 1 , Category A is a long strip code, and Category B is blank, which are arranged alternately to identify the boundaries between code blocks within the field of view.

[0036] It should be noted that the type of type code 13 also depends on the position reserved for the coding block. Since the block code 11 is located at the center, for the position distribution of the coding block, the type and design of the type code 13 depends on the space reserved for the type code 13 after the arrangement of the group code 12 and the block code 11 while maintaining the position planning.

[0037] In other examples, the type code 13 may also include multiple types, arranged alternately, for identifying the boundaries between coding blocks within the field of view. Multiple types of type codes 13 may be implemented by superimposing long strip codes, such as: Category A is two long strip codes stacked parallel to the width direction of the code band 1, Category B is a long strip code set parallel to the width direction of the code band 1, Category C is blank, and ABC are arranged alternately.

[0038] Furthermore, the type code 13 and the group code 12 are respectively located on both sides of the block code 11. In the present embodiment, the block code 11 is located at the center of the coding block relative to the group code 12 and the type code 13, which can reduce the influence of the afterimage effect on the identification of the block code 11.

[0039] In this embodiment, a coding method of a combination type coding 13, block coding 11 and group coding 12 is adopted, thereby improving the diversity of coding methods of code band coding blocks.

[0040] Furthermore, it also includes a marking block 14, and the marking block 14 is used to locate the position of the coding block.

[0041] In this embodiment, the marking block 14 is located at the upper left corner of the coding block, n group codes 12 are set on the right side of the marking block 14, m long strip block codes 11 are set in the middle of the coding block, and a long strip type code 13 is set at the bottom. In other examples, the marking block 14 can be located at a prominent position of the coding block, and there is no restriction on the position of the marking block 14.

[0042] Embodiment 2

[0043] In this embodiment, a visual positioning method is disclosed for identifying the code block of the code band as described in the first embodiment. Figure 3 , including the following steps:

[0044] S11, identifying block code 11 in the coding block;

[0045] S12, calculating the position of the coding block in the group through the block coding 11;

[0046] S13, tracking the position according to the group number identified by the previous frame image, determining the position of the current group according to the principle of shortest distance, obtaining the group code 12, and realizing position identification.

[0047] It should be noted that when the camera is in a stationary or low-speed motion state, the afterimage effect of the camera is not obvious. After the camera captures a clear image, the group code 12 and the block code 11 can be directly identified.

[0048] Therefore, in this embodiment, the block code 11 in the coding block is first identified to obtain the position within the group of the coding block, and then the position is tracked in combination with the group number identified in the previous frame image to obtain the group code 12; the two methods of identification and position tracking are combined to improve the accuracy of recognition.

[0049] In S12, the process of the position within the group can be derived through the following calculation process in a specific example:

[0050] Please continue to refer to Figure 1 , by calling the entire code A or code B a code block, each code strip or small block in the code block is called a code bit. Block code 11 has 6 code bits. Assuming that the color of the code bit is black, it represents 0, and the color is white, it represents 1. Then, within the group, these 6 code bits can be arranged to the power of 2, that is, 64 different codes represent unique positions. Assuming that the 6 code bits identified are 000100, and assuming that this unique code in the group is arranged in the third position in the group when designing the code band, then the physical position of this code in the group is 3*a, where a is the length of the entire code block, with the 0th code in the group as the origin.

[0051] In S13, the process of obtaining the group code can be derived through the following calculation process in a specific example:

[0052] The entire code A or code B is called a code block, and each code strip or small block in the code block is called a code bit; block code 11 has 6 code bits, so each group can arrange a maximum of 64 unique code blocks; in the recognition process, assuming that the recognition position of the previous frame is the second code block of the third group, with the 0th code of the 0th group as the origin, the real physical position is (3*64+2)*a=194a, where a is the length of the entire code block; assuming that the third code in the group recognized by the current frame, and setting a prerequisite tracking condition at the same time, the displacement of the camera in this interval between the previous and next frames will not exceed the total length of 32 code blocks (i.e. 32a, half the group length), then it can be inferred that in the current frame, the camera can only appear between the 34th block of the second group and the 33rd block of the third group, and the recognized code in the group is the 3rd block, therefore, the real position of the current frame can only be the 3rd block of the 3rd group, thereby deriving the real physical position of the current frame as (3*64+3)=195a.

[0053] Furthermore, before step S11 , the method further includes step S10 : identifying the coding block boundary through the type code 13 .

[0054] After the image is captured by the camera, the boundary between the coding blocks within the field of view is identified through the type code 13.

[0055] Step S10 also specifically includes: stretching and correcting the image through the marking block 14 and the type code block 13 on each coding block.

[0056] It should be noted that, due to the problem of shooting angle, the image may be distorted and deformed to a certain extent. The marking block 14 and the type code block 13 can be used to stretch and correct the image and restore it.

[0057] Due to the shooting angle of the camera, the shape of the code on the video frame image may be a trapezoid or a diamond shape instead of a real rectangle. This shape is not conducive to the relative positioning of each coding bit in the coding block. Therefore, some conventional image processing methods are usually used to stretch, freely transform and other conventional image processing algorithms to make the coding block in the processed image close to the real rectangular shape, so as to facilitate the positioning and identification of each coding bit in the subsequent coding block.

[0058] Please continue to refer to Figure 2 In order to identify the code on the code strip 1, preferably, the camera is placed vertically at a certain height directly above the code strip 1. In this embodiment, the camera's field of view width can reach at least the width of two code blocks, so that when the camera is at any position above the code strip 1, there is always a complete code block in the camera's field of view.

[0059] In this embodiment, the code tape 1 can be a real object or printed on the surface of an object. The camera is located directly above the code tape 1 and can move back and forth along the track in the length direction of the code tape 1. The camera can also be fixed and the code tape 1 moves back and forth along the length direction.

[0060] Please continue to refer to Figure 1 In a specific example, each coding block includes 7 group codes 12, 6 block codes 11, and 1 type code 13. Assuming that the length of each block is a, the maximum range of the scheme is a*214. Assuming that the frame rate of the camera is f, the maximum moving speed of the camera that can be supported is (a*2 7 ) / 2*f.

[0061] It should be noted that the block length a is the length of the entire code A or code B. For the convenience of calculation, the lengths of code A and code B are basically designed to be length a together. In this way, by identifying the code content, it can be obtained that the code is the nth code, then the absolute position of this code on the code band is n*a (assuming the 0th code is the origin).

[0062] In summary, the scheme of the present invention discloses a code band coding block and a visual positioning method thereof, which have a simple structure, low cost, and strong anti-interference ability. Through the coding method combining group coding and block coding, the influence of high-speed motion on recognition can be reduced, breaking through the limitation of recognition rate; the introduction of marker blocks and type coding increases the diversity of coding methods, and also enhances the effect of rapid partitioning and accurate positioning during the recognition process.

[0063] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A code band coding block, characterized in that: include: Block coding and group coding; The plurality of group codes are arranged along the length direction of the code band, and the plurality of block codes are arranged parallel to the width direction of the code band; The plurality of block codes are located at the center of the coding block, and the plurality of group codes are located at one side of the block code.

2. The code band coding block according to claim 1, characterized in that: The block code and the group code are both rectangular.

3. The code band coding block according to claim 1, characterized in that: Also included is a type code, which is parallel to the width direction of the code strip.

4. The code band coding block according to claim 3, characterized in that: The type code includes at least two types.

5. The code band coding block according to claim 4, characterized in that: The type code and the group code are located at both sides of the block code respectively.

6. The code band coding block according to claim 1, characterized in that: It also includes a marking block, which is used to locate the position of the coding block.

7. A visual positioning method for identifying a code block of a code band as claimed in any one of claims 1 to 6, characterized in that: include: identifying a block code of the coded block; Identifying the position of the coding block within the group through the block coding; The position is tracked according to the group number recognized by the previous frame image, and the position of the current group is determined according to the shortest distance principle to obtain the group code.

8. The visual positioning method according to claim 7, characterized in that: Before the step of identifying the block coding of the coding block, the method further includes: identifying each coding block boundary by type coding.

9. The visual positioning method according to claim 7, characterized in that: Also includes: When the camera is in a stationary or low-speed motion state, after a clear image is captured by the camera, the group code and the block code are identified.

10. The visual positioning method according to claim 9, characterized in that: After the camera captures the image, the captured image is stretched and corrected through the marker block and type coding block.

Citation Information

Cited By

  • Long-stroke absolute value coded scale system based on serial coding

    CN121143318A