CN106548110A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN106548110A
CN106548110A CN201610940619.XA CN201610940619A CN106548110A CN 106548110 A CN106548110 A CN 106548110A CN 201610940619 A CN201610940619 A CN 201610940619A CN 106548110 A CN106548110 A CN 106548110A
Authority
CN
China
Prior art keywords
picture
identification code
terminal
module
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
CN201610940619.XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610940619.XA priority Critical patent/CN106548110A/en
Publication of CN106548110A publication Critical patent/CN106548110A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses a kind of image processing method and device;The method includes after the first picture of terminal taking, preserves the first picture;Judge the first picture whether comprising identification code;As the first picture includes identification code, then the first picture is referred in picture processing set;When terminal is connected to network, the first picture is obtained from picture processing set;Identification code in first picture is processed;The program when terminal is connected to network, is taken out the picture from picture processing set and is processed, so as to improve the treatment effeciency of the picture comprising identification code by the picture comprising identification code is stored in picture processing set.

Description

Image processing method and device
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of image processing method and device.
Background technology
With the development of internet, many businessmans are by being printed on newspaper, magazine, advertisement, figure by identification codes such as Quick Response Codes In the variety carriers such as book, packaging, so that user quickly and easily browses webpage, download figure by mobile phone camera scanning recognition code Text, software, music, video, understanding enterprise product information etc..
This browses webpage, the process of download software needs to consume a large amount of mobile phone flows, therefore some trade companies can provide Network is for users to use for WiFi (WIreless-FIdelity, Wireless Fidelity).If no WiFi, user can only consume mobile phone Mobile data flow.As mobile data flow charging is higher at this stage, therefore user can typically select mobile data flow bag Month set meal, when mobile data flow has been run out of or user thinks that consuming excessive mobile data flow does not calculate, user Be typically chosen and the Quick Response Code is taken, the identification code is recognized again when the upper WiFi network of mobile phone connection, to check related letter Breath.
Identification code timely do not recognize after identification code as user is taken, therefore user may forget that oneself shoots Identification code is crossed, so as to cause user to obtain information in time.The identification code photo can be accidentally deleted even, causing can not as user Acquisition information.
The content of the invention
The embodiment of the present invention provides a kind of image processing method and device, can solve the existing picture comprising identification code The relatively low technical problem for the treatment of effeciency.
The embodiment of the present invention provides a kind of image processing method, including:
After the first picture of terminal taking, first picture is preserved;
Judge first picture whether comprising identification code;
As first picture includes identification code, then first picture is referred in picture processing set;
When the terminal is connected to network, first picture is obtained from the picture processing set;
Identification code in first picture is processed.
The embodiment of the present invention additionally provides a kind of picture processing device, including:
Preserving module, for, after the first picture of terminal taking, preserving first picture;
First judge module, for judging first picture whether comprising identification code;
Classifying module, for when first picture includes identification code, first picture being referred to picture processing In set;
Acquisition module, for when the terminal is connected to network, obtaining described first from the picture processing set Picture;
Processing module, for processing to the identification code in first picture.
The embodiment of the present invention is adopted after the first picture of terminal taking, preserves the first picture;Judge whether the first picture wraps Containing identification code;As the first picture includes identification code, then the first picture is referred in picture processing set;When terminal is connected to net During network, the first picture is obtained from picture processing set;Identification code in first picture is processed;The program is by end When end does not connect network, the picture comprising identification code is stored in picture processing set, when terminal is connected to network, from Take out the picture to be processed in picture processing set, so as to improve the treatment effeciency of the picture comprising identification code.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 is the flow chart of image processing method provided in an embodiment of the present invention.
Fig. 2 is the first picture processing interface display figure provided in an embodiment of the present invention.
Fig. 3 is that second picture provided in an embodiment of the present invention processes interface display figure.
Fig. 4 is the flow chart of another image processing method provided in an embodiment of the present invention.
Fig. 5 is the structural representation of picture processing device provided in an embodiment of the present invention.
Fig. 6 is the structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " and " the 4th " in the present invention etc. be for distinguishing different objects, rather than For describing particular order.Additionally, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive Comprising.Process, method, system, product or the equipment for for example containing series of steps or unit is not limited to what is listed Step or unit, but alternatively also include the step of not listing or unit, or alternatively also include for these processes, side Other intrinsic steps of method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
The executive agent of image processing method provided in an embodiment of the present invention, can be picture provided in an embodiment of the present invention Processing meanss, or the terminal of the picture processing device is integrated with, the picture processing device can adopt hardware or soft The mode of part is realized;Terminal described by the embodiment of the present invention can be smart mobile phone (such as Android phone, Windows Phone mobile phones etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or the mobile device such as Wearable, above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end End.
The embodiment of the present invention provides a kind of image processing method, device and terminal.It is described in detail respectively below.
Angle from picture processing device is described by the present embodiment, the picture processing device specifically can with software or The form of hardware is integrated in the terminal, and the terminal can be the equipment such as smart mobile phone, panel computer.Fig. 1 is refer to, Fig. 1 is this The flow chart of the first image processing method that inventive embodiments are provided.The method for comprising identification code picture at Reason, concrete steps include:After the first picture of terminal taking, the first picture is preserved;Judge the first picture whether comprising identification code; As the first picture includes identification code, then the first picture is referred in picture processing set;When terminal is connected to network, from figure The first picture is obtained in piece process set;Identification code in first picture is processed.
Below each step of the image processing method of the embodiment of the present invention is described in detail.
S101, after the first picture of terminal taking, preserve the first picture.
Wherein, identification code refers to that one-dimension code, Quick Response Code and bar code etc., by special coding, express a group information Graphical identifier.Can realize that information is located automatically by image input device or photoelectric scanning device automatically identifying and reading these identification codes Reason.Such as Quick Response Code certain specific geometric figure according to certain rules plane (on two-dimensional directional) be distributed it is chequered with black and white Graphic recording data symbol information, by mobile phone camera scanning recognition code quickly and easily can browse webpage, download picture and text, Software, music, video, understanding enterprise product information etc.;Multiple secret notes and blank that and for example width is not waited by bar code, according to one Fixed coding rule arrangement, by recognizing that the bar code of article can read the producing country of article, manufacturing firm, trade name Much information such as title, date of manufacture.
Preferably, as the information expressed by the identification codes such as above Quick Response Code, bar code is read, connection network is needed to disappear Consumption flow, browses webpage, download software particularly by Quick Response Code and is even more and needs to consume substantial amounts of flow.For example, work as user When wanting that scanning Quick Response Code enters businessman official website, if run into terminal and shut down to connect network, or no WiFi can connect, When can only connect mobile data network and consuming the situation of a large amount of mobile data flows, user can by terminal camera by this two Dimension code is taken, and at this moment terminal will generate the picture comprising 2 D code information, and preserve, so as in connection during WiFi, By recognizing that the Quick Response Code enters businessman official website.For example, multiple files are generally there are in mobile phone, such as " camera " file For preserving the picture of mobile phone shooting, " screenshotss record screen " preserve mobile phone by the picture that generates to screenshot capture.And work as user's use After mobile phone shoots picture, acquiescence is saved in the picture in " camera " file by terminal.
S102, judge the first picture whether comprising identification code.
Then whether the first picture of terminal judges does not such as include identification code, then turns comprising identification code carrying out respective handling Enter step S103;Step S104 is proceeded to if comprising identification code.
S103, such as the first picture do not include identification code, then the first picture is not processed.
If terminal does not include identification code in finding the first picture, first picture need to only be preserved by terminal, no Need to carry out which other process.
S104, such as the first picture include identification code, then the first picture is referred in picture processing set.
It should be noted that it is picture of the storage comprising identification code that the picture processing set can be terminal, and specially open The memory space warded off.When only terminal is in networking state, just can be at the picture that is stored in the picture processing set Reason.
By taking mobile phone as an example, there is a file " identification code picture " specially to place the picture comprising identification code thereon.At this In preferred embodiment, whether can not connect network in terminal, or user is temporarily not desired to situation about being processed to identification code Under, all first the first picture comprising identification code is referred in picture processing set, is located when networked in order to terminal in the future in time Manage first picture.Can so be prevented effectively from and the picture comprising identification code be forgotten or delete by mistake because of user, and cause to comprising knowledge The treatment effeciency of the picture of other code is reduced.
Preferably, the picture processing set can also be only intended to distinguish the first picture and other figures not comprising identification code One tag set of piece, specifically includes " two-dimension code image " label, " one-dimension code picture " label, " bar code picture " label Deng.The picture processing set is used for the picture for indicating to need to be identified processing, and such as " two-dimension code image " label is indicated comprising two The picture of dimension code.Now, it is not necessary to memory space is additionally opened up in terminal system to store the first picture, first picture can To be stored in same file folder with other pictures, when needing to obtain first picture, picture processing set can be passed through To obtain.Terminal storage space not only can be further saved so, it is also possible to which the picture comprising identification code is carried out at classification Reason, so as to further increase the treatment effeciency of the picture comprising identification code.
S105, when terminal is connected to network, the first picture is obtained from picture processing set.
In the preferred embodiment, when terminal is connected to network, triggering terminal unlatching is processed to the first picture, first The first picture first will be obtained from picture processing set, and by first picture presentation to user, points out user first picture In comprising needing identification code to be processed.Specifically, as shown in Fig. 2 " identification " button can be shown below the first picture, when with When " identification " button is clicked at family, triggering is generated the instruction processed to the first picture, after terminal receives the instruction, by root Picture is processed according to the instruction.
S106, the identification code in the first picture is processed.
Specifically, the phenomenon such as first even to noise, uneven illumination present in identification code picture carries out Image semantic classification, to drop Low identification error rate.For example, gray processing process is carried out to colored picture first, reuses medium filtering and eliminate noise, connect Carries out binary conversion treatment, goes out for identification code to be decoded finally by edge extracting.Then read the knowledge through pretreatment Other code, and the identification code is decoded.By taking Quick Response Code decoding as an example, the black and white that sampling grid obtains Quick Response Code can be first set up Information;Then mask information is extracted, the data-encoding area of Quick Response Code is carried out eliminating mask calculating;After eliminating mask, can The final code word of Quick Response Code is got enough;Finally according to the coded system of each segment data, corresponding coding/decoding method is taken to be solved Code is calculated.By taking Quick Response Code as an example, decoded information will be obtained after decoding to Quick Response Code for a chained address, i.e. Quick Response Code quilt The chained address is will jump to after identification.As, in Fig. 3, after user clicks " identification " button, jumped to mobile phone official website homepage.
The image processing method of the embodiment of the present invention by will be stored in picture processing set comprising the picture of identification code, When terminal is connected to network, the picture is taken out from picture processing set and is processed, so as to improve comprising identification code The treatment effeciency of picture.
The present embodiment will be described further to image processing method of the present invention on the basis of above-described embodiment.
Angle from picture processing device is described by the present embodiment, the picture processing device specifically can with software or The form of hardware is integrated in the terminal, and the terminal can be the equipment such as smart mobile phone, panel computer.
Fig. 4 is refer to, Fig. 4 is the flow chart of another image processing method provided in an embodiment of the present invention.Below to this Each step of the image processing method of bright embodiment is described in detail.
S201, after the first picture of terminal taking, preserve the first picture;Judge the first picture whether comprising identification code;Such as First picture includes identification code, then judge whether terminal is connected to network;Network is such as not connected to, then the first picture is sorted out To in picture processing set.
Wherein, identification code refers to that one-dimension code, Quick Response Code and bar code etc., by special coding, express a group information Graphical identifier.Meanwhile, information can be realized by image input device or photoelectric scanning device automatically identifying and reading these identification codes Automatically process.The black and white that such as Quick Response Code is distributed in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure Alternate graphic recording data symbol information, by mobile phone camera scanning recognition code quickly and easily can browse webpage, under Carry picture and text, software, music, video, understanding enterprise product information etc.;Multiple secret notes and sky that and for example width is not waited by bar code In vain, arrange according to certain coding rule, by recognizing that the bar code of article can read the producing country of article, manufactory Much information such as family, trade name, date of manufacture.
Preferably, as the information expressed by the identification codes such as above Quick Response Code, bar code is read, connection network is needed to disappear Consumption flow, browses webpage, download software particularly by Quick Response Code and is even more and needs to consume substantial amounts of flow.For example, work as user When wanting that scanning Quick Response Code enters businessman official website, if run into terminal and shut down to connect network, or no WiFi can connect, When can only connect mobile data network and consuming the situation of a large amount of mobile data flows, user can by terminal camera by this two Dimension code is taken, and at this moment terminal will generate the picture comprising 2 D code information, and preserve, so as in connection during WiFi, By recognizing that the Quick Response Code enters businessman official website.For example, multiple files are generally there are in mobile phone, such as " camera " file For preserving the picture of mobile phone shooting, " screenshotss record screen " preserve mobile phone by the picture that generates to screenshot capture.And work as user's use After mobile phone shoots picture, acquiescence is saved in the picture in " camera " file by terminal.
To sum up, after the first picture of terminal taking, first judge that the first picture, whether comprising identification code, is then carried out corresponding again Process.
If identification code is included in the first picture, judge whether terminal is connected to network.It should be noted that network bag Include the networks such as mobile data network, wireless fidelity network.If terminal had both been not connected to mobile data network and had not connected To other any networks, now the identification code in the first picture can not be processed, therefore first picture should be referred to In picture processing set, processed to be connected to network in the future in time.
It should be noted that it is picture of the storage comprising identification code that the picture processing set can be terminal, and specially open The memory space warded off.Only terminal just can be processed to the picture being stored in the picture processing set in when networking.
By taking mobile phone as an example, there is a file " identification code picture " specially to place the picture comprising identification code thereon.At this In preferred embodiment, whether can not connect network in terminal, or user is temporarily not desired to situation about being processed to identification code Under, all first the first picture comprising identification code is referred in picture processing set, is located when networked in order to terminal in the future in time Manage first picture.Can so be prevented effectively from and the picture comprising identification code be forgotten or delete by mistake because of user, and cause to comprising knowledge The treatment effeciency of the picture of other code is reduced.
Preferably, the picture processing set can also be only intended to distinguish the first picture and other figures not comprising identification code One tag set of piece, specifically includes " two-dimension code image " label, " one-dimension code picture " label, " bar code picture " label Deng.The picture processing set is used for the picture for indicating to need to be identified processing, and such as " two-dimension code image " label is indicated comprising two The picture of dimension code.Now, it is not necessary to memory space is additionally opened up in terminal system to store the first picture, first picture can To be stored in same file folder with other pictures, when needing to obtain first picture, picture processing set can be passed through To obtain.Terminal storage space not only can be further saved so, it is also possible to which the picture comprising identification code is carried out at classification Reason, so as to further increase the treatment effeciency of the picture comprising identification code.
Preferably, due to recognizing Quick Response Code to browse webpage, download software during to consume more flow, and such as The use of mobile data flow is really very expensive during this.Therefore in embodiments of the present invention, the network is preferably nothing Line fidelity networking, i.e., be connected to mobile data network when detecting terminal, as long as no connection wireless fidelity network, all by first Picture is referred in picture processing set, is connected to after wireless fidelity network in order to terminal and is recognized again.Flower can so be reduced Take.
If terminal is connected to network, first picture is processed.In identification codes such as existing identification Quick Response Codes During, need user first to open the application with " sweep and sweep " function, then find the choosing of " sweep and sweep " function in this application , it is somebody's turn to do " sweep and sweep " function to realize the identification to identification code by selection.And in the preferred embodiment, only need user to pass through Identification code is filmed by the camera application in terminal, and terminal can be identified to the identification code automatically, substantially increased The efficiency processed by identification code.
S202, when terminal is connected to network, the first picture is obtained from picture processing set;Show the first picture.
When terminal is connected to network, the first picture is obtained from picture processing set, and first picture presentation is given User, points out in user first picture comprising needing identification code to be processed.Specifically, as shown in Fig. 2 can be in the first picture Lower section shows " identification " button, when user clicks on " identification " button, triggering is generated the instruction processed to the first picture, After terminal receives the instruction, picture will be processed according to the instruction.
S203, judge the instruction processed to the first picture whether is received in Preset Time.
Judge the instruction processed to the first picture whether is received in Preset Time, if do not received, proceed to Step S204;If receiving instruction, step S205 is proceeded to.
S204, instruction is not such as received, then preserve the first picture.
As do not received instruction, illustrate that user have ignored the identification code in first picture, i.e. user and be not desired to identification at that time The identification code is to obtain information, so the first picture is sorted out to get up, so that future is processed.
S205, instruction is such as received, then read identification code;Identification code is decoded, decoded information is obtained;From at picture In reason set, the first picture through identifying processing is deleted.
Instruction is such as received, illustrates that user wishes to recognize the identification code in first picture to obtain information, therefore to this Identification code is processed.Specifically, the phenomenon such as first even to noise, uneven illumination present in identification code picture carries out image and locates in advance Reason, to reduce recognizing error rate.For example, gray processing process is carried out to colored picture first, reuses medium filtering elimination Noise, then carries out binary conversion treatment, goes out for identification code to be decoded finally by edge extracting.Then read through pre- place The identification code of reason, and the identification code is decoded.By taking Quick Response Code decoding as an example, can first set up sampling grid and obtain Quick Response Code Monochrome informatio;Then mask information is extracted, the data-encoding area of Quick Response Code is carried out eliminating mask calculating;Eliminate mask Afterwards, i.e., the final code word of Quick Response Code can be got;Finally according to the coded system of each segment data, corresponding coding/decoding method is taken Carry out decoding calculating.By taking Quick Response Code as an example, decoded information will be obtained after decoding to Quick Response Code for a chained address, i.e., two The chained address be will jump to after dimension code is identified.For example, after in Fig. 2, user clicks " identification " button, will jump to Mobile phone official website homepage, is mobile phone official website homepage as shown in Figure 3.Finally the first picture through identifying processing is deleted, to reduce Unnecessary memory consumption.
S206, judge in picture processing set with the presence or absence of second picture;Such as there is second picture, then in second picture Identification code processed.
Step S205 completes the process to the first picture, whether there is the second figure in then judging picture processing set Piece, wherein second picture can be that the picture comprising identification code with the shooting of the first picture same period, or user temporarily do not locate The picture comprising identification code of reason.If there is second picture, then then the identification code in second picture is processed.Specifically , the process processed to the first picture by step S205 is referred to, here is omitted.User can so be made to multiple Picture is processed, and further increases treatment effeciency.
On the basis of above-described embodiment, the image processing method of the embodiment of the present invention when terminal does not connect network, The first picture comprising identification code is categorized in picture processing set, when terminal connects network, from picture processing set Take out first picture to be processed, and after the first picture has been processed, point out user to process second picture, so as to enter One step improves the efficiency processed to the picture comprising identification code.
In order to preferably implement above method, the embodiment of the present invention also provides a kind of picture processing device, the picture processing Device can with it is integrated in the terminal, the terminal can be specifically the equipment such as smart mobile phone, panel computer.As shown in figure 5, the picture Processing meanss 30 include preserving module 301, the first judge module 302, classifying module 303, acquisition module 304 and processing module 305.It is described in detail below:
Preserving module 301, for, after the first picture of terminal taking, preserving the first picture;First judge module 302, uses In judging the first picture whether comprising identification code;Classifying module 303, for when the first picture includes identification code, by the first figure Piece is referred in picture processing set;Acquisition module 304, for when terminal is connected to network, obtaining from picture processing set Take the first picture;Processing module 305, for processing to the identification code in the first picture.
Further, picture processing device 30 also includes the second judge module, is described in detail below:
Second judge module, for judging whether terminal is connected to network;Classifying module 303, specifically for not connecting When being connected to network, the first picture is referred in picture processing set.
Further, processing module 305 includes reading submodule and decoding sub-module, is described in detail below:
Reading submodule, for reading identification code;Decoding sub-module, for decoding to identification code, obtains decoding letter Breath.
Further, processing module 305 also includes showing submodule, judging submodule and preserves submodule, specific descriptions It is as follows:
Show submodule, for showing the first picture;Judging submodule is right for judging whether receive in Preset Time The instruction processed by first picture;Reading submodule, specifically for receiving during instruction, reads identification code;Preserve submodule, For not receiving during instruction, the first picture is preserved.
The picture processing device of the embodiment of the present invention by will be stored in picture processing set comprising the picture of identification code, When terminal is connected to network, the picture is taken out from picture processing set and is processed, so as to improve comprising identification code The treatment effeciency of picture.
The present embodiment provides a kind of terminal, such as, refer to Fig. 6, and the terminal 400 can include radio frequency (RF, Radio Frequency) circuit 401, include the memory 402, input block of one or more computer-readable recording mediums 403rd, display unit 404, sensor 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless Fidelity) module 407th, the parts such as the processor 408 and power supply 409 of or more than one processing core are included.Those skilled in the art It is appreciated that the restriction of the terminal structure illustrated in Fig. 6 not structure paired terminal, can be included than illustrating more or less of portion Part, or some parts are combined, or different part arrangements.
Radio circuit 401 can be used to receive and send messages, or in communication process signal reception and transmission, especially, by base station Downlink information receive after, transfer to one or more than one processor 408 processed;In addition, up data is activation will be related to To base station.Generally, radio circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibrations Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 401 can also pass through radio communication and network Communicate with other equipment.The radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 402 can be used to store software program and module.Processor 408 is stored in memory 402 by operation Software program and module, so as to perform various function application and data processing.Memory 402 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the intended application (ratio needed at least one function Such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use created data according to terminal (such as voice data, phone directory etc.) etc..Additionally, memory 402 can include high-speed random access memory, can also include Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memory 402 can also include Memory Controller, to provide processor 408 and input block 403 to memory 402 Access.
Input block 403 can be used for the numeral or character information of receives input, and produce and user's setting and function The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.Specifically, in a specific embodiment In, input block 403 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile Control plate, user can be collected thereon or neighbouring touch operation (such as user use any suitable objects such as finger, stylus or Operation of the annex on Touch sensitive surface or near Touch sensitive surface), and corresponding connection dress is driven according to formula set in advance Put.Optionally, Touch sensitive surface may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus inspection The touch orientation of survey user, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then give processor 408, and can reception processing Order that device 408 is sent simultaneously is performed.Furthermore, it is possible to adopt resistance-type, condenser type, infrared ray and surface acoustic wave etc. various Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 403 can also include other input equipments.Specifically, other are defeated Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse One or more in mark, action bars, fingerprint recognition module etc..
Display unit 404 can be used for show by user input information or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Show Unit 404 may include display floater, optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface is detected thereon or after neighbouring touch operation, send process to Device 408 is provided accordingly according to the type of touch event with preprocessor 408 on a display panel with determining the type of touch event Visual output.Although in figure 6, Touch sensitive surface and display floater are realizing being input into and be input into as two independent parts Function, but in some embodiments it is possible to will be Touch sensitive surface integrated with display floater and realization input and output function.
Terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater, proximity transducer can cut out display floater and/or the back of the body when terminal is moved in one's ear Light.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of Gravity accelerometer Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal Gyroscope, barometer, hygrometer, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 406 can pass through loudspeaker, microphone and provide the COBBAIF between user and terminal.Voicefrequency circuit The voice data for receiving can be converted into electric signal by 406, be transferred to loudspeaker, be converted to voice signal output by loudspeaker; On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio frequency number is converted to after being received by voicefrequency circuit 406 According to, then after voice data output processor 408 is processed, Jing radio circuits 401 being sent to such as another terminal, or by sound Frequency data output is to memory 402 further to process.Voicefrequency circuit 406 is also possible that earphone jack, to provide peripheral hardware The communication of earphone and terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 407 User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed. Although Fig. 6 shows wireless fidelity module 407, but it is understood that, which is simultaneously not belonging to must be configured into for terminal, completely may be used To omit in the scope of essence for not changing invention as needed.
Processor 408 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to Cross operation or perform the software program and/or module that are stored in memory 402, and call and be stored in memory 402 Data, perform the various functions and processing data of terminal, so as to carry out integral monitoring to terminal.Optionally, processor 408 can be wrapped Include one or more processing cores;Preferably, processor 408 can integrated application processor and modem processor, wherein, should Operating system, user interface and intended application etc. are processed mainly with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 408.
Terminal also includes the power supply 409 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe Reason system is logically contiguous with processor 408, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 409 can also include one or more direct current or AC power, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal can also bag bluetooth module, image it is first-class, will not be described here.
It is concrete in the present embodiment, after the camera in terminal have taken the first picture, by memory 402 by this first Picture is saved, and then first picture of processor 408 pairs is detected, after judging which includes identification code, processor 408 First picture can be referred in picture processing set.When terminal is connected to network, processor 408 is again from picture processing collection The first picture is obtained in conjunction, and the first picture is processed.408 pairs of the first pictures of processor carry out detecting the full mistake of process Journey is described as follows:
Processor 408 judges whether terminal is connected to network;Network is such as not connected to, then the first picture is referred to into figure In piece process set.
In some embodiments, processor 408 reads identification code;Identification code is decoded, decoded information is obtained.
In some embodiments, processor 408 shows the first picture;Judge whether receive to first in Preset Time The instruction processed by picture;Instruction is such as received, then reads identification code;As do not received instruction, then the first picture is preserved.
In some embodiments, the first picture through identifying processing is deleted from picture processing set by processor 408 Remove.
In some embodiments, processor 408 whether there is second picture in judging picture processing set;Such as have Two pictures, then processed to the identification code in second picture.
From the foregoing, it will be observed that embodiments providing a kind of terminal, the terminal is by the picture comprising identification code is preserved In picture processing set, when terminal is connected to network, the picture is taken out from picture processing set and is processed, so as to carry The high treatment effeciency of the picture comprising identification code.
When being embodied as, above modules can be realized as independent entity, it is also possible to be combined, and made Realize for same or several entities, being embodied as of above modules can be found in embodiment of the method above, and here is not Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps can be by program to instruct the hardware of correlation to complete, and the program can be stored in computer-readable storage medium In matter, such as it is stored in the memory of terminal, and by least one computing device in the terminal, can wraps in the process of implementation Include the flow process of the embodiment such as information issuing method.Wherein, storage medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Above a kind of image processing method provided in an embodiment of the present invention and device are described in detail, its each function During module can be integrated in a process chip, or modules are individually physically present, it is also possible to two or two with Upper module is integrated in a module.Above-mentioned integrated module both can be realized in the form of hardware, it would however also be possible to employ software The form of functional module is realized.Specific case used herein is set forth to the principle and embodiment of the present invention, with The explanation of upper embodiment is only intended to help and understands the method for the present invention and its core concept;Simultaneously for the technology of this area Personnel, according to the thought of the present invention, will change in specific embodiments and applications, in sum, this theory Bright book content should not be construed as limiting the invention.

Claims (10)

1. a kind of image processing method, it is characterised in that include:
After the first picture of terminal taking, first picture is preserved;
Judge first picture whether comprising identification code;
As first picture includes identification code, then first picture is referred in picture processing set;
When the terminal is connected to network, first picture is obtained from the picture processing set;
Identification code in first picture is processed.
2. image processing method according to claim 1, it is characterised in that the judgement first picture is comprising identification After code step, first picture is referred in picture processing set also to be included before step:
Judge whether the terminal is connected to network;
Network is such as not connected to, then first picture is referred in picture processing set.
3. image processing method according to claim 1, it is characterised in that the identification code in first picture Carrying out process step includes:
Read the identification code;
The identification code is decoded, decoded information is obtained.
4. image processing method according to claim 3, it is characterised in that obtain described from the picture processing set After first picture step, it is described read the identification code step before also include:
Show first picture;
Judge the instruction processed to first picture whether is received in Preset Time;
The instruction is such as received, then performs the reading identification code step;
As do not received the instruction, then first picture is preserved.
5. image processing method according to claim 3, it is characterised in that described to decode to the identification code, obtains Also include to after decoded information step:
From the picture processing set, first picture through identifying processing is deleted.
6. image processing method according to claim 1, it is characterised in that the identification in the identification first picture Also include after code step:
Whether there is second picture in judging the picture processing set;
Such as there is the second picture, then the identification code in the second picture is processed.
7. a kind of picture processing device, it is characterised in that include:
Preserving module, for, after the first picture of terminal taking, preserving first picture;
First judge module, for judging first picture whether comprising identification code;
Classifying module, for when first picture includes identification code, first picture being referred to picture processing set In;
Acquisition module, for when the terminal is connected to network, first picture being obtained from the picture processing set;
Processing module, for processing to the identification code in first picture.
8. picture processing device according to claim 7, it is characterised in that also include:
Second judge module, for judging whether the terminal is connected to network;
The classifying module, specifically for when network is not connected to, first picture being referred to picture processing set In.
9. picture processing device according to claim 7, it is characterised in that the processing module includes:
Reading submodule, for reading the identification code;
Decoding sub-module, for decoding to the identification code, obtains decoded information.
10. picture processing device according to claim 9, it is characterised in that the processing module also includes:
Show submodule, for showing first picture;
Judging submodule, for judging the instruction processed to first picture whether is received in Preset Time;
The reading submodule, specifically for receiving during the instruction, reads the identification code;
Submodule is preserved, for not receiving during the instruction, first picture is preserved.
CN201610940619.XA 2016-10-25 2016-10-25 Image processing method and device Pending CN106548110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610940619.XA CN106548110A (en) 2016-10-25 2016-10-25 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610940619.XA CN106548110A (en) 2016-10-25 2016-10-25 Image processing method and device

Publications (1)

Publication Number Publication Date
CN106548110A true CN106548110A (en) 2017-03-29

Family

ID=58393510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610940619.XA Pending CN106548110A (en) 2016-10-25 2016-10-25 Image processing method and device

Country Status (1)

Country Link
CN (1) CN106548110A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325491A (en) * 2018-08-16 2019-02-12 腾讯科技(深圳)有限公司 Identification code recognition methods, device, computer equipment and storage medium
CN111274547A (en) * 2019-12-01 2020-06-12 深圳市智微智能软件开发有限公司 SN bar code editing method and system
CN114619663A (en) * 2022-03-22 2022-06-14 芜湖风雪橡胶有限公司 Rubber shoe sole antiskid line pressing forming equipment and pressing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408394A (en) * 2014-10-28 2015-03-11 广东欧珀移动通信有限公司 Two-dimensional code information processing method and communication terminal
CN104717125A (en) * 2013-12-17 2015-06-17 腾讯科技(深圳)有限公司 Graphic code storage method and device
US20160086362A1 (en) * 2014-09-19 2016-03-24 Casio Computer Co., Ltd. Electronic device, data output method in electronic device, and server device
CN105764119A (en) * 2016-01-29 2016-07-13 珠海汇迪科技有限公司 Method for network connection of motion camera through scanning two-dimensional code
CN105787403A (en) * 2014-12-19 2016-07-20 福建新大陆电脑股份有限公司 Barcode reading method and device of high-pixel image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717125A (en) * 2013-12-17 2015-06-17 腾讯科技(深圳)有限公司 Graphic code storage method and device
US20160086362A1 (en) * 2014-09-19 2016-03-24 Casio Computer Co., Ltd. Electronic device, data output method in electronic device, and server device
CN104408394A (en) * 2014-10-28 2015-03-11 广东欧珀移动通信有限公司 Two-dimensional code information processing method and communication terminal
CN105787403A (en) * 2014-12-19 2016-07-20 福建新大陆电脑股份有限公司 Barcode reading method and device of high-pixel image
CN105764119A (en) * 2016-01-29 2016-07-13 珠海汇迪科技有限公司 Method for network connection of motion camera through scanning two-dimensional code

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325491A (en) * 2018-08-16 2019-02-12 腾讯科技(深圳)有限公司 Identification code recognition methods, device, computer equipment and storage medium
US11494577B2 (en) 2018-08-16 2022-11-08 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for identifying identification code
CN111274547A (en) * 2019-12-01 2020-06-12 深圳市智微智能软件开发有限公司 SN bar code editing method and system
CN114619663A (en) * 2022-03-22 2022-06-14 芜湖风雪橡胶有限公司 Rubber shoe sole antiskid line pressing forming equipment and pressing method

Similar Documents

Publication Publication Date Title
CN103455582B (en) The display packing of browser navigation page and mobile terminal
CN104978115A (en) Content display method and device
CN104573597A (en) Two-dimension code identification method and identification device
CN104133832B (en) The recognition methods of pirate application and device
CN104717125B (en) Graphic code store method and device
CN104820541B (en) The method and device that a kind of reference content shows
CN103313139A (en) History display method and device and electronic device
CN104852885A (en) Method, device and system for verifying verification code
CN104516893A (en) Information storage method, information storage device and communication terminal
CN104090879A (en) Picture sharing method, device and system
CN106547844A (en) A kind for the treatment of method and apparatus of user interface
CN104182429A (en) Web page processing method and terminal
CN103491245A (en) Method and device for storing short messages and terminal equipment
CN104216929A (en) Method and device for intercepting page elements
CN104679724A (en) Page noting method and device
CN106528638A (en) Method for deleting backup data, and mobile terminal
CN104267882A (en) Page suspension frame display method and device
CN103455601A (en) Webpage processing method and device, and terminal equipment
CN103310007A (en) Method, device and equipment for switching webpage
CN104063400A (en) Data search method and data search device
CN106534528A (en) Processing method and device of text information and mobile terminal
CN106548110A (en) Image processing method and device
CN106569815A (en) Message display method and terminal
CN106529332A (en) Permission control method and apparatus for mobile terminal, and mobile terminal
CN103327029B (en) A kind of detection method of malice network address and equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170329

RJ01 Rejection of invention patent application after publication