[go: up one dir, main page]

CN110445985A - A kind of image-pickup method, electronic equipment and computer readable storage medium - Google Patents

A kind of image-pickup method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110445985A
CN110445985A CN201910817075.1A CN201910817075A CN110445985A CN 110445985 A CN110445985 A CN 110445985A CN 201910817075 A CN201910817075 A CN 201910817075A CN 110445985 A CN110445985 A CN 110445985A
Authority
CN
China
Prior art keywords
image
collected
multiple target
target area
area ratio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910817075.1A
Other languages
Chinese (zh)
Inventor
杨茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910817075.1A priority Critical patent/CN110445985A/en
Publication of CN110445985A publication Critical patent/CN110445985A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of image-pickup methods, comprising: receives image capture instruction;Based on described image acquisition instructions;Determine multiple target area ratios of the target object in image to be collected;Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple target images.The embodiment of the invention also discloses a kind of electronic equipment and computer readable storage mediums.

Description

A kind of image-pickup method, electronic equipment and computer readable storage medium
Technical field
The present invention relates to the image acquisition technologies more particularly to a kind of image-pickup method, electronics in field of image processing Equipment and computer readable storage medium.
Background technique
With the fast development of electronic equipment, the camera function of electronic equipment has become the configurations of electronic equipment.But As the camera function of electronic equipment is more and more perfect, people are for shooting the clarity of photo and wanting for resolution ratio etc. come Ask apparent raising.But be not that everyone can skillfully grasp shooting skill, cause to shoot the landscape and portrait come Quality it is general.In the related technology, it is desirable to which the photo that taking keeps people satisfied must be during taking pictures through complicated parameter Adjustment, wastes time and low efficiency of taking pictures.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of image-pickup method, electronic equipment and computer-readable depositing Storage media is at least taken pictures picture to solve the problems, such as to be difficult to realize accurate and easy adjustment in the related technology.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of image-pickup method, which comprises
Receive image capture instruction;
Based on described image acquisition instructions, multiple target area ratios of the target object in image to be collected are determined;
Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple mesh Logo image.
Optionally, described to be based on described image acquisition instructions, determine multiple targets of the target object in image to be collected Area ratio, comprising:
Based on described image acquisition instructions, the target object in the image to be collected is zoomed in or out, described in determination Multiple target area ratios of the target object in the image to be collected;Or,
Based on described image acquisition instructions, initial area ratio of the target object in the image to be collected is determined, And the target object is amplified by processing and diminution processing based on the initial area ratio, determine the target object in institute State multiple target area ratios in image to be collected.
Optionally, described to be based on the multiple target area ratio, the figure to be collected is acquired by described image collector As obtaining multiple target images, comprising:
Obtain pair of the focal length of area ratio and described image collector of the target object in the image to be collected It should be related to;
Based on the multiple target area ratio and the corresponding relationship, determine that the multiple target area is more multiple than corresponding Focal length;
Based on the multiple target area ratio and the multiple focal length, acquired by described image collector described to be collected Image obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio and the multiple focal length, it is adopted by described image collector Collect the image to be collected and obtain the multiple target image, comprising:
Obtain the property parameters of described image collector;
Based on the multiple target area ratio, the multiple focal length and the property parameters, pass through described image collector It acquires the image to be collected and obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio, the multiple focal length and the property parameters, by described Image acquisition device acquires the image to be collected and obtains the multiple target image, comprising:
Obtain the clarity of the corresponding image to be collected of the property parameters;
Based on the clarity of the image to be collected, target focal length is determined from the multiple focal length;
Based on the multiple target area ratio and the target focal length, acquired by described image collector described to be collected Image obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio, the figure to be collected is acquired by described image collector As obtaining multiple target images, comprising:
Based on the multiple target area ratio, determine each target area than corresponding focal range;
Based on each target area ratio and the focal range, acquired by described image collector described to be collected Image obtains the multiple target image.
Optionally, described to be based on the multiple target area ratio and the multiple focal length, it is adopted by described image collector Collect the image to be collected and obtain the multiple target image, comprising:
Initial area ratio of the target object in the image to be collected is being adjusted to the multiple target area Than, and by the Focussing of described image collector be the multiple focal length during, continuously adopted by described image collector Collect the image to be collected and obtains the multiple target image.
Optionally, described to be based on the target area ratio, the focal length for adjusting the image acquisition device of electronic equipment is first burnt Away from later, further includes:
The face feature information of the target object is acquired by described image collector;
If the face feature information of the target object does not meet default face feature information, prompt information is generated;Wherein, The prompt information is used to prompt the target object mobile or the position of the prompt movement electronic equipment, so that the target The face feature information of object meets default face feature information.
A kind of electronic equipment, the electronic equipment include: processor, memory and communication bus;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing the image acquisition procedure stored in the memory, to perform the steps of
Receive image capture instruction;
Based on described image acquisition instructions, multiple target area ratios of the target object in image to be collected are determined;
Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple mesh Logo image.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program, One or more of programs can be executed by one or more processor, the step of to realize above-mentioned image-pickup method.
Image-pickup method, electronic equipment provided by the embodiment of the present invention and computer readable storage medium, by connecing Image capture instruction is received, image capture instruction is based on, determines multiple target area ratios of the target object in image to be collected, base In multiple target area ratios, image to be collected is acquired by image acquisition device and obtains multiple target images.In this way, by determining mesh Multiple target area ratios of the object in image to be collected are marked, image to be collected is acquired and obtains multiple target images, improve bat According to efficiency, keep user more convenient when taking pictures.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of image-pickup method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another image-pickup method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another image-pickup method provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of image-pickup method, shown referring to Fig.1, method includes the following steps:
Step 101 receives image capture instruction.
In the embodiment of the present invention, receives image capture instruction and can be by electronic equipment and realize.Electronic equipment can be with Implement in a variety of manners.For example, electronic equipment described in the present invention may include mobile phone, smart phone, digital photograph Camera, moving camera, video camera or intelligent glasses etc. have the electronic equipment of image camera function.The electronics of the embodiment of the present invention Equipment is illustrated by taking smart phone as an example, and when using the camera function of smart phone, user takes the photograph user by smart phone As the landscape and portrait of the desired shooting of head direction, when user presses the shutter of smart phone, smart phone receives photographed Instruction.
In one implementation, electronic equipment can receive the image capture instruction of one image of shooting.In another kind In implementation, electronic equipment can receive the image capture instruction for being continuously shot multiple images.In another implementation, Electronic equipment may be received in the image capture instruction under preset mode, and preset mode is, for example, artificial intelligence pattern, large aperture Mode, night scene mode, motor pattern or professional mode etc..
Step 102 is based on image capture instruction, determines multiple target area ratios of the target object in image to be collected.
In the embodiment of the present invention, it is based on image capture instruction, determines multiple targets of the target object in image to be collected Area ratio, which can be by electronic equipment, to be realized.Smart phone receives the instruction of shooting landscape and portrait, by adjusting automatically Function is saved, area ratio of the scenery and personage in landscape in the image to be collected on smart phone screen is adjusted.By more Secondary automatic adjustment determines the multiple target area ratios of scenery and personage in image to be collected.
Electronic equipment can be based on image capture instruction, be believed by the image that image acquisition device obtains multiple images to be collected Breath.Wherein, it is very short to obtain duration used by multiple images to be collected, for example, duration can be completed in 2 seconds, for example, duration It can be with 0.1 second, 0.2 second, 1 second or 2 seconds etc..Further, electronic equipment can be based on the image information of multiple images to be collected, really Set the goal target area ratio of the object in each image to be collected, to obtain target object in multiple images to be collected Multiple target area ratios.
In one embodiment, electronic equipment can be analyzed based on the image information of an image to be collected, be obtained The area of target object in the image to be collected.Optionally, electronic equipment can pass through the more of the pixel of formation target object Few area to determine target object.
Step 103 is based on multiple target area ratios, acquires image to be collected by image acquisition device and obtains multiple target figures Picture.
In the embodiment of the present invention, be based on multiple target area ratios, by image acquisition device acquire image to be collected obtain it is more A target image, which can be by electronic equipment, to be realized.Smart phone can be based on each target area than one figure of acquisition Picture, therefore smart phone carries out the primary multiple target images for shooting and capable of getting multiple different target area ratios.
Electronic equipment gets each target area ratio, is adopted based on each area ratio got and using image acquisition device Collection is obtained with the target area than corresponding each target image, and then obtains multiple target images.
User using electronic equipment during being taken pictures, it will usually due to the shake of hand, shooting be caused to obtain Image it is unclear.In order to solve this problem, electronic equipment can receive image and adopt when user presses shooting button When collection instruction, multiple images disposably can be shot with the time interval of very little, and selected from multiple images clearest Image that image is shot as user and display, alternatively, merged to multiple images, and using fused image as Image that user shoots and display.And image capture instruction can obtained by step 102 and step 103 electronic equipment Afterwards, multiple target area ratios corresponding to multiple images to be collected are obtained, and pass through Image Acquisition based on multiple target area ratios Device carries out the shooting of multiple images to be collected, to obtain multiple target images, so, it is possible that user is overcome to set using electronics When standby acquisition photo, the fuzzy situation of multiple target images acquired as caused by hand shake is occurred.
Specifically realize that above embodiment is explained further in scene with next: electronic equipment can receive image and adopts Collection instruction obtains the first area ratio, second to be collected of the first image to be collected based on image capture instruction and image acquisition device The second area ratio of image and the third area ratio of third image to be collected, and it is to be collected based on the acquisition first of the first area ratio Image carries out obtaining first object image, carries out obtaining the second target figure than the second image to be collected of acquisition based on second area Picture, and carry out obtaining third target image based on third area ratio acquisition third image to be collected, finally it is based on first object figure Picture, the second target image and third target image obtain the image for being shown to user.
In a kind of feasible embodiment, electronic equipment can be based on multiple target area ratios, determining and multiple targets The corresponding multiple focal lengths of area ratio, and multiple images to be collected are acquired by multiple focal lengths.Optionally, electronic equipment can will obtain Mode, median, average value, maximum value or minimum value be as particular focal length in the multiple focal lengths taken, and using particular focal length come Acquire multiple images to be collected.
Image-pickup method provided by the embodiment of the present invention is referred to by receiving image capture instruction based on Image Acquisition It enables, determines multiple target area ratios of the target object in image to be collected, be based on multiple target area ratios, pass through Image Acquisition Device acquires image to be collected and obtains multiple target images;In this way, by determining multiple mesh of the target object in image to be collected Mark area ratio, acquire image to be collected and obtain multiple target images, improve the efficiency taken pictures, make user when taking pictures more Add conveniently.
Based on previous embodiment, the embodiment of the present invention provides a kind of image-pickup method, referring to shown in Fig. 2, this method The following steps are included:
Step 201, electronic equipment receive image capture instruction.
Step 202, electronic equipment are based on image capture instruction, determine multiple targets of the target object in image to be collected Area ratio.
In the embodiment of the present invention, the electronic equipment in step 202 is based on image capture instruction, determines target object wait adopt Multiple target areas in collection image by the two ways of step 202A or step 202B than that can be realized, implementation It is as follows:
Step 202A: electronic equipment is based on image capture instruction, and the target object in image to be collected is zoomed in or out, Determine multiple target area ratios of the target object in image to be collected.
In the embodiment of the present invention, electronic equipment receives image capture instruction, is automatically adjusted on smart phone screen and shows The size of the scenery or personage in image to be collected shown can be and account for image area ratio to be collected to the area of scenery or personage Example zooms in or out.Illustratively, electronic equipment will be stored in advance different scenery or personage and account in image to be collected According to area ratio suitable range.When user opens the camera with camera function, by the desired shooting of camera alignment Mountain range, the area on mountain range accounts for the 70% of shooting picture area at this time, because the magnificence on mountain range is glorious, it should with other in picture Scenery forms a sharp contrast.Therefore, area ratio of the electronic equipment to mountain range in entire picture is adjusted, automatically by mountain range Ratio be adjusted to 65%, 60%, 55% etc. from 70%.When photographer's shooting be the people to stand under tree when, personage at this time Area in shared image to be collected accounts for the 20% of the area of image to be collected, because people in the ratio of shooting picture too small, intelligence The ratio of people will be adjusted to 30%, 35%, 40% etc. from 20% automatically by energy mobile phone.
Step 202B: electronic equipment is based on image capture instruction, determines primary face of the target object in image to be collected Product ratio, and target object is amplified by processing and diminution processing based on initial area ratio, determine target object in figure to be collected Multiple target area ratios as in.
In the embodiment of the present invention, smart phone receives the instruction of Image Acquisition, obtains scenery or people when opening camera The area of object accounts for the initial area ratio of image area to be collected, and is put scenery or personage centered on initial area ratio It greatly or is reduced, amplified area ratio will be become after amplifying to initial area ratio, initial area ratio is carried out It will become the area ratio after reducing after diminution.Mistake from initial area than the area ratio after becoming amplified area ratio or reducing Cheng Zhong determines the multiple target area ratios of scenery or personage in image to be collected.Illustratively, in a kind of feasible mode In, when user opens the camera of camera function, by the mountain range of the desired shooting of camera alignment, the area on mountain range accounts for shooting at this time The 60% of picture area.Ratio of the electronic equipment to mountain range in entire picture is adjusted, automatically by the ratio on mountain range from 60% It is amplified to 65%, 67% etc., and is contracted to 57%, 55% etc..When photographer's shooting be the people to stand under tree when, people at this time Area accounts for the 40% of shooting picture area, and the ratio of people is amplified to 45%, 47% etc. from 40% automatically, and be contracted to 35%, 37% etc.;In another feasible mode, ratio of the electronic equipment to mountain range in entire picture is adjusted, automatically by mountain range Ratio 65% is amplified to centered on 60%, and 57% is contracted to centered on 60%;It is amplified to centered on 60% again 67%, and 55% is contracted to centered on 60%.When photographer shooting be the people to stand under tree when, the area of people accounts for bat at this time The 40% of picture area is taken the photograph, the ratio of people is amplified to 45% centered on 40% automatically, and be contracted to centered on 40% 35%;47% is amplified to centered on 40% again, and is contracted to 37% centered on 40%.It is straight that electronic equipment receives shooting instruction Multiple targeted graphical is got to by multiple area ratios.It is understood that the time that amplification and the process reduced carry out is very It is short, it can be 0.1s, 0.2s, 1s or 2s etc..
Step 203, electronic equipment obtain the focal length of area ratio and image acquisition device of the target object in image to be collected Corresponding relationship.
In the embodiment of the present invention, the area for presetting storage target object is accounted for the area of image to be collected by electronic equipment Ratio and image acquisition device in optional focal length corresponding relationship, wherein corresponding relationship characterize target object in image to be collected In an area ratio correspondence image collector in a focal length.
Step 204, electronic equipment are based on multiple target area ratios and corresponding relationship, determine multiple target areas than corresponding Multiple focal lengths.
In the embodiment of the present invention, when photographer is taken pictures using the capture apparatus with shooting function of electronic equipment When, electronic equipment is 10 meters at a distance from scenery or personage, at this point, the size of the imaging of scenery or personage on capture apparatus has The requirement of photographer may be can not meet, electronic equipment will be adjusted automatically by the focusing function focusing of image acquisition device Section, so as to adjust to a suitable focal length.
Electronic equipment determines that electronic equipment has obtained according to multiple area ratios and multiple focal lengths corresponding with multiple area ratios The multiple target areas got are than corresponding multiple focal lengths, wherein multiple area ratios include multiple target area ratios.
Step 205, electronic equipment are based on multiple target area ratios and multiple focal lengths, are acquired by image acquisition device to be collected Image obtains multiple target images.
In one embodiment, the electronic equipment of step 205 is based on multiple target area ratios and multiple focal lengths, passes through image Collector acquisition image to be collected, which obtains multiple target images, can be realized by step 205A to step 205B, implementation It is as follows:
Step 205A, electronic equipment obtains the property parameters of image acquisition device.
In the embodiment of the present invention, the image acquisition device of the embodiment of the present invention is illustrated by taking electronic camera as an example.Wherein, The property parameters of camera include: at least one of pixel, resolution ratio and clarity etc..
Step 205B, electronic equipment is based on multiple target area ratios, multiple focal lengths and property parameters, passes through image acquisition device It acquires image to be collected and obtains multiple target images.
In the embodiment of the present invention, the electronic equipment of step 205B is based on multiple target area ratios, multiple focal lengths and attribute ginseng Number, image acquisition device acquire image to be collected obtain multiple target images can by step b1 to step b3 by way of come It realizes:
Step b1, electronic equipment obtains the clarity of the corresponding image to be collected of property parameters.
Step b2, clarity of the electronic equipment based on image to be collected determines target focal length from multiple focal lengths.
Step b3, electronic equipment is based on multiple target area ratios and target focal length, is acquired by image acquisition device to be collected Image obtains multiple target images.
In another embodiment, step 205 can be accomplished by the following way: by target object in figure to be collected Initial area ratio as in is adjusted to multiple target area ratios, and is multiple focal length processes by the Focussing of image acquisition device In, multiple target images are obtained by image acquisition device continuous acquisition image to be collected.
It should be understood that although the embodiment of the present invention gives step 205 can be realized by two ways, both Implementation does not conflict, i.e., related technical personnel can be by can be in the case where logical, to two kinds of implementations Be combined, for example, electronic equipment can the initial area ratio first by target object in image to be collected be adjusted to multiple mesh Area ratio is marked, and is multiple focal lengths by the Focussing of image acquisition device, is being based on multiple target area ratios, multiple focal lengths and category Property parameter, acquires image to be collected by image acquisition device and obtains multiple target images.In addition to this it is possible to have it is other can In conjunction with mode, the embodiment of the present invention is not construed as limiting this.
In the embodiment of the present invention, when electronic equipment carries out photographed or personage by camera, for current electronics Equipment can learn the pixel of camera lens and the clarity of image to be collected.In this way, multiple acquisition images can be obtained when taking pictures Clarity.
Electronic equipment gets the clarity of multiple images to be collected, and the different image to be collected of multiple readabilities is corresponding Multiple focal lengths filter out the low image to be collected of clarity in the image to be collected different from readability, select clarity height Image to be collected.Accordingly, it is possible to select the one-to-one target focal length of the to be collected image high with clarity.
In the embodiment of the present invention, each target area of the target object in image to be collected in electronic equipment is than corresponding to One focal length.When target area ratio changes to the second target area ratio from first object area ratio, focal length is also accordingly from first When focal length variations are to the second focal length, an image will be once generated per corresponding variation, come be image will be one in this way, taking Group image, each image is image of the target area than variation corresponding with a focal length, can be realized electronic equipment one Secondary property acquires the purpose of multiple target images.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican According to the description in other embodiments, details are not described herein again.
Image-pickup method provided by the embodiment of the present invention is referred to by receiving image capture instruction based on Image Acquisition It enables, determines multiple target area ratios of the target object in image to be collected, be based on multiple target area ratios, pass through Image Acquisition Device acquires image to be collected and obtains multiple target images;In this way, by determining multiple mesh of the target object in image to be collected Mark area ratio, acquire image to be collected and obtain multiple target images, improve the efficiency taken pictures, make user when taking pictures more Add conveniently.
Based on previous embodiment, the embodiment of the present invention provides a kind of image-pickup method, referring to shown in Fig. 3, this method The following steps are included:
Step 301, electronic equipment receive image capture instruction.
Step 302, electronic equipment are based on image capture instruction, determine multiple targets of the target object in image to be collected Area ratio.
Step 303, electronic equipment acquire the face feature information of target object by image acquisition device.
In the embodiment of the present invention, electronic equipment acquires the face feature information for the person of being taken by image acquisition device.Example Property, it stands in flowering shrubs when the face such as eyes, the nose of the person's of being taken face face photographer, the capture apparatus of electronic equipment It will identify that the person of being taken is facial positive towards photographer.When there is no faces for the face such as eyes, the nose of the person of being taken Photographer, but side face hears the fragrance of a flower, sideway and distally looks into the distance or facing away from photographer, and the person of being taken shows various appearances Gesture, the shooting picture of electronic equipment will identify that the face for the person of being taken is no positive towards photographer.
If step 304, the face feature information of target object do not meet default face feature information, electronic equipment generation is mentioned Show information.
Wherein, prompt information is used to prompt target object mobile or prompts the position of mobile electronic device, so that target pair The face feature information of elephant meets default face feature information.
In the embodiment of the present invention, the face forward direction of the default face feature information characterization person of being taken towards photographer or is clapped The face for the person of taking the photograph it is not positive towards photographer when the person's of being taken face five features.In a kind of feasible embodiment, when When the face forward direction for the person of being taken is towards photographer, the position of electronic equipment detection person of being taken in image to be collected.If by Not in the center of image to be collected, electronic equipment will generate the first prompt information and in electronic equipment for the position of photographer The first prompt information is shown on display interface, wherein the first prompt information is for prompting the person of being taken to be moved to the left or right directly To the center position for being moved to image to be collected, or prompt photographer's mobile electronic device position is until by image to be collected Central point is moved to the position for the person of being taken, so that the face feature information for the person of being taken meets default face feature information.
In another embodiments possible, when the face for the person of being taken it is not positive towards photographer when, electronic equipment detection The position for the person of being taken in image to be collected.If electronics is set when center of the position of photographer in image to be collected It is standby to generate the second prompt information and show the second prompt information on the display interface of electronic equipment, wherein the second prompt letter Breath is used to prompt the person of being taken to be moved to the left or right until being moved at the one third position of image to be collected, or prompt is clapped The position of electronic equipment move the position up to the person of being taken at the one third position of image to be collected by the person of taking the photograph, with The face feature information of photographer is set to meet default face feature information.Wherein, one third position is only that this implementation is desirable A numerical value can also remove center position for a quarter position, 1/5th positions etc. in other embodiments Any one position will be not listed one by one herein.
In one embodiment, it is pre- whether the face feature information that electronic equipment can continue determining target object meets If face feature information, if it is not, then continuing to test the face feature information of target object;If so, the face based on target object Portion's characteristic information is determined to the corresponding multiple target area ratios of multiple face feature informations.
Step 305, electronic equipment are based on multiple target area ratios, determine each target area than corresponding focal range.
In the embodiment of the present invention, electronic equipment is by each target area preset in multiple target areas than corresponding by one A focal range.Illustratively, the focal length value (f) of the zoom lens of a target area ratio is to adjust in a certain range Whole, such as the camera lens of 24-70, its f value is continuously adjustable between 24mm to 70mm, passes through and twists lens zoom ring, so that it may To achieve the purpose that zoom.Each target area ratio can correspond to a focal range.
Step 306, electronic equipment are based on each target area ratio and focal range, are acquired by image acquisition device to be collected Image obtains multiple target images.
In the embodiment of the present invention, when the area for determining target object accounts for the ratio of image area to be collected, by changing in advance If the focal length value of range, image to be collected is acquired by image acquisition device and obtains multiple target images.In this way, can quickly adjust Save image of the target area than on corresponding focal length, taking photographer and the person's of being taken satisfaction.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican According to the description in other embodiments, details are not described herein again.
Image-pickup method provided by the embodiment of the present invention is referred to by receiving image capture instruction based on Image Acquisition It enables, determines multiple target area ratios of the target object in image to be collected, be based on multiple target area ratios, pass through Image Acquisition Device acquires image to be collected and obtains multiple target images;In this way, by determining multiple mesh of the target object in image to be collected Mark area ratio, acquire image to be collected and obtain multiple target images, improve the efficiency taken pictures, make user when taking pictures more Add conveniently.
The there is provided a kind of electronic equipment of the embodiment of the present invention can be applied to the corresponding embodiment of Fig. 1-3 provides one In kind of image-pickup method, referring to shown in Fig. 4, which includes: processor 41, memory 42 and communication bus 43, In:
Processor 41 is used to execute the program of the image-pickup method stored in memory 42, to perform the steps of
Receive image capture instruction;
Based on image capture instruction, multiple target area ratios of the target object in image to be collected are determined;
Based on multiple target area ratios, image to be collected is acquired by image acquisition device and obtains multiple target images.
In other embodiments of the invention, processor 41 is used to execute referring to based on Image Acquisition of storing in memory 42 It enables, multiple target area ratios of the target object in image to be collected is determined, to perform the steps of
Based on image capture instruction, the target object in image to be collected is zoomed in or out, determine target object to Acquire multiple target area ratios in image;Or,
Based on image capture instruction, initial area ratio of the target object in image to be collected is determined, and be based on primary face Product determines multiple target areas of the target object in image to be collected than target object is amplified processing and diminution processing Than.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target faces Product ratio, acquires image to be collected by image acquisition device and obtains multiple target images, to perform the steps of
Obtain the corresponding relationship of the focal length of area ratio and image acquisition device of the target object in image to be collected;
Based on multiple target area ratios and corresponding relationship, determine multiple target areas than corresponding multiple focal lengths;
Based on multiple target area ratios and multiple focal lengths, image to be collected is acquired by image acquisition device and obtains multiple targets Image.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target faces Product than with multiple focal lengths, image to be collected is acquired by image acquisition device and obtains multiple target images, to perform the steps of
Obtain the property parameters of image acquisition device;
Based on multiple target area ratios, multiple focal lengths and property parameters, image to be collected is acquired by image acquisition device and is obtained To multiple target images.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target faces Product acquires image to be collected by image acquisition device and obtains multiple target images than, multiple focal lengths and property parameters, with realize with Lower step:
Obtain the clarity of the corresponding image to be collected of property parameters;
Based on the clarity of image to be collected, target focal length is determined from multiple focal lengths;
Based on multiple target area ratios and target focal length, image to be collected is acquired by image acquisition device and obtains multiple targets Image.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target faces Product ratio, acquires image to be collected by image acquisition device and obtains multiple target images, to perform the steps of
Based on multiple target area ratios, determine each target area than corresponding focal range;
Based on each target area ratio and focal range, image to be collected is acquired by image acquisition device and obtains multiple targets Image.
In other embodiments of the invention, processor 41 be used for execute stored in memory 42 based on multiple target faces Product than with multiple focal lengths, image to be collected is acquired by image acquisition device and obtains multiple target images, to perform the steps of
Initial area ratio of the target object in image to be collected is being adjusted to multiple target area ratios, and image is being adopted The Focussing of storage be multiple focal lengths during, multiple target figures are obtained by image acquisition device continuous acquisition image to be collected Picture.
In other embodiments of the invention, processor 41 is used to execute referring to based on Image Acquisition of storing in memory 42 It enables, after determining multiple target area ratios of the target object in image to be collected, to perform the steps of
The face feature information of target object is acquired by image acquisition device;
If the face feature information of target object does not meet default face feature information, prompt information is generated;Wherein, it prompts Information is used to prompt target object mobile or the position of prompt mobile electronic device, so that the face feature information of target object accords with Close default face feature information.
It should be noted that in the present embodiment step performed by processor 41 specific implementation process, be referred to figure The realization process in image-pickup method that the corresponding embodiment of 1-3 provides, details are not described herein again.
Electronic equipment provided by the embodiment of the present invention is based on image capture instruction, really by receiving image capture instruction Set the goal multiple target area ratios of the object in image to be collected, is based on multiple target area ratios, is adopted by image acquisition device Collect image to be collected and obtains multiple target images.In this way, by determining multiple target faces of the target object in image to be collected Product ratio, acquires image to be collected and obtains multiple target images, improve the efficiency taken pictures, keep user more square when taking pictures Just.
Based on previous embodiment, the embodiment of the present invention provides a kind of computer readable storage medium, computer-readable to deposit Storage media is stored with one or more program, which can be executed by one or more processor, with The step of realizing the image-pickup method above with reference to the corresponding any one of Fig. 1-3.
It should be noted that above-mentioned processor can be application-specific IC (Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), number letter Number processing unit (Digital Signal Processing Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), centre Manage at least one of device (Central Processing Unit, CPU), controller, microcontroller, microprocessor.It can manage Xie Di realizes that the electronic device of above-mentioned processor function can also be to be other, and the embodiment of the present application is not especially limited.
It should be noted that above-mentioned computer readable storage medium can be read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read-only memory The storage of (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic random access Device (Ferromagnetic Random Access Memory, FRAM), flash memory (Flash Memory), magnetic surface are deposited The memories such as reservoir, CD or CD-ROM (Compact Disc Read-Only Memory, CD-ROM);It is also possible to wrap The various electronic equipments for including one of above-mentioned memory or any combination, such as mobile phone, computer, tablet device, individual digital Assistant etc..
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.This Field those of ordinary skill, which is understood that, realizes that all or part of the steps of above method embodiment can be by program instruction phase The hardware of pass is completed, and program above-mentioned can be stored in a computer readable storage medium, which when being executed, holds Row step including the steps of the foregoing method embodiments;And storage medium above-mentioned includes: movable storage device, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Disclosed method in several embodiments of the method provided herein, in the absence of conflict can be any group It closes, obtains new embodiment of the method.
Disclosed feature in several product embodiments provided herein, in the absence of conflict can be any group It closes, obtains new product embodiments.
Disclosed feature in several methods provided herein or apparatus embodiments, in the absence of conflict can be with Any combination obtains new embodiment of the method or apparatus embodiments.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of image-pickup method, which comprises
Receive image capture instruction;
Based on described image acquisition instructions, multiple target area ratios of the target object in image to be collected are determined;
Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple target figures Picture.
2. determining target pair the method according to claim 1, wherein described be based on described image acquisition instructions As multiple target area ratios in image to be collected, comprising:
Based on described image acquisition instructions, the target object in the image to be collected is zoomed in or out, determines the target Multiple target area ratios of the object in the image to be collected;Or,
Based on described image acquisition instructions, initial area ratio of the target object in the image to be collected, and base are determined The target object processing and diminution is amplified in the initial area ratio to handle, determine the target object it is described to Acquire multiple target area ratios in image.
3. the method according to claim 1, wherein described be based on the multiple target area ratio, by described Image acquisition device acquires the image to be collected and obtains multiple target images, comprising:
The corresponding of the focal length of area ratio and described image collector of the target object in the image to be collected is obtained to close System;
Based on the multiple target area ratio and the corresponding relationship, determine the multiple target area than corresponding multiple cokes Away from;
Based on the multiple target area ratio and the multiple focal length, the image to be collected is acquired by described image collector Obtain the multiple target image.
4. according to the method described in claim 3, it is characterized in that, described based on the multiple target area ratio and the multiple Focal length acquires the image to be collected by described image collector and obtains the multiple target image, comprising:
Obtain the property parameters of described image collector;
Based on the multiple target area ratio, the multiple focal length and the property parameters, acquired by described image collector The image to be collected obtains the multiple target image.
5. according to the method described in claim 4, it is characterized in that, described based on the multiple target area ratio, the multiple Focal length and the property parameters acquire the image to be collected by described image collector and obtain the multiple target image, Include:
Obtain the clarity of the corresponding image to be collected of the property parameters;
Based on the clarity of the image to be collected, target focal length is determined from the multiple focal length;
Based on the multiple target area ratio and the target focal length, the image to be collected is acquired by described image collector Obtain the multiple target image.
6. the method according to claim 1, wherein described be based on the multiple target area ratio, by described Image acquisition device acquires the image to be collected and obtains multiple target images, comprising:
Based on the multiple target area ratio, determine each target area than corresponding focal range;
Based on each target area ratio and the focal range, the image to be collected is acquired by described image collector Obtain the multiple target image.
7. according to the method described in claim 3, it is characterized in that, described based on the multiple target area ratio and the multiple Focal length acquires the image to be collected by described image collector and obtains the multiple target image, comprising:
Initial area ratio of the target object in the image to be collected is being adjusted to the multiple target area ratio, and By the Focussing of described image collector be the multiple focal length during, by described in described image collector continuous acquisition Image to be collected obtains the multiple target image.
8. method according to any one of claims 1 to 7, which is characterized in that it is described to be based on described image acquisition instructions, really It sets the goal after multiple target area ratios of the object in image to be collected, further includes:
The face feature information of the target object is acquired by described image collector;
If the face feature information of the target object does not meet default face feature information, prompt information is generated;Wherein, described Prompt information is used to prompt the target object mobile or the position of the prompt movement electronic equipment, so that the target object Face feature information meet default face feature information.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes: processor, memory and communication bus;
The communication bus is for realizing the communication connection between the processor and the memory;
The processor is for executing the image acquisition procedure stored in the memory, to perform the steps of
Receive image capture instruction;
Based on described image acquisition instructions, multiple target area ratios of the target object in image to be collected are determined;
Based on the multiple target area ratio, the image to be collected is acquired by described image collector and obtains multiple target figures Picture.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8 Any one of described in image-pickup method the step of.
CN201910817075.1A 2019-08-30 2019-08-30 A kind of image-pickup method, electronic equipment and computer readable storage medium Pending CN110445985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910817075.1A CN110445985A (en) 2019-08-30 2019-08-30 A kind of image-pickup method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910817075.1A CN110445985A (en) 2019-08-30 2019-08-30 A kind of image-pickup method, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110445985A true CN110445985A (en) 2019-11-12

Family

ID=68438503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910817075.1A Pending CN110445985A (en) 2019-08-30 2019-08-30 A kind of image-pickup method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110445985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866392A (en) * 2020-07-31 2020-10-30 Oppo广东移动通信有限公司 Shooting prompting method, device, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511004A (en) * 2009-03-25 2009-08-19 北京中星微电子有限公司 Method and apparatus for monitoring camera shot
CN101558427A (en) * 2007-03-06 2009-10-14 松下电器产业株式会社 Image processing apparatus and method, image processing program and image processor
CN101790048A (en) * 2010-02-10 2010-07-28 深圳先进技术研究院 Intelligent camera system and method
CN102314043A (en) * 2010-07-09 2012-01-11 华晶科技股份有限公司 Auxiliary focusing method for human face block
CN103945121A (en) * 2014-03-24 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
CN107493426A (en) * 2017-07-05 2017-12-19 努比亚技术有限公司 A kind of information collecting method, equipment and computer-readable recording medium
CN107888822A (en) * 2017-10-27 2018-04-06 珠海市魅族科技有限公司 Image pickup method, device, terminal and readable storage medium storing program for executing
US20180348481A1 (en) * 2017-05-31 2018-12-06 Canon Kabushiki Kaisha Zoom lens and image pickup apparatus including same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101558427A (en) * 2007-03-06 2009-10-14 松下电器产业株式会社 Image processing apparatus and method, image processing program and image processor
CN101511004A (en) * 2009-03-25 2009-08-19 北京中星微电子有限公司 Method and apparatus for monitoring camera shot
CN101790048A (en) * 2010-02-10 2010-07-28 深圳先进技术研究院 Intelligent camera system and method
CN102314043A (en) * 2010-07-09 2012-01-11 华晶科技股份有限公司 Auxiliary focusing method for human face block
CN103945121A (en) * 2014-03-24 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment
US20180348481A1 (en) * 2017-05-31 2018-12-06 Canon Kabushiki Kaisha Zoom lens and image pickup apparatus including same
CN107493426A (en) * 2017-07-05 2017-12-19 努比亚技术有限公司 A kind of information collecting method, equipment and computer-readable recording medium
CN107888822A (en) * 2017-10-27 2018-04-06 珠海市魅族科技有限公司 Image pickup method, device, terminal and readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866392A (en) * 2020-07-31 2020-10-30 Oppo广东移动通信有限公司 Shooting prompting method, device, storage medium and electronic device
CN111866392B (en) * 2020-07-31 2021-10-08 Oppo广东移动通信有限公司 Shooting prompting method, device, storage medium and electronic device
WO2022022259A1 (en) * 2020-07-31 2022-02-03 Oppo广东移动通信有限公司 Photographing prompting method and apparatus, and storage medium, and electronic device

Similar Documents

Publication Publication Date Title
US10032068B2 (en) Method of making a digital camera image of a first scene with a superimposed second scene
CN103795934B (en) A kind of image processing method and electronic equipment
US8243182B2 (en) Method of making a digital camera image of a scene including the camera user
CN103197491B (en) The method of fast automatic focusing and image collecting device
JP5848561B2 (en) Imaging apparatus, control method therefor, program, and storage medium
CN103795933B (en) A kind of image processing method and electronic equipment
JP4759082B2 (en) Compound eye imaging device
CN104079812B (en) A kind of image information acquisition method and device
CN108024053A (en) Camera device, focus adjusting method and recording medium
JP2004320286A (en) Digital camera
JP2005130468A (en) Imaging apparatus and control method thereof
CN104618639B (en) Focusing control device and its control method
KR20100075158A (en) Apparatus and method for capturing image
CN103905725B (en) Image processing equipment and image processing method
CN108337471B (en) Video picture processing method and device
US7920180B2 (en) Imaging device with burst zoom mode
CN101621619A (en) Shooting method for simultaneously focusing various faces and digital image capture device thereof
CN110740260A (en) shooting method, device and computer readable storage medium
JP2004320285A (en) Digital camera
JP2008252711A (en) Digital camera
CN115103094A (en) Camera module far-view angle adjusting method and system based on fixation point
JP2000347278A (en) Camera and photographing method
JP2013074572A (en) Image processing apparatus, image processing method, and program
CN110445985A (en) A kind of image-pickup method, electronic equipment and computer readable storage medium
JP2005143112A (en) Camera and related method

Legal Events

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

Application publication date: 20191112

RJ01 Rejection of invention patent application after publication