CN110418064A - Focusing method, device, electronic equipment and storage medium - Google Patents
Focusing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110418064A CN110418064A CN201910829143.6A CN201910829143A CN110418064A CN 110418064 A CN110418064 A CN 110418064A CN 201910829143 A CN201910829143 A CN 201910829143A CN 110418064 A CN110418064 A CN 110418064A
- Authority
- CN
- China
- Prior art keywords
- image
- focusing
- preview image
- facial
- facial image
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
Abstract
The disclosure provides a kind of focusing method, device, electronic equipment and storage medium.Method provided in this embodiment, it include: first to obtain preview image, wherein, preview image is passes through electronic equipment institute acquired image, then, judge with the presence or absence of goal-selling image in preview image, when if the determination result is YES, it is determined that focus as focusing area in goal-selling image region locating in preview image.The method provided by the disclosure, may be implemented the focusing to specific objective object, so that specific objective has better shooting effect in the image of shooting, and then meet the personalized shooting demand of user.
Description
Technical field
This disclosure relates to electronic technology field more particularly to a kind of focusing method, device, electronic equipment and storage medium.
Background technique
With the development of electronic technology, camera function has become one of the major function of terminal device (such as: mobile phone).
Currently, being usually all first to be identified in preview image when for being shot with photographing function of mobile phone to personage
One or more face, and current focal modes are detected as face focusing.Then, then to a face area in preview image
Domain carries out focus operation, so that taken image can have preferable focusing effect.
But focusing mode in the prior art is usually according to locating for the area of human face region either human face region
Position determines focusing area, can not targetedly not focused.
Summary of the invention
The disclosure provides a kind of focusing method, device, electronic equipment and storage medium, to realize to specific objective object
It focuses, so that specific objective has better shooting effect in the image of shooting, and then meets the personalized of user and clap
Take the photograph demand.
In a first aspect, the disclosure provides a kind of focusing method, comprising:
Preview image is obtained, the preview image is passes through electronic equipment institute acquired image;
Judge in the preview image with the presence or absence of goal-selling image;
If the determination result is YES, it is determined that goal-selling image region conduct pair locating in the preview image
It focuses in burnt region.
In a kind of possible design, it whether there is goal-selling image in the judgement preview image, comprising:
Judge in the preview image with the presence or absence of default facial image.
In a kind of possible design, the default facial image is by the certification face figure that stores in the electronic equipment
Picture.
In a kind of possible design, with the presence or absence of default facial image in the judgement preview image, comprising:
Every face in the preview image is matched with the default facial image, judge whether matching at
Function.
In a kind of possible design, if there is no the default facial image in the preview image, described in judgement
It whether there is multiple facial images in preview image;
If the determination result is YES, it is determined that locating for the maximum facial image of image area or position facial image placed in the middle
It focuses as focusing area in region.
In a kind of possible design, after determining the focusing area, further includes:
Survey light is carried out to the focusing area, to obtain photometric data;
Image procossing is carried out to the facial image in the focusing area according to the photometric data.
In a kind of possible design, in determination goal-selling image area locating in the preview image
Before domain is focused as focusing area, further includes:
Determine the priority of each certification facial image, wherein the default facial image includes multiple certifications
Facial image;
When in the preview image there are when multiple certification facial images, to be determined as according to the priority
Determine a certification facial image of the focusing area.
In a kind of possible design, the priority carries out true according to the corresponding gender of the certification facial image
It is fixed.
Second aspect, the disclosure also provide a kind of focusing mechanism, comprising:
Module is obtained, for obtaining preview image, the preview image is passes through electronic equipment institute acquired image;
Judgment module, for judging in the preview image with the presence or absence of goal-selling image;
Processing module, for determining goal-selling image region locating in the preview image as focusing area
It focuses in domain.
In a kind of possible design, the judgment module is specifically used for:
Judge in the preview image with the presence or absence of default facial image.
In a kind of possible design, the default facial image is by the certification face figure that stores in the electronic equipment
Picture.
In a kind of possible design, the judgment module is specifically used for:
Every face in the preview image is matched with the default facial image, judge whether matching at
Function.
In a kind of possible design, if there is no the default facial image in the preview image, the judgement mould
Block is also used to judge in the preview image with the presence or absence of multiple facial images;
If the determination result is YES, then the processing module is also used to determine the maximum facial image of image area or position
It focuses as focusing area in region locating for facial image placed in the middle.
In a kind of possible design, the processing module is also used to carry out survey light to the focusing area, is surveyed with obtaining
Light data;And
Image procossing is carried out to the facial image in the focusing area according to the photometric data.
In a kind of possible design, the processing module is also used to determine the preferential of each certification facial image
Sequentially, wherein the default facial image includes multiple certification facial images;And
When in the preview image there are when multiple certification facial images, to be determined as according to the priority
Determine a certification facial image of the focusing area.
In a kind of possible design, the priority carries out true according to the corresponding gender of the certification facial image
It is fixed.
The third aspect, the disclosure also provide a kind of electronic equipment, comprising:
Processing unit;And
Storage device, for storing the executable instruction of the processing unit;
Wherein, the processing unit is configured to execute any one in first aspect via the executable instruction is executed
Possible focusing method.
Fourth aspect, the embodiment of the present disclosure also provide a kind of storage medium, are stored thereon with computer program, the program quilt
Any one possible focusing method in first aspect is realized when processing unit executes.
The disclosure provides a kind of focusing method, device, electronic equipment and storage medium, by first obtaining preview image, and
It determines region of the goal-selling image in preview image, then determining region is focused as focusing area, with reality
Now to the focusing of specific objective object, so that specific objective has better shooting effect in the image of shooting, in turn
Meet the personalized shooting demand of user.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this public affairs
The some embodiments opened for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is application scenario diagram of the disclosure according to the focusing method shown in an example embodiment;
Fig. 2 is interface display diagram of the disclosure according to the focusing method shown in an example embodiment;
Fig. 3 is flow diagram of the disclosure according to the focusing method shown in an example embodiment;
Fig. 4 is flow diagram of the disclosure according to the focusing method shown in another example embodiment;
Fig. 5 is flow diagram of the disclosure according to the focusing mechanism shown in an example embodiment;
Fig. 6 is structural schematic diagram of the disclosure according to the electronic equipment shown in an example embodiment.
Specific embodiment
Embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the certain of the disclosure in attached drawing
Embodiment, it should be understood that, the disclosure can be realized by various forms, and should not be construed as being limited to this
In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the disclosure.It should be understood that
It is that being given for example only property of the accompanying drawings and embodiments effect of the disclosure is not intended to limit the protection scope of the disclosure.
It should be appreciated that each step recorded in disclosed method embodiment can execute in a different order,
And/or parallel execution.In addition, method implementation may include additional step and/or omit the step of execution is shown.This public affairs
The range opened is not limited in this respect.
Terms used herein " comprising " and its deformation are that opening includes, i.e., " including but not limited to ".Term "based"
It is " being based at least partially on ".Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " indicates
" at least one other embodiment ";Term " some embodiments " expression " at least some embodiments ".The correlation of other terms is fixed
Justice provides in will be described below.
It is noted that referred in the disclosure "one", the modification of " multiple " be schematically and not restrictive this field
It will be appreciated by the skilled person that being otherwise construed as " one or more " unless clearly indicate otherwise in context.
Fig. 1 is application scenario diagram of the disclosure according to the focusing method shown in an example embodiment, as shown in Figure 1, this reality
The focusing method for applying example offer can be applied to take pictures (such as: self-timer) using the more people of electronic equipment 100 (such as: mobile phone) progress
Scene.
It is worth explanation, currently, being usually all the area either face according to human face region when the more people of progress take pictures
The location of region determines one of human face region in preview image as focusing area.Wherein, preview image can
To be interpreted as the image got before being shot using camera, i.e., after user opens mobile phone camera, but touching
It sends out before taking pictures, the image shown in mobile phone display screen.As it can be seen that the face that the current type of focusing is focused depends entirely on institute
Shoot the erect-position of personage.
And current phone actually belongs to very private article, most people is taken pictures using personal mobile phone, especially
When it is self-timer, such as: it is often in step with friend, kith and kin etc., this kind of shooting behavior is to meet personal clap in most cases
According to demand, i.e. the owner of mobile phone is often desirable to lay oneself open to the core of captured photo, it is desirable to the effect of taking pictures of oneself
It is optimal.But in a manner of current focusing, it is in step in scene, is be easy to cause because of erect-position, posture etc. in this kind of more people
Factor cause the focus of camera not the owner of mobile phone on the face so that the owner of mobile phone cannot get optimal effect of taking pictures
Fruit.
Or when carrying out the shooting of special object using mobile phone, such as: need to shoot one group of special article (such as: clothes
Dress, furniture and vehicle), when being compared shooting with similar multiple articles in particular for special article, current focusing side
Formula be also according to area size or scenery distance focus, if focus object is incorrect, also need user to carry out manual
Focusing, is inconvenient.
For above-mentioned each problem, the embodiment of the present invention provides a kind of focusing method, can be pre- by first obtaining
It lookes at image, and determines region of the goal-selling image in preview image, then using determining region as focusing area progress
Focusing, to realize the focusing to specific objective object, so that specific objective has preferably shooting in the image of shooting
Effect, to meet the personalized shooting demand of user.
The interface test method is described in detail below by several specific implementations.Fig. 2 is the disclosure
The interface display diagram of focusing method according to an example embodiment.Fig. 3 is the disclosure according to shown in an example embodiment
The flow diagram of focusing method.As Figure 2-3, focusing method provided in this embodiment, comprising:
Step 201 obtains preview image.
Specifically, user when taking pictures, triggers camera to obtain preview image, wherein be worth understanding, preview
Image is by electronic equipment institute acquired image, specifically can be understood as getting using camera before being shot
Image that is, after user opens mobile phone camera, but before triggering is taken pictures, is shown in electronic equipment, such as display screen
Image.
Step 202 judges in preview image with the presence or absence of goal-selling image.If the determination result is YES, it thens follow the steps
203, if judging result be it is no, then follow the steps 204.
After getting preview image, judge in preview image with the presence or absence of goal-selling image.Wherein, goal-selling
Image can be understood as realizing the target image that is stored in electronic device memory, can for default facial image (such as: can
Think the facial image of owner), it can also be default images of items (such as: can be the image of particular vehicle), worth explanation
, in the present embodiment, the concrete type of goal-selling image is not defined, the setting of goal-selling image need to only expire
It can be to be carried out identifying from preview image and focus operation can be carried out to corresponding region.
It is stored in addition, goal-selling image can be user by camera acquisition, is also possible to user outside
Portion's equipment carries out transmission input.
Step 203 determines that goal-selling image region locating in preview image is focused as focusing area.
Wherein, if there are goal-selling images in preview image, further determine that goal-selling image in preview image
In locating region, for example, the default facial image either default images of items in region locating in preview image is in preview
Locating region in image.After determining goal-selling image region locating in preview image, the region conduct is chosen
Focusing area carries out focus operation.
Referring to figure 2., if there is default facial image in preview image, further determine that default facial image 101 exists
Locating region carries out focus operation as focusing area 110 in preview image.And other facial images 102 then as background into
Row shooting, so that default facial image 101 has optimal shooting effect.
Step 204 is focused according to default focusing strategy.
But if goal-selling image is not present in preview image, may rely on the manual focus of user, it can also be by
It focuses according to default focusing strategy.Such as: it is determined according to the location of area of human face region either human face region
Focusing area determines focusing area according to the location of area in article region either article region.It is worth saying
Bright, in the present embodiment, if default focusing plan used for the case where there is no goal-selling images in preview image
Slightly, can be arbitrary focusing strategy, be not especially limited in the present embodiment, even, can also be when in preview image not
There are when goal-selling image, operated without auto-focusing.
In the present embodiment, by first obtaining preview image, and region of the goal-selling image in preview image is determined,
Then determining region is focused as focusing area, to realize the focusing to specific objective object, so that specific
Target has better shooting effect in the image of shooting, to meet the personalized shooting demand of user.
Fig. 4 is flow diagram of the disclosure according to the focusing method shown in another example embodiment.As shown in figure 4, this
The focusing method that embodiment provides, comprising:
Step 301 obtains preview image.
Specifically, user using mobile phone when carrying out more people and taking pictures, trigger camera to obtain preview image, wherein pre-
Looking in image will include multiple facial images.
Step 302 matches every face in preview image with default facial image.
After getting the preview image with multiple facial images, by every facial image in preview image and in advance
If facial image is matched, matched process can be the process of recognition of face, no longer be repeated herein.
Wherein, above-mentioned default facial image can certification facial image to be stored in electronic equipment, such as owner in mobile phone
Carry out the collected certification facial image of face ID unlock when institute.To the certification face figure that will directly be used for mobile phone itself and unlock
It is above-mentioned for carrying out the default facial image of focusing identification as being determined as, and then multi collect facial image is avoided to be made to user
At puzzlement.
Step 303 judges whether successful match.If the determination result is YES, 304 are thened follow the steps, as judging result be it is no,
Then follow the steps 305.
If existing in preview image after every facial image in preview image is matched with default facial image
Default facial image, such as the facial image of owner, then can focus to the region where default facial image.
Step 304 determines that default facial image region locating in preview image is focused as focusing area.
When the wherein facial image in preview image can be with default facial image successful match, determine that this is default
It focuses as focusing area in facial image region locating in preview image.
Step 305 judges in preview image with the presence or absence of multiple facial images.If the determination result is YES, it thens follow the steps
306, as judging result be it is no, then follow the steps 307.
But when in preview image without can with the facial image of default facial image successful match when, due to preview
It may be that there are multiple facial images in image, it is also possible to be to only exist a facial image.Therefore, preview can be first determined
It is there are multiple facial images or to only exist a facial image in image, then takes different focusing strategies again.
Step 306 determines region conduct locating for the maximum facial image of image area or position facial image placed in the middle
Focusing area is focused.
It if there is no default facial images in preview image, and is there are when multiple facial images, then really in preview image
Determine region locating for the maximum facial image of image area or position facial image placed in the middle to focus as focusing area.
In addition, still if the difference of every face in preview image in a certain range, can also be judged as group photo,
With regard to not having to carry out focus operation.
Step 307 determines that unique facial image in preview image is focused as focusing area.
If there is no default facial images in preview image, and in preview image are when only existing a facial image,
Then determine that unique facial image in preview image is focused as focusing area.
In addition, can also determine default face in preview image in order to further enhance the shooting effect of owner's face
After image, and after being focused, survey light is carried out to focusing area, to obtain photometric data, then, further according to photometric data
Image procossing is carried out to the facial image in focusing area, such as: carry out U.S. face processing.
If there are multiple face authentication images in a mobile phone, it is possible to be that couple may be by face to same
One mobile phone is unlocked, and since general schoolgirl more has a preference for than boy student U.S. face, then before being focused, determination is also needed each to recognize
The priority of witness's face image, wherein default facial image includes multiple certification facial images, more when existing in preview image
When a certification facial image, for example, exist simultaneously male owner's face image and female's owner's face image, then it can be according to preferential suitable
Sequence is determined as a certification facial image of determining focusing area, so that preferentially gathering for the face image of female owner
Coke, and can also preferentially carry out subsequent beauty operation.
Fig. 5 is flow diagram of the disclosure according to the focusing mechanism shown in an example embodiment.As shown in figure 5, this reality
The focusing mechanism 400 of example offer is provided, comprising:
Module 401 is obtained, for obtaining preview image, the preview image is passes through the collected figure of electronic equipment
Picture;
Judgment module 402, for judging in the preview image with the presence or absence of goal-selling image;
Processing module 403, for determining goal-selling image region conduct pair locating in the preview image
It focuses in burnt region.
In a kind of possible design, the judgment module 402 is specifically used for:
Judge in the preview image with the presence or absence of default facial image.
In a kind of possible design, the default facial image is by the certification face figure that stores in the electronic equipment
Picture.
In a kind of possible design, the judgment module 402 is specifically used for:
Every face in the preview image is matched with the default facial image, judge whether matching at
Function.
In a kind of possible design, if there is no the default facial image in the preview image, the judgement mould
Block 402 is also used to judge in the preview image with the presence or absence of multiple facial images;
If the determination result is YES, then the processing module 403 is also used to determine the maximum facial image of image area or position
Region locating for facial image placed in the middle is set to focus as focusing area.
In a kind of possible design, the processing module 403 is also used to carry out survey light to the focusing area, to obtain
Take photometric data;And
Image procossing is carried out to the facial image in the focusing area according to the photometric data.
In a kind of possible design, the processing module 403 is also used to determine the excellent of each certification facial image
First sequence, wherein the default facial image includes multiple certification facial images;And when there are multiple in the preview image
When the certification facial image, to be determined as a certification people for determining the focusing area according to the priority
Face image.
In a kind of possible design, the priority carries out true according to the corresponding gender of the certification facial image
It is fixed.
It is worth explanation, the focusing mechanism that embodiment illustrated in fig. 5 provides can be used for executing what any of the above-described embodiment provided
Method, specific implementation is similar with technical effect, and which is not described herein again.
Fig. 6 is structural schematic diagram of the disclosure according to the electronic equipment shown in an example embodiment.As shown in fig. 6, it shows
The structural schematic diagram suitable for being used to realize the electronic equipment 500 of the embodiment of the present disclosure is gone out.Terminal in the embodiment of the present disclosure is set
It is standby can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant),
PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance terminal) etc. have image
The mobile terminal and such as number TV, desktop computer etc. for obtaining function are circumscribed with fixed whole with image acquisition equipment
End.Electronic equipment shown in Fig. 5 is only an example, should not function to the embodiment of the present disclosure and use scope bring it is any
Limitation.
As shown in fig. 6, electronic equipment 500 may include processing unit (such as central processing unit, graphics processor etc.)
501, random access can be loaded into according to the program being stored in read-only memory (ROM) 502 or from storage device 508
Program in memory (RAM) 503 and execute various movements appropriate and processing.In RAM 503, it is also stored with electronic equipment
Various programs and data needed for 500 operations.Processing unit 501, ROM 502 and RAM 503 pass through the phase each other of bus 504
Even.Input/output (I/O) interface 505 is also connected to bus 504.
In general, following device can connect to I/O interface 505: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 506 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 507 of dynamic device etc.;Storage device 508 including such as tape, hard disk etc.;And communication device 509.Communication device
509, which can permit electronic equipment 500, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows tool
There is the electronic equipment 500 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising being carried on non-transient computer can
The computer program on medium is read, which includes the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communication device 509, or be filled from storage
It sets 508 to be mounted, or is mounted from ROM 502.When the computer program is executed by processing unit 501, the disclosure is executed
The above-mentioned function of being limited in the method for embodiment.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (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 the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
In some embodiments, client, server can use such as HTTP (HyperText Transfer
Protocol, hypertext transfer protocol) etc the network protocols of any currently known or following research and development communicated, and can
To be interconnected with the digital data communications (for example, communication network) of arbitrary form or medium.The example of communication network includes local area network
(" LAN "), wide area network (" WAN "), Internet (for example, internet) and ad-hoc network are (for example, the end-to-end net of ad hoc
Network) and any currently known or following research and development network.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes institute
State the Node evaluation request of at least two internet protocol addresses, wherein the Node evaluation equipment is internet from described at least two
In protocol address, chooses internet protocol address and return;Receive the internet protocol address that the Node evaluation equipment returns;Its
In, the fringe node in acquired internet protocol address instruction content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs
When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request;
From at least two internet protocol address, internet protocol address is chosen;Return to the internet protocol address selected;Wherein,
The fringe node in internet protocol address instruction content distributing network received.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include but is not limited to object oriented program language-such as Java,
Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language
Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence
Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or
It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the
One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Function described herein can be executed at least partly by one or more hardware logic components.Example
Such as, without limitation, the hardware logic component for the exemplary type that can be used include: field programmable gate array (FPGA), specially
With integrated circuit (ASIC), Application Specific Standard Product (ASSP), system on chip (SOC), complex programmable logic equipment (CPLD) etc.
Deng.
In the context of the disclosure, machine readable media can be tangible medium, may include or is stored for
The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can
Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity
Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or above content any conjunction
Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter
Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM
Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or
Any appropriate combination of above content.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Although this is not construed as requiring these operations with institute in addition, depicting each operation using certain order
The certain order that shows executes in sequential order to execute.Under certain environment, multitask and parallel processing may be advantageous
's.Similarly, although containing several specific implementation details in being discussed above, these are not construed as to this public affairs
The limitation for the range opened.Certain features described in the context of individual embodiment can also be realized in combination single real
It applies in example.On the contrary, the various features described in the context of single embodiment can also be individually or with any suitable
The mode of sub-portfolio is realized in various embodiments.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer
When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary,
Special characteristic described in face and movement are only to realize the exemplary forms of claims.
Claims (11)
1. a kind of focusing method characterized by comprising
Preview image is obtained, the preview image is passes through electronic equipment institute acquired image;
Judge in the preview image with the presence or absence of goal-selling image;
If the determination result is YES, it is determined that goal-selling image region locating in the preview image is as focusing area
It focuses in domain.
2. focusing method according to claim 1, which is characterized in that with the presence or absence of pre- in the judgement preview image
If target image, comprising:
Judge in the preview image with the presence or absence of default facial image.
3. focusing method according to claim 2, which is characterized in that the default facial image is in the electronic equipment
The certification facial image stored.
4. focusing method according to claim 3, which is characterized in that with the presence or absence of pre- in the judgement preview image
If facial image, comprising:
Every face in the preview image is matched with the default facial image, judges whether successful match.
5. focusing method according to claim 3 or 4, which is characterized in that if not existing in the preview image described pre-
If facial image, then judge in the preview image with the presence or absence of multiple facial images;
If the determination result is YES, it is determined that region locating for the maximum facial image of image area or position facial image placed in the middle
It focuses as focusing area.
6. focusing method according to claim 5, which is characterized in that after determining the focusing area, further includes:
Survey light is carried out to the focusing area, to obtain photometric data;
Image procossing is carried out to the facial image in the focusing area according to the photometric data.
7. the focusing method according to any one of claim 3-6, which is characterized in that in the determination default mesh
Before logo image region locating in the preview image is focused as focusing area, further includes:
Determine the priority of each certification facial image, wherein the default facial image includes multiple certification faces
Image;
When in the preview image there are when multiple certification facial images, to be determined as determination according to the priority
The certification facial image of one of the focusing area.
8. focusing method according to claim 7, which is characterized in that the priority is according to the certification facial image
Corresponding gender is determined.
9. a kind of focusing mechanism characterized by comprising
Module is obtained, for obtaining preview image, the preview image is passes through electronic equipment institute acquired image;
Judgment module, for judging in the preview image with the presence or absence of goal-selling image;
Processing module, for determine goal-selling image region locating in the preview image as focusing area into
Row focusing.
10. a kind of electronic equipment characterized by comprising
Processing unit;And
Storage device, for storing the executable instruction of the processing unit;
Wherein, the processing unit is configured to come described in perform claim 1 to 8 any one of requirement via the execution executable instruction
Focusing method.
11. a kind of storage medium, is stored thereon with computer program, which is characterized in that real when the program is executed by processing unit
The existing described in any item focusing methods of claim 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910829143.6A CN110418064B (en) | 2019-09-03 | 2019-09-03 | Focusing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910829143.6A CN110418064B (en) | 2019-09-03 | 2019-09-03 | Focusing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110418064A true CN110418064A (en) | 2019-11-05 |
CN110418064B CN110418064B (en) | 2022-03-04 |
Family
ID=68370293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910829143.6A Active CN110418064B (en) | 2019-09-03 | 2019-09-03 | Focusing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110418064B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111212226A (en) * | 2020-01-10 | 2020-05-29 | Oppo广东移动通信有限公司 | Focusing shooting method and device |
CN111277753A (en) * | 2020-02-10 | 2020-06-12 | Oppo广东移动通信有限公司 | Focusing method and device, terminal equipment and storage medium |
CN111432114A (en) * | 2019-12-31 | 2020-07-17 | 武汉星巡智能科技有限公司 | Grading method, device and equipment based on shooting composition and storage medium |
CN113810599A (en) * | 2021-08-12 | 2021-12-17 | 惠州Tcl云创科技有限公司 | Method for focusing on designated area by AI action recognition, mobile terminal and storage medium |
CN114374815A (en) * | 2020-10-15 | 2022-04-19 | 北京字节跳动网络技术有限公司 | Image acquisition method, device, terminal and storage medium |
CN114390201A (en) * | 2022-01-12 | 2022-04-22 | 维沃移动通信有限公司 | Focusing method and device thereof |
CN117097982A (en) * | 2023-10-17 | 2023-11-21 | 北京钧雷科技有限公司 | Target detection method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080143866A1 (en) * | 2006-12-19 | 2008-06-19 | Pentax Corporation | Camera having a focus adjusting system and a face recognition function |
CN101911670A (en) * | 2008-01-07 | 2010-12-08 | 摩托罗拉公司 | Digital camera focusing using stored object recognition |
CN102036008A (en) * | 2009-09-25 | 2011-04-27 | 华晶科技股份有限公司 | Automatic focusing system and method for particular persons |
CN105704389A (en) * | 2016-04-12 | 2016-06-22 | 上海斐讯数据通信技术有限公司 | Intelligent photo taking method and device |
CN105915782A (en) * | 2016-03-29 | 2016-08-31 | 维沃移动通信有限公司 | Picture obtaining method based on face identification, and mobile terminal |
CN107657219A (en) * | 2017-09-12 | 2018-02-02 | 广东欧珀移动通信有限公司 | Method for detecting human face and Related product |
CN109241908A (en) * | 2018-09-04 | 2019-01-18 | 深圳市宇墨科技有限公司 | Face identification method and relevant apparatus |
-
2019
- 2019-09-03 CN CN201910829143.6A patent/CN110418064B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080143866A1 (en) * | 2006-12-19 | 2008-06-19 | Pentax Corporation | Camera having a focus adjusting system and a face recognition function |
CN101911670A (en) * | 2008-01-07 | 2010-12-08 | 摩托罗拉公司 | Digital camera focusing using stored object recognition |
CN102036008A (en) * | 2009-09-25 | 2011-04-27 | 华晶科技股份有限公司 | Automatic focusing system and method for particular persons |
CN105915782A (en) * | 2016-03-29 | 2016-08-31 | 维沃移动通信有限公司 | Picture obtaining method based on face identification, and mobile terminal |
CN105704389A (en) * | 2016-04-12 | 2016-06-22 | 上海斐讯数据通信技术有限公司 | Intelligent photo taking method and device |
CN107657219A (en) * | 2017-09-12 | 2018-02-02 | 广东欧珀移动通信有限公司 | Method for detecting human face and Related product |
CN109241908A (en) * | 2018-09-04 | 2019-01-18 | 深圳市宇墨科技有限公司 | Face identification method and relevant apparatus |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432114A (en) * | 2019-12-31 | 2020-07-17 | 武汉星巡智能科技有限公司 | Grading method, device and equipment based on shooting composition and storage medium |
CN111432114B (en) * | 2019-12-31 | 2021-08-24 | 宁波星巡智能科技有限公司 | Grading method, device and equipment based on shooting composition and storage medium |
CN111212226A (en) * | 2020-01-10 | 2020-05-29 | Oppo广东移动通信有限公司 | Focusing shooting method and device |
CN111277753A (en) * | 2020-02-10 | 2020-06-12 | Oppo广东移动通信有限公司 | Focusing method and device, terminal equipment and storage medium |
CN114374815A (en) * | 2020-10-15 | 2022-04-19 | 北京字节跳动网络技术有限公司 | Image acquisition method, device, terminal and storage medium |
CN113810599A (en) * | 2021-08-12 | 2021-12-17 | 惠州Tcl云创科技有限公司 | Method for focusing on designated area by AI action recognition, mobile terminal and storage medium |
WO2023016207A1 (en) * | 2021-08-12 | 2023-02-16 | 惠州Tcl云创科技有限公司 | Method for focusing on specified area by means of ai action recognition, and terminal and storage medium |
CN114390201A (en) * | 2022-01-12 | 2022-04-22 | 维沃移动通信有限公司 | Focusing method and device thereof |
CN117097982A (en) * | 2023-10-17 | 2023-11-21 | 北京钧雷科技有限公司 | Target detection method and system |
CN117097982B (en) * | 2023-10-17 | 2024-04-02 | 北京钧雷科技有限公司 | Target detection method and system |
Also Published As
Publication number | Publication date |
---|---|
CN110418064B (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110418064A (en) | Focusing method, device, electronic equipment and storage medium | |
US11017070B2 (en) | Visual data processing of response images for authentication | |
CN105144156B (en) | Metadata is associated with the image in personal images set | |
CN104767963B (en) | Participant's information demonstrating method in video conference and device | |
CN106210528B (en) | A kind of method, device and mobile terminal encrypting photo | |
CN110503023A (en) | Biopsy method and device, electronic equipment and storage medium | |
CN108230574A (en) | Object storage terminal pickup method and device and electronic equipment | |
US20150310259A1 (en) | Using facial data for device authentication or subject identification | |
CN111083364A (en) | Control method, electronic equipment, computer readable storage medium and chip | |
CN105917359A (en) | Mobile video search | |
CN102193962B (en) | Matching device, digital image processing system, and matching device control method | |
TW201110039A (en) | Portable device and picture sharing methods | |
CN109829863A (en) | Image processing method and device, electronic equipment and storage medium | |
CN106339695B (en) | Face similarity detection method, device and terminal | |
CN104123485A (en) | Real-name system information binding method and device | |
TWI752105B (en) | Feature image acquisition method, acquisition device, and user authentication method | |
CN105635256B (en) | Multimedia synchronization method, device and system | |
CN109977839A (en) | Information processing method and device | |
CN105871913A (en) | Identity authentication method and system | |
CN106027872A (en) | Camera control method and system | |
CN109840885A (en) | Image interfusion method and Related product | |
CN110570383B (en) | Image processing method and device, electronic equipment and storage medium | |
US10841368B2 (en) | Method for presenting schedule reminder information, terminal device, and cloud server | |
CN110717399A (en) | Face recognition method and electronic terminal equipment | |
CN110413169A (en) | A kind of information displaying method, device and medium |
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 |