Method and device for parsing images

US9330291B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9330291-B2
Application numberUS-201514713113-A
CountryUS
Kind codeB2
Filing dateMay 15, 2015
Priority dateNov 22, 2012
Publication dateMay 3, 2016
Grant dateMay 3, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

According to an example, a method for parsing an image may be provided. An image on a device may be processed by the device. Key characteristics of the image may be obtained by the device. The image may be parsed by the device with a two-dimension decoding mode. Content information of the image may be obtained by the device.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for parsing an image, comprising: processing, by a device, an image on the device; obtaining, by the device, key characteristics of the image; parsing, by the device, the image with a two-dimension decoding mode; and obtaining, by the device, content information of the image; wherein processing, by the device, the image on the device and obtaining, by the device, the key characteristics of the image comprises: converting, by the device, the image on the device into a Grayscale image; detecting, by the device, the Grayscale image; identifying, by the device, positioning images of the Grayscale image; and taking, by the device, the positioning images of the Grayscale as the key characteristics of the image. 2. The method according to claim 1 , further comprising: determining, by the device, whether the key characteristics of the image are characteristics of a two-dimension code; wherein parsing, by the device, the image with the two-dimension decoding mode comprises: parsing, by the device, the image with the two-dimension decoding mode if the key characteristics of the image are the characteristics of the two-dimension code. 3. The method according to claim 2 , wherein converting, by the device, the image on the device into the Grayscale image comprises: reading, by the device, Red Green Blue (RGB) values of pixels of the image; saving, by the device, the RGB values of the pixels of the image in a binary array; and converting, by the device, the RGB values in the binary array into YUV values with a YUV algorithm. 4. The method according to claim 3 , wherein determining whether the key characteristics of the image are the characteristics of the two-dimension code comprises: determining whether the positioning images of the Grayscale image are positioning images of the two-dimension code; determining that the key characteristics of the image are the characteristics of the two-dimension code if the positioning images of the Grayscale image are the positioning images of the two-dimension code; wherein the two-dimension code comprises: a Multi-row two-dimension code or a matrix two-dimension code. 5. The method according to claim 4 , wherein before processing, by the device, the image on the device and obtaining the key characteristics of the image, the method further comprises: receiving a processing instruction of the image; wherein the processing instruction comprises: an instruction generated by clicking on the image, an instruction generated by pressing the image exceeding a preset length of time or an instruction generated by a selection menu; wherein if the key characteristics of the image are the characteristics of the two-dimension code, before parsing the image with the two-dimension decoding mode and obtaining the content information of the image, the method further comprises: outputting an image processing menu to make a response to the processing instruction; wherein the image processing menu comprises a two-dimension reading option; wherein parsing the image with the two-dimension decoding mode and obtaining the content information of the image comprises: parsing the image with the two-dimension decoding mode and obtaining the content information of the image if the two-dimension reading option is selected. 6. The method according to claim 5 , wherein parsing the image with the two-dimension decoding mode and obtaining the content information of the image comprises: positioning an area of the two-dimension code in the image according to position of the positioning images of the Grayscale image; reading the area of the two-dimension code; decoding the read two-dimension code; and obtaining the content information of the image. 7. The method according to claim 1 , wherein after obtaining the content information of the image, the method further comprises: outputting the content information of the image; wherein the image comprises: an image on a webpage on the device, an image stored in the device or an image in a file displayed on the device. 8. A device for parsing an image, comprising: a processing module, to process an image on the device and obtain key characteristics of the image; and a parsing module, to parse the image with a two-dimension decoding mode and obtain content information of the image; wherein the processing module comprises: a conversion unit, to convert the image on the device into a Grayscale image; and an identification processing unit, to detect the Grayscale image, identify positioning images of the Grayscale image and take the positioning images of the Grayscale image as the key characteristics of the image. 9. The device according to claim 8 , further comprising: a determination module, to determine whether the key characteristic of the image are characteristics of a two-dimension code; wherein the parsing module is further to parse the image with the two-dimension decoding mode and obtain the content information of the image if the key characteristics of the image are the characteristics of the two-dimension code. 10. The device according to claim 9 , wherein the conversion unit comprises: a reading sub-unit, to read Red Green Blue (RGB) values of pixels of the image; a storage sub-unit, to store the RGB values of the pixels of the image in a binary array; and a conversion sub-unit, to convert the RGB values in the binary array into YUV values with a YUV algorithm. 11. The device according to claim 10 , wherein the determination module comprises: a checking unit, to determine whether the positioning images of the Grayscale image are positioning images of the two-dimension code; a determination unit, to determine that the key characteristics of the image are the characteristics of the two-dimension code if the positioning images of the Grayscale image are the positioning image of the two-dimension code; wherein the two-dimension code comprises: a Multi-row two-dimension code or a matrix two-dimension code. 12. The device according to claim 11 , further comprising: an instruction module, to receive a processing instruction of the image, instruct the processing module to process the image on the device and obtain the key characteristics of the image; wherein the processing instruction comprises: an instruction generated by clicking on the image, an instruction generated by pressing the image exceeding a preset length of time or an instruction generated by a selection menu; a response module, to output an image processing menu to make a response to the processing instruction if the key characteristics of the image are the characteristics of the two-dimension code; wherein the image processing menu comprises a two-dimension reading option; the response module is further to instruct the parsing module to parse the image with the two-dimension decoding mode and obtain the content information of the image if the two-dimension reading option is selected. 13. The device according to claim 12 , wherein the parsing module comprises: a positioning unit, to position an area of the two-dimension code in the image according to the positioning images of the Grayscale image; and a parsing unit, to read the area of the two-dimension code and decode the read two-dimension code and obtain the content information. 14. The device according to claim 8 , further comprising: a content outputting module, to output the content information of the image; wherein the image comprises: an image on a webpage on the device, an image stored in the device or an image in a file displayed on the device. 15. A

Assignees

Inventors

Classifications

  • G06K7/1443Primary

    locating of the code in an image · CPC title

  • Interaction with lists of selectable items, e.g. menus · CPC title

  • adapting the threshold for pixels in a CMOS or CCD pixel sensor for black and white recognition · CPC title

  • G06K7/1417Primary

    2D bar codes · CPC title

  • extracting optical codes from image or text carrying said optical code · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9330291B2 cover?
According to an example, a method for parsing an image may be provided. An image on a device may be processed by the device. Key characteristics of the image may be obtained by the device. The image may be parsed by the device with a two-dimension decoding mode. Content information of the image may be obtained by the device.
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06K7/1443. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 03 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).