CN103400100A - Qualcomm platform-based dimensional barcode data processing method and system thereof - Google Patents

Qualcomm platform-based dimensional barcode data processing method and system thereof Download PDF

Info

Publication number
CN103400100A
CN103400100A CN2013103273190A CN201310327319A CN103400100A CN 103400100 A CN103400100 A CN 103400100A CN 2013103273190 A CN2013103273190 A CN 2013103273190A CN 201310327319 A CN201310327319 A CN 201310327319A CN 103400100 A CN103400100 A CN 103400100A
Authority
CN
China
Prior art keywords
data
module
yuv422
quick response
response code
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
Application number
CN2013103273190A
Other languages
Chinese (zh)
Inventor
钟芹盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sheng Ben Intelligent Technology Co., Ltd.
Original Assignee
SHANGHAI BASEWIN TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SHANGHAI BASEWIN TECHNOLOGY Co Ltd filed Critical SHANGHAI BASEWIN TECHNOLOGY Co Ltd
Priority to CN2013103273190A priority Critical patent/CN103400100A/en
Publication of CN103400100A publication Critical patent/CN103400100A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a qualcomm platform-based dimensional barcode data processing method. The qualcomm platform-based dimensional barcode data processing method comprises the following steps: extracting readable gray scale data of image frame information containing a dimensional barcode through an image acquisition device and outputting YUV422 data through a parallel port-to-MIPI (Mobile Industry Processor Interface) module; transmitting data in YUV422 format to the qualcomm platform through a qualcomm CSI (CMOS Sensor Interface); converting the data in YUV422 format into data in YUV420 format by a VFE (Video Front End) module of the qualcomm platform; analyzing the data in the YUV420 format through a data analysis module and then extracting application gray scale data with a readable application layer so as to realize application of the dimensional barcode data by the qualcomm platform. The qualcomm platform-based dimensional barcode data processing method has the beneficial effect that the application of the dimensional barcode data parameters by the application layer of the qualcomm platform is realized through processing of the dimensional barcode image information.

Description

Quick Response Code data processing method and system thereof based on high-pass platform
Technical field
The present invention relates to technical field of data processing, especially relate to a kind of data processing method of Quick Response Code based on high-pass platform and system thereof.
Background technology
Quick Response Code (dimensional barcode), claim again two-dimensional bar code, is a kind of bar code with readability that expands on the basis of bar code.The device scan two-dimensional bar code, the binary data by putting down in writing in the identification length of bar code and width, can obtain the information that wherein comprises.Compare bar code, the data that the Quick Response Code record is more complicated, such as picture, network linking etc.Along with a large amount of of a series of digital products such as mobile phone that carry camera popularize, Quick Response Code also was widely used in the last few years.
At first existing Quick Response Code identification, all will obtain image in 2 D code by the camera in camera module, and then transmission out to the processor of equipment, resolves by the Quick Response Code recognizer of pre-installing on processor the identification that can complete Quick Response Code to image.High-pass platform is the processor of compatible Android system, is one of smart mobile phone processor main on present market.Generally, the image in 2 D code information that the Quick Response Code module is obtained is the processor that can't directly apply to equipment, especially on high-pass platform, show as two aspects: on the one hand, the physical bus mode is different, because Quick Response Code acquisition module image output bus mode is parallel port, and high-pass platform is serial ports, and then causes exporting obstacle; On the other hand, data layout do not support, because Quick Response Code acquisition module output image information is luma data, and high-pass platform is not supported this data layout.
Therefore, necessary based on the appearance of the Quick Response Code data processing method of high-pass platform.
Summary of the invention
The invention provides a kind of data processing method of Quick Response Code based on high-pass platform, to solve high-pass platform of the prior art, can't realize the problem that image in 2 D code is processed.
Technical matters solved by the invention realizes by the following technical solutions:
Quick Response Code data processing method based on high-pass platform comprises the following steps:
S1, extract the readable luma data of the image frame information that contains Quick Response Code by image collecting device;
S2, described luma data turn MIPI interface module output YUV422 data through parallel port;
S3, described YUV422 formatted data transfer to high-pass platform through high pass CSI interface;
The VFE module of S4, described high-pass platform is converted to the YUV420 formatted data with the YUV422 formatted data;
S5, described YUV420 formatted data extract the readable application luma data of application layer after data resolution module is resolved.
As preferred technical scheme, luma data described in step S2 comprises through the implementation method that parallel port turns MIPI interface module output YUV422 data:
A): described readable luma data is converted to 16 bit data;
Through the output of described image collecting device be the data of each pixel 8bits, i.e. { Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 }; The parallel port output terminal of described image collecting device is connected to described parallel port through 8 data lines and turns the DATA0-DATA7 data-interface of the input end of MIPI interface module, simultaneously, repeats above-mentioned every data lines and is connected to described parallel port and turns the DATA8-DATA15 data-interface of the input end of MIPI interface module, and then exported 16 bit data, i.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 }.
B): above-mentioned 16 bit data are assumed to the YUV422 formatted data, and output.
Described parallel port turns the MIPI interface module described 16 bit data is assumed to the YUV422 formatted data,
I.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 };
And according to the output of YUV422 formatted data, i.e. { { Y0, U0 }, { Y1, V0 }, { Y2, U1 }, { Y3, V1 }, { Y4, U2 }, { Y5, V2 }, { Y6, U3 }, { Y7, V3 } }.
As preferred technical scheme, described image collecting device comprises microprocessor module, and the each several part that is used for image collecting device is coordinated to control;
Imageing sensor, be used for catching the image in 2 D code data;
Laser Aiming Module, be used for locating picture position to be collected;
Illumination system, in order to abundant light source to be provided, the assurance image information can be sampled under more wide in range condition.
Quick Response Code data handling system based on high-pass platform comprises:
Image capture module, be used for extraction and contain the readable luma data of the image frame information of Quick Response Code;
The data transfer module, be used for transmitting described readable luma data, and described readable luma data be converted to the YUV422 formatted data;
High-pass platform, be used for connecing described YUV422 formatted data, and described YUV422 formatted data be converted to the YUV420 formatted data;
Data extraction module, in order to extract the readable application luma data of application layer in described YUV420 formatted data.
As preferred technical scheme, described image collecting device comprises microprocessor module, and the each several part that is used for image collecting device is coordinated to control;
Imageing sensor, be used for catching the image in 2 D code data;
Laser Aiming Module, be used for locating picture position to be collected;
Illumination system, in order to abundant light source to be provided, the assurance image information can be sampled under more wide in range condition.
As preferred technical scheme, described data transfer module is that parallel port turns the MIPI interface.
As preferred technical scheme, it is by the VFE module converts on described high-pass platform that described YUV422 formatted data is converted to the YUV420 formatted data.
The beneficial effect that the present invention has is:, by the processing to image in 2 D code information, realized that the application layer of high-pass platform can be to the application of Quick Response Code data parameters.
Description of drawings
In order to be illustrated more clearly in embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only embodiments more of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the present invention: based on the Quick Response Code data processing method process flow diagram of high-pass platform;
Fig. 2 is the present invention: based on the structural drawing of the Quick Response Code data handling system of high-pass platform;
Fig. 3 is the present invention, is converted to the schematic diagram of YUV422 data based on the luma data of the Quick Response Code data handling system of high-pass platform.
Embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect is easy to understand,, below in conjunction with concrete diagram, further set forth the present invention.
With reference to shown in Figure 1, the Quick Response Code data processing method based on high-pass platform comprises the following steps:
S1, extraction contain the readable luma data of Quick Response Code, by image collecting device, gather the image in 2 D code frame information, and extract the readable luma data of Quick Response Code after rough handling;
S2, described luma data turn MIPI interface module output YUV422 data through parallel port, and by the output of parallel port bus;
S3, described YUV422 formatted data transfer to high-pass platform through high pass CSI interface;
The VFE module of S4, described high-pass platform is converted to the YUV420 formatted data with the YUV422 formatted data;
S5, described YUV420 formatted data extract the readable application luma data of application layer after data resolution module is resolved.
Described image collecting device comprises microprocessor module, imageing sensor, Laser Aiming Module and illumination system.Microprocessor module is mainly used in the each several part of image collecting device and coordinates to control; Imageing sensor is used for catching the image in 2 D code data; Laser Aiming Module is used for locating picture position to be collected; Illumination system is in order to abundant light source to be provided, and the assurance image information can be sampled under more wide in range condition.
Wherein, luma data described in step S2 comprises through the implementation method that parallel port turns MIPI interface module output YUV422 data:
A): described readable luma data is converted to 16 bit data;
Through the output of described image collecting device be the data of each pixel 8bits, i.e. { Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 }; The parallel port output terminal of described image collecting device is connected to described parallel port through 8 data lines and turns the DATA0-DATA7 data-interface of the input end of MIPI interface module, simultaneously, repeats above-mentioned every data lines and is connected to described parallel port and turns the DATA8-DATA15 data-interface of the input end of MIPI interface module, and then exported 16 bit data, i.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 }.
B): above-mentioned 16 bit data are assumed to the YUV422 formatted data, and output.
Described parallel port turns the MIPI interface module described 16 bit data is assumed to the YUV422 formatted data,
I.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 };
And according to the output of YUV422 formatted data, i.e. { { Y0, U0 }, { Y1, V0 }, { Y2, U1 }, { Y3, V1 }, { Y4, U2 }, { Y5, V2 }, { Y6, U3 }, { Y7, V3 } }.
In step S4, the YUV422 formatted data is converted to the employing of YUV420 formatted data and is completed by the inner VFE module of high pass, and the method is a kind of universal method, repeats no more herein.
In step S5, from YUV420, obtain the original luma data that application layer can be used.General YUV420 picture format is actually Y'UV, and 420 refer to its sampling rate on YUV.In the form of YUV420, at first store the Y' value of each pixel, what then and then store is the U value of every 2*2 square formation once sampling, storage is the V value of every 2*2 square formation once sampling finally.So in the square formation of a 4*4, its data are stored as:
Start+00 Y00,Y01,Y02,Y03
Start+04 Y10,Y11,Y12,Y13
Start+08 Y20,Y21,Y22,Y23
Start+12 Y30,Y31,Y32,Y33
Start+16 Cr00,Cr01
Start+18 Cr10,Cr11
Start+20 Cb00,Cb01
Start+22 Cb10,Cb11
And then by address 0 to address the 16 complete readable application luma data of application layer of obtaining.
The present invention extracts the readable luma data of the image frame information that contains Quick Response Code by image collecting device, through parallel port, turn MIPI interface module output YUV422 data; Described YUV422 formatted data transfers to high-pass platform through high pass CSI interface; The VFE module of described high-pass platform is converted to the YUV420 formatted data with the YUV422 formatted data; Described YUV420 formatted data extracts the readable application luma data of application layer after data resolution module is resolved, thereby has realized the application of high-pass platform to the Quick Response Code data.
Shown in Fig. 2-3, the invention also discloses a kind of data handling system of Quick Response Code based on high-pass platform, comprising:
Image capture module 1, be used for extraction and contain the readable luma data of the image frame information of Quick Response Code;
Data transfer module 2, be used for transmitting described readable luma data, and described readable luma data be converted to the YUV422 formatted data;
High-pass platform 3, be used for connecing described YUV422 formatted data, and described YUV422 formatted data be converted to the YUV420 formatted data;
Data extraction module 4, in order to extract the readable application luma data of application layer in described YUV420 formatted data.
Wherein, described image collecting device 1 comprises microprocessor module 11, imageing sensor 12, Laser Aiming Module 13 and illumination system 14.Microprocessor module 11 is mainly used in the each several part of image collecting device and coordinates to control; Imageing sensor 12 is used for catching the image in 2 D code data; Laser Aiming Module 13 is used for locating picture position to be collected; Illumination system 14 is in order to abundant light source to be provided, and the assurance image information can be sampled under more wide in range condition.
Described data transfer module 2 turns the MIPI interface for parallel port, and parallel port turns the MIPI interface, under the prerequisite that does not change data content, data is converted to serial transmission by parallel transmission.Its implementation is:
101: described readable luma data is converted to 16 bit data;
Through the output of described image collecting device be the data of each pixel 8bits, i.e. { Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 }; The parallel port output terminal of described image collecting device is connected to described parallel port through 8 data lines and turns the DATA0-DATA7 data-interface of the input end of MIPI interface module, simultaneously, repeats above-mentioned every data lines and is connected to described parallel port and turns the DATA8-DATA15 data-interface of the input end of MIPI interface module, and then exported 16 bit data, i.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 }.
102: above-mentioned 16 bit data are assumed to the YUV422 formatted data, and output.
Described parallel port turns the MIPI interface module described 16 bit data is assumed to the YUV422 formatted data,
I.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 };
And according to the output of YUV422 formatted data, i.e. { { Y0, U0 }, { Y1, V0 }, { Y2, U1 }, { Y3, V1 }, { Y4, U2 }, { Y5, V2 }, { Y6, U3 }, { Y7, V3 } }.
It is that the method is a kind of universal method, repeats no more herein by the VFE module converts on described high-pass platform 3 that described YUV422 formatted data is converted to the YUV420 formatted data.
The present invention extracts the readable luma data of the image frame information that contains Quick Response Code by image collecting device, through parallel port, turn MIPI interface module output YUV422 data; Described YUV422 formatted data transfers to high-pass platform through high pass CSI interface; The VFE module of described high-pass platform is converted to the YUV420 formatted data with the YUV422 formatted data; Described YUV420 formatted data extracts the readable application luma data of application layer after data resolution module is resolved, thereby has realized the application of high-pass platform to the Quick Response Code data.
Above demonstration and described ultimate principle of the present invention and principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; that describes in above-described embodiment and instructions just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (7)

1., based on the Quick Response Code data processing method of high-pass platform, it is characterized in that, comprise the following steps:
S1, extract the readable luma data of the image frame information that contains Quick Response Code by image collecting device;
S2, described luma data turn MIPI interface module output YUV422 data through parallel port;
S3, described YUV422 formatted data transfer to high-pass platform through high pass CSI interface;
The VFE module of S4, described high-pass platform is converted to the YUV420 formatted data with the YUV422 formatted data;
S5, described YUV420 formatted data extract the readable application luma data of application layer after data resolution module is resolved.
2. the data processing method of the Quick Response Code based on high-pass platform according to claim 1, is characterized in that, luma data described in step S2 comprises through the implementation method that parallel port turns MIPI interface module output YUV422 data:
A): described readable luma data is converted to 16 bit data;
Through the output of described image collecting device be the data of each pixel 8bits, i.e. { Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7 }; The parallel port output terminal of described image collecting device is connected to described parallel port through 8 data lines and turns the DATA0-DATA7 data-interface of the input end of MIPI interface module, simultaneously, repeats above-mentioned every data lines and is connected to described parallel port and turns the DATA8-DATA15 data-interface of the input end of MIPI interface module, and then exported 16 bit data, i.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 }.
B): above-mentioned 16 bit data are assumed to the YUV422 formatted data, and output.
Described parallel port turns the MIPI interface module described 16 bit data is assumed to the YUV422 formatted data,
I.e. { Y0, Y0, Y1, Y1, Y2, Y2, Y3, Y3, Y4, Y4, Y5, Y5, Y6, Y6, Y7, Y7 };
And according to the output of YUV422 formatted data, i.e. { { Y0, U0 }, { Y1, V0 }, { Y2, U1 }, { Y3, V1 }, { Y4, U2 }, { Y5, V2 }, { Y6, U3 }, { Y7, V3 } }.
3. the data processing method of the Quick Response Code based on high-pass platform according to claim 1, is characterized in that, described image collecting device comprises microprocessor module, and the each several part that is used for image collecting device is coordinated to control;
Imageing sensor, be used for catching the image in 2 D code data;
Laser Aiming Module, be used for locating picture position to be collected;
Illumination system, in order to abundant light source to be provided, the assurance image information can be sampled under more wide in range condition.
4., based on the Quick Response Code data handling system of high-pass platform, it is characterized in that, comprising:
Image capture module, be used for extraction and contain the readable luma data of the image frame information of Quick Response Code;
The data transfer module, be used for transmitting described readable luma data, and described readable luma data be converted to the YUV422 formatted data;
High-pass platform, be used for connecing described YUV422 formatted data, and described YUV422 formatted data be converted to the YUV420 formatted data;
Data extraction module, in order to extract the readable application luma data of application layer in described YUV420 formatted data.
5. the data processing method of the Quick Response Code based on high-pass platform according to claim 4, is characterized in that, described image collecting device comprises microprocessor module, and the each several part that is used for image collecting device is coordinated to control;
Imageing sensor, be used for catching the image in 2 D code data;
Laser Aiming Module, be used for locating picture position to be collected;
Illumination system, in order to abundant light source to be provided, the assurance image information can be sampled under more wide in range condition.
6. the data processing method of the Quick Response Code based on high-pass platform according to claim 4, is characterized in that, described data transfer module is that parallel port turns the MIPI interface.
7. the data processing method of the Quick Response Code based on high-pass platform according to claim 4, is characterized in that, it is by the VFE module converts on described high-pass platform that described YUV422 formatted data is converted to the YUV420 formatted data.
CN2013103273190A 2013-07-30 2013-07-30 Qualcomm platform-based dimensional barcode data processing method and system thereof Pending CN103400100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103273190A CN103400100A (en) 2013-07-30 2013-07-30 Qualcomm platform-based dimensional barcode data processing method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103273190A CN103400100A (en) 2013-07-30 2013-07-30 Qualcomm platform-based dimensional barcode data processing method and system thereof

Publications (1)

Publication Number Publication Date
CN103400100A true CN103400100A (en) 2013-11-20

Family

ID=49563721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103273190A Pending CN103400100A (en) 2013-07-30 2013-07-30 Qualcomm platform-based dimensional barcode data processing method and system thereof

Country Status (1)

Country Link
CN (1) CN103400100A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556791A (en) * 2009-05-19 2009-10-14 武汉长江通信产业集团股份有限公司 Method for converting and processing format of YCbCr data captured and driven by DSP video
US20110115950A1 (en) * 2006-04-03 2011-05-19 Omnivision Technologies, Inc. Advanced Imaging Systems And Methods Utilizing Nonlinear and/Or Spatially Varying Image Processing
CN102819724A (en) * 2012-08-02 2012-12-12 广东正迪科技股份有限公司 Two-dimensional code label anti-counterfeiting identification system and method based on smart phone
CN103179455A (en) * 2013-04-01 2013-06-26 上海盛本通讯科技有限公司 Android-system-based video encryption system and encrypting and decrypting method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110115950A1 (en) * 2006-04-03 2011-05-19 Omnivision Technologies, Inc. Advanced Imaging Systems And Methods Utilizing Nonlinear and/Or Spatially Varying Image Processing
CN101556791A (en) * 2009-05-19 2009-10-14 武汉长江通信产业集团股份有限公司 Method for converting and processing format of YCbCr data captured and driven by DSP video
CN102819724A (en) * 2012-08-02 2012-12-12 广东正迪科技股份有限公司 Two-dimensional code label anti-counterfeiting identification system and method based on smart phone
CN103179455A (en) * 2013-04-01 2013-06-26 上海盛本通讯科技有限公司 Android-system-based video encryption system and encrypting and decrypting method thereof

Similar Documents

Publication Publication Date Title
JP6595714B2 (en) Method and apparatus for generating a two-dimensional code image having a dynamic effect
CN109978931B (en) Three-dimensional scene reconstruction method and device and storage medium
US20190188916A1 (en) Method and apparatus for augmenting reality
CN106846495B (en) Method and device for realizing augmented reality
US9081412B2 (en) System and method for using paper as an interface to computer applications
CN103986869A (en) Image collecting and displaying device of high-speed TDICCD remote sensing camera
CN109325986B (en) Sketch drawing method and device
CN107220208B (en) Image processing system and method
CN103412954A (en) Virtual dynamic magazine using augmented reality technique
CN111709414A (en) AR device, character recognition method and device thereof, and computer-readable storage medium
KR20100120753A (en) Image sensor and image sensing method for character recognition
CN111027613A (en) Scene character recognition method and device, storage medium and terminal
CN103607524A (en) Cigarette case 32-bit code image acquisition and processing device and cigarette case 32-bit code identification method
CN103886510A (en) Agricultural product whole process traceability system and method based on image recognition
CN102915549A (en) Image file processing method and device
CN105721789A (en) Low-latency omni-directional navigation video multi-mode display control method
CN111026386A (en) Jigsaw programmable instruction input method and system based on image recognition
CN201628974U (en) System for checking inventory in stereoscopic warehouse
CN105117390A (en) Screen capture-based translation method and system
CN111507325A (en) Industrial visual OCR recognition system and method based on deep learning
CN103400100A (en) Qualcomm platform-based dimensional barcode data processing method and system thereof
CN202872972U (en) Image monitoring and processing device
CN111144141A (en) Translation method based on photographing function
CN108053409B (en) Automatic construction method and system for remote sensing image segmentation reference library
CN104916174A (en) Intelligent touch and talk pen system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20160128

Address after: 200235, room 5, building 20, 102 middle Xu Xu Road, Shanghai, Xuhui District

Applicant after: Shanghai Sheng Ben Intelligent Technology Co., Ltd.

Address before: 200235, 4, 20 middle Xu Xu Road, Shanghai, Xuhui District

Applicant before: Shanghai Basewin Technology Co., Ltd.

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131120