CN108898641B - Machine-recognizable pattern generation method, generation device, and computer-readable storage medium - Google Patents
Machine-recognizable pattern generation method, generation device, and computer-readable storage medium Download PDFInfo
- Publication number
- CN108898641B CN108898641B CN201810403539.XA CN201810403539A CN108898641B CN 108898641 B CN108898641 B CN 108898641B CN 201810403539 A CN201810403539 A CN 201810403539A CN 108898641 B CN108898641 B CN 108898641B
- Authority
- CN
- China
- Prior art keywords
- pattern
- pattern element
- machine
- generating
- recognizable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Collating Specific Patterns (AREA)
Abstract
The invention discloses a machine-recognizable pattern generation method, which comprises the steps of generating a pattern area and generating a plurality of filling areas in the pattern area; acquiring a first digital code provided by a user; generating at most one first pattern element for machine recognition within each filled region according to a first digital code; receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is smaller than a preset value; the output machine recognizable pattern. The machine-recognizable pattern generated by the machine-recognizable pattern generation method disclosed by the invention can be recognized by a machine, and meanwhile, the machine-recognizable pattern can be distinguished by human eyes and has ornamental value through aesthetic design. The invention also discloses a machine-recognizable pattern generating device and a computer-readable storage medium.
Description
Technical Field
The present invention relates to the field of machine-recognizable patterns, and more particularly, to a machine-recognizable pattern generating method, a machine-recognizable pattern generating apparatus, and a computer-readable storage medium.
Background
The machine-identifiable pattern (such as bar code and two-dimensional code) is a coding mode which is superpopular on mobile equipment in recent years, and has wide application in the fields of information acquisition, website skipping, advertisement pushing, mobile phone electronic commerce, anti-counterfeiting tracing, preferential promotion, member management, mobile phone payment and the like. The existing machine-recognizable patterns are mostly automatically generated by a machine through a program, and usually only the machine can be distinguished, so that the human eyes can hardly distinguish the patterns. However, in actual use, it is desirable that the design of the machine-recognizable pattern itself also include design elements so that one can distinguish between machine-recognizable patterns or that machine-recognizable patterns that include design elements can convey aesthetic information to one.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the purposes of the invention is to disclose a machine-recognizable pattern generation method, which is used for solving the problems that the existing machine-recognizable patterns are automatically generated by a machine through a program, only the machine can be distinguished generally, and human eyes can hardly distinguish the machine-recognizable patterns. Another object of the present invention is to disclose a machine-recognizable pattern generating device comprising a processor configured to perform the above-described machine-recognizable pattern generating method steps. A third object of the present invention is to disclose a computer-readable storage medium storing instructions for executing steps included in the machine-recognizable pattern generating method described above.
One of the purposes of the invention is realized by adopting the following technical scheme:
a machine-identifiable pattern generation method, comprising:
generating a pattern area and generating a plurality of filling areas in the pattern area;
acquiring a first digital code provided by a user;
generating at most one first pattern element for machine recognition within each of the fill areas according to the first digital encoding;
receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is larger than a preset value; and
the output machine may recognize the pattern.
Preferably, the generating a second pattern element based on the first pattern element comprises:
changing the size of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the position of the first pattern element in the fill area to generate the second pattern element; and/or the number of the groups of groups,
rotating the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
adjusting a boundary of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the color of the first pattern element to generate the second pattern element.
Preferably, the geometric similarity value is calculated according to the following method:
acquiring an edge E of the second pattern element, wherein the edge E is a set of all pixel points forming the edge E, and E= { P 1 ,P 2 ,…P i …P n }, wherein P i Representing the position of the ith pixel point, the coordinates of which are denoted as P i (x i ,y i );
summarizing the number of pixels of the second pattern element to determine the area S of the second pattern element;
the second pattern element is subjected to central scaling to normalize the area and the position, and at the moment, the area S becomes a unit area S e The geometric center of the pattern is the origin of coordinates;
each edge pixel P i Subtracting the coordinates from the center coordinates to obtain a new edge pixel P' i =P i -C;
Will S/S e Normalizing each new edge pixel as a scale factor f, and eliminating repeated pixels to obtain a group of edges E with m edge pixels ′ ={Q 1 ,Q 2 …Q i …Q n };
Overlapping the geometric centers of the second pattern element and the first pattern element, and calculating an overlapping area A of the second pattern element and the first pattern element; and
rotate E at a predetermined angle in the range of 0-20 DEG ′ And calculating the superposition area A of the second pattern element and the first pattern element i Calculate the maximum area A max And single sheetBit area S e The ratio G is the geometric similarity value of the second pattern element and the first pattern element.
Preferably, the machine-identifiable pattern generating method further includes:
and performing noise adding processing on the generated machine-recognizable pattern.
Preferably, the machine-identifiable pattern generating method further includes:
and performing rotary perspective transformation processing on the generated machine-recognizable pattern.
Preferably, the machine-identifiable pattern generating method further includes:
identifying the machine-identifiable pattern generated to obtain a second digital code and verifying the first digital code and the second digital code, and storing the machine-identifiable pattern when the first digital code and the second digital code are identical.
Preferably, the machine-identifiable pattern generating method further includes:
user input information is received, and a machine-recognizable pattern electronic document or a machine-recognizable pattern paper document is generated.
The second purpose of the invention is realized by adopting the following technical scheme:
a machine-identifiable pattern generation apparatus comprising a processor and a memory for storing instructions executable by the processor, wherein the processor is configured to:
generating a pattern area and generating a plurality of filling areas in the pattern area;
acquiring a first digital code provided by a user;
generating at most one first pattern element for machine recognition within each of the fill areas according to the first digital encoding;
receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometrical similarity between the second pattern element and the first pattern element is larger than a preset value; and
the output machine may recognize the pattern.
Preferably, the generating the second pattern element based on the first pattern element comprises:
changing the size of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the position of the first pattern element in the fill area to generate the second pattern element; and/or the number of the groups of groups,
rotating the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
adjusting a boundary of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the color of the first pattern element to generate the second pattern element.
The third purpose of the invention is realized by adopting the following technical scheme:
a computer readable storage medium coupled to a processor and storing instructions executable by the processor, which when executed by the processor, cause the processor to perform the steps of:
generating a pattern area and generating a plurality of filling areas in the pattern area;
acquiring a first digital code provided by a user;
generating at most one first pattern element for machine recognition within each of the fill areas according to the first digital encoding;
receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is larger than a preset value; and
the output machine may recognize the pattern.
The machine-recognizable pattern generating method provided by the invention can be used for receiving the second pattern element which is generated by a user and has aesthetic design on the basis of the first pattern element, so that the generated machine-recognizable pattern is not independently machine-recognizable, and meanwhile, human eyes can distinguish the pattern and have ornamental value through the aesthetic design.
Drawings
FIG. 1 is a block diagram of a machine-recognizable pattern generating apparatus according to a first embodiment of the present invention;
FIG. 2 is a block diagram of a machine-recognizable pattern generating method according to a second embodiment of the present invention;
FIG. 3 is a schematic illustration of a standard machine-recognizable pattern and a machine-recognizable pattern after design;
FIG. 4 is a schematic diagram of a machine recognizable pattern of differently shaped pattern areas;
FIG. 5 is a schematic diagram of a machine-recognizable pattern of different filled regions;
FIG. 6 is a schematic diagram of a geometric similarity calculation process;
FIG. 7 is a schematic diagram of a plurality of generating a second pattern element based on a first pattern element;
FIG. 8 is a schematic diagram of a machine recognizable pattern subjected to an additive noise process;
fig. 9 is a schematic diagram of a machine recognizable pattern subjected to a rotational perspective transformation process.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and detailed description, wherein it is to be understood that, on the premise of no conflict, the following embodiments or technical features may be arbitrarily combined to form new embodiments.
Embodiment one:
referring to fig. 1-3, a machine-recognizable pattern generating device 10 is provided, and includes an input device 11, a display 12, a processor 13, a memory 14, a database 15, and an output device 16, wherein the input device 11, the display 12, the memory 14, the database 15, and the output device 16 are electrically connected to the processor 13. The input device 11 is configured to receive information input by a user, and the input device 11 may be one or any combination of a mouse, a keyboard, a touch screen, a track ball, and a stylus; display 12 is used to display machine recognizable patterns and user interfaces; a processor 13 for receiving user information to generate a machine recognizable pattern; the memory 14 is used for storing instructions executable by the processor 13; the database 15 is used for storing the generated machine-recognizable pattern and the corresponding digital codes thereof; the output device 16 is for outputting the generated machine-recognizable pattern.
Wherein the processor 13 is configured to execute instructions stored in the memory 14 by performing the steps of:
generating a pattern area 101 and generating a number of filling areas 102 in the pattern area 101;
acquiring a first digital code provided by a user;
generating at most one first pattern element 103 for machine identification within each of the fill areas 102 according to the first digital code;
receiving user input information and generating a second pattern element 203 based on the first pattern element 103, wherein a geometric similarity value between the second pattern element 203 and the first pattern element 103 is larger than a preset value; and
the output machine may recognize the pattern 200.
Referring to fig. 4, the generated pattern area 101 may be any shape, and is preferably a polygon with a number of sides equal to or greater than 4. Such as a square as shown in fig. 5 (a), a trapezoid as shown in fig. 5 (b), a pentagon as shown in fig. 5 (c), and a hexagon as shown in fig. 5 (d). In some embodiments, the differently shaped regions may be configured to represent different numbers, for example, square shaped pattern region 101 represents number "3", trapezoid shaped pattern region 101 represents number "4", pentagonal shaped pattern region 101 represents number "5", hexagonal shaped pattern region 101 represents number "6", circular shaped pattern element represents number "1", then the number represented by fig. 5 (a) is "3111", the number represented by fig. 5 (b) is "4111", the number represented by fig. 5 (c) is "5111", and the number represented by fig. 5 (d) is "6111".
Referring to fig. 5, the number of the padding areas 102 corresponds to the number of bits of the first digital code. For example, the circular pattern element represents the numerical code "1", the triangular pattern element represents the numerical code "2", the filled region without pattern element represents the numerical code "0", and then the numerical code represented by fig. 6 (a) is "112", the numerical code represented by fig. 6 (b) is 1102, and the numerical code represented by fig. 6 (c) is "110200".
By the above arrangement, the machine-recognizable pattern generating apparatus 10 can receive input information of a user, that is, receive a design intention of the user, generate the second pattern element 203 having an aesthetic design on the basis of the first pattern element 103, so that the generated machine-recognizable pattern 200 is not only machine-recognizable, but also human eyes can distinguish and have an ornamental value by the aesthetic design.
In addition, by setting the second pattern element 203 and the first pattern element 103 to satisfy that the geometric similarity value is smaller than the preset value, that is, the machine-recognizable pattern generating device 10 may provide real-time dynamic feedback when the user designs the first pattern element 103 to generate the second pattern element 203, specifically, when the geometric similarity value between the second pattern element 203 and the first pattern element 103 is larger than the preset value, the machine-recognizable pattern generating device 10 confirms that the deformation is reasonable and does not issue an alarm; when the geometric similarity value between the second pattern element 203 and the first pattern element 103 is smaller than the preset value, it is indicated that there is a larger shape difference between the second pattern element 203 and the first pattern 103, and the larger shape difference is beyond the fault tolerance range of machine identification, at this time, the machine-identifiable pattern generating device 10 issues an alarm. The design method can provide design guidance for the user design, and has educational significance for deepening the understanding of the user on how the machine-recognizable pattern is generated and recognized.
Referring to fig. 6, in at least one embodiment, the processor 13 is configured to perform the following operations to obtain the geometric similarity values of the first pattern element 103 and the second pattern element 203:
acquiring an edge E of the second pattern element, wherein the edge E is a set of all pixel points forming the edge E, and E= { P 1 ,P 2 ,…P i …P n }, wherein P i Representing the position of the ith pixel point, which is sittingDenoted by the reference symbol P i (x i ,y i );
summarizing the number of pixels of the second pattern element to determine the area S of the second pattern element;
the second pattern element is subjected to central scaling to normalize the area and the position, and at the moment, the area S becomes a unit area S e The geometric center of the pattern is the origin of coordinates;
each edge pixel P i Subtracting the coordinates from the center coordinates to obtain a new edge pixel P' i =P i -C;
Will S/S e Normalizing each new edge pixel as a scale factor f, and eliminating repeated pixels to obtain a group of edges E with m edge pixels ′ ={Q 1 ,Q 2 …Q i …Q n };
Overlapping the geometric centers of the second pattern element and the first pattern element, and calculating an overlapping area A of the second pattern element and the first pattern element; and
rotate E at a predetermined angle in the range of 0-20 DEG ′ And calculating the superposition area A of the second pattern element and the first pattern element i Calculate the maximum area A max And unit area S e The ratio G is the geometric similarity value of the second pattern element and the first pattern element.
Referring to fig. 7, in at least one embodiment, generating a second pattern element 203 based on the first pattern element 103 includes changing the size of the first pattern element 103 to generate the second pattern element 203, as shown in fig. 7 (a). Specifically, the processor 13 may generate first pattern elements 103 with different sizes on the display screen 12, and the user selects the first pattern elements 103 with specified sizes through the input device 11 to generate second pattern elements 203; it is also possible that the user scales the size of the first pattern element 103 equally by means of the input device 11 to generate the second pattern element 203.
In at least one embodiment, generating the second pattern element 203 based on the first pattern element 103 includes changing a position of the first pattern element 103 in the fill area to generate the second pattern element 203, as shown in fig. 7 (b). Specifically, it may be that the user drags through the input device 11, for example, through a mouse, to change the position of the first pattern element 103 in the filling area 102.
In at least one embodiment, generating the second pattern element 203 based on the first pattern element 103 includes a processor rotating the first pattern element 103 to generate the second pattern element 203, as shown in fig. 7 (c). Specifically, it may be that the user drags through the input device 11, for example, by a mouse, to rotate the first pattern element 103.
In at least one embodiment, generating the second pattern element 203 based on the first pattern element 103 includes adjusting a boundary of the first pattern element 103 to generate the second pattern element 203, as shown in fig. 7 (d). Specifically, it may be that the user drags through the input device 11, for example, through a mouse, to adjust the boundary of the first pattern element 103.
In at least one embodiment, generating the second pattern element 203 based on the first pattern element 103 includes changing a color of the first pattern element 103 to generate the second pattern element 203. Specifically, the processor 13 may display different colors on the display screen 12, and the user selects a designated color to change the color of the first pattern element 103 through the input device 11; the first pattern element 103 may be color edited by a user through a color editor.
It will be appreciated that in the above various embodiments of generating the second pattern element 203 based on the first pattern element 103, the user may be transforming the first pattern element 103 using only a single embodiment. In other embodiments, the user may be multiple transforming the first pattern element 103 using various implementations.
Referring to fig. 8, in at least one embodiment, the processor 13 is further configured to perform the steps of:
the noise adding process is performed on the generated machine-identifiable pattern 200.
Referring to fig. 9, in at least one embodiment, the processor 13 is further configured to perform the steps of:
the generated machine-identifiable pattern 200 is subjected to a rotational perspective transformation process.
In at least one embodiment, the processor 13 is further configured to perform the steps of: the generated machine-identifiable pattern 200 is identified to obtain a second digital code and the first digital code and the second digital code are verified, and the machine-identifiable pattern 200 is stored when the first digital code and the second digital code are identical. Correspondingly, the machine-identifiable pattern generating device 10 also includes a scanner to identify the generated machine-identifiable pattern 200.
In at least one embodiment, the processor 13 is further configured to perform the steps of:
user input information is received, and a machine-recognizable pattern electronic document or a machine-recognizable pattern paper document is generated. Correspondingly, the machine-recognizable pattern generating device 10 further includes a printer to output a machine-recognizable pattern paper document.
Embodiment two:
referring to fig. 2 again, a second embodiment of the invention provides a machine-recognizable pattern generating method S10, the machine-recognizable pattern generating method S10 includes the following steps:
step S11, generating a pattern area and generating a plurality of filling areas in the pattern area;
step S12, acquiring a first digital code provided by a user;
step S13, generating at most one first pattern element for machine identification in each filling area according to the first digital code;
step S14, receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is larger than a preset value; and
in step S15, the machine recognizable pattern is output.
In this design, by receiving input information of a user, that is, receiving a design intent of the user, a second pattern element having an aesthetic design is generated on the basis of the first pattern element, so that the generated machine-recognizable pattern is not machine-recognizable alone, but can be distinguished by human eyes and has ornamental value through the aesthetic design.
In at least one embodiment, the machine-identifiable pattern generation method S10 further comprises performing the following operation steps to obtain geometric similarity values for the first pattern element and the second pattern element:
acquiring an edge E of the second pattern element, wherein the edge E is a set of all pixel points forming the edge E, and E= { P 1 ,P 2 ,…P i …P n }, wherein P i Representing the position of the ith pixel point, the coordinates of which are denoted as P i (x i ,y i );
counting the number of pixels of the second pattern element to determine the area S of the second pattern element;
the second pattern element is subjected to central scaling to normalize the area and the position, and at the moment, the area S becomes a unit area S e The geometric center of the pattern is the origin of coordinates;
each edge pixel P i Subtracting the coordinates from the center coordinates to obtain a new edge pixel P' i =P i -C;
Will S/S e Normalizing each new edge pixel as a scale factor f, and eliminating repeated pixels to obtain a group of edges E with m edge pixels ′ ={Q 1 ,Q 2 …Q i …Q n };
Overlapping the geometric centers of the second pattern element and the first pattern element, and calculating an overlapping area A of the second pattern element and the first pattern element; and
rotate E at a predetermined angle in the range of 0-20 DEG ′ And calculating the superposition area A of the second pattern element and the first pattern element i The maximum area A to be obtained max And unit area S e The ratio G of the first pattern element to the second pattern element is the geometrical similarity value of the second pattern element and the first pattern element.
In at least one embodiment, generating the second pattern element based on the first pattern element includes changing a size of the first pattern element to generate the second pattern element.
In at least one embodiment, generating the second pattern element based on the first pattern element includes changing a position of the first pattern element in the fill area to generate the second pattern element.
In at least one embodiment, generating the second pattern element based on the first pattern element includes a processor rotating the first pattern element to generate the second pattern element.
In at least one embodiment, generating the second pattern element based on the first pattern element includes adjusting a boundary of the first pattern element to generate the second pattern element.
In at least one embodiment, generating the second pattern element based on the first pattern element includes changing a color of the first pattern element to generate the second pattern element.
It will be appreciated that in the above various embodiments of generating the second pattern element based on the first pattern element, the user may be able to transform the first pattern element using only a single embodiment. In other embodiments, the user may be multiple transforming the first pattern element using various implementations.
In at least one embodiment, the machine-identifiable pattern generation method S10 further comprises the steps of:
and performing noise adding processing on the generated machine-recognizable pattern.
In at least one embodiment, the machine-identifiable pattern generation method S10 further comprises the steps of:
and performing rotary perspective transformation processing on the generated machine-recognizable pattern.
In at least one embodiment, the machine-identifiable pattern generation method S10 further comprises the steps of: the generated machine-identifiable pattern is identified to obtain a second digital code and the first digital code and the second digital code are verified, and the machine-identifiable pattern is stored when the first digital code and the second digital code are identical.
In at least one embodiment, the machine-identifiable pattern generation method S10 further comprises the steps of:
user input information is received, and a machine-recognizable pattern electronic document or a machine-recognizable pattern paper document is generated.
Embodiment III:
a third embodiment of the present invention provides a computer-readable storage medium coupled to a processor, and storing instructions executable by the processor, which when executed by the processor, cause the processor to perform the steps of:
generating a pattern area and generating a plurality of filling areas in the pattern area;
acquiring a first digital code provided by a user;
generating at most one first pattern element for machine recognition within each of the fill areas according to the first digital encoding;
receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is larger than a preset value; and
the output machine may recognize the pattern.
The above embodiments are only preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, but any insubstantial changes and substitutions made by those skilled in the art on the basis of the present invention are intended to be within the scope of the present invention as claimed.
Claims (9)
1. A machine-identifiable pattern generation method, comprising:
generating a pattern area and generating a plurality of filling areas in the pattern area;
acquiring a first digital code provided by a user;
generating at most one first pattern element for machine recognition within each of the fill areas according to the first digital encoding;
receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is larger than a preset value; and
outputting a machine recognizable pattern;
wherein the geometric similarity value is calculated and obtained according to the following method:
acquiring an edge E of the second pattern element, wherein the edge E is a set of all pixel points forming the edge E, and E= { P 1 ,P 2 ,…P i …P n }, wherein P i Representing the position of the ith pixel point, the coordinates of which are denoted as P i (x i ,y i );
summarizing the number of pixels of the second pattern element to determine the area S of the second pattern element;
the second pattern element is subjected to central scaling to normalize the area and the position, and at the moment, the area S becomes a unit area S e The geometric center of the pattern is the origin of coordinates;
each edge pixel P i Subtracting the coordinates from the center coordinates to obtain a new edge pixel P' i =P i -C;
Will S/S e Normalizing each new edge pixel as a scale factor f, and eliminating repeated pixels to obtain a group of edge imagesEdge E' = { Q with element m 1 ,Q 2 …Q i …Q n };
Overlapping the geometric centers of the second pattern element and the first pattern element, and calculating an overlapping area A of the second pattern element and the first pattern element; and
rotating E' within 0-20 deg. by a preset angle and calculating the superposition area A of the second pattern element and the first pattern element i Calculate the maximum area A max And unit area S e And the ratio G is the geometric similarity value of the second pattern element and the first pattern element.
2. The machine-identifiable pattern generation method of claim 1, wherein the generating a second pattern element based on the first pattern element comprises:
changing the size of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the position of the first pattern element in the fill area to generate the second pattern element; and/or the number of the groups of groups,
rotating the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
adjusting a boundary of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the color of the first pattern element to generate the second pattern element.
3. The machine-identifiable pattern generation method of claim 1, further comprising:
and performing noise adding processing on the generated machine-recognizable pattern.
4. The machine-identifiable pattern generation method of claim 1, further comprising:
and performing rotary perspective transformation processing on the generated machine-recognizable pattern.
5. The machine-recognizable pattern generating method according to any one of claims 1 to 4, wherein the machine-recognizable pattern generating method further comprises:
identifying the machine-identifiable pattern generated to obtain a second digital code and verifying the first digital code and the second digital code, and storing the machine-identifiable pattern when the first digital code and the second digital code are identical.
6. The machine-recognizable pattern generating method according to any one of claims 1 to 4, wherein the machine-recognizable pattern generating method further comprises:
user input information is received, and a machine-recognizable pattern electronic document or a machine-recognizable pattern paper document is generated.
7. A machine-identifiable pattern generation apparatus employing the machine-identifiable pattern generation method of any of claims 1-6, comprising a processor and a memory for storing the processor-executable instructions, wherein the processor is configured to:
generating a pattern area and generating a plurality of filling areas in the pattern area;
acquiring a first digital code provided by a user;
generating at most one first pattern element for machine recognition within each of the fill areas according to the first digital encoding;
receiving user input information and generating a second pattern element based on the first pattern element, wherein the geometric similarity value between the second pattern element and the first pattern element is larger than a preset value; and
the output machine may recognize the pattern.
8. The machine-identifiable pattern generation apparatus of claim 7, wherein the generating a second pattern element based on the first pattern element comprises:
changing the size of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the position of the first pattern element in the fill area to generate the second pattern element; and/or the number of the groups of groups,
rotating the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
adjusting a boundary of the first pattern element to generate the second pattern element; and/or the number of the groups of groups,
changing the color of the first pattern element to generate the second pattern element.
9. A computer-readable storage medium, characterized by: the computer readable storage medium is coupled to a processor and stores instructions executable by the processor, which when executed by the processor, implement the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810403539.XA CN108898641B (en) | 2018-04-28 | 2018-04-28 | Machine-recognizable pattern generation method, generation device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810403539.XA CN108898641B (en) | 2018-04-28 | 2018-04-28 | Machine-recognizable pattern generation method, generation device, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108898641A CN108898641A (en) | 2018-11-27 |
CN108898641B true CN108898641B (en) | 2023-06-30 |
Family
ID=64342585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810403539.XA Active CN108898641B (en) | 2018-04-28 | 2018-04-28 | Machine-recognizable pattern generation method, generation device, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108898641B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013030185A (en) * | 2008-03-27 | 2013-02-07 | Denso Wave Inc | Two-dimensional code, two-dimensional code generating method, computer readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code |
CN103400264A (en) * | 2013-08-19 | 2013-11-20 | 陈曦 | Security verification method for two-dimensional code payment |
CN104835108A (en) * | 2015-05-14 | 2015-08-12 | 上海交通大学 | Method for generating visualized two-dimensional code |
CN104966115A (en) * | 2015-06-12 | 2015-10-07 | 吴伟和 | Method for filling two-dimensional code through image |
CN105117760A (en) * | 2015-09-15 | 2015-12-02 | 牛建伟 | Method for generating color image two-dimensional code through fusion of two-dimensional code with color image |
CN106233303A (en) * | 2014-04-29 | 2016-12-14 | 惠普发展公司,有限责任合伙企业 | Machine readable watermark in image and bar code |
JP2017062793A (en) * | 2016-09-28 | 2017-03-30 | カシオ計算機株式会社 | Electronic device, program, and data processing method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6732932B2 (en) * | 2000-10-12 | 2004-05-11 | Symbol Technologies, Inc. | Bar code symbology with integrated user-interface graphic pattern |
US7028902B2 (en) * | 2002-10-03 | 2006-04-18 | Hewlett-Packard Development Company, L.P. | Barcode having enhanced visual quality and systems and methods thereof |
US8405875B2 (en) * | 2009-03-23 | 2013-03-26 | Mckesson Automation Inc. | Visibly-coded medication label and associated method, apparatus and computer program product for providing same |
-
2018
- 2018-04-28 CN CN201810403539.XA patent/CN108898641B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013030185A (en) * | 2008-03-27 | 2013-02-07 | Denso Wave Inc | Two-dimensional code, two-dimensional code generating method, computer readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code |
CN103400264A (en) * | 2013-08-19 | 2013-11-20 | 陈曦 | Security verification method for two-dimensional code payment |
CN106233303A (en) * | 2014-04-29 | 2016-12-14 | 惠普发展公司,有限责任合伙企业 | Machine readable watermark in image and bar code |
CN104835108A (en) * | 2015-05-14 | 2015-08-12 | 上海交通大学 | Method for generating visualized two-dimensional code |
CN104966115A (en) * | 2015-06-12 | 2015-10-07 | 吴伟和 | Method for filling two-dimensional code through image |
CN105117760A (en) * | 2015-09-15 | 2015-12-02 | 牛建伟 | Method for generating color image two-dimensional code through fusion of two-dimensional code with color image |
JP2017062793A (en) * | 2016-09-28 | 2017-03-30 | カシオ計算機株式会社 | Electronic device, program, and data processing method |
Also Published As
Publication number | Publication date |
---|---|
CN108898641A (en) | 2018-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109062521B (en) | Print data processing method and device, computer device and storage medium | |
CN106447721B (en) | Image shadow detection method and device | |
CN101923702B (en) | Image valid code generating method | |
Buczkowski et al. | The modified box-counting method: analysis of some characteristic parameters | |
US9020266B2 (en) | Methods and devices for processing handwriting input | |
CN101479768B (en) | Image processing device image processing program | |
CN108876871B (en) | Image processing method and device based on circle fitting and computer readable storage medium | |
CN102137271A (en) | Method and device for evaluating image quality | |
DE102018008275A1 (en) | Refine local parameterizations for the transmission of two-dimensional images to three-dimensional models | |
CN102110280B (en) | Spatial data processing method and device | |
CN106484692A (en) | A kind of method for searching three-dimension model | |
JP5872994B2 (en) | Embedding visible and invisible watermarks into printed images via density modulation of second generation stochastic species | |
JP2019523474A (en) | Method for extended authentication of material subject | |
CN107038441A (en) | Clipboard is detected and corrected | |
US20100292962A1 (en) | System and method for converting a conventional surface into a nurbs surface | |
CN110867243B (en) | Image annotation method, device, computer system and readable storage medium | |
CN106295761A (en) | Anti-counterfeiting mark generates method and device | |
CN108898641B (en) | Machine-recognizable pattern generation method, generation device, and computer-readable storage medium | |
CN111161380B (en) | Electronic seal processing method and processing system thereof | |
Feng et al. | A novel spatial pooling method for 3D mesh quality assessment based on percentile weighting strategy | |
CN111583359A (en) | Method and device for extracting gradient information of farmland planar pattern spots | |
US7865330B2 (en) | System and method for measuring a curve of an object | |
CN114186228A (en) | Attack event visualization method and device and related equipment | |
Miao et al. | Visual salience guided feature-aware shape simplification | |
JP2015162008A (en) | Information processing device, information processing system, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |