CN108429877A - Image-pickup method and mobile terminal - Google Patents

Image-pickup method and mobile terminal Download PDF

Info

Publication number
CN108429877A
CN108429877A CN201710081343.9A CN201710081343A CN108429877A CN 108429877 A CN108429877 A CN 108429877A CN 201710081343 A CN201710081343 A CN 201710081343A CN 108429877 A CN108429877 A CN 108429877A
Authority
CN
China
Prior art keywords
image
certificate
mobile terminal
camera
face
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.)
Granted
Application number
CN201710081343.9A
Other languages
Chinese (zh)
Other versions
CN108429877B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710081343.9A priority Critical patent/CN108429877B/en
Publication of CN108429877A publication Critical patent/CN108429877A/en
Application granted granted Critical
Publication of CN108429877B publication Critical patent/CN108429877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of image-pickup method, the image collection for mobile terminal acquisition user certificate.Present invention method includes:Mobile terminal receives certificate image shooting request, and shoots request according to certificate image and open camera.Then it keeps camera to open, is continuously taken pictures to certificate.Compared with prior art, operation of the user in the Interval selecting of taking pictures of the multiple image certificate page to be captured is omitted in the present embodiment, the step of reducing mobile terminal acquisition certificate image, and reduce the switching times of the alternative costs and transverse screen and vertical screen operation interface of user, operational fluency is higher, better user experience.The present invention also provides relevant mobile terminals.

Description

Image-pickup method and mobile terminal
Technical field
This application involves image processing field more particularly to a kind of image-pickup methods and mobile terminal.
Background technology
With the development of science and technology, more and more applications are had developed on the mobile terminals such as mobile phone, tablet (Application, App) can realize various functions.For example, the Mobile bankings such as Wei Zhong banks App can be replaced For traditional shops of bank, the functions such as open an account, transfer accounts, inquiring, paying the fees of bank account are realized.The App's such as Mobile banking is universal The stroke and queuing time for having saved user's transacting business, have liberated the human and material resources of service department, have improved business Treatment effeciency, the great convenience brought to the life of user.
At this stage, the system of real name of App is trend of the times, and App may need to obtain user's under various application scenarios Identity information.For example, Mobile banking, for security requirement, needs user to provide its related certificate in the business of opening an account Image to verify identity.By taking identity card as an example:The ID Card Image of certain App acquisition users, and by the identity card figure of user As the identity information as user;Certain App then after acquiring the ID Card Image of user, are accorded with by optical identification Means such as (Optical Character Recognition, OCR), extracted from ID Card Image the name of user, the birthday, Identity information of the information such as identification card number, identity card term of validity as user.
The mode of the image of App acquisition user certificates has very much, can independently be uploaded, can also be started by App by user Camera on mobile terminal takes pictures to the identity card of user.Wherein, due to the identity information of user on certificate there may be On multiple pages (front and back of such as identity card), therefore App needs to take pictures to each page of user certificate respectively.One As, a certain page that App can prompt user to select certificate is taken pictures, and after the image of the complete page to be captured, prompts user Next page of selection certificate is taken pictures.
But existing App the step of taking pictures to user certificate, is more, the operation between step is not smooth enough, leads Cause the user experience of App bad.
Invention content
The present invention provides a kind of image-pickup method, the page-images for mobile terminal acquisition user certificate.This hair It is bright to additionally provide relevant mobile terminal.
Image-pickup method provided by the invention includes:
Certificate image shooting request is received, and request is shot according to the certificate image and starts camera;
It keeps the camera to open, takes pictures respectively to multiple pages to be collected of the certificate, until collecting institute State the image of the whole page to be collected of certificate.
Mobile terminal provided by the invention includes:
Command reception module for receiving certificate image shooting request, and shoots request according to the certificate image and starts Camera;
Image taking module carries out multiple pages to be collected of the certificate for keeping the camera to open respectively It takes pictures, until collecting the image of the whole page to be collected of the certificate.
In image-pickup method provided by the invention, mobile terminal receives certificate image shooting request, and according to certificate figure As camera is opened in shooting request.Then it keeps camera to open, is continuously taken pictures to certificate, until collecting the complete of the certificate The image of portion's page to be collected.Compared with prior art, the space closure camera of taking pictures in multiple image is omitted in the present embodiment And user is asked to select the operation of the certificate page to be captured, reduce the step of mobile terminal acquires certificate image, and reduce The switching times of the alternative costs and transverse screen and vertical screen operation interface of user, operational fluency is higher, better user experience.
Description of the drawings
Fig. 1 is operation interface schematic diagram when mobile terminal vertical screen shoots identity card;
Fig. 2 is operation interface schematic diagram when mobile terminal transverse screen shoots identity card;
Fig. 3 is that mobile terminal acquires one embodiment flow chart that user identity demonstrate,proves image at this stage;
Fig. 4 is image-pickup method one embodiment flow chart provided by the invention;
Fig. 5 is another embodiment flow chart of image-pickup method provided by the invention;
Fig. 5 (a) is the operation interface schematic diagram of mobile terminal of the present invention display shooting option;
Fig. 5 (b) is the operation interface schematic diagram that mobile terminal of the present invention shows the first guidance information;
Fig. 5 (c) is the operation interface schematic diagram that mobile terminal of the present invention shows the second guidance information;
Fig. 5 (d) is that mobile terminal of the present invention shows the operation interface schematic diagram for retaking option;
Fig. 5 (e) is another embodiment flow chart of image-pickup method provided by the invention;
Fig. 6 is another embodiment flow chart of image-pickup method provided by the invention;
Fig. 6 (a) is the operation interface schematic diagram that mobile terminal of the present invention shows start button;
Fig. 6 (b) is the operation interface schematic diagram that mobile terminal of the present invention shows guidance information;
Fig. 6 (c) is another embodiment flow chart of image-pickup method provided by the invention;
Fig. 7 is mobile terminal one embodiment structure chart provided by the invention;
Fig. 8 is another example structure figure of mobile terminal provided by the invention.
Specific implementation mode
The present invention provides a kind of image-pickup method, the page-images for mobile terminal acquisition user certificate.This hair It is bright to additionally provide relevant mobile terminal, it will be described respectively below.
The present invention can be used for a variety of signs such as passport, driving license, the registered permanent residence, identity card, the bank card of mobile terminal acquisition user The image collection of letter.First image-pickup method at this stage is introduced so that App captured identities demonstrate,prove image as an example:
The App such as Wei Zhong banks need to shoot the ID Card Image of user in certain scenes, and the identity to obtain user is believed Breath.Since the front and back of identity card all has the identity information of user, therefore App needs the front and back point to identity card It does not take pictures.Shooting ID Card Image is generally obtained by following flow at this stage:User selects to be captured one of identity card --- App takes pictures to the face of identity card --- another side that user selects identity card to be captured ---, and App is to identity in face The another side of card is taken pictures.This makes it possible to the dual-side images for collecting identity card.In addition, user is shooting identity card After certain one side, it is also an option that the face is retaken.
Assurance in order to facilitate user and browsing, acquiescence is operated using vertical screen mobile terminal (such as mobile phone, ipad etc.) Interface, vertical direction is longer and horizontal direction is shorter.And the front view of identity card is then that vertical direction is shorter and horizontal direction It is longer.Therefore mobile terminal, when shooting identity card, camera lens the image collected range often only accounts for a cell of operation interface Domain, as shown in Figure 1.
Image-region in Fig. 1 is smaller, and the clarity of picture and accuracy are relatively low.In order to ensure that user can be clearly accurate Observe that shooting effect, existing App also support transverse screen style of shooting.Specifically, user changes mobile terminal rotation for 90 degree It is held for level, then mobile terminal is converted to transverse screen operation interface, and the camera lens range of camera becomes full frame therewith, as shown in Figure 2. The flow of mobile terminal shooting ID Card Image in this way can be refined as:User selects identity card to be captured under vertical screen state On one side --- App starts camera, and mobile terminal is changed to transverse screen by user --- and App claps the face of identity card by camera To be taken pictures another of identity card is selected according to --- App closes camera, and mobile terminal reverts to vertical screen by user --- user Face --- App starts camera, and mobile terminal is changed to transverse screen --- App are taken pictures to the another side of identity card --- by user App closes camera, and mobile terminal is reverted to vertical screen by user.It, can be in addition, user has been after having shot certain one side of identity card The face is selected to be retaken.As shown in Figure 3.
From figure 3, it can be seen that the step of ID Card Image of App acquisition users, is more.And user needs mobile whole The transverse screen and vertical screen operation interface at end directly toggle, and the operational fluency of App is not high, and user experience is bad.
To solve the above-mentioned problems, the present invention provides a kind of image-pickup methods, for improving mobile terminal acquisition card The user experience of part image collection.Its basic procedure is referring to Fig. 4, include:
401, certificate image shooting request is received.
Mobile terminal receives the certificate image shooting request that user issues.Wherein, certificate to be captured waits adopting with multiple Collect the page, certificate image shooting request is for asking startup camera to be taken pictures with each page to be collected to certificate.
Certificate image shooting request can be that user clicks the phase for starting certificate image acquisition function in the interfaces App Close the instruction that button is triggered.Certificate image shooting request may be other instructions, not limited in the present embodiment.
402, start camera.
Mobile terminal starts camera to enter exposal model after receiving certificate image shooting request.In subsequent step In 403~404, the camera of mobile terminal is always maintained at unlatching, and mobile terminal is constantly in exposal model, until mobile terminal is adopted Collect the image of the whole page to be collected of certificate.
403, the first image is shot.
After camera starts, a page to be collected of certificate is placed within the scope of the camera lens of camera by user.Mobile terminal It is taken pictures to certificate by camera, obtains the first image.
Optionally, camera can be clicked by user takes pictures button to trigger photographing instruction, and mobile terminal receives user Photographing instruction after execute photographing operation, obtain the first image.It is again optional, the camera lens of camera can also be detected by mobile terminal It whether there is certificate in range, there are certificates, mobile terminal to execute the behaviour that takes pictures automatically within the scope of the camera lens of camera if detecting Make, obtains the first image.
Mobile terminal still keeps camera to open after taking pictures to obtain the first image, and jumps directly to step 404.
404, the second image is shot.
Mobile terminal still keeps camera to open after taking pictures to obtain the first image, and user is by the next page to be collected of certificate Face is placed within the scope of the camera lens of camera, and mobile terminal takes pictures to certificate by camera, obtains the second image.
Optionally, camera can be clicked by user takes pictures button to trigger photographing instruction, and mobile terminal receives user Photographing instruction after execute photographing operation, obtain the second image.It is again optional, the camera lens of camera can also be detected by mobile terminal It whether there is certificate in range, there are certificates, mobile terminal to execute the behaviour that takes pictures automatically within the scope of the camera lens of camera if detecting Make, obtains the second image.
Present embodiments provide a kind of image-pickup method, wherein mobile terminal receives certificate image shooting request, and root Request, which is shot, according to certificate image opens camera.Then it keeps camera to open, is continuously taken pictures to certificate, until collecting described The image of the whole page to be collected of certificate.Compared with prior art, the present embodiment is omitted in the gap of taking pictures of multiple image The step of closing camera and the operation of the certificate page to be captured please be select, reducing mobile terminal acquisition certificate image, and Reduce the switching times of the alternative costs and transverse screen and vertical screen operation interface of user, operational fluency is higher, user experience compared with It is good.
Optionally, for the certificate only there are two the page to be collected, the image collection of certificate only includes the first image With the second image.It needs to acquire image in addition, certain certificates such as passport, residence booklet etc. have more than two pages.For such Certificate, mobile terminal still keep camera to open after executing the step 403,404, and continue other pages to be collected to certificate Taken pictures to obtain third image, the 4th image, the 5th image ... until having collected the whole page to be collected of certificate in face Image.
Optionally, mobile terminal is after the image for the whole page to be collected for acquiring certificate, can close camera, and Display retakes option and shows user in operation interface.If user is dissatisfied to collected one or more image, Ke Yixuan It selects and re-shoots.
Embodiment shown in Fig. 4 gives the basic procedure of image-pickup method provided by the invention.Wherein, shown in Fig. 4 Embodiment be suitable for the Image Acquisition of the various identity cards such as passport, driving license, residence booklet, identity card, bank card.In these cards In part, it is card form certificate that the certificates such as identity card, bank card, which have particularity, these certificates, has front and back two altogether The page to be collected, mobile terminal only need to acquire the direct picture and back side image of certificate.It below will be to this two-sided card Formula certificate provides a kind of more detailed embodiment, please refers to Fig. 5:
501, certificate image shooting request is received.
Mobile terminal receives the certificate image shooting request that user issues.Certificate image shooting request starts for asking Camera is taken pictures with each page to be collected to certificate.
Optionally, also to be additionally operable to the target face that instruction first shoots certificate, target face can be for certificate image shooting request Front or the back side.
Optionally, mobile terminal can show the first front of shooting certificate in operation interface and first shoot the back of the body of certificate The option in face, it is front or the back side to click corresponding option by user to select the target face first shot.The clicking operation is Request can be shot as certificate image to be received by mobile terminal.Fig. 5 (a) gives shifting so that mobile terminal shoots identity card as an example One example of dynamic terminal display shooting option.
502, start camera.
Mobile terminal starts camera to enter exposal model after receiving certificate image shooting request.In subsequent step In 503~506, the camera of mobile terminal is always maintained at unlatching, and mobile terminal is constantly in exposal model, until mobile terminal is adopted Collect the direct picture and back side image of certificate.
503, the first guidance information is shown.
Mobile terminal shows interface of taking pictures after entering exposal model, and in the first guidance information of interface display of taking pictures, should First guidance information is used to indicate the designated position that the target face of certificate is placed within the scope of camera lens by user, in order to phase Machine is correctly taken pictures.
For example, mobile terminal, can be rectangular in interface display of taking pictures when shooting the identity card front of user Frame is shot, and shows " identity card front is placed in this region, and is aligned edge ", as shown in Fig. 5 (b).
Step 503 is optional step, and step 503 can also be omitted in practical applications.
504, the first image of shooting is as target face image;
After camera starts, the target face of certificate is placed within the scope of the camera lens of camera by user.Mobile terminal passes through camera It takes pictures to certificate, obtains the first image as target face image.
Optionally, camera can be clicked by user takes pictures button to trigger photographing instruction, and mobile terminal receives user Photographing instruction after execute photographing operation, obtain the first image.It is again optional, the camera lens of camera can also be detected by mobile terminal It whether there is certificate in range, there are certificates, mobile terminal to execute the behaviour that takes pictures automatically within the scope of the camera lens of camera if detecting Make, obtains the first image.
Optionally, mobile terminal can extract shooting and obtain the pictorial element in the first image, such as head portrait element, word member Element, background element etc..Then judge whether the first image is inverted according to pictorial element.If the first image inversion, mobile terminal By 180 ° of the first Image Reversal, so that the first image is face-up.
Mobile terminal still keeps camera to open after taking pictures to obtain the first image, and jumps directly to step 505.
505, the second guidance information is shown.
Mobile terminal is after taking pictures to obtain the first image, in the second guidance information of interface display of taking pictures, the second guiding letter Breath is used to indicate the designated position that the non-targeted face of certificate is placed within the scope of camera lens by user, in order to which camera is correctly clapped According to.Wherein, in two faces of the non-targeted face for indicating certificate, the another side of target face.For example, if target face is just Face, then non-targeted face is the back side.If target face is the back side, non-targeted face is front.
For example, mobile terminal, can be rectangular in interface display of taking pictures behind the successfully identity card front of shooting user The shooting frame of shape, and show that " identity card front is shot successfully!The identity card back side is placed in this region, and is aligned edge ", such as Shown in Fig. 5 (c).
Step 505 is optional step, and step 505 can also be omitted in practical applications.
506, the second face image of shooting is as non-targeted face image.
Mobile terminal is after taking pictures to obtain the first image, and mobile terminal is still in exposal model.User is by the non-mesh of certificate Mark face is placed within the scope of the camera lens of camera.Mobile terminal takes pictures to certificate by camera, obtains the second image as non- Target face image.
Optionally, camera can be clicked by user takes pictures button to trigger photographing instruction, and mobile terminal receives user Photographing instruction after execute photographing operation, obtain the second image.It is again optional, the camera lens of camera can also be detected by mobile terminal It whether there is certificate in range, there are certificates, mobile terminal to execute the behaviour that takes pictures automatically within the scope of the camera lens of camera if detecting Make, obtains the second image.
Optionally, mobile terminal can extract shooting and obtain the pictorial element in the second image, such as head portrait element, word member Element, background element etc..Then judge whether the second image is inverted according to pictorial element.If the second image inversion, mobile terminal By 180 ° of the second Image Reversal, so that the second image is face-up.
Since card form certificate only includes front and back, therefore mobile terminal shoots to have obtained the first image and the second image Afterwards, that is, the Image Acquisition operation to the whole of the card form certificate page to be collected is completed.
Optionally, mobile terminal can close camera, and grasping after the direct picture and back side image for acquiring certificate Make to show that retaking option shows user on interface.If user is dissatisfied to the direct picture or back side image of certificate, Ke Yixuan It selects and re-shoots.Fig. 5 (d) gives mobile terminal by taking mobile terminal shoots identity card as an example and shows a reality for retaking option Example.
The present embodiment describes the acquisition method of the dual-side image of card form certificate in detail.Wherein, mobile terminal receives card Part image taking is asked, and is shot request according to certificate image and opened camera.Then it keeps camera to open, is continuously shot certificate Two sides, as shown in Fig. 5 (e).The prior art as shown in figure 3 is compared, and the present embodiment is omitted in the gap of taking pictures on certificate two sides Choosing closes camera and user is asked to select the operation of the certificate page to be captured, reduces the step of mobile terminal acquisition certificate image Suddenly, the alternative costs for reducing user, reduce switching times of the user between transverse screen and vertical screen operation interface, and operation is smooth Spend higher, better user experience.
In embodiment shown in fig. 5, indicate that the first image that mobile terminal is first shot is front or back view by user Picture.Another image-pickup method is provided below, actively determines that the first image first shot is that front is gone back for mobile terminal It is back side image.Its basic procedure is referring to Fig. 6, include:
601, certificate image shooting request is received.
Mobile terminal receives the certificate image shooting request that user issues.Certificate image shooting request starts for asking Camera is taken pictures with each page to be collected to certificate.
Certificate image shooting request can be that user clicks the image collecting function for starting certificate in the interfaces App The instruction that associated button is triggered.Certificate image shooting request may be other instructions, not limited in the present embodiment.
Wherein, front or the back side that user's instruction first shoots certificate are not required in the present embodiment.Therefore with reality shown in fig. 5 It applies example to compare, mobile terminal need not be that user provides the first front of shooting certificate and elder generation in operation interface in the present embodiment Shoot the option at the back side of certificate, it is only necessary to provide the associated button (such as camera button) for the image collecting function for starting certificate i.e. It can.Fig. 6 (a) gives one that mobile terminal shows the start button of image collecting function so that mobile terminal shoots identity card as an example A example.
602, start camera.
Mobile terminal starts camera to enter exposal model after receiving certificate image shooting request.In subsequent step In 603~606, the camera of mobile terminal is always maintained at unlatching, and mobile terminal is constantly in exposal model, until mobile terminal is adopted Collect the direct picture and back side image of certificate.
603, the first image is shot.
After camera starts, the certificate page to be taken pictures is placed within the scope of the camera lens of camera by user.Mobile terminal passes through Camera takes pictures to certificate, obtains the first image.
Optionally, camera can be clicked by user takes pictures button to trigger photographing instruction, and mobile terminal receives user Photographing instruction after execute photographing operation, obtain the first image.It is again optional, the camera lens of camera can also be detected by mobile terminal It whether there is certificate in range, there are certificates, mobile terminal to execute the behaviour that takes pictures automatically within the scope of the camera lens of camera if detecting Make, obtains the first image.
Optionally, mobile terminal, can also be in interface display guidance information of taking pictures after camera startup.But due to mobile whole End it is uncertain current it is to be captured be certificate front or the back side, so when the guidance information that shows in do not indicate that for putting Set the front or the back side of certificate.Fig. 6 (b) gives mobile terminal so that mobile terminal shoots identity card as an example and shows guidance information One example.
Mobile terminal still keeps camera to open after taking pictures to obtain the first image, and jumps directly to step 604.
604, the first image of identification is target face image.
Mobile terminal after shooting obtains the first image, the first image of identification be target face, target face can be front or The back side.
Optionally, mobile terminal can extract shooting and obtain the pictorial element in the first image, such as head portrait element, word member Element, background element etc..Then determine that the first image is the direct picture or back side image of certificate according to pictorial element.Citing comes It says, if the first image includes head portrait element, it does not include head portrait that the front of certificate, which includes in head portrait and the certificate back side, then can be true Fixed first image is the direct picture of certificate.
Mobile terminal is after determining that the first image is target face image, you can the second image that determination will be shot is non- Target face image.In two faces of the non-targeted face for indicating certificate, the another side of target face.For example, if mobile terminal Determine that the first image is the direct picture of certificate, it is determined that the second image is the back side image of certificate;If mobile terminal determines One image is the back side image of certificate, it is determined that the second image is the direct picture of certificate.
It optionally, can also be according in the first image after mobile terminal has extracted the pictorial element in the first image Pictorial element, judges whether the first image is inverted.For example, if the positive head portrait of certificate is located at the upper right comer region of certificate, And the head portrait element of the first image is located at the lower left corner region of the first image, then can determine the first image inversion.If the first figure Image inversion, then mobile terminal is by 180 ° of the first Image Reversal, so that the first image is face-up.
605, third guidance information is shown.
Mobile terminal is after taking pictures to obtain the first image, in interface display third guidance information of taking pictures, third guiding letter Breath is used to indicate the designated position that the non-targeted face of certificate is placed within the scope of camera lens by user, in order to which camera is correctly clapped According to.
Step 605 is optional step, and step 605 can also be omitted in practical applications.
606, the second face image of shooting is as non-targeted face image.
Mobile terminal is after taking pictures to obtain the first image, and mobile terminal is still in exposal model.User is by the non-mesh of certificate Mark face is placed within the scope of the camera lens of camera.Mobile terminal takes pictures to certificate by camera, obtains the second image as non- Target face image.
Optionally, camera can be clicked by user takes pictures button to trigger photographing instruction, and mobile terminal receives user Photographing instruction after execute photographing operation, obtain the second image.It is again optional, the camera lens of camera can also be detected by mobile terminal It whether there is certificate in range, there are certificates, mobile terminal to execute the behaviour that takes pictures automatically within the scope of the camera lens of camera if detecting Make, obtains the second image.
Optionally, mobile terminal can extract shooting and obtain the pictorial element in the second image, such as head portrait element, word member Element, background element etc..Then judge whether the second image is inverted according to pictorial element.If the second image inversion, mobile terminal By 180 ° of the second Image Reversal, so that the second image is face-up.
Since card form certificate only includes front and back, therefore mobile terminal shoots to have obtained the first image and the second image Afterwards, that is, the Image Acquisition operation to the whole of the card form certificate page to be collected is completed.
Optionally, mobile terminal can show weight after the direct picture and back side image for acquiring certificate on interface It claps option and shows user.If user is dissatisfied to the direct picture or back side image of certificate, can select to re-shoot.
A kind of acquisition method of the dual-side image of more intelligent card form certificate is present embodiments provided, such as Fig. 6 (c) institutes Show.Wherein, mobile terminal does not need the front or the back side that user's selection first shoots certificate, can detect the figure taken automatically Seem the front or the back side of certificate.The step number and user for thus further reducing image-pickup method are chosen to This, the user experience is improved.
Optionally, mobile terminal can close camera, and grasping after the direct picture and back side image for acquiring certificate Make to show that retaking option shows user on interface.If user is dissatisfied to the direct picture or back side image of certificate, Ke Yixuan It selects and re-shoots.
Above embodiment describes image-pickup method provided by the invention, is explained below and is adopted for realizing the image The mobile terminal of set method, i.e. basic structure are referring to Fig. 7, include:
Command reception module 701 is opened for receiving certificate image shooting request, and according to certificate image shooting request Dynamic camera;
Image taking module 702, for keeping the camera to open, to multiple pages to be collected of the certificate respectively into Row is taken pictures, until collecting the image of the whole page to be collected of the certificate.
In mobile terminal provided in this embodiment, command reception module 701 receives certificate image shooting request, and according to card Camera is opened in the request of part image taking.Image taking module 702 keeps camera to open, and is continuously taken pictures to certificate.With it is existing Technology is compared, and user's certificate to be captured in the Interval selecting of taking pictures of multiple image is omitted in mobile terminal provided in this embodiment The operation of the page, the step of reducing mobile terminal acquisition certificate image, and reduce the alternative costs and transverse screen and perpendicular of user Shield the switching times of operation interface, operational fluency is higher, better user experience.
Optionally, the certificate is card form certificate, the page to be collected of the certificate include the certificate front and The back side.
Optionally, the certificate image shooting request is additionally operable to the target face image that instruction first shoots the certificate, described The direct picture or one in back side image that the target face image of certificate is the certificate;
Described image taking module 702 is specifically used for:It keeps the camera to open, is taken pictures to obtain the to the certificate One image, and determine that described first image is the target face image of the certificate;Then again the certificate take pictures To the second image, and determine that second image is the non-targeted face image of the certificate, the non-targeted face is for indicating institute State the another side of target face.
Optionally, the mobile terminal further includes:
Information display module 703 obtains the first image for being taken pictures to the certificate in described image taking module The first guidance information is shown before, and first guidance information is used to indicate is placed on the camera by the target face of the certificate Designated position within the scope of camera lens;
Described information display module 703 is additionally operable to:The certificate is taken pictures in described image taking module to obtain The second guidance information is shown before two images, second guidance information, which is used to indicate, is placed on the non-targeted face of the certificate Designated position within the scope of the camera lens.
Optionally, the mobile terminal further includes:
Page determining module 704 obtains the first image for being taken pictures to the certificate in described image taking module Later, determine that described first image is the target face image of the certificate, the target face image of the certificate is the certificate One in direct picture or back side image;
The page determining module 704 is additionally operable to determine the non-targeted face image that second image is the certificate, institute State another side of the non-targeted face for indicating the target face.
Optionally, the page determining module 704 is additionally operable to:
Extract the pictorial element in described first image;
According to the pictorial element in described first image, determine direct picture that described first image is the certificate still Back side image, and using described first image as the target face image of the certificate.
Optionally, the page determining module 704 is additionally operable to:
According to the pictorial element in described first image, judge whether described first image is inverted;
If it is determined that described first image is inverted, then described first image is overturn 180 °.
Optionally, described information display module 703 is additionally operable to:It takes pictures to the certificate in described image taking module It obtains showing that third guidance information, the third guidance information are used to indicate the non-targeted face of the certificate before the second image It is placed on the designated position within the scope of the camera lens.
Optionally, the page determining module is additionally operable to:
Extract the pictorial element in second image;
According to the pictorial element in second image, judge whether second image is inverted;
If it is determined that second image inversion, then by 180 ° of second Image Reversal.
The mobile terminal in the embodiment of the present invention is described from the angle of blocking functional entity above, below from The mobile terminal in the embodiment of the present invention is described in the angle of hardware handles, referring to Fig. 8, the shifting in the embodiment of the present invention Moving 800 another embodiment of terminal includes:
Input unit 801, output device 802, processor 803 and the (processing wherein in mobile terminal 800 of memory 804 The quantity of device 803 can be one or more, in Fig. 8 by taking a processor 803 as an example).In some embodiments of the invention, defeated Entering device 801, output device 802, processor 803 and memory 804 can be connected by bus or other means, wherein in Fig. 8 For being connected by bus.
Wherein, by the operational order for calling memory 804 to store, processor 803 is for executing following steps:
Certificate image shooting request is received, and request is shot according to the certificate image and starts camera;
It keeps the camera to open, takes pictures respectively to multiple pages to be collected of the certificate, until collecting institute State the image of the whole page to be collected of certificate.
In some embodiments of the present invention, the certificate is card form certificate, and the page to be collected of the certificate includes institute State the front and back of certificate.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
In some embodiments of the present invention, the certificate image shooting request is used to indicate the target for first shooting the certificate Face image, the target face image of the certificate are the direct picture of the certificate or one in back side image.Processor 803 is also For executing following steps:
It keeps the camera to open, the certificate is taken pictures to obtain the first image, and determine that described first image is The target face image of the certificate;Then the certificate is taken pictures again to obtain the second image, and determines second figure Non-targeted face image as being the certificate, the non-targeted face are used to indicate the another side of the target face.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
Show the first guidance information, first guidance information be used to indicate the target face of the certificate is placed on it is described Designated position within the scope of camera lens;
Show the second guidance information, second guidance information is used to indicate is placed on institute by the non-targeted face of the certificate State the designated position within the scope of camera lens.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
Determine that described first image is the target face image of the certificate, the target face image of the certificate is the certificate Direct picture or back side image in one;
Determine that second image is the non-targeted face image of the certificate, the non-targeted face is for indicating the target The another side in face.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
Extract the pictorial element in described first image;
According to the pictorial element in described first image, determine direct picture that described first image is the certificate still Back side image, and using described first image as the target face image of the certificate.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
According to the pictorial element in described first image, judge whether described first image is inverted;
If it is determined that described first image is inverted, then described first image is overturn 180 °.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
Show third guidance information, the third guidance information is used to indicate is placed on institute by the non-targeted face of the certificate State the designated position within the scope of camera lens.
In some embodiments of the present invention, processor 803 is additionally operable to execute following steps:
Extract the pictorial element in second image;
According to the pictorial element in second image, judge whether second image is inverted;
If it is determined that second image inversion, then by 180 ° of second Image Reversal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these Modification or replacement, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (16)

1. a kind of image-pickup method, for the page-images of mobile terminal acquisition certificate, the certificate includes multiple to be collected The page, the method includes:
Certificate image shooting request is received, and request is shot according to the certificate image and starts camera;
It keeps the camera to open, takes pictures respectively to multiple pages to be collected of the certificate, until collecting the card The image of the whole page to be collected of part.
2. image-pickup method according to claim 1, which is characterized in that the certificate is card form certificate, the card The page to be collected of part includes the front and back of the certificate.
3. image-pickup method according to claim 2, which is characterized in that the certificate image shooting request is additionally operable to refer to Show that the target face image for first shooting the certificate, the target face image of the certificate are the direct picture or back view of the certificate One as in;
Multiple pages to be collected to the certificate take pictures respectively including:
The certificate is taken pictures to obtain the first image, and determines that described first image is the target face image of the certificate;
The certificate is taken pictures to obtain the second image, and determines that second image is the non-targeted face figure of the certificate Picture, the non-targeted face are used to indicate the another side of the target face.
4. image-pickup method according to claim 3, which is characterized in that the method carries out the certificate described Further include before taking pictures to obtain the first image:
Show the first guidance information, first guidance information is used to indicate is placed on the camera by the target face of the certificate Designated position within the scope of camera lens;
The method it is described the certificate is taken pictures to obtain the second image before further include:
Show the second guidance information, second guidance information is used to indicate is placed on the phase by the non-targeted face of the certificate Designated position within the scope of machine camera lens.
5. image-pickup method according to claim 2, which is characterized in that the method carries out the certificate described It takes pictures to obtain after the first image and further includes:
Determine that described first image is the target face image of the certificate, the target face image of the certificate be the certificate just One in face image or back side image;
Determine that second image is the non-targeted face image of the certificate, the non-targeted face is for indicating the target face Another side.
6. image-pickup method according to claim 5, which is characterized in that the determining described first image is the card The target face image of part includes:
Extract the pictorial element in described first image;
According to the pictorial element in described first image, the direct picture or the back side that described first image is the certificate are determined Image, and using described first image as the target face image of the certificate.
7. image-pickup method according to claim 6, which is characterized in that the image in the extraction described first image Further include after element:
According to the pictorial element in described first image, judge whether described first image is inverted;
If it is determined that described first image is inverted, then described first image is overturn 180 °.
8. image-pickup method according to any one of claims 5 to 7, which is characterized in that it is described to the certificate into Row is taken pictures:
Show third guidance information, the third guidance information is used to indicate is placed on the phase by the non-targeted face of the certificate Designated position within the scope of machine camera lens.
9. image-pickup method according to any one of claims 5 to 7, which is characterized in that it is described to the certificate into Row takes pictures to obtain the second image:
Extract the pictorial element in second image;
According to the pictorial element in second image, judge whether second image is inverted;
If it is determined that second image inversion, then by 180 ° of second Image Reversal.
10. a kind of mobile terminal, the page-images for acquiring certificate, the certificate include multiple pages to be collected, the shifting Dynamic terminal includes:
Command reception module for receiving certificate image shooting request, and shoots request according to the certificate image and starts camera;
Image taking module takes pictures respectively to multiple pages to be collected of the certificate for keeping the camera to open, Until collecting the image of the whole page to be collected of the certificate.
11. mobile terminal according to claim 10, which is characterized in that the certificate is card form certificate, the certificate The page to be collected include the certificate front and back.
12. mobile terminal according to claim 11, which is characterized in that the certificate image shooting request is specifically used for referring to Show that the target face image for first shooting the certificate, the target face image of the certificate are the direct picture or back view of the certificate One as in;
Described image taking module is specifically used for:The certificate is taken pictures to obtain the first image, and determines first figure Target face image as being the certificate;The certificate is taken pictures to obtain the second image, and determines that second image is The non-targeted face image of the certificate, the non-targeted face are used to indicate the another side of the target face.
13. mobile terminal according to claim 12, which is characterized in that the mobile terminal further includes:
Information display module, for being shown before described image taking module is taken pictures to obtain the first image to the certificate First guidance information, first guidance information is used to indicate is placed on the camera lens range by the target face of the certificate Interior designated position;
Described information display module is additionally operable to:Described image taking module to the certificate taken pictures to obtain the second image it The second guidance information of preceding display, second guidance information is used to indicate is placed on the camera by the non-targeted face of the certificate Designated position within the scope of camera lens.
14. mobile terminal according to claim 11, which is characterized in that the mobile terminal further includes:
Page determining module carries after being taken pictures to obtain the first image to the certificate in described image taking module The pictorial element in described first image is taken, according to the pictorial element in described first image, determines described first image for institute The direct picture or back side image of certificate are stated, and using described first image as the target face image of the certificate;
The page determining module is additionally operable to determine the non-targeted face image that second image is the certificate, the non-mesh Mark face is used to indicate the another side of the target face.
15. mobile terminal according to claim 14, which is characterized in that the page determining module is additionally operable to:
According to the pictorial element in described first image, judge whether described first image is inverted;
If it is determined that described first image is inverted, then described first image is overturn 180 °;
Extract the pictorial element in second image;
According to the pictorial element in second image, judge whether second image is inverted;
If it is determined that second image inversion, then by 180 ° of second Image Reversal.
16. the mobile terminal according to claims 14 or 15, which is characterized in that the mobile terminal further includes:
Information display module, for being shown before described image taking module is taken pictures to obtain the second image to the certificate Third guidance information, the third guidance information is used to indicate is placed on the camera lens model by the non-targeted face of the certificate Enclose interior designated position.
CN201710081343.9A 2017-02-15 2017-02-15 Image acquisition method and mobile terminal Active CN108429877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710081343.9A CN108429877B (en) 2017-02-15 2017-02-15 Image acquisition method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710081343.9A CN108429877B (en) 2017-02-15 2017-02-15 Image acquisition method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108429877A true CN108429877A (en) 2018-08-21
CN108429877B CN108429877B (en) 2021-08-13

Family

ID=63155413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710081343.9A Active CN108429877B (en) 2017-02-15 2017-02-15 Image acquisition method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108429877B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376735A (en) * 2018-08-31 2019-02-22 百度在线网络技术(北京)有限公司 Identity information extracting method, device, electronic equipment and storage medium
CN110324531A (en) * 2019-05-24 2019-10-11 阿里巴巴集团控股有限公司 Image Acquisition bootstrap technique and device
CN110443237A (en) * 2019-08-06 2019-11-12 北京旷视科技有限公司 Certificate recognition methods, device, electronic equipment and computer readable storage medium
CN112165571A (en) * 2020-09-09 2021-01-01 支付宝实验室(新加坡)有限公司 Certificate image acquisition method, device and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201680A1 (en) * 2001-05-30 2004-10-14 Gennetten K. Douglas Camera docking solution provides a user interface for printers, CD writers and other devices
CN101655981A (en) * 2009-09-09 2010-02-24 谭洪舟 Method for detecting and adjusting inversion of certificate image
CN201919040U (en) * 2010-11-24 2011-08-03 龙旗科技(上海)有限公司 Camera mobile phone with function of advanced scanistor
CN102298651A (en) * 2010-06-23 2011-12-28 株式会社锦宫事务 Card information management device
US8699779B1 (en) * 2009-08-28 2014-04-15 United Services Automobile Association (Usaa) Systems and methods for alignment of check during mobile deposit
CN103870257A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Continuous focusing method and device
WO2014184372A1 (en) * 2013-05-17 2014-11-20 Wonga Technology Limited Image capture using client device
CN104899785A (en) * 2015-04-04 2015-09-09 杭州中焯信息技术股份有限公司 Mobile terminal self-help account opening system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201680A1 (en) * 2001-05-30 2004-10-14 Gennetten K. Douglas Camera docking solution provides a user interface for printers, CD writers and other devices
US8699779B1 (en) * 2009-08-28 2014-04-15 United Services Automobile Association (Usaa) Systems and methods for alignment of check during mobile deposit
CN101655981A (en) * 2009-09-09 2010-02-24 谭洪舟 Method for detecting and adjusting inversion of certificate image
CN102298651A (en) * 2010-06-23 2011-12-28 株式会社锦宫事务 Card information management device
CN201919040U (en) * 2010-11-24 2011-08-03 龙旗科技(上海)有限公司 Camera mobile phone with function of advanced scanistor
CN103870257A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Continuous focusing method and device
WO2014184372A1 (en) * 2013-05-17 2014-11-20 Wonga Technology Limited Image capture using client device
CN104899785A (en) * 2015-04-04 2015-09-09 杭州中焯信息技术股份有限公司 Mobile terminal self-help account opening system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376735A (en) * 2018-08-31 2019-02-22 百度在线网络技术(北京)有限公司 Identity information extracting method, device, electronic equipment and storage medium
CN110324531A (en) * 2019-05-24 2019-10-11 阿里巴巴集团控股有限公司 Image Acquisition bootstrap technique and device
CN110443237A (en) * 2019-08-06 2019-11-12 北京旷视科技有限公司 Certificate recognition methods, device, electronic equipment and computer readable storage medium
CN112165571A (en) * 2020-09-09 2021-01-01 支付宝实验室(新加坡)有限公司 Certificate image acquisition method, device and equipment

Also Published As

Publication number Publication date
CN108429877B (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN109711243B (en) Static three-dimensional face in-vivo detection method based on deep learning
JP6159491B1 (en) Person picture specifying system, person picture specifying method and program
CN108429877A (en) Image-pickup method and mobile terminal
CN105868677B (en) Living body face detection method and device
US9684819B2 (en) Apparatus and method for distinguishing whether an image is of a live object or a copy of a photo or moving picture
CN109190539A (en) Face identification method and device
CN107545241A (en) Neural network model is trained and biopsy method, device and storage medium
CN108710847A (en) Scene recognition method, device and electronic equipment
CN110232369A (en) A kind of face identification method and electronic equipment
CN103399632A (en) Gesture control method and mobile terminal
Vazquez-Fernandez et al. Built-in face recognition for smart photo sharing in mobile devices
CN102474636A (en) Adjusting perspective and disparity in stereoscopic image pairs
JP6969663B2 (en) Devices and methods for identifying the user's imaging device
CN105872363A (en) Adjustingmethod and adjusting device of human face focusing definition
CN109040594A (en) Photographic method and device
CN107622246A (en) Face identification method and Related product
CN103984931B (en) A kind of information processing method and the first electronic equipment
CN106303234A (en) Take pictures processing method and processing device
JP2023540273A (en) Image processing method, device, and storage medium using eye condition detection
CN106096043A (en) A kind of photographic method and mobile terminal
Bresan et al. Facespoof buster: a presentation attack detector based on intrinsic image properties and deep learning
CN107862259A (en) Human image collecting method and device, terminal installation and computer-readable recording medium
KR101121712B1 (en) Providing device of eye scan path
CN110688878A (en) Living body identification detection method, living body identification detection device, living body identification detection medium, and electronic device
CN108334852A (en) A kind of image analysis identifying system and image analysis recognition methods

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
GR01 Patent grant
GR01 Patent grant