CN110493519A - Image-pickup method, computer-readable medium and the computer equipment of mobile terminal - Google Patents

Image-pickup method, computer-readable medium and the computer equipment of mobile terminal Download PDF

Info

Publication number
CN110493519A
CN110493519A CN201910761898.7A CN201910761898A CN110493519A CN 110493519 A CN110493519 A CN 110493519A CN 201910761898 A CN201910761898 A CN 201910761898A CN 110493519 A CN110493519 A CN 110493519A
Authority
CN
China
Prior art keywords
image
subinterval
brightness value
mobile terminal
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
CN201910761898.7A
Other languages
Chinese (zh)
Other versions
CN110493519B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910761898.7A priority Critical patent/CN110493519B/en
Publication of CN110493519A publication Critical patent/CN110493519A/en
Application granted granted Critical
Publication of CN110493519B publication Critical patent/CN110493519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation

Abstract

The present invention discloses the image-pickup method, computer-readable medium and computer equipment of mobile terminal.The image-pickup method comprises determining that mobile terminal opens face's unlocking function;Detect to mobile terminal period the brightness value of face to be captured;Mobile terminal by brightness value compared with the first predetermined luminance section, and determine brightness value belonging to the first subinterval, wherein the first predetermined luminance section include at least two from down to height arrangement the first subinterval;Mobile terminal first subinterval according to belonging to brightness value determines picture-taken frequency, and acquires face image according to picture-taken frequency;The wherein corresponding picture-taken frequency in each first subinterval, the size of picture-taken frequency is according to the first subinterval from down to high decreasing order.When detecting that the brightness of face to be captured is larger, picture-taken frequency is reduced, when detecting that the brightness of the collected face image of camera is larger, image output frame rate is reduced, reduces data volume, save memory space.

Description

Image-pickup method, computer-readable medium and the computer equipment of mobile terminal
Technical field
The invention belongs to technical field of mobile terminals, in particular to the image-pickup method of mobile terminal, computer-readable Medium, computer equipment.
Background technique
Mobile terminal has generallyd use camera at present, and user can be clapped by the camera configured on mobile terminal According to camera shooting, so that mobile terminal is become a qualified digital camera, the digital camera functionality of mobile terminal refers to Whether mobile terminal can carry out shooting static images or short-movie shooting by built-in or external digital camera, as movement One new additional function of terminal, the digital camera functionality of mobile terminal are rapidly developed.With camera pixel Raising, shooting effect also become closer to traditional card camera even low side slr camera.Mobile terminal camera is divided into It is built-in with it is external, built-in camera refer to camera inside mobile terminal, be more convenient.External mobile terminal by data line or Person's mobile terminal lower interface is connected with digital camera, to complete all shooting functions of digital camera.External digital camera Advantage is that the weight of mobile terminal can be mitigated, and external digital camera is light-weight, and easy to carry, application method is simple. The performance of the digital camera of mobile terminal in developing stage should be also at the primary stage, and only Individual mobile terminal images Headband has optical zoom function, but major part is owned by Digital Zoom function.It is nevertheless believed that with mobile terminal digital camera function The development of energy, the mobile terminal with optical zoom also can be listed gradually.In addition to this, the digital camera functionality master of mobile terminal It to include shooting still image, continuous shooting function, short-movie shooting, camera lens is rotatable, automatic white balance, built-in flash etc..It moves The shooting function of dynamic terminal is that have direct relation with its screen material, the resolution ratio of screen, camera pixel, camera material.
On the other hand, the application function based on camera is also more and more, if face's unlock is a kind of camera shooting being in daily use Face need to be only directed at camera and achieve the purpose that unlock mobile terminal by the characteristic matching in face, exempted from by head application, user The trouble for having gone traditional unlock to need to be inputted with hand, it is not only safe but also quick.
In face's unlock, uses in the prior art and mobile terminal camera acquired image is recorded. Since it is considered that the of less demanding of image under the scene of face's unlock, as long as content can be recognized.But it is existing In technology when face unlocks, the face image that camera still obtains higher resolution can generate biggish data volume in this way, To occupy more memory space.
Summary of the invention
(1) technical problems to be solved by the invention
The technical problem to be solved by the present invention is how to reduce to obtain generating in image process when carrying out face's unlock Data volume is to reduce the memory space of occupancy.
(2) the technical solution adopted in the present invention
In order to achieve the above purpose, present invention employs the following technical solutions:
A kind of image-pickup method of mobile terminal, described image acquisition method include:
Determine that mobile terminal opens face's unlocking function;
Detect to mobile terminal period the brightness value of face to be captured;
Mobile terminal compared with the first predetermined luminance section, and determines the brightness value first belonging to the brightness value Subinterval, wherein first predetermined luminance section include at least two from down to height arrangement the first subinterval;
Mobile terminal first subinterval according to belonging to the brightness value determines picture-taken frequency, and according to described image Frequency acquisition acquires face image;The wherein corresponding picture-taken frequency in each first subinterval, picture-taken frequency it is big It is small according to the first subinterval from down to high decreasing order.
Preferably, the partial section overlapping in two neighboring first subinterval.
Preferably, mobile terminal and determines the brightness value institute by the brightness value compared with the first predetermined luminance section The specific method in the first subinterval belonged to includes:
Judge whether the brightness value that current period detects is in the overlapping interval in two neighboring first subinterval;
If so, the upper cycle detection of judgement to brightness value whether be in two neighboring first subinterval one of It is interior;
If so, determining belonging to the brightness value in the first subinterval and a upper period belonging to the brightness value of current period the One subinterval is identical.
Preferably, mobile terminal and determines the brightness value institute by the brightness value compared with the first predetermined luminance section The specific method in the first subinterval belonged to includes:
Judge whether the brightness value that current period detects is in the overlapping interval in two neighboring first subinterval;
If so, the upper cycle detection of judgement to brightness value whether be in two neighboring first subinterval one of It is interior;
If it is not, then that lesser first subinterval of correspondence image frequency acquisition in two neighboring first subinterval is true It is set to the first subinterval belonging to the brightness value of current period.
Preferably, described image acquisition method further include:
Detect to mobile terminal period the brightness value of face image collected;
The brightness value of the face image compared with the second predetermined luminance section, and is determined face figure by mobile terminal Second subinterval belonging to the brightness value of picture, wherein second predetermined luminance section include at least two from down to height arrangement Second subinterval;
Mobile terminal second subinterval according to belonging to the brightness value of the face image determines image output frame rate, and root Face image is exported according to described image output frame rate;Wherein the corresponding image output frame rate in each second subinterval, image are defeated The size of frame per second is according to the second subinterval from down to high decreasing order out.
Preferably, the partial section overlapping in two neighboring second subinterval.
Preferably, mobile terminal by the brightness value of the face image compared with the second predetermined luminance section, and determine institute The specific method for stating the second subinterval belonging to the brightness value of face image includes:
Judge whether the brightness value for the face image that current period detects is in two neighboring second subinterval In overlapping interval;
If so, the upper cycle detection of judgement to the brightness value of face image whether to be in described two neighboring second sub Section one of in;
If so, determining the face in the second subinterval and a upper period belonging to the brightness value of the face image of current period Second subinterval belonging to the brightness value of image is identical.
Preferably, mobile terminal by the brightness value of the face image compared with the second predetermined luminance section, and determine institute The specific method for stating the second subinterval belonging to the brightness value of face image includes:
Judge whether the brightness value for the face image that current period detects is in two neighboring second subinterval In overlapping interval;
If so, the upper cycle detection of judgement to the brightness value of face image whether to be in described two neighboring second sub Section one of in;
If it is not, then that lesser second subinterval of correspondence image output frame rate in two neighboring second subinterval is true It is set to the second subinterval belonging to the brightness value of the face image of current period.
The invention also discloses a kind of computer-readable medium, the computer-readable medium storage has the figure of mobile terminal As capture program, the image acquisition procedure of the mobile terminal realizes any above-mentioned mobile end when being executed by the processor The image-pickup method at end.
The invention also discloses computer equipment, the computer equipment includes: memory, processor and is stored in institute The image acquisition procedure of the mobile terminal on memory is stated, the image acquisition procedure of the mobile terminal is executed by the processor The image-pickup method of any above-mentioned mobile terminal of Shi Shixian.
(3) beneficial effect
The image-pickup method of mobile terminal disclosed by the invention, by dividing multiple brightness spaces, when detecting wait clap When the brightness for the face taken the photograph is larger, the appropriate picture-taken frequency for reducing camera, camera, which can also collect, meets face's solution Lock desired face image.Further, appropriate to reduce when the brightness for detecting the collected face image of camera is larger The image output frame rate of camera, camera are also output to the face image for meeting face's unlocking requirements, drop as far as possible in this way The data volume generated in low face's unlocking process saves memory space, promotes mobile terminal storage efficiency.
Detailed description of the invention
Fig. 1 is the flow chart of the image-pickup method of the embodiment of the present invention one;
Fig. 2 is the flow chart of the image-pickup method of the embodiment of the present invention two;
Fig. 3 is the structural block diagram of the computer equipment of the embodiment of the present invention three.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Embodiment one
The application provides a kind of image-pickup method of mobile terminal, it is intended to when mobile terminal dynamic image recording, image It is served only for face's unlock, when not high for image quality requirements, the lower image of clarity can be used, to reduce image Memory space promotes mobile terminal storage efficiency to save the resource of mobile terminal.Wherein, relevant to picture quality height One factor is the frequency acquisition of camera, and frequency acquisition is higher, and acquired image definition is higher, but can also be occupied more More memory spaces.
As shown in Figure 1, the image-pickup method of the mobile terminal of embodiment according to the present invention one includes the following steps:
Step S10: determine that mobile terminal opens face's unlocking function.
Specifically, when unlocking mobile terminal by face's unlocking function, front camera shooting face can generally be opened Portion's image, naturally it is also possible to shoot face image by opening rear camera, it is not limited here.It opens face and unlocks function The mode of energy is more, such as by pressing specific physical button or virtual key, opens camera and shoot user face, may be used also Specific gesture motion is arranged, such as lifts mobile terminal, shakes mobile terminal etc. to open camera, when mobile terminal After face's unlocking function is opened, camera is in dynamic and shoots with video-corder state, that is, is in shooting preview state.
Step S20: the brightness value of face to be captured is detected to mobile terminal period.
After mobile terminal opens face's unlocking function, mobile terminal starts the timing that built-in time-out time is TTW Device is periodically detected every brightness value of the TTW time to the face to be captured of user.Specifically, work as timer After unlatching, the brightness value of the ambient light sensor detection user face built in mobile terminal.Preferably, the value of TTW is selected as 200 millis Second.
Step S30: mobile terminal by brightness value compared with the first predetermined luminance section, and determine brightness value belonging to first Subinterval, wherein the first predetermined luminance section include at least two from down to height arrangement the first subinterval.
As a preferred embodiment, the partial section overlapping in two neighboring first subinterval, can adopt in this way to avoid camera Collect the frequency frequent switching of image, to prevent causing system loading to rise.Assuming that lap is arranged not between section and section But direct neighbor is then when brightness of image size is at the boundary brightness of image size in two sections, it is contemplated that error is held very much Easily brightness of image size frequent switching between two sections occur causes system loading to rise.For example, an image is bright Spending section is [100,140], another brightness of image section is [140,180], then when brightness of image is near 140, upper one Period brightness of image is in section [100,140];Next period brightness of image is in section [140,180], and at this moment frequency acquisition can be Two sections constantly switch so as to cause system loading rising.And when the overlapping of the partial section in two neighboring first subinterval, For example, first subinterval is [100,150], the frequency acquisition for corresponding to camera input picture is A;Another first Subinterval is [130,180], and the frequency acquisition for corresponding to camera input picture is B;Then when brightness value is located at [100,130] When, it is clear that the frequency acquisition corresponding to camera input picture is A;When brightness value is located at [150,180], it is clear that corresponding to taking the photograph As the frequency acquisition of head input picture is B;Corresponding to A or B when brightness value is located at [130,150], then basis is originally corresponding Which which is exactly, in this way can be to avoid frequency acquisition frequent switching.Such as brightness of image camera input picture when being 120 Frequency acquisition is A, and the frequency acquisition of camera input picture is still A when then brightness of image becomes 140, and then brightness of image becomes The frequency acquisition of camera input picture is B when being 170.The frequency acquisition of camera input picture is when brightness of image is 170 B, the frequency acquisition of camera input picture is still B when then brightness of image becomes 140, and then brightness of image becomes taking the photograph when 120 As the frequency acquisition of head input picture is A.Certainly it should be noted that in other embodiments, adjacent two first sub Also it can be achieved on image-pickup method of the invention when section is not overlapped, therefore this specification is not to adjacent two Whether one subinterval, which is overlapped, carries out mandatory restriction.
It further, illustratively, is three the first subintervals by the first predetermined luminance interval division.Specifically, In Three the first subintervals are divided between ambient light sensor the minimum luminance value Vmin that can be detected and maximum brightness value Vmax, It is [Vmin, V2] [V1, V4] and [V3, Vmax] respectively, wherein Vmin < V1 < V2 < V3 < V4 < Vmax, wherein [Vmin, V2] indicate brightness value be greater than or equal to Vmin and be less than or equal to V2, the expression meaning of [V1, V4] and [V3, Vmax] and [Vmin, V2] is identical.Such first predetermined luminance section is divided into from down to three high the first subintervals, and per adjacent There is lap in two the first subintervals.
Specifically, in a kind of wherein embodiment, step S30 specifically comprises the following steps:
Step S31: judge whether brightness value that current period detects is in the weight in two neighboring first subinterval In interval overlapping.
Step S32: if so, the upper cycle detection of judgement to brightness value whether be in two neighboring first sub-district Between one of in;
Step S33: if so, determining the brightness value in the first subinterval and a upper period belonging to the brightness value of current period The first affiliated subinterval is identical.
It is illustrated below to illustrate step S30.Such as the brightness value Vnext that current period detects is in [Vmin, V2] When in [V1, V4] overlapping range, and determined brightness value Vbefore that a cycle detection is arrived be in [Vmin, V2] or When [V1, V4] is interior, the first subinterval belonging to the brightness value Vnext that at this moment detects current period keeps examining with a upper period First subinterval belonging to the brightness value Vbefore measured is identical, as [Vmin, V2] or [V1, V4], in this way can be bright When angle value variation is little, guarantee the stability in the affiliated section of brightness value, further prevents the frequency acquisition of camera to carry out frequent Switching.It should be noted that if the brightness value that current period detects is not at the overlapping in any two neighboring first subinterval When in range, the first subinterval locating for brightness value is directly determined as the first subinterval belonging to the brightness value of current period.
In another middle embodiment, step S30 specifically comprises the following steps:
Step S31 ': judge whether brightness value that current period detects is in the weight in two neighboring first subinterval In interval overlapping.
Step S32 ': if so, the upper cycle detection of judgement to brightness value whether to be in described two neighboring first sub Section one of in;
Step S33 ': if it is not, then by the correspondence image frequency acquisition in two neighboring first subinterval lesser One subinterval is determined as the first subinterval belonging to the brightness value of current period.
It is illustrated below to illustrate step S30.Such as the brightness value Vnext that detects of current period be in [V1, V4] and When in the overlapping range of [V3, Vmax], and determined a cycle detection to brightness value Vbefore be not at [V3, Vmax] It is interior and be not in [V1, V4], but in [Vmin, V2], since picture-taken frequency corresponding to [V3, Vmax] is less than Picture-taken frequency corresponding to [V1, V4], the first subinterval belonging to the brightness value Vnext at this moment detecting current period It is determined as [V3, Vmax], can meets in this way when the brightness value in former and later two periods is changed greatly in the image for guaranteeing shooting Under the premise of basic demand, lesser picture-taken frequency is used as far as possible, to reduce the number that camera shooting face image generates According to amount, memory headroom is further saved.
Step S40: mobile terminal first subinterval according to belonging to the brightness value determines picture-taken frequency, and according to Described image frequency acquisition acquires face image;The wherein corresponding picture-taken frequency in each first subinterval, Image Acquisition The size of frequency is according to the first subinterval from down to high decreasing order.
Specifically, exemplary, the first subinterval of above three [Vmin, V2], [V1, V4] and [V3, Vmax] is right respectively Three picture-taken frequencies F1, F2 and F3 are answered, wherein F1 > F2 > F3, i.e. brightness value is bigger, corresponding picture-taken frequency It is lower.Because face's brightness value is bigger, illustrates that face is easier and be identified, do not need too high picture-taken frequency at this time, take the photograph Meet the face images of face's unlocking requirements as head can collect.
The image-pickup method of mobile terminal disclosed in the present embodiment one by dividing multiple brightness spaces, when detect to When the brightness of the face of shooting is larger, the appropriate picture-taken frequency for reducing camera, camera, which can also collect, meets face The face image of unlocking requirements reduces the data volume generated in face's unlocking process as far as possible in this way, saves memory space, is promoted Mobile terminal storage efficiency.
Embodiment two
In face's unlocking process, other than needing dynamic shooting face image, it is also necessary to move the face image of shooting The output of state, to complete unlocking process, due to face unlock it is not high to the image request of output, can using clarity compared with Low image promotes mobile terminal storage efficiency to reduce the memory space of image to save the resource of mobile terminal.Its In, a factor relevant to the clarity of the image of output is image output frame rate, and image output frame rate is higher, is exported The clarity of image is higher, but can also occupy more memory spaces.
As shown in Fig. 2, the image-pickup method of the mobile terminal of embodiment according to the present invention two is in addition to including embodiment Further include following steps except step S10 to step S40 in one:
Step S50: the brightness value of face image collected is detected to mobile terminal period.
After mobile terminal opens face's unlocking function, mobile terminal starts the timing that built-in time-out time is TTN Device is periodically detected every brightness value of the TTN time to face image collected.Specifically, when timer is opened Qi Hou, the brightness value of the camera detection of mobile terminal face image collected.Preferably, the value of TTN is selected as 200 milliseconds.
Step S60: mobile terminal by the brightness value of the face image compared with the second predetermined luminance section, and determine institute State the second subinterval belonging to the brightness value of face image, wherein second predetermined luminance section include at least two from down to Second subinterval of height arrangement;
As a preferred embodiment, the partial section overlapping in two neighboring second subinterval, in this way can be defeated to avoid camera Lift one's head the image output frame rate frequent switching of picture, to prevent causing system loading to rise.Assuming that being arranged not between section and section Lap but direct neighbor are then when intersection of the brightness of image size in two sections, it is contemplated that error, it is easy to go out Existing brightness of image size frequent switching between two sections causes system loading to rise.For example, a brightness of image area Between be [100,140], another brightness of image section is [140,180], then when brightness of image is near 140, a upper period Brightness of image is in section [100,140];Next period brightness of image is in section [140,180], and at this moment image output frame rate can be Two sections constantly switch so as to cause system loading rising.And when the overlapping of the partial section in two neighboring second subinterval, For example, second subinterval is [100,150], the image output frame rate for corresponding to camera output image is A;Another Second subinterval is [130,180], and the image output frame rate for corresponding to camera output image is B;Then when brightness value is located at When [100,130], it is clear that the image output frame rate corresponding to camera output image is A;When brightness value is located at [150,180] When, it is clear that the image output frame rate corresponding to camera output image is B;Correspond to A also when brightness value is located at [130,150] It is B then according to being originally that it is exactly which which, which is corresponded to, it in this way can be to avoid image output frame rate frequent switching.Such as brightness of image The image output frame rate of camera output image is A when being 120, and then brightness of image becomes camera output image when 140 Image output frame rate is still A, and the image output frame rate that then brightness of image becomes camera output image when 170 is B.Image is bright The image output frame rate that camera exports image when degree is 170 is B, and then brightness of image becomes camera output image when 140 Image output frame rate be still B, the image output frame rate that then brightness of image becomes the output image of camera when 120 is A.Certainly It should be noted that in other embodiments, two adjacent the second subintervals also can be achieved on the present invention when not being overlapped Image-pickup method, therefore this specification does not carry out mandatory limit to whether adjacent two the second subintervals are overlapped It is fixed.
It further, illustratively, is three the second subintervals by the second predetermined luminance interval division.Specifically, In Three the second subintervals are divided between camera the minimum luminance value V ' min that can be detected and maximum brightness value V ' max, respectively It is [V ' min, V ' 2] [V ' 1, V ' 4] and [3, V ' max of V '], wherein 1 < V ' of V ' min < V ', 2 < V ', 3 < V ', 4 < V ' max, In [V ' min, V ' 2] indicate brightness value be greater than or equal to V ' min and be less than or equal to V ' 2, [V ' 1, V ' 4] and [3, V ' max of V '] Expression meaning and [V ' min, V ' 2] it is similar.Such second predetermined luminance section is divided into from sub down to high three second Section, and there is lap per two adjacent the second subintervals.
Specifically, in a kind of wherein embodiment, step S60 specifically comprises the following steps:
Step S61: judge whether the brightness value for the face image that current period detects is in described two neighboring second In the overlapping interval in subinterval;
Step S62: if so, the upper cycle detection of judgement to the brightness value of face image whether be in described adjacent two A second subinterval one of in;
Step S63: if so, determining the second subinterval belonging to the brightness value of the face image of current period and upper one week Second subinterval belonging to the brightness value of the face image of phase is identical.
It is illustrated below to illustrate step S60.Such as the face image brightness value V ' next that current period detects is in When in the overlapping range of [V ' 1, V ' 4] and [3, V ' max of V '], and the brightness value for the face image that a cycle detection is arrived is determined V ' before is not in [3, V ' max of V '] and is not in [V ' 1, V ' 4], but in [V ' min, V ' 2], due to [V ' 3, V ' max] corresponding to image output frame rate be less than [V ' 1, V ' 4] corresponding to image output frame rate, at this moment by current period Second subinterval belonging to the brightness value V ' next of the face image detected is determined as [3, V ' max of V '], in this way can be preceding When the brightness value of the face image in latter two period changes greatly, under the premise of guaranteeing that the image of output meets basic demand, Lesser image output frame rate is used as far as possible, to reduce the data volume generated when camera output image, further in saving Deposit space.
Step S70: mobile terminal second subinterval according to belonging to the brightness value of the face image determines that image exports Frame per second, and face image is exported according to described image output frame rate;The wherein corresponding image output frame in each second subinterval Rate, the size of image output frame rate is according to the second subinterval from down to high decreasing order.
Exemplary, the second subinterval of above three [V ' min, V ' 2], [V ' 1, V ' 4] and [3, V ' max of V '] respectively corresponds three A image output frame rate F ' 1, F ' 2 and F ' 3, wherein 1 > F ' of F ', 2 > F ' 3, i.e. the brightness value of face image is bigger, corresponding Image output frame rate is lower.Because the brightness value of face image is bigger, illustrates that the clarity of face image is higher, do not need at this time Too high image output frame rate, camera are output to the face image for meeting face's unlocking requirements.
The image-pickup method of mobile terminal disclosed in the present embodiment two is taken the photograph by dividing multiple brightness spaces when detecting When larger as the brightness of collected face image, the image output frame rate of camera is suitably reduced, camera is also exportable To the face image for meeting face's unlocking requirements, the data volume generated in face's unlocking process is reduced as far as possible in this way, saving is deposited Space is stored up, mobile terminal storage efficiency is promoted.
Embodiment three
The computer-readable medium of embodiment according to the present invention three, computer-readable medium storage have the figure of mobile terminal As capture program, such as embodiment one or embodiment are realized when the image acquisition procedure of the mobile terminal is executed by the processor The image-pickup method of mobile terminal in two, the detailed process of image-pickup method are retouched in example 1 and example 2 It states, herein without repeating.
Further, as shown in figure 3, the computer equipment of embodiment according to the present invention three includes: memory 100, place Manage the image acquisition procedure 300 of device 200 and the mobile terminal being stored on the memory 100, the figure of the mobile terminal The image such as embodiment one or the mobile terminal in embodiment two is realized when being executed as capture program 300 by the processor 200 Acquisition method, the detailed process of image-pickup method describes in example 1 and example 2, herein without repeating.
The meter computer-readable medium of the embodiment of the present application three, can be using one or more computer-readable media Any combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer Readable storage medium storing program for executing for example can be one-but be not limited to --- electricity, magnetic, optical, electromagnetic, the system of infrared ray or semiconductor, dress It sets or device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium wraps It includes: having the electrical connections of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAMD, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable Storage medium can be it is any include or storage program tangible medium, the program can be commanded execution system, device or Device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.It can be with one or more programming languages Or combinations thereof come write for execute the application operation computer program code, programming language includes the journey of object-oriented Sequence design language one such as Java, Smalltalk, C++, further include conventional procedural programming language one such as " C " language Speech or similar programming language.Program code can be executed fully, on the user computer partly in user's calculating Execute on machine, executed as an independent software package, part on the user computer part execute on the remote computer or Person executes on a remote computer or server completely.In situations involving remote computers, remote computer can pass through The network of any kind --- it is connected to subscriber computer including local area network (LAN) or wide area network (WAN) one, alternatively, can connect It is connected to outer computer (such as connecting using ISP by internet).
Although the illustrative specific embodiment of the present invention is described above, in order to the technology of the art Personnel are it will be appreciated that the present invention, but the present invention is not limited only to the range of specific embodiment, to the common skill of the art For art personnel, as long as long as various change the attached claims limit and determine spirit and scope of the invention in, one The innovation and creation using present inventive concept are cut in the column of protection.

Claims (10)

1. a kind of image-pickup method of mobile terminal, which is characterized in that described image acquisition method includes:
Determine that mobile terminal opens face's unlocking function;
Detect to mobile terminal period the brightness value of face to be captured;
The brightness value compared with the first predetermined luminance section, and is determined the first sub-district belonging to the brightness value by mobile terminal Between, wherein first predetermined luminance section include at least two from down to height arrangement the first subinterval;
Mobile terminal first subinterval according to belonging to the brightness value determines picture-taken frequency, and is acquired according to described image Frequency collection face image;Wherein the corresponding picture-taken frequency in each first subinterval, the size of picture-taken frequency are pressed According to the first subinterval from down to high decreasing order.
2. the image-pickup method of mobile terminal according to claim 1, which is characterized in that two neighboring first subinterval Partial section overlapping.
3. the image-pickup method of mobile terminal according to claim 2, which is characterized in that mobile terminal is by the brightness Value is compared with the first predetermined luminance section, and the specific method in the first subinterval belonging to the determining brightness value includes:
Judge whether the brightness value that current period detects is in the overlapping interval in two neighboring first subinterval;
If so, the upper cycle detection of judgement to brightness value whether be in two neighboring first subinterval one of in;
If so, determining the first son belonging to the brightness value in the first subinterval belonging to the brightness value of current period and a upper period Section is identical.
4. the image-pickup method of mobile terminal according to claim 2, which is characterized in that mobile terminal is by the brightness Value is compared with the first predetermined luminance section, and the specific method in the first subinterval belonging to the determining brightness value includes:
Judge whether the brightness value that current period detects is in the overlapping interval in two neighboring first subinterval;
If so, the upper cycle detection of judgement to brightness value whether be in two neighboring first subinterval one of in;
If it is not, then lesser first subinterval of correspondence image frequency acquisition in two neighboring first subinterval is determined as First subinterval belonging to the brightness value of current period.
5. the image-pickup method of mobile terminal according to any one of claims 1 to 4, which is characterized in that described image Acquisition method further include:
Detect to mobile terminal period the brightness value of face image collected;
The brightness value of the face image compared with the second predetermined luminance section, and is determined the face image by mobile terminal Second subinterval belonging to brightness value, wherein second predetermined luminance section include at least two from down to height arrangement second Subinterval;
Mobile terminal second subinterval according to belonging to the brightness value of the face image determines image output frame rate, and according to institute State image output frame rate output face image;The wherein corresponding image output frame rate in each second subinterval, image output frame The size of rate is according to the second subinterval from down to high decreasing order.
6. the image-pickup method of mobile terminal according to claim 5, which is characterized in that two neighboring second subinterval Partial section overlapping.
7. the image-pickup method of mobile terminal according to claim 6, which is characterized in that mobile terminal is by the face The brightness value of image determines the second subinterval belonging to the brightness value of the face image compared with the second predetermined luminance section Specific method include:
Judge whether the brightness value for the face image that current period detects is in the overlapping in two neighboring second subinterval In section;
If so, the upper cycle detection of judgement to the brightness value of face image whether be in two neighboring second subinterval One of in;
If so, determining the face image in the second subinterval and a upper period belonging to the brightness value of the face image of current period Brightness value belonging to the second subinterval it is identical.
8. the image-pickup method of mobile terminal according to claim 6, which is characterized in that mobile terminal is by the face The brightness value of image determines the second subinterval belonging to the brightness value of the face image compared with the second predetermined luminance section Specific method include:
Judge whether the brightness value for the face image that current period detects is in the overlapping in two neighboring second subinterval In section;
If so, the upper cycle detection of judgement to the brightness value of face image whether be in two neighboring second subinterval One of in;
If it is not, then lesser second subinterval of correspondence image output frame rate in two neighboring second subinterval is determined as Second subinterval belonging to the brightness value of the face image of current period.
9. a kind of computer-readable medium, which is characterized in that the computer-readable medium storage has the image of mobile terminal to adopt Collect program, realizes when the image acquisition procedure of the mobile terminal is executed by the processor such as any one of claim 1 to 8 institute The image-pickup method for the mobile terminal stated.
10. a kind of computer equipment, which is characterized in that the computer equipment includes: memory, processor and is stored in institute The image acquisition procedure of the mobile terminal on memory is stated, the image acquisition procedure of the mobile terminal is executed by the processor The image-pickup method of Shi Shixian mobile terminal as claimed in any one of claims 1 to 8.
CN201910761898.7A 2019-08-19 2019-08-19 Image acquisition method of mobile terminal, computer readable medium and computer device Active CN110493519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910761898.7A CN110493519B (en) 2019-08-19 2019-08-19 Image acquisition method of mobile terminal, computer readable medium and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910761898.7A CN110493519B (en) 2019-08-19 2019-08-19 Image acquisition method of mobile terminal, computer readable medium and computer device

Publications (2)

Publication Number Publication Date
CN110493519A true CN110493519A (en) 2019-11-22
CN110493519B CN110493519B (en) 2021-03-23

Family

ID=68551951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910761898.7A Active CN110493519B (en) 2019-08-19 2019-08-19 Image acquisition method of mobile terminal, computer readable medium and computer device

Country Status (1)

Country Link
CN (1) CN110493519B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311785A (en) * 2020-03-06 2020-06-19 浙江大华技术股份有限公司 Vehicle-mounted video storage method and device, control equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072345A (en) * 2015-08-25 2015-11-18 深圳市巨米电子有限公司 Video encoding method and device
CN107172345A (en) * 2017-04-07 2017-09-15 深圳市金立通信设备有限公司 A kind of image processing method and terminal
CN107491672A (en) * 2017-07-18 2017-12-19 广东欧珀移动通信有限公司 Unlocking processing method and Related product
CN107909686A (en) * 2017-11-02 2018-04-13 广东欧珀移动通信有限公司 Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock
CN108668022A (en) * 2018-04-26 2018-10-16 深圳市明泰电讯有限公司 A kind of face unlocking method under dark-state and its mobile terminal
CN110046597A (en) * 2019-04-19 2019-07-23 努比亚技术有限公司 Face identification method, mobile terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072345A (en) * 2015-08-25 2015-11-18 深圳市巨米电子有限公司 Video encoding method and device
CN107172345A (en) * 2017-04-07 2017-09-15 深圳市金立通信设备有限公司 A kind of image processing method and terminal
CN107491672A (en) * 2017-07-18 2017-12-19 广东欧珀移动通信有限公司 Unlocking processing method and Related product
CN107909686A (en) * 2017-11-02 2018-04-13 广东欧珀移动通信有限公司 Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock
CN108668022A (en) * 2018-04-26 2018-10-16 深圳市明泰电讯有限公司 A kind of face unlocking method under dark-state and its mobile terminal
CN110046597A (en) * 2019-04-19 2019-07-23 努比亚技术有限公司 Face identification method, mobile terminal and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311785A (en) * 2020-03-06 2020-06-19 浙江大华技术股份有限公司 Vehicle-mounted video storage method and device, control equipment and storage medium

Also Published As

Publication number Publication date
CN110493519B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
JP6834056B2 (en) Shooting mobile terminal
CN101334578B (en) Image photographing apparatus, image photographing method, and computer program
US8605158B2 (en) Image pickup control apparatus, image pickup control method and computer readable medium for changing an image pickup mode
CN105872393A (en) High dynamic range image generation method and device
CN106131391B (en) A kind of image pickup method and device
CN106331510A (en) Backlight photographing method and mobile terminal
US9571739B2 (en) Camera timer
US8908916B2 (en) Control apparatus, control method, and program to search for a subject and automatically perform image-recording
CN106605403A (en) Photographing method and electronic device
CN110012209A (en) Panorama image generation method, device, storage medium and electronic equipment
AU2013401820B2 (en) Non-contact palmprint authentication method and device and portable terminal
CN109040523B (en) Artifact eliminating method and device, storage medium and terminal
CN107566579A (en) Image pickup method, device, terminal and storage medium
CN109040589A (en) Image processing method, device, storage medium and electronic equipment
CN109040524A (en) Artifact eliminating method, device, storage medium and terminal
CN107690804A (en) A kind of image processing method and user terminal
CN111107265A (en) Image processing method and device, computer readable medium and electronic equipment
CN110868533B (en) HDR mode determination method, device, storage medium and terminal
CN110493519A (en) Image-pickup method, computer-readable medium and the computer equipment of mobile terminal
CN109474743A (en) Electromagnetic interference control method and Related product
CN115633252A (en) Shooting method and related equipment thereof
CN110177199A (en) Image sensor chip, camera module, electronic equipment and image shooting method
CN109040588A (en) Photographic method, device, storage medium and the terminal of facial image
CN112449103B (en) Image processing method and related equipment
CN108540726A (en) Processing method, device, storage medium and the terminal of continuous shooting image

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