CN108810312A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN108810312A
CN108810312A CN201810716023.0A CN201810716023A CN108810312A CN 108810312 A CN108810312 A CN 108810312A CN 201810716023 A CN201810716023 A CN 201810716023A CN 108810312 A CN108810312 A CN 108810312A
Authority
CN
China
Prior art keywords
image
target
certificate
shooting
printing device
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
CN201810716023.0A
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 Hanttu Technology Co Ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Shanghai Hanttu Technology Co Ltd
Beijing Xiaomi Mobile Software 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 Hanttu Technology Co Ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Shanghai Hanttu Technology Co Ltd
Priority to CN201810716023.0A priority Critical patent/CN108810312A/en
Publication of CN108810312A publication Critical patent/CN108810312A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/21Intermediate information storage
    • H04N1/2104Intermediate information storage for one or a few pictures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/21Intermediate information storage
    • H04N1/2104Intermediate information storage for one or a few pictures
    • H04N1/2112Intermediate information storage for one or a few pictures using still video cameras
    • H04N1/2116Picture signal recording combined with imagewise recording, e.g. photographic recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The disclosure is directed to a kind of image processing method and image processing apparatus.The image processing method includes:The original image group of target certificate is obtained, the original image group includes multiple images, and described multiple images correspond to multiple pages of the target certificate respectively;The multiple images for including to the original image group carry out synthesis processing, to be shown the target image of described multiple images simultaneously;The target image is sent to printing device, so that the printing device exports the target image.The technical solution can complete acquisition and the complex functionality of image in terminal, and the image after synthesis is sent to printing device to realize output, the requirement to printing device can be reduced in this way, to reduce the cost of implementation of certificate copy function, while can also improve user experience.

Description

Image processing method and device
Technical field
This disclosure relates to technical field of image processing more particularly to a kind of image processing method and image processing apparatus.
Background technology
The copy of all kinds of certificates of such as identity card is fairly common in daily transacting business.By taking identity card as an example, mesh The copy operation of preceding identity card can be realized by the multi-function printer with copy function, specifically can be by identity card original Part carries out the image scanning of tow sides, and based on the output of original paper image at a duplicating original text, to realize the positive and negative of identity card Double-sided copying.
Invention content
To overcome the problems in correlation technique, a kind of image processing method of embodiment of the present disclosure offer and device.It should Technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of image processing method is provided, including:
The original image group of target certificate is obtained, the original image group includes multiple images, described multiple images difference Multiple pages of the corresponding target certificate;
The multiple images for including to the original image group carry out synthesis processing, to be shown the multiple figure simultaneously The target image of picture;
The target image is sent to printing device, so that the printing device exports the target image.
The technical scheme provided by this disclosed embodiment includes following advantageous effect:The image processing method can be complete in terminal At the acquisition of certificate image and the synthesis processing of image, and the image after synthesis is sent to printing device and is exported with realizing, This lessens the requirements for printing device so that and inexpensive single function printer can also realize certificate copy function, from And reduce the cost of implementation of certificate copy function.Since the popularity rate of terminal device is significantly larger than the universal of multi-function printer Rate, therefore can accomplish the scanning at any time of certificate, and also certificate is not easy to pass into silence, to improve user experience.
In one embodiment, the original image group for obtaining target certificate includes:
Shooting instruction is obtained, the shooting instruction instruction opens filming apparatus and shows shooting interface, the shooting interface Show the image that the filming apparatus currently absorbs;
Show that default frame, the default frame are described for limiting on the shooting interface according to the shooting instruction Position of the target certificate in the shooting interface;
When position of the target certificate in the shooting interface is matched with the default frame, shooting obtains described The corresponding image of a page of target certificate;
It repeats the above steps and shoots the corresponding image of each page of the target certificate, to form the target certificate Original image group.
In one embodiment, the original image group for obtaining target certificate includes:
It is sent to server and downloads solicited message, the download solicited message carries account information, in order to the clothes Business device matches the image information of the corresponding target certificate according to the account information;
It receives the server and responds the image download information that the download solicited message returns, described image download information The download address of image information including the target certificate;
The each page for obtaining the target certificate respectively from the server according to described image download address corresponds to Image.
In one embodiment, the multiple images for including to the original image group carry out synthesis processing include:
The multiple images for including to the original image group carry out angle correct and dimension correction respectively, to obtain meeting institute State standard-sized multiple correction images of target certificate;
Typesetting is carried out to the multiple correction image, to be shown the target of the multiple correction image simultaneously Image.
In one embodiment, the multiple images for including to the original image group carry out synthesis processing further include:
Multiple images, the multiple correction image or the target image for including to the original image group carry out Noise reduction process.
In one embodiment, described the target image is sent to printing device to include:
The communication connection with the printing device is established, and the target image is sent to by the communication connection and is beaten Printing apparatus, so that the printing device exports the target image;
Wherein, the communication connection includes at least one of bluetooth connection, infrared connection, WLAN connection.
According to the second aspect of the embodiment of the present disclosure, a kind of image processing apparatus is provided, including:
Image collection module, the original image group for obtaining target certificate, the original image group includes multiple images, Described multiple images correspond to multiple pages of the target certificate respectively;
Image processing module, the multiple images for including to the original image group carry out synthesis processing, same to obtain When show the target images of described multiple images;
Image output module, for the target image to be sent to printing device, so that the printing device is to described Target image is exported.
In one embodiment, described image acquisition module includes:
Instruction acquisition unit, for obtaining shooting instruction, the shooting instruction instruction opens filming apparatus and shows shooting Interface, the shooting interface display have the image that the filming apparatus currently absorbs;
Position restriction unit, it is described pre- for showing default frame on the shooting interface according to the shooting instruction If frame is used to limit position of the target certificate in the shooting interface;
Image capturing unit, for working as position and the default frame of the target certificate in the shooting interface Timing, shooting obtain the corresponding image of a page of the target certificate;
Shooting unit is repeated, for the corresponding image of each page for shooting the target certificate that repeats the above steps, with Form the original image group of the target certificate.
In one embodiment, described image acquisition module includes:
Request unit is downloaded, downloads solicited message for being sent to server, the download solicited message carries account Information, in order to which the server matches according to the account information image information of the corresponding target certificate;
Information receiving unit responds information carrying under the image that the download solicited message returns for receiving the server Breath, described image download information includes the download address of the image information of the target certificate;
Image loading unit, for obtaining the target certificate respectively from the server according to the download address The corresponding image of each page.
In one embodiment, described image processing module includes:
Unit is corrected, the multiple images for including to the original image group carry out angle correct and dimension correcting respectively Just, to obtain the standard-sized multiple correction images for meeting the target certificate;
Synthesis unit, for carrying out typesetting to the multiple correction image, to be shown the multiple correction simultaneously The target image of image.
In one embodiment, described image processing module further includes:
Noise reduction unit, multiple images, the multiple correction image for including to the original image group or described Target image carries out noise reduction process.
In one embodiment, described image output module includes:
Communication unit, for establishes with the communication connection of the printing device, and communicated to connect the mesh by described Logo image is sent to printing device, so that the printing device exports the target image;
Wherein, the communication connection includes at least one of bluetooth connection, infrared connection, WLAN connection.
According to the third aspect of the embodiment of the present disclosure, a kind of image processing apparatus is provided, including:Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The original image group of target certificate is obtained, the original image group includes multiple images, described multiple images difference Multiple pages of the corresponding target certificate;
The multiple images for including to the original image group carry out synthesis processing, to be shown the multiple figure simultaneously The target image of picture;
The target image is sent to printing device, so that the printing device exports the target image.
According to the fourth aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, is stored thereon with calculating Machine instructs, when which is executed by processor the step of realization first aspect any embodiment the method.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow chart for using multi-function printer to carry out identity card duplicating in the related technology;
Fig. 2 a are the flow charts according to the image processing method shown in an exemplary embodiment;
Fig. 2 b are the flow charts according to the image acquiring method shown in an exemplary embodiment;
Fig. 2 c are the flow charts according to the image acquiring method shown in an exemplary embodiment;
Fig. 2 d are the flow charts according to the image synthesis processing shown in an exemplary embodiment;
Fig. 2 e are the flow charts according to the image synthesis processing shown in an exemplary embodiment;
Fig. 2 f are the flow charts according to the image processing method shown in an exemplary embodiment;
Fig. 3 is the step flow chart according to the image processing method shown in an exemplary embodiment;
Fig. 4 is the step flow chart according to the image processing method shown in an exemplary embodiment;
Fig. 5 a are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 5 b are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 5 c are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 5 d are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 5 e are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 5 f are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 5 g are the structure diagrams according to the image processing apparatus shown in an exemplary embodiment;
Fig. 6 is the structure diagram according to the image processing apparatus shown in an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
In the related technology one, tool may be used when duplicating the certificate with multi-panel image information such as identity card in user There is the multi-function printer of copy function to realize.Fig. 1 illustrates the stream that identity card is duplicated using multi-function printer Cheng Tu.As can be seen from FIG. 1, it is needed when duplicating identity card using multi-function printer by step S101 to step S110, master The process is wanted to be:Multi-function printer respectively to the tow sides of identity card carry out image scanning, and based on scan image output at One duplicating original text.Wherein, during image scanning, it is desirable that place certificate close to the corner of scanning tablet, for carrying out The scanning means of Scan orientation, multi-function printer then can determine the size of scan image by detecting the edge of certificate; In image synthesizing procedure, multi-function printer can be by the temporary simultaneously synthesizing first half to the same paper page of two images Point and lower half portion.But the scanning means due to the acquisition of scan image dependent on multi-function printer, and the list of low cost Function printer does not have scanning function, therefore single function printer just cannot achieve the copy function of this kind of certificate.In addition, examining Consider and multiple switching is needed to scan cover board during papers-scanning, it is first complicated for operation, it second be easy to cause and forgets certificate Hidden danger below scanning cover board, to cause the potential hazard that certificate is lost to user.
It is another in the related technology, user can also pass through the application program such as branch with authentication of terminal device The certificate information that prestores is paid in application program to obtain the tow sides image of identity card, but these application programs will not just The function that anti-two sides image is synthesized and printed, therefore can not directly meet the needs of user's transacting business.
The technical solution that the embodiment of the present disclosure provides is related to terminal and printing device, and the terminal can be mobile phone, tablet Computer and other equipment that can carry out image taking and image procossing, the printing device can be vertical printer, seat Formula printer and other equipment that can carry out printing function, the embodiment of the present disclosure do not limit this.With mobile device Shooting ability promotion so that the scanning means that conventional printing apparatus is substituted with the filming apparatus of mobile device is high-quality to obtain The image of amount is possibly realized, in addition the image-capable of mobile device so that is obtained the original images such as identity card and is carried out figure As processing can be completed on the mobile apparatus.Based on this, in the technical scheme provided by this disclosed embodiment, can be completed in terminal The acquisition of certificate image and the synthesis processing of image, and the image after synthesis is sent to printing device and is exported with realizing, this Lessening the requirement for printing device so that inexpensive single function printer can also realize certificate copy function, to Reduce the cost of implementation of certificate copy function.Since the popularity rate of terminal device is significantly larger than the popularity rate of multi-function printer, Therefore it can accomplish the scanning at any time of certificate, and certificate is not easy to pass into silence, to improve user experience.
On this basis, the technical solution that the embodiment of the present disclosure provides further refers to server, the server example The server of cable network connection or wireless network connection can be such as to provide, can set up terminal and printing device it Between communication connection, therefore terminal can by server to printing device send composite image file to be printed out.
Fig. 2 a are a kind of flow charts of image processing method shown according to an exemplary embodiment.As shown in Figure 2 a, should Image processing method can be used in terminal, specifically include step S201 to step S203:
In step s 201, the original image group of target certificate is obtained, which includes multiple images, multiple Image corresponds to multiple pages of target certificate respectively.
Wherein, the target certificate refers to the certificate for having multi-panel image information, such as identity card, passport, residence booklet etc., Multiple images in the original image group of the target certificate refer to the multiple images directly acquired according to target certificate original copy, It corresponds to the different pages of target certificate, such as the obverse and reverse of identity card respectively, the personal information page of passport, visa page and Endpage, householder's page of residence booklet and my page etc..In the present embodiment, the acquisition side of multiple subgraphs included by original image group Method may include live shooting, public database is downloaded or the various ways such as local photograph album extraction, and be not limited, only If the image of target certificate can be obtained by terminal device.It is exemplary, by taking the image for obtaining identity card as an example, eventually End can shoot the direct picture and verso images of identity card respectively by camera, then the direct picture and reverse side of the identity card Image can constitute the original image group of target certificate.
In step S202, synthesis processing is carried out to the multiple images that original image group includes, to be shown simultaneously The target image of multiple images.
Wherein, the target image refers to being carried out obtained from synthesis processing together based on the multiple images in original image group When show multi-panel image information and can be directly used for the image of printout, that is, user is required in transacting business Copy image, such as simultaneously including identity card tow sides composograph, while include passport personal information page, The composograph of visa page and endpage, while including the composograph etc. of the householder page and my page of residence booklet.In the present embodiment, The method for carrying out synthesis processing to multiple images may include the edge detection to image, deformation reduction, dimension correction, drop It makes an uproar the processes such as processing and the synthesis of multiple images processing, and it is without being limited thereto.Exemplary, terminal is getting identity card just After face image and verso images, direct picture and verso images can be blended into the same page, to be shown simultaneously There are the direct picture of the identity card and the target image of verso images.
In step S203, target image is sent to printing device, so that printing device exports target image.
Wherein, the mode or wireless connection of wired connection may be used in communication connection between terminal and printing device Mode is realized.If being connected using wired connection mode between terminal and printing device, terminal can be directly by target figure As being sent to printing device, the output of target image can be realized in user's operation printing device at this time;If terminal and printing device Between be connected using radio connection, then terminal needs that target image is sent to printing and is set by transit server Standby, the output of target image can be realized in user's operation printing device at this time.Exemplary, terminal can pass through WLAN Communication connection is established between mode and printing device, terminal can be sent the target image of synthesis by the WLAN at this time To printing device, so that printing device exports target image.
Based on this, in the technical scheme provided by this disclosed embodiment, can terminal complete certificate image acquisition and The synthesis of image is handled, and the image after synthesis is sent to printing device to realize output, and this lessens printing is set Standby requirement so that inexpensive single function printer can also realize certificate copy function, to reduce certificate copy function Cost of implementation.Since the popularity rate of terminal device is significantly larger than the popularity rate of multi-function printer, it can accomplish certificate It scans at any time, and certificate is not easy to pass into silence, to improve user experience.
The image processing method provided below in conjunction with the accompanying drawings disclosure exemplary embodiment is described in detail.
In step s 201, the original image group of target certificate is obtained, which includes multiple images, multiple Image corresponds to multiple pages of target certificate respectively.
In one embodiment, the original image group of the target certificate can be obtained by the following method, i.e.,: The original image group of target certificate is obtained by the filming apparatus of mobile terminal.That is, user can be by means of mobile whole The camera at end and each image directly in the original image group of photographic subjects certificates.In view of mobile terminal popularity rate Through very high, and the shooting ability of mobile terminal is also constantly being promoted, and obtains the original image group of target certificate by this method Prodigious facility can be provided to the user.
Specifically, as shown in Figure 2 b, the acquisition methods of the original image group of the target certificate may include steps of S20111 to step S20114:
In step S20111, shooting instruction is obtained, shooting instruction instruction opens filming apparatus and shows shooting interface, The shooting interface display has the image that filming apparatus currently absorbs.
It is exemplary, have the function of certificate copy in the software of taking pictures of terminal installation, user is in the certificate copy The original image group of target certificate can be selected to obtain under pattern by the way of terminal camera.In the case, it takes pictures soft Part can obtain shooting instruction in response to the selection of user, and the filming apparatus of terminal is opened under the instruction of the shooting instruction and is shown Show shooting interface, if the filming apparatus of terminal is directed at target certificate such as identity card to be obtained by user at this time, then at this The present image information of identity card will be shown in shooting interface.
In step S20112, according to shooting instruction, frame is preset in display on shooting interface, and the default frame is for limiting Set the goal position of the certificate in shooting interface.
It is exemplary, it, can also be in the shooting interface simultaneously when software of taking pictures shows shooting interface according to shooting instruction Show a default frame, for position of the guiding target certificate in shooting interface and angle, user can be by identity card at this time Be placed in shooting interface suitable position, by adjust terminal and identity card relative position so that the edge of identity card can with it is pre- If the edge of frame is overlapped as far as possible.It should be noted that:The default frame with guiding target certificate in addition to shooting boundary Except the effect of position in face, the adjoining dimensions of the captured multiple images of control are additionally aided, in order to subsequent image Processing.Since the image of actual photographed is according to the guiding for presetting frame and selected position and angle, the default frame Setting additionally aid the detection for carrying out image border, such as the position of frame can be preset when carrying out Image Edge-Detection with this Benchmark is set to be detected.
In step S20113, when target certificate is when the position in shooting interface is matched with default frame, shooting obtains The corresponding image of a page of target certificate.
Wherein, it refers to that the edge of target certificate is being clapped that position of the target certificate in shooting interface is matched with default frame Edge of the position in interface compared to default frame is taken the photograph without departing from threshold range, i.e., the maximum exceeded to the inside of default frame Distance is less than the first threshold limit value, and the maximum distance exceeded to the outside of default frame is less than the second threshold limit value.
It is exemplary, user when the edge at the edge that judges target certificate such as identity card and default frame is substantially overlapping, The button of taking pictures that shooting interface can be clicked, to shoot the present image of identity card.And software of taking pictures can be faced by setting Boundary's threshold value limits the size and shooting angle of image, if captured image border is without departing from set Threshold extent Value, then the image can be as the image in the original image group of target certificate, if captured image border is beyond set Fixed threshold limit value, such as picture size is excessive/too small or the vertical shooting angle of image taking angle offset is more, then needs According to system suggestion re-shoot.Certainly, user can also actively return to shooting interface according to the satisfaction to effect of taking pictures Again it takes pictures, until satisfied.
In step S20114, the corresponding image of each page of the photographic subjects that repeat the above steps certificate, to form mesh The original image group of standard card part.
Wherein, above-mentioned steps described here refer to above-mentioned step S20111 to step S20113.That is, repeating " to obtain Shooting instruction, shooting instruction instruction open filming apparatus and show that shooting interface, the shooting interface display have filming apparatus to work as The image of preceding intake " is to " when target certificate is when the position in shooting interface is matched with default frame, shooting obtains target certificate The corresponding image of a page " the step of carry out the corresponding image of each page of photographic subjects certificate.It should be noted that:This Need the number to repeat the above steps in step at least and should suit the requirements the page quantity of the target certificate of duplicating, it is other no longer It repeats.
A complete embodiment is provided below come the image acquiring method in the original image group to target certificate to show Example property explanation.Specifically, terminal is provided with the function button of certificate copy, user, can when needing to duplicate certificate photograph To be placed on the target certificate for needing to shoot on the desktop for being easy to shooting, and click the function button of the certificate copy.Eventually When detecting that the function button of the certificate copy is clicked, confirmation gets shooting instruction at end.Terminal can open at this time The filming apparatus of terminal simultaneously shows that there is the current the image collected of the filming apparatus at shooting interface, the shooting interface display and presets Frame.User can preset the prompt of frame according to this, the certificate that filming apparatus face is needed to shoot so that the filming apparatus Collected certificate image is matched with default frame.When user determines the collected certificate image of the filming apparatus and default frame When matching, shooting button can be clicked, which can be the virtual key shown on shooting interface, or terminal The physical button of setting, the embodiment of the present disclosure are not construed as limiting this.By taking virtual key as an example, terminal is detecting shooting button quilt When click, the image in the default frame at the shooting interface is stored, which is the image of target certificate.Alternatively, terminal exists When detecting that the certificate image is matched with default frame, the image in the default frame can be stored, which is target card The image of part.
In another embodiment, the original image group of the target certificate can also be obtained in the following way It takes, i.e.,:The original image group of target certificate is obtained from public database.That is, user can be by obtaining public number Each image in the original image group of target certificate is downloaded from public database according to the permission in library.In view of the hair of network Reach and the convenience of public database, by this method come obtain the original image group of target certificate can also provide to the user it is very big Facility.
Specifically, as shown in Figure 2 c, the acquisition methods of the original image group of the target certificate may include steps of S20121 to step S20123:
In step S20121, is sent to server and download solicited message, which carries account information, In order to which server matches according to account information the image information of corresponding target certificate.
It is exemplary, have the function of certificate copy in the software of taking pictures of terminal installation, user is in the certificate copy It can select to download the mode of image from public database under pattern to obtain the original image group of target certificate.In this situation Under, software of taking pictures, which can be sent in response to the selection of user to server, downloads solicited message, which can be that system is silent Recognize the server of associated public database or the server of public database input by user, is taken in the download solicited message Account information with user, at this time server can according to account information in the account information that public database prestores into Row searches matching, and the image information of corresponding target certificate is shown after successful match, while can also be sent to terminal should The download address of the mandate access information of public database and the image information of target certificate.
In step S20122, reception server, which responds, downloads the image download information that solicited message returns, under the image Information carrying breath includes the download address of the image information of target certificate.
Exemplary, software of taking pictures can receive server response and download the image download information that solicited message returns, should Image download information includes the download of the mandate access information for coming from public database and the image information of target certificate Address, naturally it is also possible to be the image letter that target certificate is obtained according to the mandate access information further operating of public database The download address of breath.Wherein, the public database can be payment application, bank client and other can preserve card The database of part information.
In step S20123, each page pair of target certificate is obtained respectively from server according to image download information The image answered.
It is exemplary, software is taken pictures after obtaining the download address of image information of target certificate, can respond user's Operation requests and obtain the multiple images information of required target certificate respectively according to the download address and preserve to local data Library, to obtain the original image group of target certificate.
In step S202, synthesis processing is carried out to the multiple images that original image group includes, to be shown simultaneously The target image of multiple images.
In the present embodiment, as shown in Figure 2 d, the multiple images for including to original image group carry out synthesis processing tool Body may include steps of S2021 to step S2022:
In step S2021, angle correct and dimension correction are carried out respectively to the multiple images that original image group includes, To obtain the standard-sized multiple correction images for meeting target certificate.
Wherein, the angle correct refers to that the shooting angle of each image is reduced into vertical shooting angle, the size Correction refers to that the size of each image is reduced into the standard size of target certificate, i.e. the actual size of target certificate.
In step S2022, typesetting is carried out to multiple correction images, to be shown the mesh of multiple correction images simultaneously Logo image.
Wherein, the typesetting refers to that will be arranged in same output by multiple correction images of angle correct and dimension correction The different location of the page, to obtain required target image, that is, the image finally printed out.
It is exemplary, terminal installation software of taking pictures have the function of image synthesis handle, can by software algorithm come Each image that original image group includes is detected, such as the edge detection of image and shooting angle detection, and is based on Testing result pre-processes each image, such as angle correction procedure and dimension correction processing, by each image restoring For the image of vertical shooting angle, and 1 is remained with the standard size of target certificate:1 ratio, to obtain required correction Image.Based on this, this take pictures software finally can by complete angle correction procedure and dimension correction processing multiple correction images by The different location for being blended into the same output page is required according to output, to obtain required target image, in case being sent to printing Equipment is exported.
Processing procedure, as shown in Figure 2 e, the multiple images for including to original image group are synthesized based on above-mentioned image S2023 can also be included the following steps by carrying out synthesis processing:
In step S2023, the multiple images, multiple correction images or the target image that include to original image group into Row noise reduction process.
Based on this, the present embodiment passes through to the abnormal noise and reflective spot progress noise reduction process in image, you can reinforces figure The clarity of certificate information part as in.
Exemplary, the software of taking pictures of terminal installation can carry out angle to each image in the original image group of target certificate Correction and dimension correction, to obtain vertical shooting angle and correction image identical with the standard size of target certificate, then Abnormal noise and reflective spot in each image that can be to complying with standard size carry out noise reduction process, to reinforce the clear of image The multiple images for completing angle correct, dimension correction and noise reduction process finally according to output can be required to be blended into same by degree Export the different location of the page.It should be noted that the noise reduction process process can image synthesize processing any stage into It goes, such as each image in the original image group before image procossing, each correction image after image procossing, Huo Zhetu As the target image after synthesis, this is not construed as limiting here.
In the present embodiment, if user obtains the original image group of target certificate by the filming apparatus of mobile terminal, Can processing function directly be synthesized using the image for software of taking pictures to realize the synthesis of multiple images;If user is by public number The original image of target certificate is obtained according to library, then original image is carried out in the image synthesis processing function using software of taking pictures Before processing, original image can also be pre-processed by means of the cloud platform of database, in order to improve the conjunction of image At precision.
In step S203, target image is sent to printing device, so that printing device exports target image.
Specifically, the present embodiment can first set up terminal and printing device before sending target image to printing device Communication connection, and target image is sent to printing device by the communication connection.Wherein, communication connection can be wired Connection, such as directly terminal is connected with printing device using data line;Alternatively, the communication connection may be wirelessly to connect It connects, such as at least one of bluetooth connection, infrared connection and WLAN connection.It is exemplary, terminal and printing device Same router can be connected to establish WLAN connection, the router can be used as the medium of data relay at this time, After terminal realizes communication connection with printing device, the software of taking pictures of terminal can will pass through mesh obtained from image synthesis processing The file of logo image is sent to printing device by the communication connection, and target image can be realized in user's operation printing device at this time Printout.
Based on the above process, as shown in figure 2f, the image processing method that disclosure exemplary embodiment is provided can be with Include the following steps S204:
In step S204, target image is locally stored.
Exemplary, terminal installation takes pictures software after completing the synthesis processing of target image, can also show that one " is It is no to preserve to local " storage prompt, user can select according to actual needs by target image be stored in local photograph album with Standby rear use, or can also select preserve target image and directly delete after being sent to printing device.
Realization process is discussed in detail below by specific embodiment.
Fig. 3 is a kind of illustrated steps flow chart of image processing method shown according to an exemplary embodiment, is held Row main body is the software of taking pictures of terminal installation.As shown in figure 3, to obtain the tow sides image of identity card and be synthesized to it For processing, which may comprise steps of:
In step S301, a variety of image acquisition modes are shown under the pattern of certificate copy, which obtains Mode includes the option of " camera ".
In step s 302, shooting instruction is obtained in response to " camera " option of user's selection, shooting instruction instruction is opened It opens the filming apparatus of terminal and shows shooting interface, the default side for guiding identity card position is also shown in shooting interface Frame.
In step S303, when identity card is when the position in shooting interface is matched with default frame, captured identity card The edge of direct picture, software detection of taking pictures to the direct picture is located at first relative to the edge amount of being offset inward of default frame Within threshold limit value, outside offset bit within the second threshold limit value when automatically save the direct picture.
In step s 304, when identity card is when the position in shooting interface is matched with default frame, captured identity card The edge of verso images, software detection of taking pictures to the verso images is located at first relative to the edge amount of being offset inward of default frame Within threshold limit value, outside offset bit within the second threshold limit value when automatically save the verso images.
In step S305, image synthesis processing is shown after the direct picture and verso images for getting identity card Option, and the selection for responding user respectively carries out at angle correct, dimension correction and noise reduction direct picture and verso images Reason, to obtain vertical shooting angle and meet the standard-sized correction image of identity card.
In step S306, the tow sides image of identity card is arranged in the same output page not according to output requirement Same position, to obtain required target image.
In step S307, target image is sent to the printing device being connected by wired connection mode with terminal, To realize the output to target image by printing device.
The present embodiment realizes that the image of target certificate obtains by means of the filming apparatus of terminal, and at the image for passing through software Adjustment method completes the synthesis of image, and the image after synthesis is finally sent to printing device to export, can be reduced in this way Requirement for printing device, to reduce the cost of implementation of certificate copy function, simultaneously because can accomplish certificate at any time Scanning, and certificate is not easy to pass into silence, therefore user experience can also be improved.
Fig. 4 is the illustrated steps flow chart of another image processing method shown according to an exemplary embodiment, Executive agent is the software of taking pictures of terminal installation.As shown in figure 4, to obtain the tow sides image of identity card and be closed to it For processing, which may comprise steps of:
In step S401, a variety of image acquisition modes are shown under the pattern of certificate copy, which obtains Mode includes the option of " public database ", should have the public database link of multiple acquiescences for example in " public database " Certain payment application with identity authentication function.
In step S402, sent to server in response to the payment application option in " public database " of user's selection The download solicited message for carrying the payment application account information, in order to which server carries out lookup according to account information Match.
In step S403, receives server and respond the download solicited message and the mandate access information that returns, and according to The operation of user further displays the image information of identity card and obtains its download address.
In step s 404, the direct picture of identity card and anti-is downloaded respectively from public database based on the download address Face image.
In step S405, image synthesis processing is shown after the direct picture and verso images for getting identity card Option, and the selection for responding user respectively carries out at angle correct, dimension correction and noise reduction direct picture and verso images Reason, to obtain vertical shooting angle and meet the standard-sized correction image of identity card.
In step S406, the tow sides image of identity card is arranged in the same output page not according to output requirement Same position, to obtain required target image.
In step S 407, target image is sent to the printing device being connected by radio connection with terminal, To realize the output to target image by printing device.
The present embodiment realizes that the image of target certificate is obtained by means of the network settings of terminal from public database, and leads to The image processing algorithm for crossing software completes the synthesis of image, and it is defeated to carry out that the image after synthesis is finally sent to printing device Go out, the requirement for printing device can be reduced in this way, to reduce the cost of implementation of certificate copy function, simultaneously because can Accomplish the scanning at any time of certificate, and certificate is not easy to pass into silence, therefore user experience can also be improved.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 5 a are a kind of structure diagram of image processing apparatus 50 shown according to an exemplary embodiment, the image procossing Device 50 being implemented in combination with as some or all of of electronic equipment by software, hardware or the two.Such as Fig. 5 a institutes Show, which includes image collection module 501, image processing module 502 and image output module 503.Wherein, Image collection module 501 can be used for obtaining the original image group of target certificate, which includes multiple original images, should Multiple original images correspond to multiple pages of target certificate respectively;Image processing module 502 can be used for Multiple images carry out synthesis processing, to be shown the target image of multiple images simultaneously;Image output module 503 can be used In target image is sent to printing device, so that printing device exports target image.
In a kind of originally exemplary embodiment, as shown in Figure 5 b, described image acquisition module 501 includes that instruction obtains list Member 50111, position restriction unit 50112, image capturing unit 50113 and repetition shooting unit 50114.Wherein, instruction obtains Unit 50111 can be used for obtaining shooting instruction, and shooting instruction instruction opens filming apparatus and shows shooting interface, shooting circle Face shows the image that filming apparatus currently absorbs;Position restriction unit 50112 can be used for according to shooting instruction at shooting interface Frame is preset in upper display, and the default frame is for limiting position of the target certificate in shooting interface;Image capturing unit 50113 It can be used for when position of the target certificate in the shooting interface is matched with the default frame, shooting obtains the mesh The corresponding image of a page of standard card part;Repetition shooting unit 50114, which can be used for repeating the above steps, shoots the target card The corresponding image of each page of part, to form the original image group of the target certificate.
In this exemplary another embodiment, as shown in Figure 5 c, described image acquisition module 501 includes downloading request list Member 50121, information receiving unit 50122 and image loading unit 50123.Wherein, request unit 50121 is downloaded to can be used for clothes Business device, which is sent, downloads solicited message, which carries account information, in order to which server is according to account information Image with corresponding target certificate;Information receiving unit 50122 can be used for receiving server response and download solicited message return Image download information, which includes the download address of the image information of target certificate;Image loading unit 50123 can be used for obtaining the corresponding image of each page of target certificate respectively from server according to image download address.
In one embodiment, as fig 5d, described image processing module 502 includes that correction unit 5021 and synthesis are single Member 5022.Wherein, correction unit 5021 can be used for the multiple images that original image group includes carry out respectively angle correct and Dimension correction, to obtain the standard-sized multiple correction images for meeting target certificate;Synthesis unit 5022 can be used for multiple It corrects image and carries out typesetting, to be shown the target image of multiple correction images simultaneously.
In one embodiment, as depicted in fig. 5e, described image processing module 502 further includes noise reduction unit 5023, the drop Unit 5023 of making an uproar can be used for dropping multiple images, multiple correction images or target image that original image group includes It makes an uproar processing.
In one embodiment, as shown in figure 5f, described image output module 503 includes communication unit 5030, the communication Unit 5030 can be used for establishing the communication connection with printing device, and target image is sent to printing by the communication connection and is set It is standby, so that printing device exports target image.
In one embodiment, as shown in fig. 5g, described image processing unit 50 further includes memory module 504, the storage Module 504 can be used for target image being locally stored for future use.
In the technical scheme provided by this disclosed embodiment, the acquisition of certificate image and the conjunction of image can be completed in terminal At processing, and the image after synthesis is sent to printing device to realize output, this lessens the requirement for printing device, So that the single function printer of low cost can also realize certificate copy function, to reduce the cost of implementation of certificate copy function. Since the popularity rate of terminal device is significantly larger than the popularity rate of multi-function printer, it can accomplish the scanning at any time of certificate, And certificate is not easy to pass into silence, to improve user experience.
The embodiment of the present disclosure also provides a kind of image processing apparatus, which includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
The original image group of target certificate is obtained, the original image group includes multiple images, described multiple images difference Multiple pages of the corresponding target certificate;
The multiple images for including to the original image group carry out synthesis processing, to be shown the multiple figure simultaneously The target image of picture;
The target image is sent to printing device, so that the printing device exports the target image.
In one embodiment, above-mentioned processor is also configured to:Shooting instruction is obtained, the shooting instruction instruction is opened It opens filming apparatus and shows that there is the image that the filming apparatus currently absorbs at shooting interface, the shooting interface display;According to institute It states shooting instruction and shows default frame on the shooting interface, the default frame is for limiting the target certificate described Shoot the position in interface;When position of the target certificate in the shooting interface is matched with the default frame, clap It takes the photograph to obtain the corresponding image of a page of the target certificate;It repeats the above steps and shoots each page of the target certificate Corresponding image, to form the original image group of the target certificate.
In one embodiment, above-mentioned processor is also configured to:It is sent to server and downloads solicited message, under described It carries solicited message and carries account information, in order to which the server is demonstrate,proved according to the corresponding target of account information matching The image information of part;It receives the server and responds the image download information that the download solicited message returns, under described image Information carrying breath includes the download address of the image information of the target certificate;Distinguished from the server according to the download address Obtain the corresponding image of each page of the target certificate.
In one embodiment, above-mentioned processor is also configured to:The multiple images for including to the original image group Angle correct and dimension correction are carried out respectively, to obtain the standard-sized multiple correction images for meeting the target certificate;It is right The multiple correction image carries out typesetting, to be shown the target image of the multiple correction image simultaneously.
In one embodiment, above-mentioned processor is also configured to:The multiple images that include to the original image group, The multiple correction image or the target image carry out noise reduction process.
In one embodiment, above-mentioned processor is also configured to:The communication connection with the printing device is established, and The target image is sent to printing device by the communication connection so that the printing device to the target image into Row output;Wherein, the communication connection includes at least one of bluetooth connection, infrared connection, WLAN connection.
The image processing apparatus that embodiment of the disclosure is provided can complete acquisition and the image of certificate image in terminal Synthesis processing, and the image after synthesis is sent to printing device to realize output, this lessens for printing device It is required that so that inexpensive single function printer can also realize certificate copy function, to reduce the realization of certificate copy function Cost.Since the popularity rate of terminal device is significantly larger than the popularity rate of multi-function printer, it can accomplish certificate at any time Scanning, and certificate is not easy to pass into silence, to improve user experience.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of structure diagram for image processing apparatus 60 shown according to an exemplary embodiment, the device 60 are suitable for terminal device.For example, the device 60 can be mobile phone, and computer, tablet device, Medical Devices, a number Word assistant etc..
Device 60 may include following one or more components:Processing component 602, memory 604, power supply module 606 are more Media component 608, audio component 6510, the interface 612 of input/output (I/O), sensor module 614 and communication component 616。
The integrated operation of 602 usual control device 60 of processing component, such as with display, call, data communication, camera Operation and record operate associated operation.Processing component 602 may include one or more processors 620 to execute instruction, To perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, it is convenient for Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, to facilitate more matchmakers Interaction between body component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 60.These data are shown Example includes instruction for any application program or method that are operated on device 60, contact data, and telephone book data disappears Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 60.Power supply module 606 may include power management system System, one or more power supplys and other generated with for device 60, management and the associated component of distribution electric power.
Multimedia component 608 is included in the screen of one output interface of offer between described device 60 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When device 60 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when device 60 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The received audio signal can be further stored in memory 604 or via communication component 616 send.In some embodiments, audio component 610 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 612 provide interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, the status assessment for providing various aspects for device 60. For example, sensor module 614 can detect the state that opens/closes of device 60, the relative positioning of component, such as the component For the display and keypad of device 60, sensor module 614 can be with the position of 60 1 components of detection device 60 or device Change, the existence or non-existence that user contacts with device 60, the temperature change of 60 orientation of device or acceleration/deceleration and device 60. Sensor module 614 may include proximity sensor, be configured to detect object nearby without any physical contact Presence.Sensor module 614 can also include that optical sensor is used for such as CMOS or ccd image sensor in imaging applications It uses.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 60 and other equipment.Device 60 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 60 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of device 60 to complete the above method.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
The embodiment of the present disclosure provides a kind of non-transitorycomputer readable storage medium, the instruction in the storage medium When being executed by the processor of device 50 so that device 50 is able to carry out above-mentioned image processing method, the method includes:
The original image group of target certificate is obtained, the original image group includes multiple images, described multiple images difference Multiple pages of the corresponding target certificate;
The multiple images for including to the original image group carry out synthesis processing, to be shown the multiple figure simultaneously The target image of picture;
The target image is sent to printing device, so that the printing device exports the target image.
In one embodiment, the original image for obtaining target certificate includes:Shooting instruction is obtained, the shooting refers to It enables instruction open filming apparatus and shows that there is the figure that the filming apparatus currently absorbs at shooting interface, the shooting interface display Picture;Default frame is shown on the shooting interface according to the shooting instruction, the default frame is for limiting the target Position of the certificate in the shooting interface;When position and the default frame of the target certificate in the shooting interface When matching, shooting obtains the corresponding image of a page of the target certificate;Repeat the above steps the shooting target certificate The corresponding image of each page, to form the original image group of the target certificate.
In one embodiment, the original image for obtaining target certificate includes:It is sent to server and downloads request letter Breath, the download solicited message carry account information, in order to which the server is corresponding according to account information matching The image information of the target certificate;It receives the server and responds the image download information that the download solicited message returns, Described image download information includes the download address of the image information of the target certificate;According to the download address from the clothes The corresponding image of each page of the target certificate is obtained in business device respectively.
In one embodiment, it is described to the multiple subgraph carry out synthesis processing include:To the original image group Including multiple images carry out angle correct and dimension correction respectively, to obtain meeting the standard-sized more of the target certificate A correction image;Typesetting is carried out to the multiple correction image, to be shown simultaneously described in the multiple correction image Target image.
In one embodiment, described that synthesis processing is carried out including further including to the multiple subgraph:To described original Multiple images, the multiple correction image or the target image that image group includes carry out noise reduction process.
In one embodiment, described the target image is sent to printing device to include:It establishes and is set with the printing Standby communication connection, and the target image is sent to by printing device by the communication connection, so that the printing device The target image is exported;Wherein, the communication connection includes bluetooth connection, infrared connection, WLAN connection At least one of.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (14)

1. a kind of image processing method, which is characterized in that including:
The original image group of target certificate is obtained, the original image group includes multiple images, and described multiple images correspond to respectively Multiple pages of the target certificate;
The multiple images for including to the original image group carry out synthesis processing, to be shown described multiple images simultaneously Target image;
The target image is sent to printing device, so that the printing device exports the target image.
2. image processing method according to claim 1, which is characterized in that the original image group for obtaining target certificate Including:
Shooting instruction is obtained, the shooting instruction instruction opens filming apparatus and shows shooting interface, the shooting interface display There is the image that the filming apparatus currently absorbs;
Default frame is shown on the shooting interface according to the shooting instruction, the default frame is for limiting the target Position of the certificate in the shooting interface;
When position of the target certificate in the shooting interface is matched with the default frame, shooting obtains the target The corresponding image of a page of certificate;
It repeats the above steps and shoots the corresponding image of each page of the target certificate, to form the original of the target certificate Image group.
3. image processing method according to claim 1, which is characterized in that the original image group for obtaining target certificate Including:
It is sent to server and downloads solicited message, the download solicited message carries account information, in order to the server The image information of the corresponding target certificate is matched according to the account information;
It receives the server and responds the image download information that the download solicited message returns, described image download information includes The download address of the image information of the target certificate;
Obtain the corresponding image of each page of the target certificate respectively from the server according to the download address.
4. image processing method according to claim 1, which is characterized in that it is described to the original image group include it is more A image carries out synthesis processing:
The multiple images for including to the original image group carry out angle correct and dimension correction respectively, to obtain meeting the mesh Standard-sized multiple correction images of standard card part;
Typesetting is carried out to the multiple correction image, to be shown the target figure of the multiple correction image simultaneously Picture.
5. image processing method according to claim 4, which is characterized in that it is described to the original image group include it is more A image carries out synthesis processing:
Multiple images, the multiple correction image or the target image for including to the original image group carry out noise reduction Processing.
6. image processing method according to claim 1, which is characterized in that described that the target image is sent to printing Equipment includes:
The communication connection with the printing device is established, and the target image is sent to by printing by the communication connection and is set It is standby, so that the printing device exports the target image;
Wherein, the communication connection includes at least one of bluetooth connection, infrared connection, WLAN connection.
7. a kind of image processing apparatus, which is characterized in that including:
Image collection module, the original image group for obtaining target certificate, the original image group includes multiple images, described Multiple images correspond to multiple pages of the target certificate respectively;
Image processing module, the multiple images for including to the original image group carry out synthesis processing, to be shown simultaneously It is shown with the target image of described multiple images;
Image output module, for the target image to be sent to printing device, so that the printing device is to the target Image is exported.
8. image processing apparatus according to claim 7, which is characterized in that described image acquisition module includes:
Instruction acquisition unit, for obtaining shooting instruction, the shooting instruction instruction opens filming apparatus and shows shooting interface, The shooting interface display has the image that the filming apparatus currently absorbs;
Position restriction unit, for showing default frame, the default side on the shooting interface according to the shooting instruction Frame is used to limit position of the target certificate in the shooting interface;
Image capturing unit, for being matched with the default frame when position of the target certificate in the shooting interface When, shooting obtains the corresponding image of a page of the target certificate;
Shooting unit is repeated, for the corresponding image of each page for shooting the target certificate that repeats the above steps, to be formed The original image group of the target certificate.
9. image processing apparatus according to claim 7, which is characterized in that described image acquisition module includes:
Request unit to be downloaded, solicited message is downloaded for being sent to server, the download solicited message carries account information, In order to which the server matches according to the account information image information of the corresponding target certificate;
Information receiving unit responds the image download information that the download solicited message returns, institute for receiving the server State the download address that image download information includes the image information of the target certificate;
Image loading unit, for obtaining each of the target certificate respectively from the server according to the download address The corresponding image of the page.
10. image processing apparatus according to claim 7, which is characterized in that described image processing module includes:
Unit is corrected, the multiple images for including to the original image group carry out angle correct and dimension correction respectively, with Obtain the standard-sized multiple correction images for meeting the target certificate;
Synthesis unit, for carrying out typesetting to the multiple correction image, to be shown the multiple correction image simultaneously The target image.
11. image processing apparatus according to claim 10, which is characterized in that described image processing module further includes:
Noise reduction unit, the multiple images, the multiple correction image for including to the original image group or the target Image carries out noise reduction process.
12. image processing apparatus according to claim 7, which is characterized in that described image output module includes:
Communication unit, for establishes with the communication connection of the printing device, and communicated to connect the target figure by described As being sent to printing device, so that the printing device exports the target image;
Wherein, the communication connection includes at least one of bluetooth connection, infrared connection, WLAN connection.
13. a kind of image processing apparatus, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The original image group of target certificate is obtained, the original image group includes multiple images, and described multiple images correspond to respectively Multiple pages of the target certificate;
The multiple images for including to the original image group carry out synthesis processing, to be shown described multiple images simultaneously Target image;
The target image is sent to printing device, so that the printing device exports the target image.
14. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of any one of claim 1-6 the methods are realized when execution.
CN201810716023.0A 2018-06-29 2018-06-29 Image processing method and device Pending CN108810312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810716023.0A CN108810312A (en) 2018-06-29 2018-06-29 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810716023.0A CN108810312A (en) 2018-06-29 2018-06-29 Image processing method and device

Publications (1)

Publication Number Publication Date
CN108810312A true CN108810312A (en) 2018-11-13

Family

ID=64074156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810716023.0A Pending CN108810312A (en) 2018-06-29 2018-06-29 Image processing method and device

Country Status (1)

Country Link
CN (1) CN108810312A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109363626A (en) * 2018-12-18 2019-02-22 重庆远视科技有限公司 Refraction system with printing function
CN112565064A (en) * 2021-02-24 2021-03-26 太平金融科技服务(上海)有限公司 Service processing method, device, equipment and medium based on remote multimedia
CN112929557A (en) * 2019-12-05 2021-06-08 北京小米移动软件有限公司 Shooting method, device, terminal and storage medium
CN113779293A (en) * 2021-08-27 2021-12-10 维沃移动通信(杭州)有限公司 Image downloading method, device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201919040U (en) * 2010-11-24 2011-08-03 龙旗科技(上海)有限公司 Camera mobile phone with function of advanced scanistor
CN104994272A (en) * 2015-06-12 2015-10-21 惠州Tcl移动通信有限公司 Mobile terminal and method of realizing image scanning
CN106023083A (en) * 2016-05-25 2016-10-12 北京小米移动软件有限公司 Method and device for obtaining combined image
CN107704215A (en) * 2017-09-04 2018-02-16 郑州云海信息技术有限公司 A kind of standard photographs image pickup method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201919040U (en) * 2010-11-24 2011-08-03 龙旗科技(上海)有限公司 Camera mobile phone with function of advanced scanistor
CN104994272A (en) * 2015-06-12 2015-10-21 惠州Tcl移动通信有限公司 Mobile terminal and method of realizing image scanning
CN106023083A (en) * 2016-05-25 2016-10-12 北京小米移动软件有限公司 Method and device for obtaining combined image
CN107704215A (en) * 2017-09-04 2018-02-16 郑州云海信息技术有限公司 A kind of standard photographs image pickup method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109363626A (en) * 2018-12-18 2019-02-22 重庆远视科技有限公司 Refraction system with printing function
CN112929557A (en) * 2019-12-05 2021-06-08 北京小米移动软件有限公司 Shooting method, device, terminal and storage medium
EP3833001A1 (en) * 2019-12-05 2021-06-09 Beijing Xiaomi Mobile Software Co., Ltd. Image shooting method and device, terminal, and non-transitory storage medium for automatic shooting
US11825040B2 (en) 2019-12-05 2023-11-21 Beijing Xiaomi Mobile Software Co., Ltd. Image shooting method and device, terminal, and storage medium
CN112565064A (en) * 2021-02-24 2021-03-26 太平金融科技服务(上海)有限公司 Service processing method, device, equipment and medium based on remote multimedia
CN112565064B (en) * 2021-02-24 2021-05-28 太平金融科技服务(上海)有限公司 Service processing method, device, equipment and medium based on remote multimedia
CN113779293A (en) * 2021-08-27 2021-12-10 维沃移动通信(杭州)有限公司 Image downloading method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN108810312A (en) Image processing method and device
JP6360558B2 (en) File locking method, file locking device, program, and recording medium
TWI752105B (en) Feature image acquisition method, acquisition device, and user authentication method
CN105554389A (en) Photographing method and photographing apparatus
CN112929557A (en) Shooting method, device, terminal and storage medium
CN104869314A (en) Photographing method and device
CN106023083A (en) Method and device for obtaining combined image
JP2007067782A (en) Electronic equipment
CN111353434A (en) Information identification method, device, system, electronic equipment and storage medium
CN108122020A (en) Two-dimensional code generation method and device and two-dimensional code identification method and device
CN109542285A (en) Image processing method and device
JP2014064151A (en) Image processing system, portable information device, remote operation method, and cooperation program
JP5246592B2 (en) Information processing terminal, information processing method, and information processing program
JP6274186B2 (en) Image forming apparatus, image forming system, and program
CN109033928A (en) Prevent the image processing method and device of information leakage
JP6650018B1 (en) Information processing apparatus, information processing method, program, and information processing server
CN112750072A (en) Information processing method and device
CN107465865A (en) Image pickup method and device
JP2001218176A (en) Video and audio communication processing mechanism
CN105871905B (en) Authentication method and device
KR101620272B1 (en) Switch for smartphone
JP2008113261A (en) Portable terminal with outgoing phone call function by image, outgoing phone call method by image, and outgoing phone call processing program by image
CN106569756A (en) Method and device for copy false proofing
JP2012190126A (en) Input device and input method
JP5382808B2 (en) Terminal device and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181113