CN110213492A - Equipment imaging method, device, storage medium and electronic equipment - Google Patents
Equipment imaging method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110213492A CN110213492A CN201910578474.7A CN201910578474A CN110213492A CN 110213492 A CN110213492 A CN 110213492A CN 201910578474 A CN201910578474 A CN 201910578474A CN 110213492 A CN110213492 A CN 110213492A
- Authority
- CN
- China
- Prior art keywords
- camera
- image
- reference object
- target reference
- electronic equipment
- 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/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
-
- 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/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
This application discloses a kind of equipment imaging method, device, storage medium and electronic equipments.This method comprises: obtaining at least one voice messaging when the preview interface in shooting class application;The target voice information there are predetermined keyword is determined from least one voice messaging, and the corresponding user of target voice information is determined as target reference object;Target reference object is shot by the first camera, the first image that shooting obtains is set as substrate image;Target reference object is shot by multiple second cameras, obtains multiple second images;Image is carried out with substrate image to multiple second images and synthesizes processing, obtains image.The quality for the whole image that electronic equipment is shot can be improved in the application.
Description
Technical field
The application belongs to technical field of image processing more particularly to a kind of equipment imaging method, device, storage medium and electricity
Sub- equipment.
Background technique
Currently, user usually using have camera electronic equipment shoot image, can by these electronic equipments with
When the thing that occurs at one's side of record everywhere, it is seen that scenery etc..However, due to the hardware deficiency of camera itself, so that its
Often focus region is than more visible for the image of shooting, and other regions then Relative Fuzzy leads to the matter of whole image
It measures poor.
Summary of the invention
The embodiment of the present application provides a kind of equipment imaging method, device, storage medium and electronic equipment, can be improved electronics
The quality for the whole image that equipment is shot.
The embodiment of the present application provides a kind of equipment imaging method, is applied to electronic equipment, and the electronic equipment includes first
First camera of type and the second camera of multiple Second Types, the shooting area of the second camera and described first
There are laps for the shooting area of camera, comprising:
When the preview interface in shooting class application, at least one voice messaging is obtained;
Determine the target voice information there are predetermined keyword from least one described voice messaging, and by the mesh
The corresponding user of mark voice messaging is determined as target reference object;
The target reference object is shot by first camera, the first image that shooting obtains is set as
Substrate image;
The target reference object is shot by the multiple second camera, obtains multiple second images;
Image is carried out with the substrate image to the multiple second image and synthesizes processing, obtains image.
The embodiment of the present application provides a kind of equipment imaging device, is applied to electronic equipment, and the electronic equipment includes first
First camera of type and the second camera of multiple Second Types, the shooting area of the second camera and described first
There are laps for the shooting area of camera, comprising:
First obtains module, for obtaining at least one voice messaging when the preview interface in shooting class application;
Determining module, for determining the target language message there are predetermined keyword from least one described voice messaging
Breath, and the corresponding user of the target voice information is determined as target reference object;
Second acquisition module will be shot for being shot by first camera to the target reference object
The first obtained image is set as substrate image;
Third obtains module and obtains for being shot by the multiple second camera to the target reference object
To multiple second images;
Synthesis module synthesizes processing for carrying out image with the substrate image to the multiple second image, obtains into
As image.
The embodiment of the present application provides a kind of storage medium, is stored thereon with computer program, when the computer program exists
When being executed on computer, so that the computer executes the process in equipment imaging method provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of electronic equipment, including memory, processor, the first camera of the first kind
With the second camera of multiple Second Types, the shooting area of the shooting area of the second camera and first camera
There are lap, the processor is by calling the computer program stored in the memory, for executing the application reality
Process in the equipment imaging method of example offer is provided.
In the embodiment of the present application, the target language message there are predetermined keyword is determined from least one voice messaging
Breath, and the corresponding user of the target voice information is determined as target reference object;By the first camera to target shooting pair
As being shot, the first image that shooting obtains is set as substrate image;By multiple second cameras to target reference object
It is shot, obtains multiple second images;Image is carried out with substrate image to multiple second images and synthesizes processing, obtains image
Picture.As a result, in finally obtained image, the region clarity except target reference object region is also improved,
Improve the quality of whole image.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made
And its advantages are apparent.
Fig. 1 is the first flow diagram of equipment imaging method provided by the embodiments of the present application.
Fig. 2 is second of flow diagram of equipment imaging method provided by the embodiments of the present application.
Fig. 3 is the central area signal for the shooting area that target reference object is in the first camera in the embodiment of the present application
Figure.
Fig. 4 is the first set-up mode schematic diagram of the first camera and second camera in the embodiment of the present application.
Fig. 5 is the edge part of the shooting area of the shooting area of second camera and the first camera in the embodiment of the present application
Divide overlapping schematic diagram.
Fig. 6 is that the shooting area of the shooting area of all second cameras and the first camera is simultaneously in the embodiment of the present application
The overlapping region m schematic diagram of overlapping.
Fig. 7 is the picture material contrast schematic diagram of the second image and substrate image in the embodiment of the present application.
Fig. 8 is all second images and substrate image while the overlapping region m1 of overlapping in the embodiment of the present application, and two is adjacent
The overlapping region of the adjacent second image overlapping of the overlapping region m2, m3, m4, m5, two that second image and substrate image are overlapped simultaneously
M6, m7, m8, m9 schematic diagram.
Fig. 9 is all second images and substrate image while the overlapping region schematic diagram of overlapping in the embodiment of the present application.
Figure 10 is the third flow diagram of equipment imaging method provided by the embodiments of the present application.
Figure 11 is second of set-up mode schematic diagram of the first camera and second camera in the embodiment of the present application.
Figure 12 is the schematic diagram of the first camera and second camera common image sensor in the embodiment of the present application.
Figure 13 is the 4th kind of flow diagram of equipment imaging method provided by the embodiments of the present application.
Figure 14 is that certain region m11 for the shooting area that target reference object is in the first camera in the embodiment of the present application shows
It is intended to.
Figure 15 is the first structural schematic diagram of equipment imaging device provided by the embodiments of the present application.
Figure 16 is second of structural schematic diagram of equipment imaging device provided by the embodiments of the present application.
Figure 17 is the third structural schematic diagram of equipment imaging device provided by the embodiments of the present application.
Figure 18 is the first structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Figure 19 is second of structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Diagram is please referred to, wherein identical component symbol represents identical component, the principle of the application is to implement one
It is illustrated in computing environment appropriate.The following description be based on illustrated by the application specific embodiment, should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
It is understood that the executing subject of the embodiment of the present application can be the electronics such as smart phone or tablet computer
Equipment.
Referring to Fig. 1, Fig. 1 is the first flow diagram of equipment imaging method provided by the embodiments of the present application, process
May include:
101, when the preview interface in shooting class application, at least one voice messaging is obtained.
In the embodiment of the present application, electronic equipment include the first kind the first camera and multiple Second Types second
Camera, wherein the shooting area of the first camera is greater than the shooting area of second camera, the shooting area of second camera
With the shooting area of the first camera there are lap or it may be said that there are overlapping region, and any two second camera
Shooting area between there are lap, and the lap of the shooting area of any two second camera and the first camera shooting
There are laps for the shooting area of head, and the shooting area of multiple second cameras has lap, and multiple second
There are lap, i.e., multiple second cameras for the shooting area of the lap of the shooting area of camera and the first camera
Shooting area and the first camera shooting area exist simultaneously be overlapped lap.
For example, user is in operation electronic equipment starting shooting class application (for example the system of electronic equipment applies " camera ")
When, electronic equipment is the preview interface for entering shooting class application.When electronic equipment is in the preview interface of shooting class application, electricity
At least one available voice messaging of sub- equipment.
Wherein, electronic equipment can obtain one or more voice messagings of a user by microphone.Electronic equipment
One or more voice messagings of multiple users can also be obtained by microphone.
For example, when user U1 says " me please be helped to take a picture " within the scope of the microphone pickup of electronic equipment, electricity
I.e. pass through microphone gets a voice messaging to sub- equipment.When user U2 is said within the scope of the microphone pickup of electronic equipment
When " today, weather was very good ", i.e. pass through microphone gets a voice messaging to electronic equipment.
102, the target voice information there are predetermined keyword is determined from least one voice messaging, and by the target
The corresponding user of voice messaging is determined as target reference object.
For example, after getting at least one voice messaging, electronic equipment can detecte in each voice messaging whether
There are predetermined keywords.For example, electronic equipment can carry out speech recognition to each voice messaging, voice messaging is converted to
Corresponding text information, and detect in the text information with the presence or absence of predetermined keyword.When detecting exist in certain voice messaging
When predetermined keyword, which can be determined as target voice information by electronic equipment, and by the target voice information pair
The user answered is determined as target reference object.
For example, it is assumed that electronic equipment gets the voice messaging of user U1, user U2 and user U3.The voice of user U1 is believed
Breath are as follows: " me please be help to shoot a photo ", the voice messaging of user U2 are as follows: " today, weather was very good ", the voice messaging of user U3
Are as follows: " sun shines well ".Predetermined keyword is " photo ".It is found that there are predetermined keywords " to shine in the voice messaging of user U1
Piece ", then, the voice messaging of user U1 can be determined as target voice information by electronic equipment, and by the target voice information
Corresponding user, i.e. user U1 are determined as target reference object.
In some embodiments, electronic equipment often gets a voice messaging, and can detect in the voice messaging is
It is no that there are predetermined keywords.If electronic equipment detects in the voice messaging there are predetermined keyword, electronic equipment can should
Voice messaging is determined as target voice information, and the corresponding user of the target voice information is determined as target reference object, and
Into process 103.If electronic equipment detects that, there is no predetermined keyword in the voice messaging, electronic equipment can continue to execute
Obtain the process of voice messaging.
Wherein, predetermined keyword can also be automatically generated, etc. by user setting by electronic equipment.Do not make herein
Concrete restriction, is subject to actual demand.
103, target reference object is shot by the first camera, the first image that shooting obtains is set as substrate
Image.
For example, electronic equipment can be by the first camera to user after determining that user U1 is target reference object
U1 is once shot, and the image that the first camera is shot is denoted as the first image, and first image is set as substrate
Image.
In some embodiments, it can only include target reference object in the first image, i.e., only include user U1.Another
In a little embodiments, target reference object is removed in the first image, i.e. can also include other people, object and scape etc. except user U1,
It is not specifically limited herein, is subject to actual demand.
104, target reference object is shot by multiple second cameras, obtains multiple second images.
In the embodiment of the present application, electronic equipment also carries out target reference object by multiple second cameras of its setting
Shooting, accordingly obtains multiple images, and the image that second camera is shot is denoted as the second image, i.e. shooting obtains multiple the
Two images.
It should be noted that when being shot by multiple second cameras to target reference object, second camera
It is shot with the first camera using identical image parameter (such as contrast, brightness), as a result, the first camera and second
Camera shoots to obtain the first image and the image of the second image is of different sizes, and effect is identical.
It should be noted that the embodiment of the present application in 103 and 104 execution sequencing without limitation, can be
It executes and executes 104 after completing 103, can be after execution completes 104 and execute 103, can also be and be performed simultaneously 103 and 104.
105, image is carried out with substrate image to multiple second images and synthesizes processing, obtain image.
In the embodiment of the present application, electronic equipment is shooting to obtain substrate image by the first camera, and by multiple
Second camera is shot after obtaining multiple second images, and multiple second images that shooting obtains are aligned with substrate image.
The lap of substrate image and the second image is calculated based on the substrate image and the second image after alignment
The average pixel value of each pixel of overlapping, for example, electronic equipment except through the first camera shoot to obtain substrate image it
Outside, it also shoots to obtain four the second images by four second cameras, for overlapping region, the pixel of certain position is at five
Pixel value in image (i.e. substrate image and four the second images) is respectively 0.8,0.9,1.1,1.2 and 1, then can be calculated
The average pixel value of the pixel of the position is 1.
Later, composograph is obtained according to the obtained average pixel value of each position pixel corresponding in substrate image,
For example, the pixel value of each pixel of substrate image can be accordingly adjusted to each average pixel value being calculated, thus
To image;For another example, the new image of a width, i.e. image can also be generated according to each average pixel value is calculated.
In the embodiment of the present application, electronic equipment carries out image conjunction in multiple second images and substrate image obtained to shooting
After processing, image is obtained, so far, electronic equipment completes primary complete shooting operation.
It should be noted that in the embodiment of the present application, target reference object is in the shooting area of multiple second cameras
The domain overlapping region be overlapped with the shooting area of the first camera, target reference object is in multiple second cameras in other words
The shooting area overlapping region be overlapped simultaneously with the shooting area of the first camera.It is taken the photograph assuming that electronic equipment includes four second
As head, which is respectively second camera A, second camera B, second camera C and second camera D.
There are overlapping regions for the shooting area of the shooting area of second camera A and the first camera, are denoted as overlapping region m12.Weight
There are overlapping regions for the shooting area of folded region m12 and second camera B, are denoted as overlapping region m13.Overlapping region m13 and
There are overlapping regions for the shooting area of two camera C, are denoted as overlapping region m14.The bat of overlapping region m14 and second camera D
Taking the photograph region, there are overlapping regions, are denoted as overlapping region m15.The target reference object is in the m15 of the overlapping region.
In the embodiment of the present application, the target language message there are predetermined keyword is determined from least one voice messaging
Breath, and the corresponding user of the target voice information is determined as target reference object;By the first camera to target shooting pair
As being shot, the first image that shooting obtains is set as substrate image;By multiple second cameras to target reference object
It is shot, obtains multiple second images;Image is carried out with substrate image to multiple second images and synthesizes processing, obtains image
Picture.Since the shooting area of second camera and the shooting area of the first camera are there are lap, and any two second
There are lap between the shooting area of camera, and the lap of the shooting area of any two second camera and
There are laps for the shooting area of one camera, and target reference object is in the shooting area and of multiple second cameras
The overlapping region that the shooting area of one camera is overlapped, therefore, in finally obtained image, where target reference object
The clarity in region is improved, and the clarity in the region except target reference object region is also improved, to mention
The high quality of whole image.
Referring to Fig. 2, Fig. 2 is second of flow diagram of equipment imaging method provided by the embodiments of the present application, process
May include:
201, when the preview interface in shooting class application, electronic equipment obtains at least one voice messaging.
In the embodiment of the present application, electronic equipment include the first kind the first camera and multiple Second Types second
Camera, wherein the shooting area of the first camera is greater than the shooting area of second camera, the shooting area of second camera
With the shooting area of the first camera there are lap or it may be said that there are overlapping region, and any two second camera
Shooting area between there are lap, and the lap of the shooting area of any two second camera and the first camera shooting
There are laps for the shooting area of head, and the shooting area of multiple second cameras has lap, and multiple second
There are lap, i.e., multiple second cameras for the shooting area of the lap of the shooting area of camera and the first camera
Shooting area and the first camera shooting area exist simultaneously be overlapped lap.
For example, user is in operation electronic equipment starting shooting class application (for example the system of electronic equipment applies " camera ")
When, electronic equipment is the preview interface for entering shooting class application.When electronic equipment is in the preview interface of shooting class application, electricity
At least one available voice messaging of sub- equipment.
Wherein, electronic equipment can obtain at least one voice messaging of at least one user by microphone.For example, electric
Sub- equipment can obtain the voice messaging of a user by microphone, also multiple voices letter of an available user
Breath.Electronic equipment can obtain the voice messaging of multiple users by microphone.Wherein, the available multiple users of electronic equipment
In each user a voice messaging, also multiple voice messagings of each user in available multiple users.
For example, when user U1 says " me please be helped to take a picture " within the scope of the microphone pickup of electronic equipment, electricity
I.e. pass through microphone gets a voice messaging to sub- equipment, and the voice messaging is corresponding with user U1.When user U2 is set in electronics
When saying " today, weather was very good " within the scope of standby microphone pickup, electronic equipment passes through microphone and gets a voice letter
Breath, the voice messaging are corresponding with user U2.
202, electronic equipment determines the target voice information there are predetermined keyword from least one voice messaging.
For example, there are multiple users in photographed scene, then electronic equipment may get one of multiple users simultaneously
Or multiple voice messagings.In order to improve shooting efficiency, electronic equipment can detect one or more voices of multiple users simultaneously
It whether there is predetermined keyword in information.For example, electronic equipment can carry out speech recognition to each voice messaging, by voice
Information is converted to corresponding text information, and detects in the text information with the presence or absence of predetermined keyword.Due in photographed scene
The case where there are multiple users, therefore there are multiple with predetermined keyword is said per family.It is directed to above situation, even electronics is set
Standby to detect the presence of at least two target voice information there are predetermined keyword, then electronic equipment can enter process 203.
Wherein, shooting class application program (for example the system of electronic equipment applies " camera ") is being started according to user's operation
Afterwards, the scene that camera is aligned is photographed scene.It is applied for example, user is clicked on electronic equipment " camera " by finger
Icon starting " camera applications " after, if user using electronic equipment camera alignment one include XX object scene, should
Scene including XX object is photographed scene.As described above, it will be apparent to a skilled person that photographed scene
The scene not refered in particular to a certain special scenes, but the direction of camera is followed to be aligned in real time.
203, if it exists at least two there are the target voice information of predetermined keyword, then electronic equipment determines each target
The corresponding user of voice messaging, obtains at least two users.
Electronic equipment detects the presence of at least two target voice information there are predetermined keyword, and there are two kinds of situations.
One are as follows: electronic equipment detects the presence of at least two target voice information there are predetermined keyword, and this at least two is deposited
Same user is corresponded in the target voice information of predetermined keyword, i.e., the default key of at least two presence is said by same user
The target voice of word.Secondly are as follows: electronic equipment detects the presence of the target voice information of at least two predetermined keywords, and each
There are the target voice information of predetermined keyword to correspond to different users, i.e., each there are the target voices of predetermined keyword by not
Same user says.
The embodiment of the present application is mainly for second situation, i.e., at least two there are the target languages of predetermined keyword if it exists
Message breath, and each target voice information there are predetermined keyword corresponds to different users, then electronic equipment can determine often
The corresponding user of a target voice information, obtains at least two users.
204, electronic equipment selects target reference object from least two users.
When determining the corresponding user of each target voice information, after obtaining at least two users, electronic equipment can be with
Target reference object is selected from least two users.
For example, electronic equipment can will be determined as target reference object with the user that electronic equipment is closer.Alternatively, electric
Sub- equipment can also will be determined as target reference object apart from user farther out with electronic equipment.
For another example, multiple human face photos in the available photo library of electronic equipment.Then, electronic equipment can be according to people
The characteristic information of face photo classifies to each human face photo.For example, it is assumed that having 20 human face photos, wherein 10 faces
Photo can extract identical fisrt feature information, and in addition 7 human face photos can extract identical second feature information,
Remaining 3 human face photos can extract identical third feature information.That is corresponding 10 human face photos of fisrt feature information,
Second feature information corresponds to 7 human face photos, corresponding 3 human face photos of third feature information, that is, having fisrt feature information
Human face photo it is most, take second place with the human face photo of second feature information, the human face photo with third feature information is minimum.
Assuming that electronic equipment needs select target reference object from 3 users.So, electronic equipment can be first to this 3 users
Image acquisition is carried out, to obtain 3 facial images.Then, electronic equipment can extract the characteristic information of each facial image, obtain
To 3 characteristic informations, it is denoted as first object characteristic information, the second target signature information, third target signature information.Then, electric
Sub- equipment can detecte each characteristic information whether with its in fisrt feature information, second feature information and third feature information
In the matching of characteristic information.If first object characteristic information and fisrt feature information matches, the second target signature information and the
The matching of two characteristic informations, third target signature information and third feature information matches.Electronic equipment can be by first object feature
The corresponding user of information is determined as target reference object.If first object characteristic information and fisrt feature information matches, the second mesh
Mark characteristic information and third target signature information and fisrt feature information, second feature information and third feature information not
Match, then the corresponding user of first object characteristic information is determined as target reference object.If having at least two in 3 characteristic informations
A characteristic information, such as 2 characteristic informations and fisrt feature information or second feature information or third feature information matches, then from
Target reference object is determined in the corresponding user of this 2 characteristic informations, for example, by the corresponding user of this 2 characteristic informations
Any one user is determined as target reference object.
For another example, electronic equipment can show choice box on a display screen, so that user (users of hand-hold electronic equipments)
Which user is determined as target reference object by selection.
205, electronic equipment determines the relative position of target reference object and electronic equipment.
In the embodiment of the present application, in order to determine the relative position of target reference object and electronic equipment, electronic equipment exists
When obtaining at least one voice messaging, microphone array can be used, i.e. at least three microphones receive at least one user's
Voice messaging.After electronic equipment determines target reference object, the available each microphone of electronic equipment receives the mesh
The receiving time of the corresponding target voice information of reference object is marked, to obtain target reference object and each according to the receiving time
The relative position of microphone.Electronic equipment can determine that target is shot according to the relative position of target reference object and each microphone
The relative position of object and terminal.For example, calculating the opposite of target voice and electronic equipment by plane geometry related algorithm
Position.In the same plane, the distance of any point to three fixed points is unique, in the embodiment, microphone number
Amount is more than three.
Wherein, relative position can be relative position in the same plane, which includes horizontal direction and water
Flat distance.Due to each microphone be it is fixed on an electronic device, the position of each microphone on an electronic device be it is known, respectively
Positional distance between microphone is also known, and the aerial spread speed of target voice is also known, known to these
The receiving time that condition receives target voice along with each microphone can calculate the phase of target voice with electronic equipment
To position, namely calculate the relative position of target reference object and electronic equipment.For example, due to opposite between each microphone
Position be it is known, electronic equipment first according to each microphone receive target voice information receiving time calculate target shooting
Then the relative position of object and each microphone can select a reference point, according to the position of each microphone on an electronic device
Set the relative position with reference point, it can the relative position of the reference point on target reference object and electronic equipment is obtained, from
And the relative position of available target reference object and electronic equipment.
Relative position is also possible to the relative position in three-dimensional space, the relative position include direction in space and space away from
From.Due in three dimensions, the distance of any point to four fixed points be it is unique, i.e., can be with by any four point
Determine another point in three-dimensional space.In the embodiment, number of microphone is more than four.
It should be noted that target reference object and electronics can also be determined in such a way that the embodiment of the present application is unlisted
The relative position of equipment, the embodiment of the present application are not particularly limited this.
206, electronic equipment adjusts the shooting angle of the first camera depending on the relative position, so that target reference object is in
The central area of the shooting area of first camera.
After determining the relative position of target reference object and electronic equipment, electronic equipment can be according to this with respect to position
Set the shooting angle of the first camera of adjustment.For example, electronic equipment can calculate the first camera depending on the relative position to be needed
The angle and direction to be rotated, so that the angle and direction for being needed to rotate according to the first camera, rotates the first camera, to adjust
The shooting angle of whole first camera, so that target reference object is in the central area of the shooting area of the first camera, i.e.,
As shown in Figure 3.
207, electronic equipment shoots target reference object by the first camera, the first image that shooting is obtained
It is set as substrate image.
For example, electronic equipment can pass through the first camera when electronic equipment determines that user U1 is target reference object
User U1 is once shot, the image that the first camera is shot is denoted as the first image, and first image is set
For substrate image.
In some embodiments, it can only include target reference object in the first image, i.e., only include user U1.Another
In a little embodiments, target reference object is removed in the first image, i.e. can also include other people, object and scape etc. except user U1,
It is not specifically limited herein, is subject to actual demand.
208, electronic equipment adjusts the shooting angle of each second camera depending on the relative position, so that each second camera shooting
The shooting area of head is Chong Die with the marginal portion of the shooting area of the first camera.
After determining the relative position of target reference object and electronic equipment, electronic equipment can be according to this with respect to position
Set the shooting angle for adjusting each second camera.For example, electronic equipment can calculate each second depending on the relative position
Camera needs the angle and direction rotated, thus the angle and direction for being needed to rotate according to each second camera, rotation is every
A second camera, to adjust the shooting angle of each second camera, so that the shooting area of each second camera and
The marginal portion of the shooting area of one camera is overlapped.
For example, camera of first camera for type, the camera that field angle is 45 degree or so in other words, second
Camera is the camera of focal length type, and field angle is the camera within 40 degree in other words.Electronic equipment includes one first
Camera and four second cameras, respectively second camera A, second camera B, the camera shooting of second camera C and second
Head D.Incorporated by reference to referring to Fig. 4 and Fig. 5, when the relative position according to electronic equipment and target reference object adjust the first camera and
After the shooting angle of each second camera, the axis of axis towards the first camera of each second camera tilts and intersects,
So that target reference object is in the central area of the shooting area of the first camera, and make the shooting area of second camera A
The upper left corner of the shooting area of corresponding first camera of domain a, the bat of corresponding first camera of the shooting area b of second camera B
The upper right corner in region is taken the photograph, the lower left corner of the shooting area of corresponding first camera of the shooting area c of second camera C, second takes the photograph
As the lower right corner of the shooting area of corresponding first camera of the shooting area d of head D, as a result, the shooting area of second camera with
The marginal portion of the shooting area of first camera is overlapped, and the lap of the shooting area of any two second camera with
There are laps for the shooting area of first camera, and the shooting area of four second cameras with the first camera
The central area of shooting area is overlapped.And target reference object is in the central area of the shooting area of the first camera, then may be used
With determine the target reference object be in the first camera shooting area and the shooting area of each second camera it is be overlapped
Region.
For example, as shown in Figure 6, it is assumed that the shooting area of the first camera and the shooting area of each second camera are be overlapped
Region be overlapping region m, then target reference object is in overlapping region m.
209, electronic equipment shoots target reference object by multiple second cameras, obtains multiple second figures
Picture.
In the embodiment of the present application, when the bat for adjusting each second camera in multiple second cameras depending on the relative position
It takes the photograph after angle, electronic equipment can shoot target reference object by multiple second camera, accordingly obtain more
A image, the image that second camera is shot are denoted as the second image, i.e. shooting obtains multiple second images.
It should be noted that when being shot by multiple second cameras to target reference object, second camera
It is shot with the first camera using identical image parameter (such as contrast, brightness), the shooting of second camera as a result,
Region is the part of the shooting area of the first camera, but the two shoots to obtain the image effect of the first image and the second image
It is identical.
For example, electronic equipment includes four second cameras, respectively second camera A, second camera B, second are taken the photograph
As head C and second camera D, and the shooting area of this four second cameras respectively corresponds the first camera shooting area
Shooting is obtained four the second images by this four second cameras, such as by the upper left corner, the upper right corner, the lower left corner and the lower right corner
Shown in Fig. 7, the picture material of the second image G1 of second camera A shooting corresponds to the picture material in the substrate image upper left corner, the
The picture material of second image G2 of two camera B shooting corresponds to the picture material in the substrate image upper right corner, and second camera C is clapped
The picture material of the second image G3 taken the photograph corresponds to the picture material in the substrate image lower left corner, the second figure of second camera D shooting
As the picture material of G4 corresponds to the picture material in the substrate image lower right corner, in this way, the picture material of the second different images is covered
The different location of fringe region in substrate image is covered, and the picture material of the second different images includes target reference object.
It should be noted that can be in the embodiment of the present application and executing completion 204 and 206 and then executing 205 Hes
207.For 205 and 207,205 can be first carried out and execute 207 again, can also first carry out 207 execute 205,205 and 207 again can also
To be performed simultaneously.
210, electronic equipment carries out image with substrate image to multiple second images and synthesizes processing, obtains image.
In the embodiment of the present application, electronic equipment is shooting to obtain substrate image by the first camera, and by multiple
Second camera is shot after obtaining multiple second images, and multiple second images that shooting obtains are aligned with substrate image.
The lap of substrate image and the second image is calculated based on the substrate image and the second image after alignment
The average pixel value of each pixel of overlapping.For example, electronic equipment except through the first camera shoot to obtain substrate image it
Outside, it also shoots to obtain four the second images by four second cameras.Assuming that this four second images are the second image G1, the
Two image G2, the second image G3 and the second image G4.
Fig. 8 is please referred to, each second image overlapping region m1 be overlapped with substrate image is located at the center of substrate image
Domain, i.e. target reference object region.That is the second image G1, the second image G2, the second image G3, the second image G4 and substrate
The overlapping region m1 of image is located at the central area of substrate image.In this way, for overlapping region m1 shown in Fig. 8, certain position
Pixel value of the pixel in five images (i.e. substrate image and four the second images) is respectively 0.8,0.9,1.1,1.2 and 1,
The average pixel value that the pixel of the position can then be calculated is 1.
Please continue to refer to Fig. 8, the overlapping region of the second image G1, the second image G2 and substrate image are overlapping region m2,
The overlapping region of second image G1, the second image G3 and substrate image be overlapping region m3, the second image G2, the second image G4 and
The overlapping region of substrate image is overlapping region m4, and the overlapping region of the second image G3, the second image G4 and substrate image are attached most importance to
Folded region m5.For overlapping region m2 shown in Fig. 8, the pixel of certain position is in the second image G1, the second image G2 and substrate
Pixel value in image is respectively 0.8,0.9,1, then the average pixel value that the pixel of the position can be calculated is 0.9.
Please continue to refer to Fig. 8, the overlapping region of the second image G1 and substrate image is overlapping region m6, the second image G2 and
The overlapping region of substrate image is overlapping region m7, and the overlapping region of the second image G3 and substrate image is overlapping region m8, the
The overlapping region of two image G4 and substrate image is overlapping region m9.For overlapping region m6 shown in Fig. 8, the pixel of certain position
Pixel value o'clock in the second image G1, substrate image is respectively 0.8,1, then being averaged for the pixel of the position can be calculated
Pixel value is 0.9.
Later, electronic equipment is closed according to the obtained average pixel value of each position pixel corresponding in substrate image
At image, for example, electronic equipment the pixel value of each pixel of substrate image can be accordingly adjusted to be calculated it is each flat
Equal pixel value, to obtain image;For another example, electronic equipment can also be generated according to each average pixel value is calculated
The new image of one width, i.e. image.In the image, central area, i.e. target reference object region clarity
Highest, overlapped two-by-two and Chong Die with the substrate image region clarity of each second image are taken second place, each second image and substrate
Image overlapping region clarity is minimum, but for substrate image, the whole clarity of image is all relatively high.
In the embodiment of the present application, electronic equipment carries out image conjunction in multiple second images and substrate image obtained to shooting
After processing, image is obtained, so far, electronic equipment completes primary complete shooting operation.
For example, please referring to Fig. 9, the clarity that Fig. 9 thus illustrates substrate image to image changes, wherein X-axis table
Show by image edge area to central area, then by the change in location of central area to fringe region, Y-axis expression follows X-axis to become
The clarity of change, it can be seen that in substrate image, the clarity highest of central area, as central area is to fringe region
Diffusion, clarity gradually decreases, and change it is more violent, and in image, the clarity highest of central area, and phase
Compared with substrate image, the clarity of the fringe region of image is integrally improved, the expansion with central area to fringe region
It dissipates, although clarity gradually decreases, variation is more smooth, so that the overall image quality of image is improved.
As shown in Figure 10, in some embodiments, process 204 may include:
2041, electronic equipment carries out image acquisition operations to each user, obtains at least two facial images, wherein every
One facial image is corresponding with a user.
2042, electronic equipment extracts the characteristic information of each facial image, obtains at least two characteristic informations.
2043, electronic equipment is determined to believe with the matched target signature of default characteristic information from least two characteristic informations
Breath.
2044, the corresponding user of target signature information is determined as target reference object by electronic equipment.
Determining the corresponding user of each target voice information, after obtaining at least two users, electronic equipment can be with
Image acquisition operations are carried out to each user, obtain at least two facial images.Wherein, each facial image and a user couple
It answers.Then, electronic equipment can extract the characteristic information of each facial image, obtain at least two characteristic informations.Then, electronics
Equipment detects whether each characteristic information matches with default characteristic information, and will be true with the matched characteristic information of default characteristic information
It is set to target signature information.Finally, the corresponding user of the target signature information is determined as target reference object by electronic equipment.
For example, there may be other incoherent people or objects in photographed scene, if other in photographed scene are incoherent
People by chance says predetermined keyword with target reference object simultaneously, other people are determined as mesh with may cause electronics error
Mark reference object.To avoid above situation from occurring, user can store oneself in advance or the human face photo of other friends is corresponding
Characteristic information, and these characteristic informations are set as default characteristic information, so that there are other in photographed scene is incoherent
It, can be to avoid electronics error incoherent by other when people by chance says predetermined keyword with target reference object simultaneously
People is determined as the generation of the case where target reference object.
It is understood that in the embodiment of the present application, when detecting predetermined keyword in the voice messaging got
When, electronic equipment also receives once while determining the corresponding user of the voice messaging is target reference object to target
The image taking of reference object is requested.I.e. when detecting predetermined keyword in the voice messaging got, electronic equipment is
Target reference object is once shot.Therefore, other incoherent people are determined as target with avoiding electronics error
The case where reference object, generates particularly important.Based on this, in the embodiment of the present application, detected when in the voice messaging got
When to predetermined keyword, electronic equipment can determine the corresponding user of the voice messaging.Then, electronic equipment carries out the user
Image acquisition operations, to obtain facial image.Then, electronic equipment extracts the characteristic information of the facial image.Then, electronics is set
Whether standby detection this feature information matches with default characteristic information.Finally, if this feature information is matched with default characteristic information, electricity
The user can be determined as target reference object by sub- equipment.
In one embodiment, electronic equipment includes two the first cameras, and " electronic equipment adjusts first depending on the relative position
The shooting angle of camera, so that target reference object is in the central area of the shooting area of the first camera ", comprising:
Electronic equipment adjusts the shooting angle of two the first cameras depending on the relative position, so that target reference object is in
The central area of the shooting area of two the first cameras.
" electronic equipment shoots target reference object by the first camera, and the first image that shooting obtains is set
For substrate image ", comprising:
(1) electronic equipment shoots target reference object by two the first cameras, obtains at least two first
Image;
(2) electronic equipment carries out image synthesis processing at least two first images, and the image that synthesis obtains is set as base
Base map picture.
In the embodiment of the present application, electronic equipment includes first camera of two types.For example, Figure 11 is please referred to,
Electronic equipment includes two the first cameras, respectively the first camera E and the first camera F, and the first camera E surround and sets
Second camera there are four setting.
In the shooting angle for adjusting two the first cameras depending on the relative position, so that target reference object is in two the
After the central area of the shooting area of one camera, electronic equipment can be by two the first cameras to target reference object
It is shot, obtains identical at least two first image of picture material.Then image is carried out at least two first images again
The image that synthesis obtains is set as substrate image by synthesis processing.
Wherein, electronic equipment is when carrying out image synthesis processing at least two first images, first by least two the
One image alignment, then the average pixel value of each pixel of at least two first images overlapping is calculated, last basis is calculated
Each average pixel value obtain the composograph of at least two first images, which is set as substrate image.
Substrate image, energy in the embodiment of the present application are set as compared to the first image for directly shooting the first camera
It is enough to obtain substrate image more high-definition, so that finally obtained image also has higher clarity.
In one embodiment, " electronic equipment shoots target reference object by the first camera, and shooting is obtained
The first image be set as substrate image ", comprising:
(1) electronic equipment is treated target reference object by the first camera and is continuously shot, and obtains multiple first figures
Picture;
(2) electronic equipment carries out image synthesis processing to multiple first images, and the image that synthesis obtains is set as substrate figure
Picture.
In the embodiment of the present application, in the shooting angle for adjusting the first camera depending on the relative position, so that target shooting pair
As in the first camera shooting area central area after, electronic equipment can by the first camera to target shoot
Object is continuously shot, and multiple first images are obtained.Wherein, electronic equipment can be according to the shooting frame rate of setting, in unit
Target reference object is shot by the first camera in duration, target reference object is continuously shot to realize.
Such as, it is assumed that the shooting frame rate of the first camera is 15FPS, then in unit time 1 second, shooting is obtained target by electronic equipment
15 images of reference object, since these images both correspond to same target reference object, and the shooting time between each image
Interval it is smaller, the picture material of these images can be regarded as identical.
After shooting obtains the first image of multiple target reference objects, electronic equipment therefrom selects clarity highest
The first image, by other first images and highest first image alignment of the clarity, then calculate the overlapping of multiple first images
Each pixel average pixel value, it is last that the composite diagram of multiple first images is obtained according to each average pixel value being calculated
The composograph is set as substrate image by picture.
Substrate image, energy in the embodiment of the present application are set as compared to the first image for directly shooting the first camera
It is enough to obtain substrate image more high-definition, so that finally obtained image also has higher clarity.
Optionally, target reference object is continuously shot by the first camera in electronic equipment, obtains multiple
After one image, further includes:
Electronic equipment chooses the highest image of clarity as substrate image from multiple first images that shooting obtains, and uses
Make the second image shot with second camera progress image and synthesizes processing to obtain image.
Usually, image is more clear, and contrast is higher.Therefore, it is possible to use the contrast of image measures image
Clarity.
In one embodiment, electronic equipment further includes the electrochromism group for covering the first camera and/or second camera
Part, before " when the preview interface in shooting class application, electronic equipment obtains at least one voice messaging ", further includes:
Electronic equipment switches electrochromic window assemblies to pellucidity;
After " electronic equipment carries out image with substrate image to multiple second images and synthesizes processing, obtains image ",
Further include:
Electrochromic window assemblies are switched to colored state by electronic equipment, to hide the first camera and/or second camera.
In the embodiment of the present application, in order to promote the integrality of electronic equipment, it need to also be imaged in the first camera and/or second
Electrochromic window assemblies are covered on head, to be hidden when needed using electrochromic window assemblies to camera.
The working principle of electrochromic window assemblies is simply introduced first below.
Electrochromism refer to color/transparency of material stablize under the action of extra electric field, reversible variation
Phenomenon.Material with electrochromic property is properly termed as electrochromic material.And the electrochromism group in the embodiment of the present application
Part is exactly made using electrochromic material.
Wherein, electrochromic window assemblies may include the two conductive layers being stacked, and be located between two conductive layers
Photochromic layer, electrolyte layer, ion storage.For example, no applied voltage on two transparency conducting layers of electrochromic window assemblies
When (in other words, voltage 0V), which works as transparent state and is applied between two transparency conducting layer
Voltage when becoming 3V from 0V, which will be in black, when the voltage being applied between two transparency conducting layer
When becoming -3V from 3V, which will become transparent, etc. from black.
In this way, using the characteristic of electrochromic window assemblies Color tunable, can to the first camera and/or second camera into
Row is hidden.
In the embodiment of the present application, electronic equipment can will be covered in the first camera while starting shooting class application
And/or the electrochromic window assemblies on second camera switch to pellucidity, enable the first camera and second camera
It is enough that target reference object is shot.
And substrate image is being got by the first camera, and shoot to obtain multiple by multiple second cameras
Two images, and finally synthesis obtains image and exits after the shooting class application of starting, electronic equipment is i.e. by electrochromism
Switch between components are to colored state, to hide the first camera and/or second camera.
For example, electronic equipment is provided with while covering the electrochromic window assemblies of all the first camera and second camera,
And it is black that electronic equipment, which is provided with the color of the one side of the first camera and second camera, then electronic equipment is in inactive bat
Class is taken the photograph in application, the colored state that electrochromic window assemblies are in black is saved, so that the first camera and second camera are hidden
Hiding;And electrochromic window assemblies are switched into pellucidity in application, synchronizing in starting shooting class, electronic equipment is passed through
First camera and second camera are shot;And image is obtained in final synthesis and exits the shooting class application of starting
Later, electrochromic window assemblies are switched to the colored state of black by electronic equipment, so that the first camera and second camera are again
It is secondary to be hidden.
In one embodiment, " electronic equipment shoots target reference object by the first camera, and shooting is obtained
The first image be set as substrate image " before, further includes:
(1) whether electronic equipment detection is current is in dither state;
(2) if being not currently in dither state, electronic equipment is requested according to image taking, by the first camera to mesh
Mark reference object is shot, and the first image that shooting obtains is set as substrate image.
According to the associated description in above embodiments, the embodiment of the present application using the image that different cameras are shot come
Final synthesis obtains image, if being in dither state in shooting process electronic equipment, will lead to different cameras and shoots
To the picture material of image, there are notable differences, influence the synthetic effect of image.
Therefore, in the embodiment of the present application, electronic equipment is shooting target reference object by the first camera,
Before the first image that shooting obtains is set as substrate image, first determine whether that itself is current whether in dither state.Wherein, electric
Sub- equipment can carry out the judgement of dither state in a number of different ways, for example, electronic equipment may determine that currently in each side
To speed whether be respectively less than pre-set velocity, if so, determining to be not currently in dither state (in other words, in stablizing shape
State), if it is not, then determining to be currently at dither state;For another example, electronic equipment may determine that currently the displacement of all directions whether
Respectively less than preset displacement, if so, determining to be not currently in dither state, if it is not, then determining to be currently at dither state.This
Outside, can be to lead to the judgement that the unlisted mode of the embodiment of the present application carries out dither state, the embodiment of the present application, which does not do this, to be had
Body limitation.
When determining to be currently at dither state, electronic equipment passes through the first camera and claps target reference object
It takes the photograph, the image that the first image that shooting obtains is set as substrate image to synthesize specifically can refer to above embodiments
In associated description, details are not described herein again.
In one embodiment, " electronic equipment shoots target reference object by the first camera, and shooting is obtained
The first image be set as substrate image " before, further includes:
(1) if being not currently in dither state, whether electronic equipment detection target reference object remains static;
(2) if target reference object remains static, electronic equipment is by the first camera to target reference object
It is shot, the first image that shooting obtains is set as substrate image.
According to related description provided above, one of ordinary skill in the art will appreciate that being not at shake in electronic equipment
In the case where state, if target reference object is not at stationary state (for example, target reference object includes moving object), electronics
Equipment is also likely to be present biggish difference by the picture material that the first camera and second camera shoot to obtain image.
Therefore, in the embodiment of the present application, electronic equipment is not stood when determining that its own is not currently in dither state
Target reference object is shot by the first camera, but further whether detection target reference object is in static
State, if detecting, target reference object remains static, and requests further according to image taking, by the first camera to target
Reference object is shot, and the image that the first image that shooting obtains is set as substrate image to synthesize specifically may be used
Referring to the associated description in above embodiments, details are not described herein again.
It wherein, can be root by those skilled in the art for how to judge whether target reference object remains static
Suitable mode is chosen according to actual needs and is judged that the embodiment of the present application is not particularly limited this, for example, light can be used
Stream method, residual error method etc. judge whether target reference object remains static.
In one embodiment, the first camera and second camera common image sensor.
For example, please referring to Figure 12, the first camera and second camera share same imaging sensor, the first camera
(camera lens part) and second camera (camera lens part) can be with the differences of the imaging sensor for projecting extraneous light of timesharing
The shooting to external object is realized in part.
Multi-cam independently uses imaging sensor compared to the prior art, and multi-cam shares figure in the embodiment of the present application
As sensor can reduce space hold.
Figure 13 is please referred to, Figure 13 is the third flow diagram of equipment imaging method provided by the embodiments of the present application, stream
Journey may include:
301, when the preview interface in shooting class application, electronic equipment obtains at least one voice messaging.
302, electronic equipment determines the target voice information there are predetermined keyword from least one voice messaging, and
The corresponding user of target voice information is determined as target reference object.
303, electronic equipment shoots target reference object by the first camera, the first image that shooting is obtained
It is set as substrate image.
Process 301 to 303 and above-mentioned process 101 to 103 are identical or corresponding, and details are not described herein again.
304, electronic equipment determines the relative position of target reference object and electronic equipment.
Process 304 and above-mentioned process 205 are identical or corresponding, and details are not described herein again.
305, electronic equipment adjusts the shooting angle of each second camera depending on the relative position, so that target reference object
The overlapping region of shooting area in multiple second cameras.
After determining the relative position of target reference object and electronic equipment, electronic equipment can be according to this with respect to position
Set the shooting angle for adjusting each second camera.For example, electronic equipment can calculate each second depending on the relative position
Camera needs the angle and direction rotated, thus the angle and direction for being needed to rotate according to each second camera, rotation is every
A second camera, to adjust the shooting angle of each second camera, so that target reference object is in multiple second camera shootings
The overlapping region of the shooting area of head.
For example, as shown in figure 14, it is assumed that target reference object is in region m11, the shooting area of multiple second cameras
Overlapping region be region m11.It is understood that the shooting area of the first camera also includes region m11, i.e. target
Reference object is in the shooting area of the first camera.And the it is understood that shooting area of multiple second cameras
The overlapping region of the shooting area of overlapping region and the first camera is also region m11.That is region locating for target reference object
The as shooting area of the first camera overlapping region be overlapped with the shooting area of multiple second cameras, i.e. region m11.
306, electronic equipment shoots target reference object by multiple second cameras, obtains multiple second figures
Picture.
307, electronic equipment carries out image with substrate image to multiple second images and synthesizes processing, obtains image.
Process 306 and 307 and above-mentioned process 104 and 105 are identical or corresponding, and details are not described herein again.
Figure 15 is please referred to, Figure 15 is the structural schematic diagram of equipment imaging device provided by the embodiments of the present application.The equipment at
Picture device is applied to electronic equipment, which includes that the first camera of the first kind and the second of multiple Second Types are taken the photograph
As head, there are laps for the shooting area of the shooting area of the second camera and first camera.Equipment imaging dress
Setting 400 includes: the first acquisition module 401, and determining module 402, second obtains module 403, and third obtains module 404 and synthesis
Module 405.
First obtains module 401, for obtaining at least one voice letter when the preview interface in shooting class application
Breath.
Determining module 402, for determining the target language there are predetermined keyword from least one described voice messaging
Message breath, and the corresponding user of the target voice information is determined as target reference object.
Second acquisition module 403 will be clapped for being shot by first camera to the target reference object
The first image taken the photograph is set as substrate image.
Third obtains module 404, for being shot by the multiple second camera to the target reference object,
Obtain multiple second images.
Synthesis module 405 synthesizes processing for carrying out image with the substrate image to the multiple second image, obtains
Image.
Also referring to Figure 16, in some embodiments, which may include:
First determines submodule 4031, for determining the relative position of the target reference object and the electronic equipment.
The first adjustment submodule 4032, for adjusting the shooting angle of first camera depending on that relative position,
So that the target reference object is in the central area of the shooting area of first camera.
First acquisition submodule 4033, for being shot by first camera to the target reference object,
The first image that shooting obtains is set as substrate image.
The third obtains module 404, may include:
Second adjustment submodule 4041, for adjusting the shooting angle of each second camera depending on that relative position,
So that the shooting area of each second camera is Chong Die with the marginal portion of shooting area of first camera.
Second acquisition submodule 4042, for being clapped by the multiple second camera the target reference object
It takes the photograph, obtains multiple second images.
Also referring to Figure 17, in some embodiments, which obtains module 404, may include:
Second determines submodule 4043, for determining the relative position of the target reference object and the electronic equipment.
Second adjustment submodule 4044, for adjusting the shooting angle of each second camera depending on that relative position,
So that target reference object is in the overlapping region of the shooting area of multiple second cameras.
Third acquisition submodule 4045, for being clapped by the multiple second camera the target reference object
It takes the photograph, obtains multiple second images.
In some embodiments, the determining module 402, can be used for: determine from least one described voice messaging
There are the target voice information of predetermined keyword;At least two there are the target voice information of predetermined keyword if it exists, then really
Determine the corresponding user of each target voice information, obtains at least two users;Target shooting is selected from least two users
Object.
In some embodiments, the determining module 402, can be used for: carrying out image acquisition operations to each user, obtains
At least two facial images, wherein each facial image is corresponding with a user;Extract the feature of each facial image
Information obtains at least two characteristic informations;It is determined from least two characteristic informations and the matched target of default characteristic information
Characteristic information;The corresponding user of the target signature information is determined as target reference object.
The embodiment of the present application provides a kind of computer-readable storage medium, computer program is stored thereon with, when described
When computer program executes on computers, so that the computer is executed as in equipment imaging method provided in this embodiment
Process.
The embodiment of the present application also provides a kind of electronic equipment, including memory, and processor, the processor is by calling institute
The computer program stored in memory is stated, for executing the process in equipment imaging method provided in this embodiment.
For example, above-mentioned electronic equipment can be the mobile terminals such as tablet computer or smart phone.Figure 18 is please referred to,
Figure 18 is the first structural schematic diagram of electronic equipment provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of electronic equipment, please refers to Figure 18, and electronic equipment includes processor 501, storage
Device 502, the first camera 503 of the first kind and the second camera 504 of multiple Second Types.Wherein, processor 501 with
Memory 502, the first camera 503 and second camera 504 are electrically connected.
Processor 501 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection
A part by the computer program of operation or load store in memory 502, and is called and is stored in memory 502
Data, execute the various functions of electronic equipment and handle data.
Memory 502 can be used for storing software program and module, and processor 501 is stored in memory 502 by operation
Computer program and module, thereby executing various function application and data processing.Memory 502 can mainly include storage
Program area and storage data area, wherein storing program area can computer program needed for storage program area, at least one function
(such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for electronic equipment
Data etc..In addition, memory 502 may include high-speed random access memory, it can also include nonvolatile memory, example
Such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 502 may be used also
To include Memory Controller, to provide access of the processor 501 to memory 502.
First camera 503 is the camera of type, the camera that field angle is 45 degree or so in other words.
Second camera 504 is the camera of focal length type, and field angle is the camera within 40 degree in other words.
In the embodiment of the present application, processor 501 in electronic equipment can according to following step, by one or one with
On computer program process it is corresponding instruction be loaded into memory 502, and by processor 501 operation be stored in memory
Computer program in 502, thus realize various functions, it is as follows:
When the preview interface in shooting class application, at least one voice messaging is obtained;
Determine the target voice information there are predetermined keyword from least one described voice messaging, and by the mesh
The corresponding user of mark voice messaging is determined as target reference object;
The target reference object is shot by first camera 503, the first image that shooting is obtained
It is set as substrate image;
The target reference object is shot by the multiple second camera 504, obtains multiple second images;
Image is carried out with the substrate image to the multiple second image and synthesizes processing, obtains image.
Figure 19 is please referred to, Figure 19 is second of structural schematic diagram of electronic equipment provided by the embodiments of the present application, with Figure 18
The difference of shown electronic equipment is that electronic equipment further includes the components such as input unit 505 and output unit 506.
Wherein, input unit 505 can be used for receiving the number of input, character information or user's characteristic information (for example refer to
Line), and to generate related with user setting and function control keyboard, mouse, operating stick, optics or trackball signal defeated
Enter.
Output unit 506 can be used for showing information input by user or the information for being supplied to user, such as screen.
In the embodiment of the present application, processor 501 in electronic equipment can according to following step, by one or one with
On computer program process it is corresponding instruction be loaded into memory 502, and by processor 501 operation be stored in memory
Computer program in 502, thus realize various functions, it is as follows:
When the preview interface in shooting class application, at least one voice messaging is obtained;
Determine the target voice information there are predetermined keyword from least one described voice messaging, and by the mesh
The corresponding user of mark voice messaging is determined as target reference object;
The target reference object is shot by first camera 503, the first image that shooting is obtained
It is set as substrate image;
The target reference object is shot by the multiple second camera 504, obtains multiple second images;
Image is carried out with the substrate image to the multiple second image and synthesizes processing, obtains image.
In one embodiment, the target reference object is being shot by first camera 503, will be being shot
When the first obtained image is set as substrate image, processor 501 is executed: determining the target reference object and the electronic equipment
Relative position;The shooting angle of first camera 503 is adjusted depending on that relative position, so that target shooting pair
As the central area of the shooting area in first camera 503;The target is clapped by first camera 503
It takes the photograph object to be shot, the first image that shooting obtains is set as substrate image;Right by the multiple second camera 504
The target reference object is shot, and when obtaining multiple second images, processor 501 is executed: adjusting depending on that relative position
The shooting angle of whole each second camera 504, so that the shooting area of each second camera 504 is taken the photograph with described first
As the marginal portion overlapping of first 503 shooting area;By the multiple second camera 504 to the target reference object into
Row shooting, obtains multiple second images.
In one embodiment, the target reference object is being shot by the multiple second camera 504, is being obtained
When to multiple second images, processor 501 is executed: determining the relative position of the target reference object and the electronic equipment;
The shooting angle of each second camera 504 is adjusted depending on that relative position, so that target reference object is in multiple second
The overlapping region of the shooting area of camera 504;The target reference object is carried out by the multiple second camera 504
Shooting, obtains multiple second images.
In one embodiment, the mesh there are predetermined keyword is determined in the voice messaging from least one user
When marking voice messaging, and the corresponding user of the target voice information being determined as target reference object, processor 501 is executed:
The target voice information there are predetermined keyword is determined from least one described voice messaging;At least two exist if it exists
The target voice information of predetermined keyword, it is determined that the corresponding user of each target voice information obtains at least two users;From
Target reference object is selected at least two users.
In one embodiment, when selecting target reference object from least two users, processor 501 is executed: right
Each user carries out image acquisition operations, obtains at least two facial images, wherein each facial image and the use
Family is corresponding;The characteristic information for extracting each facial image obtains at least two characteristic informations;From at least two characteristic informations really
It makes and the matched target signature information of default characteristic information;The corresponding user of the target signature information is determined as target to clap
Take the photograph object.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the detailed description above with respect to equipment imaging method, details are not described herein again.
Equipment imaging method in the equipment imaging device provided by the embodiments of the present application and foregoing embodiments belongs to together
One design can run either offer method in the equipment imaging method embodiment on the equipment imaging device,
Specific implementation process is detailed in the equipment imaging method embodiment, and details are not described herein again.
It should be noted that those of ordinary skill in the art can for the equipment imaging method described in the embodiment of the present application
With understand realize the embodiment of the present application described in equipment imaging method all or part of the process, be can by computer program come
Relevant hardware is controlled to complete, the computer program can be stored in a computer-readable storage medium, such as be stored in
It in memory, and is executed by least one processor, in the process of implementation may include the embodiment such as the equipment imaging method
Process.Wherein, the storage medium can be magnetic disk, CD, read-only memory (ROM, Read Only Memory), random
Access/memory body (RAM, Random Access Memory) etc..
For the equipment imaging device of the embodiment of the present application, each functional module be can integrate in a processing core
In piece, it is also possible to modules and physically exists alone, can also be integrated in two or more modules in a module.On
It states integrated module both and can take the form of hardware realization, can also be realized in the form of software function module.The collection
If at module realized in the form of software function module and when sold or used as an independent product, also can store
In one computer-readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
Above to a kind of equipment imaging method, device, storage medium and electronic equipment provided by the embodiment of the present application into
It has gone and has been discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above implementation
The explanation of example is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art, according to
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as the limitation to the application.
Claims (10)
1. a kind of equipment imaging method, it is applied to electronic equipment, which is characterized in that the electronic equipment includes the of the first kind
The second camera of one camera and multiple Second Types, the shooting area of the second camera and first camera
There are laps for shooting area, comprising:
When the preview interface in shooting class application, at least one voice messaging is obtained;
Determine the target voice information there are predetermined keyword from least one described voice messaging, and by the target language
Message ceases corresponding user and is determined as target reference object;
The target reference object is shot by first camera, the first image that shooting obtains is set as substrate
Image;
The target reference object is shot by the multiple second camera, obtains multiple second images;
Image is carried out with the substrate image to the multiple second image and synthesizes processing, obtains image.
2. equipment imaging method according to claim 1, which is characterized in that it is described by first camera to described
Target reference object is shot, and the first image that shooting obtains is set as substrate image, comprising:
Determine the relative position of the target reference object and the electronic equipment;
The shooting angle of first camera is adjusted depending on that relative position, so that the target reference object is in described
The central area of the shooting area of first camera;
The target reference object is shot by first camera, the first image that shooting obtains is set as substrate
Image;
It is described that the target reference object is shot by the multiple second camera, multiple second images are obtained, are wrapped
It includes:
The shooting angle of each second camera is adjusted depending on that relative position, so that the shooting of each second camera
Region is Chong Die with the marginal portion of shooting area of first camera;
The target reference object is shot by the multiple second camera, obtains multiple second images.
3. equipment imaging method according to claim 1, which is characterized in that described to pass through the multiple second camera pair
The target reference object is shot, and multiple second images are obtained, comprising:
Determine the relative position of the target reference object and the electronic equipment;
The shooting angle of each second camera is adjusted depending on that relative position, so that the target reference object is in multiple
The overlapping region of the shooting area of second camera;
The target reference object is shot by the multiple second camera, obtains multiple second images.
4. equipment imaging method according to claim 1, which is characterized in that described from least one described voice messaging
It determines the target voice information there are predetermined keyword, and the corresponding user of the target voice information is determined as target and is clapped
Take the photograph object, comprising:
The target voice information there are predetermined keyword is determined from least one described voice messaging;
At least two there are the target voice information of predetermined keyword if it exists, it is determined that the corresponding use of each target voice information
Family obtains at least two users;
Target reference object is selected from least two users.
5. equipment imaging method according to claim 4, which is characterized in that described to select mesh from least two users
Mark reference object, comprising:
Image acquisition operations are carried out to each user, obtain at least two facial images, wherein each facial image and one
The user is corresponding;
The characteristic information for extracting each facial image obtains at least two characteristic informations;
It is determined from least two characteristic informations and the matched target signature information of default characteristic information;
The corresponding user of the target signature information is determined as target reference object.
6. a kind of equipment imaging device, it is applied to electronic equipment, which is characterized in that the electronic equipment includes the of the first kind
The second camera of one camera and multiple Second Types, the shooting area of the second camera and first camera
There are laps for shooting area, comprising:
First obtains module, for obtaining at least one voice messaging when the preview interface in shooting class application;
Determining module, for determining the target voice information there are predetermined keyword from least one described voice messaging,
And the corresponding user of the target voice information is determined as target reference object;
Second acquisition module obtains shooting for being shot by first camera to the target reference object
The first image be set as substrate image;
Third obtains module and obtains more for being shot by the multiple second camera to the target reference object
A second image;
Synthesis module synthesizes processing for carrying out image with the substrate image to the multiple second image, obtains image
Picture.
7. equipment imaging device according to claim 6, which is characterized in that described second obtains module, comprising:
First determines submodule, for determining the relative position of the target reference object and the electronic equipment;
The first adjustment submodule, for adjusting the shooting angle of first camera depending on that relative position, so that described
Target reference object is in the central area of the shooting area of first camera;
First acquisition submodule will be shot for being shot by first camera to the target reference object
To the first image be set as substrate image;
The third obtains module, comprising:
Second adjustment submodule, for adjusting the shooting angle of each second camera depending on that relative position, so that described
The shooting area of each second camera is Chong Die with the marginal portion of shooting area of first camera;
Second acquisition submodule is obtained for being shot by the multiple second camera to the target reference object
Multiple second images.
8. equipment imaging device according to claim 6, which is characterized in that the third obtains module, comprising:
Second determines submodule, for determining the relative position of the target reference object and the electronic equipment;
Second adjustment submodule, for adjusting the shooting angle of each second camera depending on that relative position, so that target
Reference object is in the overlapping region of the shooting area of multiple second cameras;
Third acquisition submodule is obtained for being shot by the multiple second camera to the target reference object
Multiple second images.
9. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer program
When running on computers, so that the computer perform claim requires 1 to 5 described in any item equipment imaging methods.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, and the first of the first kind
The second camera of camera and multiple Second Types, the bat of the shooting area of the second camera and first camera
Region is taken the photograph there are lap, computer program is stored in the memory, the processor is by calling the memory
The computer program of middle storage requires 1 to 5 described in any item equipment imaging methods for perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578474.7A CN110213492B (en) | 2019-06-28 | 2019-06-28 | Device imaging method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910578474.7A CN110213492B (en) | 2019-06-28 | 2019-06-28 | Device imaging method and device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110213492A true CN110213492A (en) | 2019-09-06 |
CN110213492B CN110213492B (en) | 2021-03-02 |
Family
ID=67795506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910578474.7A Active CN110213492B (en) | 2019-06-28 | 2019-06-28 | Device imaging method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213492B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740259A (en) * | 2019-10-21 | 2020-01-31 | 维沃移动通信有限公司 | Video processing method and electronic equipment |
WO2020259401A1 (en) * | 2019-06-28 | 2020-12-30 | Oppo广东移动通信有限公司 | Imaging method and device for apparatus, storage medium, and electronic apparatus |
CN112637489A (en) * | 2020-12-18 | 2021-04-09 | 努比亚技术有限公司 | Image shooting method, terminal and storage medium |
CN114374815A (en) * | 2020-10-15 | 2022-04-19 | 北京字节跳动网络技术有限公司 | Image acquisition method, device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012249070A (en) * | 2011-05-27 | 2012-12-13 | Canon Inc | Imaging apparatus and imaging method |
CN107509017A (en) * | 2017-09-19 | 2017-12-22 | 信利光电股份有限公司 | A kind of multi-cam module |
CN108737719A (en) * | 2018-04-04 | 2018-11-02 | 深圳市冠旭电子股份有限公司 | Camera filming control method, device, smart machine and storage medium |
JP2019029978A (en) * | 2017-08-04 | 2019-02-21 | 株式会社カーメイト | Camera, imaging system, and image processing method |
JP2019080243A (en) * | 2017-10-26 | 2019-05-23 | キヤノン株式会社 | Imaging apparatus, method for controlling imaging apparatus, and program |
-
2019
- 2019-06-28 CN CN201910578474.7A patent/CN110213492B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012249070A (en) * | 2011-05-27 | 2012-12-13 | Canon Inc | Imaging apparatus and imaging method |
JP2019029978A (en) * | 2017-08-04 | 2019-02-21 | 株式会社カーメイト | Camera, imaging system, and image processing method |
CN107509017A (en) * | 2017-09-19 | 2017-12-22 | 信利光电股份有限公司 | A kind of multi-cam module |
JP2019080243A (en) * | 2017-10-26 | 2019-05-23 | キヤノン株式会社 | Imaging apparatus, method for controlling imaging apparatus, and program |
CN108737719A (en) * | 2018-04-04 | 2018-11-02 | 深圳市冠旭电子股份有限公司 | Camera filming control method, device, smart machine and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020259401A1 (en) * | 2019-06-28 | 2020-12-30 | Oppo广东移动通信有限公司 | Imaging method and device for apparatus, storage medium, and electronic apparatus |
CN110740259A (en) * | 2019-10-21 | 2020-01-31 | 维沃移动通信有限公司 | Video processing method and electronic equipment |
CN114374815A (en) * | 2020-10-15 | 2022-04-19 | 北京字节跳动网络技术有限公司 | Image acquisition method, device, terminal and storage medium |
WO2022078190A1 (en) * | 2020-10-15 | 2022-04-21 | 北京字节跳动网络技术有限公司 | Image collection method and apparatus, terminal, and storage medium |
CN112637489A (en) * | 2020-12-18 | 2021-04-09 | 努比亚技术有限公司 | Image shooting method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110213492B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110213493A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
US11640235B2 (en) | Additional object display method and apparatus, computer device, and storage medium | |
CN110213492A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN111726536A (en) | Video generation method and device, storage medium and computer equipment | |
CN110290324B (en) | Device imaging method and device, storage medium and electronic device | |
WO2015180659A1 (en) | Image processing method and image processing device | |
CN110225256A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110072046B (en) | Image synthesis method and device | |
CN104853091B (en) | A kind of method taken pictures and mobile terminal | |
CN105959546A (en) | Panorama shooting device and method | |
US8400532B2 (en) | Digital image capturing device providing photographing composition and method thereof | |
CN109829863A (en) | Image processing method and device, electronic equipment and storage medium | |
CN111242090A (en) | Human face recognition method, device, equipment and medium based on artificial intelligence | |
CN110290299B (en) | Imaging method, imaging device, storage medium and electronic equipment | |
CN105427369A (en) | Mobile terminal and method for generating three-dimensional image of mobile terminal | |
CN112287852A (en) | Face image processing method, display method, device and equipment | |
CN106648098A (en) | User-defined scene AR projection method and system | |
TWI676113B (en) | Preview method and device in iris recognition process | |
CN110166680A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN114741559A (en) | Method, apparatus and storage medium for determining video cover | |
CN113642359B (en) | Face image generation method and device, electronic equipment and storage medium | |
CN110290322A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110430375B (en) | Imaging method, imaging device, storage medium and electronic equipment | |
CN110312075A (en) | Equipment imaging method, device, storage medium and electronic equipment | |
CN110191274A (en) | Imaging method, device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |