CN112702521A - Image shooting method and device, electronic equipment and computer readable storage medium - Google Patents
Image shooting method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112702521A CN112702521A CN202011556783.3A CN202011556783A CN112702521A CN 112702521 A CN112702521 A CN 112702521A CN 202011556783 A CN202011556783 A CN 202011556783A CN 112702521 A CN112702521 A CN 112702521A
- Authority
- CN
- China
- Prior art keywords
- image
- shooting
- background
- background object
- shot
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000009432 framing Methods 0.000 claims abstract description 33
- 238000012545 processing Methods 0.000 claims abstract description 16
- 239000000203 mixture Substances 0.000 claims description 50
- 238000010191 image analysis Methods 0.000 claims description 25
- 238000004458 analytical method Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012549 training Methods 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000001276 controlling effect Effects 0.000 description 10
- 230000009471 action Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
Images
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
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- 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/64—Computer-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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses an image shooting method and device, electronic equipment and a computer readable storage medium. Wherein, the method comprises the following steps: acquiring a background object to be photographed, and adjusting a view finding position of a photographed object based on the background object; when the first position of the shot object and the second position of the background object are both in the corresponding position range of the co-shooting area, prompting the shot object to adjust the framing posture; and after the framing gesture of the shot object meets the preset gesture requirement, controlling the target shooting equipment to shoot a co-shooting image of the shot object and the background object. The invention solves the technical problems that the image shooting quality in the related technology can not meet the requirements of users, a large amount of time is spent on post image processing, and the actual user is wasted.
Description
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image capturing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
In the related technology, more and more users use mobile phones, cameras, aerial cameras and other shooting equipment to take pictures at multiple angles, the shooting places are diversified, the shooting modes and the shooting equipment are diversified, and the users can shoot pictures meeting the requirements of the users through proper shooting angles, shooting places and shooting scenes.
However, in the current photographing mode, the quality of the photographed image is not high, only a user who knows the composition concept can photograph a good photo, and for a user who does not know the photographing technology, the user can hardly photograph a good image, most of the users need to use image processing software or an image post-processing mode carried in mobile equipment to optimize and adjust the image, so that not only a great amount of time is needed for the user, but also the image processing result often does not meet the user requirement.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an image shooting method and device, electronic equipment and a computer readable storage medium, which at least solve the technical problems that the image shooting quality in the related technology can not meet the requirements of users, a large amount of time is needed for post image processing, and the actual users are wasted.
According to an aspect of an embodiment of the present invention, there is provided an image photographing method including: acquiring a background object to be photographed, and adjusting a view finding position of a photographed object based on the background object; when the first position of the shot object and the second position of the background object are both in the corresponding position range of the lighting area, prompting the shot object to adjust the framing posture; and after the framing gesture of the shot object meets the preset gesture requirement, controlling the target shooting equipment to shoot the co-shooting image of the shot object and the background object.
Optionally, the step of obtaining a background object to be photographed includes: receiving object selection information input by external equipment; and determining a background object to be photographed based on the object selection information.
Optionally, the step of obtaining a background object to be photographed further includes: controlling a shooting device to shoot an environment image of the current environment of the shot object, wherein the environment image is used for analyzing the current location; determining object information of the shot object, wherein the object information comprises at least one of the following: subject age, subject gender, subject dressing style; recommending a background object matched with the shot object based on the current location and the object information.
Optionally, the step of adjusting the view position of the subject based on the background subject includes: determining an initial composition parameter corresponding to the background object based on an object type of the background object; receiving person shooting demand information, wherein the person shooting demand information at least comprises: a type of group photo; adjusting the initial composition parameters based on the person shooting demand information to obtain target composition parameters; adjusting a viewing position of the subject based on the target composition parameter.
Optionally, the initial composition parameter comprises at least one of: the composition ratio of the shot object to the background object, a first area of the shot object in the co-photographing area and a second area of the background object in the co-photographing area, wherein the first area comprises the first position, and the second area comprises the second position.
Optionally, after acquiring the background object to be photographed, the image capturing method further includes: based on the position information of the background object, performing first shooting on the scenery of the co-shooting area to obtain a preview image; analyzing the preview image to obtain preview analysis parameters; adjusting equipment shooting parameters based on the preview analysis parameters and the equipment basic parameters of the shooting equipment, wherein the equipment shooting parameters comprise: the device is in height from the ground, the distance value of the device relative to the center point of the background object, the shooting focal length and the shooting angle.
Optionally, the step of analyzing the preview image to obtain preview analysis parameters includes: inputting the preview image into an image analysis model, wherein the image analysis model is used for analyzing the image score of the preview image, the image analysis model is obtained by adopting a plurality of groups of data for training, and each group of data at least comprises: background images and image analysis parameters; and determining the preview analysis parameters based on the image scores obtained by the image analysis model.
According to another aspect of the embodiments of the present invention, there is also provided an image capturing apparatus including: the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a background object to be photographed and adjusting a view finding position of a photographed object based on the background object; the prompting unit is used for prompting the shot object to adjust the framing posture when the current first position of the shot object and the second position of the background object are both in the corresponding position range of the co-shooting area; and the control unit is used for controlling the target shooting equipment to shoot the co-shooting image of the shot object and the background object after the framing gesture of the shot object meets the preset gesture requirement.
Optionally, the obtaining unit includes: the first receiving module is used for receiving object selection information input by external equipment; and the first determining module is used for determining the background object to be photographed based on the object selection information.
Optionally, the obtaining unit further includes: the first control module is used for controlling the shooting equipment to shoot an environment image of the current environment where the shot object is located, wherein the environment image is used for analyzing the current location; a second determining module, configured to determine object information of the photographed object, where the object information includes at least one of: subject age, subject gender, subject dressing style; and the first recommending module is used for recommending a background object matched with the shot object based on the current position and the object information.
Optionally, the obtaining unit includes: the third determination module is used for determining an initial composition parameter corresponding to a background object based on the object type of the background object after the background object to be photographed is obtained; a second receiving module, configured to receive people shooting requirement information, where the people shooting requirement information at least includes: a type of group photo; the first adjusting module is used for adjusting the initial composition parameters based on the figure shooting demand information to obtain target composition parameters; and second adjustment for adjusting the framing position of the subject based on the target composition parameter.
Optionally, the initial composition parameter comprises at least one of: the composition ratio of the shot object to the background object, a first area of the shot object in the co-photographing area and a second area of the background object in the co-photographing area, wherein the first area comprises the first position, and the second area comprises the second position.
Optionally, the image capturing apparatus further includes: the device comprises a shooting unit, a processing unit and a control unit, wherein the shooting unit is used for shooting a landscape of a photo-combination area for the first time based on the position information of a background object after the background object to be photo-combined is obtained, so as to obtain a preview image; the analysis unit is used for analyzing the preview image to obtain preview analysis parameters; a third adjusting module, configured to adjust device shooting parameters based on the preview analysis parameters and the device basic parameters of the shooting device, where the device shooting parameters include: the device is in height from the ground, the distance value of the device relative to the center point of the background object, the shooting focal length and the shooting angle.
Optionally, the analysis unit comprises: an input module, configured to input the preview image into an image analysis model, where the image analysis model is used to analyze an image score of the preview image, the image analysis model is obtained by training multiple sets of data, and each set of data at least includes: background images and image analysis parameters; and the fourth determination module is used for determining the preview analysis parameter based on the image score obtained by the image analysis model.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any of the image capture methods described above via execution of the executable instructions.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute any one of the image capturing methods described above.
In the embodiment of the invention, when an image is shot, a background object to be photographed is firstly obtained, the framing position of the shot object is adjusted based on the background object, then when the current first position of the shot object and the second position of the background object are both in the corresponding position range of a photographic area, the shot object is prompted to adjust the framing posture, and after the framing posture of the shot object meets the preset posture requirement, the target shooting device is controlled to shoot the photographic image of the shot object and the background object. In this embodiment, can let shooting equipment automatically regulated find a view the position (generated based on the composition theory of image and background object etc.), then through certain suggestion information guide by the shooting object adjustment find a view the gesture (including the action gesture when finding a view, action position), make the image composition after the adjustment better, with this promotion shoot the quality of image, the image of shooing accords with user's demand, it is long to reduce user's later stage image processing, thereby it can not reach user's demand to solve the image shooting quality among the correlation technique, need spend plenty of time to carry out later stage image processing, waste the actual technical problem of user.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of an alternative image capture method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative image capture device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention can be applied to various image shooting devices, such as mobile terminals (mobile phones, IPADs and tablets), cameras, aerial cameras (such as unmanned aerial vehicles) and cameras. By introducing the image composition concept into the image shooting equipment, the guide information is automatically generated to guide a user to adjust the shooting angle and the shooting position, so that the adjusted image composition is better, and the quality of the shot image is improved. The present invention will be described in detail with reference to examples.
Example one
According to an embodiment of the present invention, there is provided an image capturing method embodiment, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flow chart of an alternative image capture method according to an embodiment of the present invention, as shown in fig. 1, the method comprising the steps of:
step S102, acquiring a background object to be photographed, and adjusting a view finding position of a photographed object based on the background object;
step S104, when the current first position of the shot object and the second position of the background object are both in the corresponding position range of the photographic area, prompting the shot object to adjust the framing posture;
and step S106, after the framing gesture of the shot object meets the preset gesture requirement, controlling the target shooting equipment to shoot the co-shooting image of the shot object and the background object.
Through the steps, when an image is shot, a background object to be photographed is obtained firstly, the framing position of the shot object is adjusted based on the background object, when the current first position of the shot object and the second position of the background object are both in the corresponding position range of the photographic area, the shot object is prompted to adjust the framing posture, and after the framing posture of the shot object meets the preset posture requirement, the target shooting device is controlled to shoot the photographic image of the shot object and the background object. In this embodiment, can let shooting equipment automatically regulated find a view the position (generated based on the composition theory of image and background object etc.), then through certain suggestion information guide by the shooting object adjustment find a view the gesture (including the action gesture when finding a view, action position), make the image composition after the adjustment better, with this promotion shoot the quality of image, the image of shooing accords with user's demand more, reduce the image processing duration in user's later stage, thereby it can not reach user's demand to solve the image shooting quality among the correlation technique, need spend a large amount of time to carry out later stage image processing, waste the actual technical problem of user.
In the embodiment of the invention, the background image shot by the user and the final shot co-shooting image can be continuously recorded through the image shooting model, the shooting preference and the shooting characteristic (such as the preference of a side photo, the preference of a half-body photo, the preference of a pet in a holding manner and the like) of the user using the current shooting equipment are analyzed, and then the shooting preference and the shooting characteristic are used for continuously optimizing the co-shooting prompt information at the next time.
The co-photography according to the embodiment of the present invention is to take a background object (for example, a stone, a Buddha, a building, a tree, or the like) as a co-photography object, and to realize the co-photography of a photographed object and the background object. The environment of the shot includes but is not limited to: city, seaside, red mountain, temple, architectural statue, etc.
In the embodiment of the present invention, the subject device for shooting may include, but is not limited to: mobile terminals (e.g., cell phones, IPADs, cameras, etc.), unmanned devices (e.g., aerial drones).
The following describes the embodiments of the present invention in detail with reference to the above steps. The embodiment of the invention is schematically illustrated by taking a mobile terminal as an image shooting device.
Step S102, a background object to be photographed is acquired, and the framing position of the photographed object is adjusted based on the background object.
The embodiment of the invention can adopt various modes when determining the background object.
First, a background object to be photographed is input through an external device.
Optionally, the step of obtaining a background object to be photographed includes: receiving object selection information input by external equipment; and determining a background object to be photographed based on the object selection information.
External devices include, but are not limited to: mobile terminal, PC, mouse, navigation device, navigation software, etc.
The object selection information may refer to a background object (the background object may be a building, a scenery spot, a landmark, or the like) that the user selects and needs to be photographed, and according to the object selection information, the background object information to be photographed may be determined, including the outline, length, width, coordinate position, environment where the background object is located, and the like of the background object. The information of the background object is used as a composition element to generate guide information for guiding the shot object to adjust the view position.
After the user selects the background object for co-shooting, the shooting angle and the shooting focal length of the current background object can be intelligently analyzed to determine whether the current shooting angle and the current focal length are optimal or not, and then guide information is generated to guide the user to adjust the shooting angle or automatically adjust the shooting angle to the proper focal length.
Second, a background object to be photographed is acquired from a server.
Another optional step of obtaining the background object to be photographed further includes: controlling the shooting equipment to establish network connection with a preset server, wherein the preset server stores a plurality of scenery spot objects in each area range; transmitting the current position of the shot object to a preset server; receiving a background object to be photographed transmitted by a preset server, wherein the background object corresponds to object position information, and the object position information at least comprises: where the background object is located. Or, the preset server may further generate a navigation route according to the position information of the transmission background, and send the navigation route to the shooting device, where the navigation route is used to indicate a navigation route from the current position to the position of the background object
The server may store the scenery spot objects or other shot objects corresponding to each area range, for example, in a certain mountain area range, objects such as a glass hanging bridge, a drift starting point, a rainbow light object, a river, a long life tree, etc. are stored, and the object information of each scenery spot object or other shot object includes but is not limited to: coordinate location, object area range, navigation route, etc.
Optionally, in the embodiment of the present invention, based on the data repository of the server, the shooting template matched with the current location is intelligently generated for the user to select, and the user is guided to take a picture according to the shooting template selected by the user.
The current environment is photographed to obtain an environment image, and then a background object and object information can be analyzed. The background object is recommended intelligently by the image shooting device, for example, the shooting device acquires a hot spot or a frequently-checked spot of the user from the server, the hot spot or the frequently-checked spot of the user is recommended to the user, a navigation route for the user to reach the background object is informed, and the navigation route is used for indicating a navigation route for reaching the position of the background object from the current position.
Thirdly, a background object to be photographed is acquired through an image photographing apparatus.
As an optional embodiment of the present invention, the step of acquiring a background object to be photographed further includes: controlling a shooting device to shoot an environment image of the current environment of a shot object, wherein the environment image is used for analyzing the current location; determining object information of a shot object, wherein the object information comprises at least one of the following: subject age, subject gender, subject dressing style; and recommending the background object matched with the shot object based on the current position and the object information.
The current environment is photographed to obtain an environment image, and then a background object matched with the photographed object can be analyzed. The background object is intelligently recommended by the image capturing device.
Due to the fact that the shooting backgrounds of users of different age groups or different sexes are different, the intelligent recommendation method and the recommendation system conduct more intelligent recommendation according to multiple factors. In the embodiment of the invention, images or videos of a plurality of places (shooting backgrounds) can be collected through the image shooting equipment, the shooting backgrounds matched with the users can be selected by the shooting equipment, the selection process can be combined with a plurality of factors such as the ages, the sexes, the dressing styles of the users and the current weather conditions, a plurality of labels (the places, the style labels of buildings (ancient buildings and red shops)) of the plurality of places can be determined, and the matching degree of the plurality of labels of each place and the users (the age layers of the users) can be determined.
Through the various embodiments, after the background object to be photographed is acquired, the framing position of the photographed object can be adjusted based on the background object.
The above embodiment describes that the background object to be photographed is obtained through the mobile terminal, and of course, in the embodiment of the present invention, the object to be photographed that is matched with the photographed object may also be selected through aerial view scanning by an unmanned device (for example, an aerial photography unmanned aerial vehicle), and the object to be photographed is used as the background object, and when the aerial view scanning is performed by the unmanned device, the image shooting and the view point scanning may be performed on each view point position on the navigation route in real time along a preset navigation route such as a view point, a navigation street, and the like, and the appropriate background object is obtained through analysis. After the background object to be photographed is obtained through the unmanned device, prompt information can be sent to a remote control terminal or a mobile terminal held by a user in real time based on object information (such as position information, height information, size and the like) of the background object, so that the photographed object can adjust a view finding position.
Optionally, after obtaining the background object to be photographed, the image capturing method further includes: based on the position information of the background object, performing first shooting on the scenery in the shooting area to obtain a preview image; analyzing the preview image to obtain preview analysis parameters; adjusting equipment shooting parameters based on the preview analysis parameters and the equipment basic parameters of the shooting equipment, wherein the equipment shooting parameters comprise: the device is in height from the ground, the distance value of the device relative to the center point of the background object, the shooting focal length and the shooting angle.
Another optional step of analyzing the preview image to obtain preview analysis parameters includes: inputting the preview image into an image analysis model, wherein the image analysis model is used for analyzing the image score of the preview image, the image analysis model is obtained by adopting a plurality of groups of data training, and each group of data at least comprises: background images and image analysis parameters; and determining preview analysis parameters based on the image scores obtained by the image analysis model.
When determining whether the current shooting angle and the shooting focal length are optimal, the method comprises the following steps: the method comprises the steps of acquiring a pre-trained image aesthetic model, acquiring a current preview image, inputting the current preview image into the image aesthetic model to acquire an image score (which can be understood as the aesthetic score of the image) of the image, and when the image score is larger than a preset value, determining current shooting parameters such as a shooting angle and a focal distance as appropriate parameters, wherein the composition parameters do not need to be adjusted.
When the positions of the shot object (such as a user held by the equipment, a scenic spot scarlet person) and the background object in the view frame are in corresponding areas, whether the current posture or angle of the current shot object is optimal or not is analyzed according to the currently acquired preview image. If not, the shot object is prompted to adjust the station position and the angle through the prompt message. For example, when it is detected that the photographic subject is sideways facing the photographic apparatus, prompt information is generated to prompt that the photographic subject faces the photographic apparatus. Or when the current posture (such as head lowering and eye closing) of the shot object is not matched with the background object, prompting the shot object to swing out of a proper posture (for example, prompting the head of the user to be close to the background object).
Optionally, the step of adjusting the viewing position of the subject based on the background subject includes: determining an initial composition parameter corresponding to the background object based on the object type of the background object; receiving person shooting demand information, wherein the person shooting demand information at least comprises: a type of group photo; adjusting initial composition parameters based on the figure shooting demand information to obtain target composition parameters; the framing position of the subject is adjusted based on the target composition parameter.
In an embodiment of the present invention, the initial composition parameter includes at least one of: the composition ratio of the shot object to the background object, a first area of the shot object in the photographic area and a second area of the background object in the photographic area, wherein the first area comprises a first position, and the second area comprises a second position.
The method comprises the steps of outputting initial composition parameters according to a current background object, wherein the initial composition parameters corresponding to different types of background objects are different, adjusting the initial composition parameters according to the shooting requirements of a user on people after the initial composition parameters are obtained, wherein the shooting requirements of the user can be half-length shooting, full-length shooting, background shooting, co-shooting and the like, the composition parameters can indicate the composition proportion of the shooting object and the background object and the position areas of the shooting object and the background object in a view frame, and the composition proportion and the position of the shooting object in the view frame can be influenced by the different shooting requirements of the user.
And step S104, when the first position of the shot object and the second position of the background object are both in the corresponding position range of the photographic area, prompting the shot object to adjust the framing posture.
In the embodiment of the present invention, the adjustment of the viewing posture of the object to be photographed can be prompted through the prompt information, and optionally, the prompt information includes at least one of the following: the head integral displacement parameter and the station position adjusting parameter, and the type of the prompt information is voice prompt, video prompt or image prompt.
The prompt message can be a voice prompt message, that is, the image shooting device can prompt the shot object to adjust the posture and the standing position through the voice prompt message.
The prompt message may also be a video prompt message or a text prompt message, and may be sent to the user equipment by connecting the user equipment (e.g., a mobile terminal) with the image capturing device, for example, prompting the station and the angle with text information. Or the image shooting device sends a prompt image with the best station and angle for shooting the corresponding character frame to the user device, wherein the prompt image comprises the current background object and the character frame, and the character frame can represent the best station and posture of the shot object. The shot object can be adjusted according to the character frame, the proper standing position is determined after the shot object is detected to fall into the character frame in the position of the view frame, and at the moment, key point detection needs to be carried out on the user to determine whether the current posture is matched.
Optionally, the user equipment may obtain the current acquired image of the image capturing device in real time, so as to better view the adjustment effect.
And step S106, after the framing gesture of the shot object meets the preset gesture requirement, controlling the target shooting equipment to shoot the co-shooting image of the shot object and the background object.
In the embodiment of the invention, if the current posture or angle of the shot object is automatically detected to be adjusted, or a control instruction which is input by external equipment and does not need to adjust the posture or angle is received, the image shooting equipment is controlled to shoot, and one or more shot pictures are obtained.
And if one picture is taken, directly taking the taken picture as the shot target picture. If a plurality of pictures are taken, the network model can be used to select one picture with the highest quality from the plurality of pictures as the target picture.
Optionally, before taking a picture, shooting parameters (such as sensitivity and exposure time) of the image shooting device may be automatically adjusted according to the current environment. For example, the light sensing parameters of the image capturing device are automatically adjusted according to the current ambient light intensity.
Through the embodiment, the shooting angle, the shooting position and the shooting posture can be guided to be automatically adjusted by the shot object based on the image composition idea, so that the adjusted image composition is better, the shot image is matched with the background object, the angle, the posture and the position are more suitable, the quality of the shot image is improved, and the satisfaction degree of the user in using the image shooting equipment is improved.
The invention is described below in connection with an alternative embodiment.
Example two
The embodiment of the invention provides an image shooting device, which comprises various implementation units corresponding to the implementation steps in the first embodiment.
Fig. 2 is a schematic diagram of an alternative image capturing apparatus according to an embodiment of the present invention, as shown in fig. 2, the image capturing apparatus may include: an acquisition unit 21, a presentation unit 23, a control unit 25, wherein,
an acquisition unit 21 configured to acquire a background object to be photographed and adjust a framing position of a subject to be photographed based on the background object;
the prompting unit 23 is configured to prompt the subject to adjust a framing posture when a first position where the subject is currently located and a second position where the background subject is located are both within a corresponding position range of the photographic region;
and a control unit 25 configured to control the target photographing device to photograph a merged image of the subject and the background subject after the viewing posture of the subject meets a preset posture requirement.
The image shooting device can firstly obtain a background object to be photographed through the obtaining unit 21 when shooting an image, adjust the framing position of the shot object based on the background object, prompt the shot object to adjust the framing posture when the current first position of the shot object and the second position of the background object are both in the corresponding position range of the photographing area through the prompting unit 23, and control the target shooting equipment to shoot the photographing image of the shot object and the background object after the framing posture of the shot object meets the preset posture requirement through the control unit 25. In this embodiment, can let shooting equipment automatically regulated find a view the position (generated based on the composition theory of image and background object etc.), then through certain suggestion information guide by the shooting object adjustment find a view the gesture (including the action gesture when finding a view, action position), make the image composition after the adjustment better, with this promotion shoot the quality of image, the image of shooing accords with user's demand, it is long to reduce user's later stage image processing, thereby it can not reach user's demand to solve the image shooting quality among the correlation technique, need spend plenty of time to carry out later stage image processing, waste the actual technical problem of user.
Optionally, the obtaining unit includes: the first receiving module is used for receiving object selection information input by external equipment; and the first determining module is used for determining the background object to be combined based on the object selection information.
Optionally, the obtaining unit further includes: the device comprises a first control module, a second control module and a control module, wherein the first control module is used for controlling the shooting equipment to shoot an environment image of the current environment where a shot object is located, and the environment image is used for analyzing the current location; the second determination module is used for determining object information of the shot object, wherein the object information comprises at least one of the following items: subject age, subject gender, subject dressing style; and the first recommending module is used for recommending the background object matched with the shot object based on the current position and the object information.
Optionally, the obtaining unit further includes: the third determining module is used for determining initial composition parameters corresponding to the background object based on the object type of the background object after the background object to be photographed is obtained; the second receiving module is used for receiving the person shooting requirement information, wherein the person shooting requirement information at least comprises: a type of group photo; the first adjusting module is used for adjusting the initial composition parameters based on the figure shooting demand information to obtain target composition parameters; and second adjustment for adjusting the framing position of the subject based on the target composition parameter.
Optionally, the initial composition parameter includes at least one of: the composition ratio of the shot object to the background object, a first area of the shot object in the photographic area and a second area of the background object in the photographic area, wherein the first area comprises a first position, and the second area comprises a second position.
Optionally, the image capturing apparatus further includes: the device comprises a shooting unit, a processing unit and a control unit, wherein the shooting unit is used for shooting a landscape in a shooting area for the first time based on the position information of a background object after the background object to be shot is obtained, so as to obtain a preview image; the analysis unit is used for analyzing the preview image to obtain preview analysis parameters; the third adjusting module is used for adjusting the shooting parameters of the equipment based on the preview analysis parameters and the basic parameters of the equipment to be shot, wherein the shooting parameters of the equipment comprise: the device is in height from the ground, the distance value of the device relative to the center point of the background object, the shooting focal length and the shooting angle.
Optionally, the analysis unit comprises: the input module is used for inputting the preview image into an image analysis model, wherein the image analysis model is used for analyzing the image score of the preview image, the image analysis model is obtained by adopting a plurality of groups of data for training, and each group of data at least comprises: background images and image analysis parameters; and the fourth determination module is used for determining the preview analysis parameters based on the image scores obtained by the image analysis model.
The image capturing apparatus may further include a processor and a memory, and the acquiring unit 21, the presenting unit 23, the control unit 25, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory. The kernel can be set to be one or more, and the target shooting equipment is controlled to shoot the co-shooting image of the shot object and the background object after the framing gesture of the shot object meets the preset gesture requirement by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to perform any of the image capture methods described above via execution of executable instructions.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored computer program, wherein when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute any one of the image capturing methods.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a background object to be photographed, and adjusting a view finding position of a photographed object based on the background object; when the first position of the shot object and the second position of the background object are both in the corresponding position range of the co-shooting area, prompting the shot object to adjust the framing posture; and after the framing gesture of the shot object meets the preset gesture requirement, controlling the target shooting equipment to shoot a co-shooting image of the shot object and the background object.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit may be a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or may not be executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. An image capturing method, characterized by comprising:
acquiring a background object to be photographed, and adjusting a view finding position of a photographed object based on the background object;
when the first position of the shot object and the second position of the background object are both in the corresponding position range of the lighting area, prompting the shot object to adjust the framing posture;
and after the framing gesture of the shot object meets the preset gesture requirement, controlling the target shooting equipment to shoot the co-shooting image of the shot object and the background object.
2. The image capturing method according to claim 1, wherein the step of acquiring a background subject to be photographed includes:
receiving object selection information input by external equipment;
and determining a background object to be photographed based on the object selection information.
3. The image capturing method according to claim 1, wherein the step of acquiring a background object to be photographed further includes:
controlling a shooting device to shoot an environment image of the current environment of the shot object, wherein the environment image is used for analyzing the current location;
determining object information of the shot object, wherein the object information comprises at least one of the following: subject age, subject gender, subject dressing style;
recommending a background object matched with the shot object based on the current location and the object information.
4. The image capturing method according to claim 1, wherein the step of adjusting the finder position of the subject based on the background subject includes:
determining an initial composition parameter corresponding to the background object based on an object type of the background object;
receiving person shooting demand information, wherein the person shooting demand information at least comprises: a type of group photo;
adjusting the initial composition parameters based on the person shooting demand information to obtain target composition parameters;
adjusting a viewing position of the subject based on the target composition parameter.
5. The image capturing method according to claim 4, wherein the initial composition parameter includes at least one of: the composition ratio of the shot object to the background object, a first area of the shot object in the co-photographing area and a second area of the background object in the co-photographing area, wherein the first area comprises the first position, and the second area comprises the second position.
6. The image capturing method according to claim 4, characterized in that after acquiring a background subject to be photographed, the image capturing method further comprises:
based on the position information of the background object, performing first shooting on the scenery of the co-shooting area to obtain a preview image;
analyzing the preview image to obtain preview analysis parameters;
adjusting equipment shooting parameters based on the preview analysis parameters and the equipment basic parameters of the shooting equipment, wherein the equipment shooting parameters comprise: the device is in height from the ground, the distance value of the device relative to the center point of the background object, the shooting focal length and the shooting angle.
7. The image capturing method according to claim 6, wherein the step of analyzing the preview image to obtain preview analysis parameters includes:
inputting the preview image into an image analysis model, wherein the image analysis model is used for analyzing the image score of the preview image, the image analysis model is obtained by adopting a plurality of groups of data for training, and each group of data at least comprises: background images and image analysis parameters;
and determining the preview analysis parameters based on the image scores obtained by the image analysis model.
8. An image capturing apparatus, characterized by comprising:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a background object to be photographed and adjusting a view finding position of a photographed object based on the background object;
the prompting unit is used for prompting the shot object to adjust the framing posture when the current first position of the shot object and the second position of the background object are both in the corresponding position range of the co-shooting area;
and the control unit is used for controlling the target shooting equipment to shoot the co-shooting image of the shot object and the background object after the framing gesture of the shot object meets the preset gesture requirement.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the image capturing method of any one of claims 1 to 7 via execution of the executable instructions.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the image capturing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011556783.3A CN112702521B (en) | 2020-12-24 | 2020-12-24 | Image shooting method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011556783.3A CN112702521B (en) | 2020-12-24 | 2020-12-24 | Image shooting method and device, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112702521A true CN112702521A (en) | 2021-04-23 |
CN112702521B CN112702521B (en) | 2023-05-02 |
Family
ID=75510058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011556783.3A Active CN112702521B (en) | 2020-12-24 | 2020-12-24 | Image shooting method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112702521B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113268872A (en) * | 2021-05-25 | 2021-08-17 | 江苏星月测绘科技股份有限公司 | National soil space planning simulation method and system based on holographic three-dimensional |
CN113469164A (en) * | 2021-07-02 | 2021-10-01 | 深圳市火乐科技发展有限公司 | Background image display method and device, storage medium and electronic equipment |
CN113784039A (en) * | 2021-08-03 | 2021-12-10 | 北京达佳互联信息技术有限公司 | Head portrait processing method and device, electronic equipment and computer readable storage medium |
CN115174803A (en) * | 2022-06-20 | 2022-10-11 | 平安银行股份有限公司 | Automatic photographing method and related equipment |
CN115633138A (en) * | 2022-09-30 | 2023-01-20 | 中国第一汽车股份有限公司 | Vehicle-mounted group photo method, device, storage medium and equipment |
WO2023029991A1 (en) * | 2021-09-03 | 2023-03-09 | 北京字跳网络技术有限公司 | Photographing method and apparatus, electronic device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007174548A (en) * | 2005-12-26 | 2007-07-05 | Casio Comput Co Ltd | Photographing device and program |
CN107426489A (en) * | 2017-05-05 | 2017-12-01 | 北京小米移动软件有限公司 | Processing method, device and terminal during shooting image |
CN107835365A (en) * | 2017-11-03 | 2018-03-23 | 上海爱优威软件开发有限公司 | Auxiliary shooting method and system |
CN108600632A (en) * | 2018-05-17 | 2018-09-28 | Oppo(重庆)智能科技有限公司 | It takes pictures reminding method, intelligent glasses and computer readable storage medium |
CN108848303A (en) * | 2018-05-28 | 2018-11-20 | 北京小米移动软件有限公司 | Shoot reminding method and device |
WO2019157690A1 (en) * | 2018-02-14 | 2019-08-22 | 深圳市大疆创新科技有限公司 | Automatic image capturing method and device, unmanned aerial vehicle and storage medium |
CN110475069A (en) * | 2019-09-03 | 2019-11-19 | 腾讯科技(深圳)有限公司 | The image pickup method and device of image |
-
2020
- 2020-12-24 CN CN202011556783.3A patent/CN112702521B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007174548A (en) * | 2005-12-26 | 2007-07-05 | Casio Comput Co Ltd | Photographing device and program |
CN107426489A (en) * | 2017-05-05 | 2017-12-01 | 北京小米移动软件有限公司 | Processing method, device and terminal during shooting image |
CN107835365A (en) * | 2017-11-03 | 2018-03-23 | 上海爱优威软件开发有限公司 | Auxiliary shooting method and system |
WO2019157690A1 (en) * | 2018-02-14 | 2019-08-22 | 深圳市大疆创新科技有限公司 | Automatic image capturing method and device, unmanned aerial vehicle and storage medium |
CN108600632A (en) * | 2018-05-17 | 2018-09-28 | Oppo(重庆)智能科技有限公司 | It takes pictures reminding method, intelligent glasses and computer readable storage medium |
CN108848303A (en) * | 2018-05-28 | 2018-11-20 | 北京小米移动软件有限公司 | Shoot reminding method and device |
CN110475069A (en) * | 2019-09-03 | 2019-11-19 | 腾讯科技(深圳)有限公司 | The image pickup method and device of image |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113268872A (en) * | 2021-05-25 | 2021-08-17 | 江苏星月测绘科技股份有限公司 | National soil space planning simulation method and system based on holographic three-dimensional |
CN113268872B (en) * | 2021-05-25 | 2022-02-22 | 江苏星月测绘科技股份有限公司 | National soil space planning simulation method and system based on holographic three-dimensional |
CN113469164A (en) * | 2021-07-02 | 2021-10-01 | 深圳市火乐科技发展有限公司 | Background image display method and device, storage medium and electronic equipment |
CN113784039A (en) * | 2021-08-03 | 2021-12-10 | 北京达佳互联信息技术有限公司 | Head portrait processing method and device, electronic equipment and computer readable storage medium |
WO2023029991A1 (en) * | 2021-09-03 | 2023-03-09 | 北京字跳网络技术有限公司 | Photographing method and apparatus, electronic device, and storage medium |
CN115174803A (en) * | 2022-06-20 | 2022-10-11 | 平安银行股份有限公司 | Automatic photographing method and related equipment |
CN115633138A (en) * | 2022-09-30 | 2023-01-20 | 中国第一汽车股份有限公司 | Vehicle-mounted group photo method, device, storage medium and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112702521B (en) | 2023-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112702521B (en) | Image shooting method and device, electronic equipment and computer readable storage medium | |
CN103945129B (en) | Take pictures preview composition guidance method and system based on mobile terminal | |
CN101910936B (en) | Guided photography based on image capturing device rendered user recommendations | |
WO2022227393A1 (en) | Image photographing method and apparatus, electronic device, and computer readable storage medium | |
US20170285916A1 (en) | Camera effects for photo story generation | |
KR101434564B1 (en) | Method and system for extracting the photographing information | |
KR101653041B1 (en) | Method and apparatus for recommending photo composition | |
CN107197153B (en) | Shooting method and shooting device for photo | |
TW201823983A (en) | Method and system for creating virtual message onto a moving object and searching the same | |
CN107424117B (en) | Image beautifying method and device, computer readable storage medium and computer equipment | |
CN109660714A (en) | Image processing method, device, equipment and storage medium based on AR | |
WO2011096343A1 (en) | Photographic location recommendation system, photographic location recommendation device, photographic location recommendation method, and program for photographic location recommendation | |
CN114697539B (en) | Photographing recommendation method and device, electronic equipment and storage medium | |
CN110830712A (en) | Autonomous photographing system and method | |
JP4279083B2 (en) | Image processing method and apparatus, and image processing program | |
CN108540722A (en) | Control the method, apparatus and computer readable storage medium of camera shooting | |
TW201823929A (en) | Method and system for remote management of virtual message for a moving object | |
CN109472230A (en) | Sportsman's automatic camera recommender system and method based on pedestrian detection and internet | |
CN111145189B (en) | Image processing method, apparatus, electronic device, and computer-readable storage medium | |
CN110047115B (en) | Star image shooting method and device, computer equipment and storage medium | |
JP2015139001A (en) | Information processing device, information processing method and program | |
CN107343142A (en) | The image pickup method and filming apparatus of a kind of photo | |
JP2007258953A (en) | Automatic photography system and instrument | |
CN110868543A (en) | Intelligent photographing method and device and computer readable storage medium | |
CN115623313A (en) | Image processing method, image processing apparatus, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province Applicant after: XAG Co., Ltd. Address before: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province Applicant before: Guangzhou Xaircraft Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |