CN105138946A - Datamatrix two-dimensional code identification method by means of intelligent mobile phone - Google Patents
Datamatrix two-dimensional code identification method by means of intelligent mobile phone Download PDFInfo
- Publication number
- CN105138946A CN105138946A CN201510665014.XA CN201510665014A CN105138946A CN 105138946 A CN105138946 A CN 105138946A CN 201510665014 A CN201510665014 A CN 201510665014A CN 105138946 A CN105138946 A CN 105138946A
- Authority
- CN
- China
- Prior art keywords
- datamatrix
- quick response
- response code
- mobile phone
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Telephone Function (AREA)
- Character Input (AREA)
Abstract
The invention provides a Datamatrix two-dimensional code identification method. Photographing of a Datamatrix two-dimensional code image is realized by means of a mobile phone hardware-camera based on an intelligent mobile phone platform, and two-dimensional code information is identified so that the two-dimensional code information is outputted or displayed finally. The intelligent mobile phone has extremely high degree of popularization, the image is photographed by means of the mobile phone camera, and the Datamatrix two-dimensional code is accurately identified through image processing analysis so that convenience is quite high.
Description
Technical field
The present invention relates to Datamatrix Quick Response Code recognition technology field, be specifically related to a kind of method by smart mobile phone identification Datamatrix Quick Response Code.
Background technology
The Quick Response Code type that the China market mainstream uses is QRCode Quick Response Code, is widely used in each field, and has as scanning softwares such as micro-letters.Datamatrix is a kind of matrix two-dimensional barcode, and the conception of its development wishes on less bar-code label stored in more data quantity.The minimum dimension of Datamatrix is minimum in current all bar codes, and density is high, contains much information, can on the area of only 25mm coding 30 numerals.DM have employed complicated error-correcting code technique, makes this coding have superpower contamination resistance.Datamatrix because providing minimum highdensity label again, and still can deposit rational data content, therefore is specially adapted to finding mark, commodity counterfeit prevention, circuit identifier etc.
For the identification of Datamatrix Quick Response Code, current main-stream technology is for using infrared scanning equipment, and at scientific research field, especially biological sample bank field, mainly realizes by infrared scanner or infrared scan rifle.On Vehicles Collected from Market, the scanner of main flow is similar to micro-letter etc., can only identify QRCode Quick Response Code, can not realize the identification to Datamatrix Quick Response Code.
Current software systems, especially based on the software systems of cell phone platform, can only identify the Quick Response Code of QR standard, can not realize effectively identifying to Datamarix Quick Response Code, limit the convenience of Datamatrix Quick Response Code identification; And based on the extensive use of Datamatrix Quick Response Code, application units adopt infrared scanning equipment to realize the identification of Datamatrix Quick Response Code usually, and scanning device is expensive, build is comparatively large, can not realize popular application.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method by smart mobile phone identification Datamatrix Quick Response Code, and convenience is strong.
In order to solve the problems of the technologies described above, technical scheme of the present invention is:
By a method for smart mobile phone identification Datamatrix Quick Response Code, step is,
Step (1) calling mobile phone platform camera, auto-focusing, image information is clear displaying under scan box;
Step (2) is analyzed the image information that scan box is shown, filters out non-Datamatrix image in 2 D code information; Datamatrix image in 2 D code information is analyzed, if possess the basic structure of Datamatrix Quick Response Code, then carries out next step;
According to the basic structure of Datamatrix Quick Response Code, step (3) judges that whether Datamatrix image in 2 D code information is complete, complete, carry out next step;
Datamatrix image in 2 D code information extracts by step (4);
Step (5) carries out rotation process to the Datamatrix image in 2 D code information extracted, and makes image information meet the angle of Datamatrix bar code protocol requirement;
Step (6), according to getting into principle, carries out black white binarization to the image information after rotating process;
Step (7) carries out Quick Response Code identification to binary image, the data message that reduction image information is corresponding, then this data message is formed packet and is exported or display by coded character by system interface.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, is called the mistake that binary image carries out Quick Response Code identification in step (7): carry out matrix change to binary image.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, carries out rotation change to matrix.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, carries out change of scale to matrix.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, carries out shear transformation to matrix.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, carries out the crooked conversion of top line to matrix.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, in step (7), coded character is numeric type coded character.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, in step (7), coded character is English words parent form coded character.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, in step (7), coded character is Chinese character character.
The above-mentioned method by smart mobile phone identification Datamatrix Quick Response Code, in step (7), coded character is mixed type character.
The method of identification Datamatrix Quick Response Code of the present invention is based on intelligent mobile phone platform, by mobile phone hardware---camera realizes the picked-up to Datamatrix image in 2 D code, identifies 2 D code information, and 2 D code information exports or display the most at last.The popularity of smart mobile phone is very high, and by smart mobile phone camera pickup image, by the accurate identification of image processing and analyzing to Datamatrix Quick Response Code, convenience is extremely strong.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention will be described in detail:
Fig. 1 is Datamatrix Quick Response Code basic block diagram.
Fig. 2 is Datamatrix Quick Response Code identification process figure.
In figure: 1 information data area, 2 positioning patterns.
Embodiment
Datamatrix Quick Response Code: Datamatrix original name Datacode, by international data company of the U.S. (InternationalDataMatrix is called for short IDMatrix) in invention in 1989.Datamatrix is a kind of matrix two-dimensional barcode, and the conception of its development wishes on less bar-code label stored in more data quantity.The minimum dimension of Datamatrix is minimum in current all bar codes, is especially specially adapted to the mark of finding, and is directly printed on entity.
As shown in Figure 1: the information data area 1 that each Datamatrix two-dimensional code symbol is made up of regularly arranged square module forms, the surrounding of information data area is surrounded by positioning pattern 2.The positioning pattern left side and following two adjacent sides are black solid line, form the positioning pattern of " L " property.The right and upper sid strip adjacent side are made up of the black and white module replaced, and concrete structure please refer to DaramatrixISO international standard.
That Fig. 2 shows is Datamatrix Quick Response Code identification process figure of the present invention.
By a method for smart mobile phone identification Datamatrix Quick Response Code, step is,
Step (1) calling mobile phone platform camera, auto-focusing: the present invention scans Datamatrix Quick Response Code by cell-phone camera head system, and adopts automatic focus adjustable, to make image clear displaying of energy under scan box.
Step (2) is analyzed the image information that scan box is shown, filters out non-Datamatrix image in 2 D code information; Datamatrix image in 2 D code information is analyzed, if possess the basic structure of Datamatrix Quick Response Code, then carries out next step;
Judge that whether figure is containing Datamatrix Quick Response Code; Software image signal processor identification frame hypograph information is carried out analysis and is detected, and filters out non-Datamatrix 2 D code information; Datamatrix Quick Response Code is detected and mainly basic structure analysis is carried out to it.Judge whether the Datamatrix basic structure existed as shown in Figure 1.
According to the basic structure of Datamatrix Quick Response Code, step (3) judges that whether Datamatrix image in 2 D code information is complete, complete, carry out next step;
Datamatrix integrality is differentiated: whether image-signal processor is by complete for the Datamatrix image in 2 D code obtained according to the comparison of accompanying drawing 1 basic structure.
Datamatrix image in 2 D code information extracts by step (4);
Extract image in 2 D code: this software image signal processor from identification block diagram picture after step (2) and step (3) judgement, Datamatrix image in 2 D code is extracted, preferably, the color image array extracted meets DaramatrixISO international standard, as accompanying drawing 1.
Step (5) carries out rotation process to the Datamatrix image in 2 D code information extracted, and makes image information meet the angle of Datamatrix bar code protocol requirement;
The anglec of rotation process of picture: image-signal processor carries out rotation process by the Datamatrix image in 2 D code of picked-up, makes image reach the angle meeting Datamatrix bar code protocol requirement in system.
Step (6), according to getting into principle, carries out black white binarization to the image information after rotating process;
Image in 2 D code binaryzation: image processor, according to getting into principle, carries out black white binarization operation to the image of picked-up.
Step (7) carries out Quick Response Code identification to binary image, the data message that reduction image information is corresponding, then this data message is formed packet and is exported or display by coded character by system interface;
Image in 2 D code identification: the built-in image-signal processor of these software systems carries out Quick Response Code identification to above-mentioned image, thus the data message that reduction Datamatrix Quick Response Code is corresponding, then form packet by this data message and directly export or show.
As Fig. 2: further, the identification of the image in 2 D code of Datamatrix Quick Response Code can be subdivided into following steps:
Transformation matrix: matrix change is carried out to the data that binaryzation obtains;
Rotate change: as needs then carry out rotation change to matrix;
Change of scale matrix: as needs then carry out change of scale to matrix;
Shear transformation matrix: as needs then carry out shear transformation to matrix;
The crooked conversion of top line: as needs then carry out the crooked conversion of top line to matrix;
Identification completes display result.
The display of recognition result: after signal processor completes the information processing to Datamatrix Quick Response Code, is presented on specific interface by system interface by coded character,
Coded character is mainly following several herein:
S81: numeric type coded character (numeral: 0 ~ 9);
S82: English words parent form coded character (English alphabet A ~ Z or a ~ z);
S83: the Chinese character character (character that GB18030-2000 appendix A double-byte characters table represents;
S84: mixed type character (comprise numeral, letter and Chinese character, three have concurrently or wherein both).
The present invention, mainly for the solution of existing deficiency and Datamatrix range of application about identifying Datamatrix contradiction more and more widely, is to the key breakthrough of Datamatrix Quick Response Code recognition technology convenience with popular style.
Claims (10)
1. by a method for smart mobile phone identification Datamatrix Quick Response Code, it is characterized in that: step is,
Step (1) calling mobile phone platform camera, auto-focusing, image information is clear displaying under scan box;
Step (2) is analyzed the image information that scan box is shown, filters out non-Datamatrix image in 2 D code information; Datamatrix image in 2 D code information is analyzed, if possess the basic structure of Datamatrix Quick Response Code, then carries out next step;
According to the basic structure of Datamatrix Quick Response Code, step (3) judges that whether Datamatrix image in 2 D code information is complete, complete, carry out next step;
Datamatrix image in 2 D code information extracts by step (4);
Step (5) carries out rotation process to the Datamatrix image in 2 D code information extracted, and makes image information meet the angle of Datamatrix bar code protocol requirement;
Step (6), according to getting into principle, carries out black white binarization to the image information after rotating process;
Step (7) carries out Quick Response Code identification to binary image, the data message that reduction image information is corresponding, then this data message is formed packet and is exported or display by coded character by system interface.
2. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 1, is characterized in that: be called the mistake that binary image carries out Quick Response Code identification in step (7): carry out matrix change to binary image.
3. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 2, is characterized in that: carry out rotation change to matrix.
4. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 2, is characterized in that: carry out change of scale to matrix.
5. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 2, is characterized in that: carry out shear transformation to matrix.
6. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 2, is characterized in that: carry out the crooked conversion of top line to matrix.
7. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 1, is characterized in that: in step (7), coded character is numeric type coded character.
8. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 1, is characterized in that: in step (7), coded character is English words parent form coded character.
9. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 1, is characterized in that: in step (7), coded character is Chinese character character.
10. the method by smart mobile phone identification Datamatrix Quick Response Code according to claim 1, is characterized in that: in step (7), coded character is mixed type character.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510665014.XA CN105138946A (en) | 2015-10-09 | 2015-10-09 | Datamatrix two-dimensional code identification method by means of intelligent mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510665014.XA CN105138946A (en) | 2015-10-09 | 2015-10-09 | Datamatrix two-dimensional code identification method by means of intelligent mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105138946A true CN105138946A (en) | 2015-12-09 |
Family
ID=54724290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510665014.XA Pending CN105138946A (en) | 2015-10-09 | 2015-10-09 | Datamatrix two-dimensional code identification method by means of intelligent mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105138946A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105437251A (en) * | 2016-01-04 | 2016-03-30 | 杭州亚美利嘉科技有限公司 | Method and device for locating position of robot |
CN105930757A (en) * | 2016-04-19 | 2016-09-07 | 飞天诚信科技股份有限公司 | Method and device for scanning two-dimensional code |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000082108A (en) * | 1998-06-30 | 2000-03-21 | Sony Corp | Two-dimensional code recognition processing method, device therefor and medium |
CN102819724A (en) * | 2012-08-02 | 2012-12-12 | 广东正迪科技股份有限公司 | Two-dimensional code label anti-counterfeiting identification system and method based on smart phone |
CN103336939A (en) * | 2013-06-21 | 2013-10-02 | 张家港保税区润桐电子技术研发有限公司 | System and method for identifying two-dimension code by using mobile phone |
CN104111954A (en) * | 2013-04-22 | 2014-10-22 | 腾讯科技(深圳)有限公司 | Location information acquisition method, location information acquisition device and location information acquisition system |
CN104715221A (en) * | 2015-03-25 | 2015-06-17 | 广州宽度信息技术有限公司 | Decoding method and system for ultra-low-contrast two-dimension code |
-
2015
- 2015-10-09 CN CN201510665014.XA patent/CN105138946A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000082108A (en) * | 1998-06-30 | 2000-03-21 | Sony Corp | Two-dimensional code recognition processing method, device therefor and medium |
CN102819724A (en) * | 2012-08-02 | 2012-12-12 | 广东正迪科技股份有限公司 | Two-dimensional code label anti-counterfeiting identification system and method based on smart phone |
CN104111954A (en) * | 2013-04-22 | 2014-10-22 | 腾讯科技(深圳)有限公司 | Location information acquisition method, location information acquisition device and location information acquisition system |
CN103336939A (en) * | 2013-06-21 | 2013-10-02 | 张家港保税区润桐电子技术研发有限公司 | System and method for identifying two-dimension code by using mobile phone |
CN104715221A (en) * | 2015-03-25 | 2015-06-17 | 广州宽度信息技术有限公司 | Decoding method and system for ultra-low-contrast two-dimension code |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105437251A (en) * | 2016-01-04 | 2016-03-30 | 杭州亚美利嘉科技有限公司 | Method and device for locating position of robot |
CN105437251B (en) * | 2016-01-04 | 2017-07-18 | 杭州亚美利嘉科技有限公司 | A kind of method and device of positioning robot position |
CN105930757A (en) * | 2016-04-19 | 2016-09-07 | 飞天诚信科技股份有限公司 | Method and device for scanning two-dimensional code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6595714B2 (en) | Method and apparatus for generating a two-dimensional code image having a dynamic effect | |
EP2568412B1 (en) | Apparatus for recognizing character and barcode simultaneously and method for controlling the same | |
CN103218595B (en) | The recognition methods of a kind of terminal and Quick Response Code | |
CN101504716B (en) | QR two-dimension bar code recognition method and system based on field programmable gate array | |
CN107423652B (en) | System and method for document processing | |
WO2014044159A1 (en) | Method and device for batch scanning 2d barcodes | |
CN109598162A (en) | Identify method, apparatus, terminal device and the storage medium of two dimensional code | |
CN102855514A (en) | Bidimensional-barcode-based anti-counterfeiting identification method and system | |
JP7096804B2 (en) | How to process a large number of decryptable stamps | |
CN102236810A (en) | QR (Quick Response) code with hidden codes, and formation and identification methods of hidden codes | |
CN101685482A (en) | Electric marking system capable of automatically processing marking results and method thereof | |
CN104281830A (en) | Two-dimension code identification method and device | |
CN101855640B (en) | Method for image analysis, especially for mobile wireless device | |
WO2011046127A1 (en) | Data collection system, portable terminal, seal, and data collection method | |
CN101296441B (en) | Method and device for scanning two-dimension bar code and transmitting message | |
CN103839027A (en) | Picture analysis method and picture analysis device | |
CN102799848A (en) | Commodity information identification method and commodity information identification device | |
CN105138946A (en) | Datamatrix two-dimensional code identification method by means of intelligent mobile phone | |
CN105787403A (en) | Barcode reading method and device of high-pixel image | |
CN103366208A (en) | Code marking system and product thereof | |
CN101901329A (en) | Method and device for recognizing low-resolution barcode | |
CN206115610U (en) | Books collection library management system of library | |
CN204360383U (en) | A kind of bar code recognizing apparatus of high pixel image processing | |
KR20130016931A (en) | Method and apparatus for controlling information processing using plural identification code | |
CN103854004A (en) | System for rapidly judging drug authenticity and giving alarm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160504 Address after: 250101 No. 2766, No. 402, Sau Ying Road, Ji'nan hi tech Zone, Shandong, 401 Applicant after: BIOLOGIX (JINAN) BIOTECHNOLOGY CO., LTD. Applicant after: Ruihua plastic (Changzhou) Co. Ltd. Address before: 250101 Room 401 and 2766, No. 402, show Road, Ji'nan hi tech Zone, Shandong, China Applicant before: BIOLOGIX (JINAN) BIOTECHNOLOGY CO., LTD. |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151209 |