CN112653841B - Shooting method and device and electronic equipment - Google Patents

Shooting method and device and electronic equipment Download PDF

Info

Publication number
CN112653841B
CN112653841B CN202011534607.XA CN202011534607A CN112653841B CN 112653841 B CN112653841 B CN 112653841B CN 202011534607 A CN202011534607 A CN 202011534607A CN 112653841 B CN112653841 B CN 112653841B
Authority
CN
China
Prior art keywords
target
image
composition
shooting
view
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.)
Active
Application number
CN202011534607.XA
Other languages
Chinese (zh)
Other versions
CN112653841A (en
Inventor
赖炜炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011534607.XA priority Critical patent/CN112653841B/en
Publication of CN112653841A publication Critical patent/CN112653841A/en
Application granted granted Critical
Publication of CN112653841B publication Critical patent/CN112653841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical 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

Abstract

The application discloses a shooting method, a shooting device and electronic equipment, and belongs to the technical field of electronic equipment. The method comprises the following steps: acquiring proportion information of a first image in a photographing preview interface, wherein the first image is an image of a target position of a photographed object; determining a target composition scene type according to the relation between the proportion information and at least two preset value ranges, wherein each preset value range corresponds to one composition scene type; displaying a target view frame corresponding to the target composition view in the photographing preview interface, wherein the areas of the target view frames corresponding to different composition views are different; and shooting the shot object based on the target view frame to obtain a target image. The method and the device for automatically selecting the suitable composition scene can achieve the purpose of automatically selecting the suitable composition scene according to the shot object.

Description

Shooting method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a shooting method and device and electronic equipment.
Background
The shooting function of the current mobile terminal is more and more powerful, the imaging effect is greatly improved, and for example, the shooting requirements of users can be met to a certain extent by high resolution, high pixels and the like. Even so, for the ordinary users, the picture composition knowledge of the photography is lacked, and the effect of the photographed pictures is often not satisfactory.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art:
in order to meet the requirement of a user for shooting a portrait, the existing portrait guiding composition mode provides some reference character gestures to guide the composition of the user, or guides the composition of the user according to the position of a face frame. However, the existing composition scheme has the problem that the user needs to select the reference posture or adjust the shooting distance, and the proper composition scheme cannot be automatically selected according to the shot portrait.
Disclosure of Invention
The embodiment of the application provides a shooting method, a shooting device and electronic equipment, and can solve the problem that an existing scheme cannot automatically select a proper composition scheme according to a shot portrait.
In a first aspect, an embodiment of the present application provides a shooting method, including:
acquiring proportion information of a first image in a photographing preview interface, wherein the first image is an image of a target position of a photographed object;
determining a target composition view type according to the relation between the proportion information and at least two preset value ranges, wherein each preset value range corresponds to one composition view type;
displaying target view frames corresponding to the target composition scenes in the photographing preview interface, wherein the areas of the target view frames corresponding to different composition scenes are different;
and shooting the shot object based on the target view frame to obtain a target image.
In a second aspect, an embodiment of the present application provides a shooting apparatus, including:
the first acquisition module is used for acquiring the proportion information of a first image in a photographing preview interface, wherein the first image is an image of the target position of a photographed object;
the first determining module is used for determining a target drawing scene type according to the relation between the proportion information and at least two preset numerical value ranges, wherein each preset numerical value range corresponds to one drawing scene type;
the first display module is used for displaying target view frames corresponding to the target composition scenes in the photographing preview interface, wherein the areas of the target view frames corresponding to different composition scenes are different;
and the shooting module is used for shooting the shot object based on the target view-finding frame to obtain a target image.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a proper composition scene is determined according to the proportion information of the image of the target position of the shot object in the shooting preview interface; and displaying a corresponding target view-finding frame according to the determined picture composition scene, and shooting based on the target view-finding frame, thereby realizing the purpose of automatically selecting a proper picture composition scene according to a shot object.
Drawings
Fig. 1 is a schematic flowchart of a shooting method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a composition scene according to an embodiment of the present application;
FIG. 3 is a schematic diagram of auto zoom in an embodiment of the present application;
FIG. 4 is a second schematic view of auto zoom in the embodiment of the present application;
fig. 5 is a block diagram of a photographing apparatus according to an embodiment of the present application;
FIG. 6 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a second block diagram of the electronic device according to the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application 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 application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a shooting method, which is performed by an electronic device, and includes:
step 101: acquiring proportion information of a first image in a photographing preview interface, wherein the first image is an image of a target position of a photographed object.
In this step, when the subject is a person, the image of the target position may be a face image. When the subject is an object, the image of the target position may be an entire image of the subject, or may be an image of another position of the subject. For example, if the subject is a person, the above steps acquire the proportion information of the face image of the subject in the photo preview interface. The proportion information here may be a ratio of the area of the face image to the area of the photograph preview interface.
Illustratively, when shooting is performed using a rear camera of the electronic device, proportion information of a face image of a subject in a shooting preview interface is calculated.
Step 102: and determining a target composition view according to the relation between the proportion information and at least two preset value ranges, wherein each preset value range corresponds to one composition view.
Here, the photographic subject is exemplified as a human. As shown in fig. 2, the composition scene includes a close-up, a chest image, a half body, a large half body, a whole body, and a panorama. In the embodiment of the present application, a preset value range corresponding to each of the composition views may be preset. The proportion information of the face images in each drawing scene is as follows from big to small: feature, chest image, half body, whole body, panorama.
For example, the preset value range corresponding to the special scene is 0.1404 to 0.6833, and the preset value range corresponding to the chest image scene is 0.0371 to 0.1065; the range of the preset value corresponding to the bust scene is 0.0231-0.0353; the preset numerical range corresponding to the large half of the scene is 0.0115-0.0168; the preset value range corresponding to the whole body scene is 0.0024-0.0113, and the whole body is obtained; the corresponding preset numerical value range of the panoramic view is 0.0021-0.0044.
Here, the proportion information of the first image in the photo preview interface is compared with the preset numerical range to determine an appropriate composition scene.
Alternatively, the pose of the subject may be combined, and if the subject is in a standing pose, the composition scene may be accurately selected.
Step 103: and displaying a target view frame corresponding to the target composition view in the photographing preview interface, wherein the areas of the target view frames corresponding to different composition views are different.
Because the proportion information of the face image in each composition scene is different, therefore, the size of the displayed target view frame is different, and the target view frame can be a human face frame. The face frame corresponding to the close-up scene is the largest, and the face frame corresponding to the panorama is the smallest.
Step 104: and shooting the shot object based on the target view frame to obtain a target image.
According to the shooting method, a proper composition scene is determined according to the proportion information of the image of the target position of the shot object in the shooting preview interface; and displaying a corresponding target view-finding frame according to the determined picture composition scene, and shooting based on the target view-finding frame, thereby realizing the purpose of automatically selecting a proper picture composition scene according to a shot object.
Optionally, the determining a target composition scene according to the relationship between the proportion information and at least two preset value ranges includes:
taking the composition view corresponding to the target preset value range as the target composition view when the target value corresponding to the proportion information is within the target preset value range;
or, under the condition that the target value corresponding to the proportion information is out of each preset value range, selecting the composition scene corresponding to the preset value range with the minimum difference value of the target value as the target composition scene.
For example, if the proportion information of the first image in the photographing preview interface is 0.2, that is, the proportion information is located in the preset numerical value range corresponding to the close-up view, it is determined that the target composition view is the close-up composition view, and the target view frame corresponding to the close-up composition view is displayed.
For another example, if the proportion information of the first image in the photographing preview interface is 0.005, and the proportion information is not within the preset value range corresponding to the composition scene, the preset value range with the minimum difference value with the proportion information is determined, for example, 0.006 to 0.0121, that is, the composition scene is determined to be a large half composition scene, and the corresponding target view frame is displayed.
According to the embodiment of the application, the composition view type can be simply and accurately determined through the preset value range corresponding to each composition view type, and therefore a user can conveniently shoot high-quality images according to the composition view type.
Optionally, the capturing the subject based on the target finder frame includes:
and shooting the shot object when the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to a first preset threshold value.
Illustratively, the target view frame is an elliptical face frame, and the subject is photographed when the area of the overlapping area between the face of the subject and the face frame is the same as the area of the face frame, that is, the face of the subject and the face frame are completely overlapped, and the specific value of the first preset threshold may be set according to the user requirement.
Optionally, the shooting method in the embodiment of the present application further includes:
receiving a first input to the target view frame under the condition that a partial image of the target position image is located in the target view frame and an overlapping area of the target position image and the target view frame is greater than or equal to a second preset threshold and smaller than a first preset threshold;
and responding to the first input, and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is larger than the first preset threshold value.
Optionally, when a partial image of the target position image is located in the target view finder, and an overlapping area between the target position image and the target view finder is greater than or equal to a second preset threshold and smaller than the first preset threshold, a prompt message may be displayed first, where the prompt message is used to prompt a user to start an automatic zoom function, and the user inputs the first input according to the prompt message.
In the embodiment of the present application, as shown in fig. 3, when a face appears in the photo preview interface, the face and the face frame are not necessarily in a completely overlapped state, and the face may be larger or smaller than the face frame, for example, the area of the overlapped area of the face and the face frame is larger than the second preset threshold but smaller than the first preset threshold, and then prompt information, such as "double-click face, automatic zooming", is displayed. After the user double-clicks the face, the mobile phone starts an automatic zooming function, and the focal length change is adjusted so that the overlapping area of the actual face and the face frame in the mobile phone shooting preview interface reaches the first preset threshold. The second predetermined threshold may be fifty percent of the area of the face frame, and the first predetermined threshold may be ninety-nine percent of the area of the face frame.
Here, when the overlapping area of the target position image and the target view frame is smaller than a second preset threshold, the user needs to move the mobile phone left and right to make the overlapping area of the target position image and the target view frame reach the second preset threshold, otherwise, even if the user double-clicks the face frame, the automatic zoom function is not started.
According to the shooting method, under the condition that the overlapping area of the target position image of the shot object and the target view frame is larger than the first preset threshold value, the double-click face can automatically zoom, so that the target position image and the target view frame coincide with each other without the need of moving the user back and forth, the shooting time is reduced, and the situation that the best shooting opportunity is missed due to the fact that the user moves back and forth can be avoided.
Optionally, the shooting method in the embodiment of the present application further includes:
receiving a second input to the target view frame under the condition that the target position image is completely positioned in the target view frame and the overlapping area of the target position image and the target view frame is smaller than a first preset threshold value;
and responding to the second input, and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
As shown in fig. 4, when a distant animal is photographed, the animal is completely located in the target view frame, but the area of the overlapping region is smaller than a first preset threshold, and if the animal occupies only a small part of the middle position of the target view frame, at this time, a second input to the target view frame by the user may be received, and if the second input is a double-click input, automatic zooming may be implemented, so that the view frame is filled with the animal, thereby quickly implementing a perfect composition. Optionally, the photographing the subject includes:
receiving a third input of a shooting control in the shooting preview interface;
and responding to the third input, and shooting the shot object.
Here, when the overlapping area of the target position image of the subject and the target finder frame is greater than a first preset threshold, the user clicks a shooting button, and the subject can be shot based on the target composition view.
In the conventional composition scheme, composition recommendation is only carried out according to a shooting composition logic, so that the situation of recommending a half-length composition during panoramic shooting is easily caused.
In the shooting method provided by the embodiment of the present application, the executing subject may be a shooting device, or a control module for executing the shooting method in the shooting device. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
As shown in fig. 5, an embodiment of the present application provides a camera 500, including:
a first obtaining module 501, configured to obtain proportion information of a first image in a photographing preview interface, where the first image is an image of a target position of a photographed object;
a first determining module 502, configured to determine a target configuration view category according to a relationship between the proportion information and at least two preset value ranges, where each preset value range corresponds to one configuration view category;
a first display module 503, configured to display, in the photographing preview interface, target view frames corresponding to the target composition scenes, where areas of the target view frames corresponding to different composition scenes are different;
a shooting module 504, configured to shoot the object to be shot based on the target view frame, so as to obtain a target image.
Optionally, in the shooting device of the embodiment of the application, the first determining module is configured to, when a target value corresponding to the proportion information is within a target preset value range, use a composition scene corresponding to the target preset value range as the target composition scene;
or, under the condition that the target value corresponding to the proportion information is outside each preset value range, selecting the composition scene corresponding to the preset value range with the minimum target value difference as the target composition scene.
Optionally, the shooting module is configured to shoot the object when an overlapping area of the target position image of the object and the target view frame is greater than or equal to a first preset threshold.
Optionally, the shooting device of the embodiment of the present application further includes:
the first receiving module is used for receiving a first input to the target view frame under the condition that a partial image of the target position image is positioned in the target view frame and the overlapping area of the target position image and the target view frame is greater than or equal to a second preset threshold value and smaller than a first preset threshold value;
and the first response module is used for responding to the first input and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
Optionally, the shooting device of the embodiment of the present application further includes:
the second receiving module is used for receiving a second input to the target view frame under the condition that the target position image is completely positioned in the target view frame and the overlapping area of the target position image and the target view frame is smaller than a first preset threshold value;
and the second response module is used for responding to the second input and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
The shooting device of the embodiment of the application determines a proper composition scene according to the proportion information of the image of the target position of the shot object in the shooting preview interface; and displaying a corresponding target view-finding frame according to the determined composition scene, and shooting based on the target view-finding frame, thereby realizing the purpose of automatically selecting a proper composition scene according to the shot object.
The shooting device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to 4, and is not described here again to avoid repetition.
The shooting device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to obtain proportion information of a first image in a photographing preview interface, where the first image is an image of a target position of a photographed object; determining a target composition view type according to the relation between the proportion information and at least two preset value ranges, wherein each preset value range corresponds to one composition view type;
a display unit 706, configured to display, in the photographing preview interface, target view frames corresponding to the target composition scenes, where areas of the target view frames corresponding to different composition scenes are different; and the processor 710 is configured to shoot the shot object based on the target view frame to obtain a target image.
Optionally, the processor 710 is configured to, when a target value corresponding to the proportion information is located within a target preset value range, take a composition scene corresponding to the target preset value range as the target composition scene;
or, under the condition that the target value corresponding to the proportion information is out of each preset value range, selecting the composition scene corresponding to the preset value range with the minimum difference value of the target value as the target composition scene.
Optionally, the processor 710 is configured to capture the subject when an overlapping area of the target position image of the subject and the target finder frame is greater than or equal to a first preset threshold.
Optionally, the user input unit 707 is configured to receive a first input to the target finder frame when a partial image of the target position image is located in the target finder frame and an overlapping area of the target position image and the target finder frame is greater than or equal to a second preset threshold and smaller than the first preset threshold;
the processor 710 is configured to perform, in response to the first input, automatic zoom processing until an overlapping area between the target position image of the subject and the target finder frame is greater than or equal to the first preset threshold.
Optionally, the user input unit 707 is configured to receive a second input to the target finder frame if the target position image is completely located in the target finder frame and an overlapping area of the target position image and the target finder frame is smaller than a first preset threshold;
the processor 710 is configured to perform, in response to the second input, an automatic zoom process until an overlapping area of the target position image of the subject and the target view frame is greater than or equal to the first preset threshold.
The electronic equipment of the embodiment of the application determines a proper composition scene according to the proportion information of the image of the target position of the shot object in the shooting preview interface; and displaying a corresponding target view-finding frame according to the determined composition scene, and shooting based on the target view-finding frame, thereby realizing the purpose of automatically selecting a proper composition scene according to the shot object.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two portions, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing shooting method embodiment, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A photographing method, characterized by comprising:
acquiring proportion information of a first image in a photographing preview interface, wherein the first image is an image of a target position of a photographed object;
determining a target mapping view category according to the relation between the proportion information and at least two preset value ranges and the posture of the shot object, wherein each preset value range corresponds to one mapping view category;
displaying target view frames corresponding to the target composition scenes in the photographing preview interface, wherein the areas of the target view frames corresponding to different composition scenes are different;
shooting the shot object based on the target view-finding frame to obtain a target image;
the shooting the shot object based on the target view frame comprises the following steps:
shooting the shot object under the condition that the overlapping area of the target position image of the shot object and the target view frame is larger than or equal to a first preset threshold value;
in the case that a partial image of the target position image is located in the target finder frame and an overlapping area of the target position image and the target finder frame is greater than or equal to a second preset threshold and less than the first preset threshold,
receiving a first input to the target viewfinder;
and responding to the first input, and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
2. The shooting method according to claim 1, wherein the determining a target composition scene according to the relationship between the proportion information and at least two preset value ranges comprises:
taking the composition view corresponding to the target preset value range as the target composition view when the target value corresponding to the proportion information is within the target preset value range;
or, under the condition that the target value corresponding to the proportion information is out of each preset value range, selecting the composition scene corresponding to the preset value range with the minimum difference value of the target value as the target composition scene.
3. The photographing method according to claim 1, further comprising:
receiving a second input to the target view frame when the target position image is completely positioned in the target view frame and the overlapping area of the target position image and the target view frame is smaller than the first preset threshold;
and responding to the second input, and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
4. A camera, comprising:
the first acquisition module is used for acquiring the proportion information of a first image in a photographing preview interface, wherein the first image is an image of the target position of a photographed object;
the first determination module is used for determining a target mapping view according to the relation between the proportion information and at least two preset value ranges and the posture of the shot object, wherein each preset value range corresponds to one mapping view;
the first display module is used for displaying target view frames corresponding to the target composition scenes in the photographing preview interface, wherein the areas of the target view frames corresponding to different composition scenes are different;
the shooting module is used for shooting the shot object based on the target view-finding frame to obtain a target image;
the shooting module is used for shooting the shot object under the condition that the overlapping area of the target position image of the shot object and the target view frame is larger than or equal to a first preset threshold;
the first receiving module is used for receiving a first input to the target view frame under the condition that a partial image of the target position image is located in the target view frame and an overlapping area of the target position image and the target view frame is greater than or equal to a second preset threshold and smaller than a first preset threshold;
and the first response module is used for responding to the first input and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
5. The shooting device according to claim 4, wherein the first determining module is configured to, when a target value corresponding to the proportion information is within a target preset value range, take a composition scene corresponding to the target preset value range as the target composition scene;
or, under the condition that the target value corresponding to the proportion information is out of each preset value range, selecting the composition scene corresponding to the preset value range with the minimum difference value of the target value as the target composition scene.
6. The photographing apparatus according to claim 4, further comprising:
the second receiving module is used for receiving second input to the target view frame under the condition that the target position image is completely positioned in the target view frame and the overlapping area of the target position image and the target view frame is smaller than the first preset threshold;
and the second response module is used for responding to the second input and performing automatic zooming processing until the overlapping area of the target position image of the shot object and the target view frame is greater than or equal to the first preset threshold value.
7. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 3.
8. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 3.
CN202011534607.XA 2020-12-23 2020-12-23 Shooting method and device and electronic equipment Active CN112653841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011534607.XA CN112653841B (en) 2020-12-23 2020-12-23 Shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011534607.XA CN112653841B (en) 2020-12-23 2020-12-23 Shooting method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112653841A CN112653841A (en) 2021-04-13
CN112653841B true CN112653841B (en) 2023-01-24

Family

ID=75359321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011534607.XA Active CN112653841B (en) 2020-12-23 2020-12-23 Shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112653841B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784039B (en) * 2021-08-03 2023-07-11 北京达佳互联信息技术有限公司 Head portrait processing method, head portrait processing device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131418A (en) * 2016-07-19 2016-11-16 腾讯科技(深圳)有限公司 A kind of composition control method, device and photographing device
CN111263066A (en) * 2020-02-18 2020-06-09 Oppo广东移动通信有限公司 Composition guiding method, composition guiding device, electronic equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004118020A (en) * 2002-09-27 2004-04-15 Fuji Photo Film Co Ltd Image forming method and image forming apparatus for color electrophotograph, and color electrophotographic print
JP4611069B2 (en) * 2004-03-24 2011-01-12 富士フイルム株式会社 Device for selecting an image of a specific scene, program, and recording medium recording the program
CN105100625B (en) * 2015-08-27 2018-06-12 华南理工大学 A kind of character image auxiliary shooting method and system based on image aesthetics
CN107509032A (en) * 2017-09-08 2017-12-22 维沃移动通信有限公司 One kind is taken pictures reminding method and mobile terminal
CN107749947A (en) * 2017-09-28 2018-03-02 努比亚技术有限公司 Photographic method, mobile terminal and computer-readable recording medium
CN107566734B (en) * 2017-09-29 2020-03-17 努比亚技术有限公司 Intelligent control method, terminal and computer readable storage medium for portrait photographing
CN108513066A (en) * 2018-03-28 2018-09-07 努比亚技术有限公司 It takes pictures composition guidance method, mobile terminal and storage medium
CN109361865B (en) * 2018-11-21 2020-08-04 维沃移动通信(杭州)有限公司 Shooting method and terminal
CN110868542A (en) * 2019-11-22 2020-03-06 深圳传音控股股份有限公司 Photographing method, device and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131418A (en) * 2016-07-19 2016-11-16 腾讯科技(深圳)有限公司 A kind of composition control method, device and photographing device
CN111263066A (en) * 2020-02-18 2020-06-09 Oppo广东移动通信有限公司 Composition guiding method, composition guiding device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112653841A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN113840070B (en) Shooting method, shooting device, electronic equipment and medium
CN112312016B (en) Shooting processing method and device, electronic equipment and readable storage medium
CN112637500B (en) Image processing method and device
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
WO2022161340A1 (en) Image display method and apparatus, and electronic device
CN113329172B (en) Shooting method and device and electronic equipment
CN112887617B (en) Shooting method and device and electronic equipment
CN111654624B (en) Shooting prompting method and device and electronic equipment
CN112738397A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112532881A (en) Image processing method and device and electronic equipment
CN112422798A (en) Photographing method and device, electronic equipment and storage medium
CN111770277A (en) Auxiliary shooting method, terminal and storage medium
CN113709368A (en) Image display method, device and equipment
CN112653841B (en) Shooting method and device and electronic equipment
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
US20230274388A1 (en) Photographing Method, and Electronic Device and Non-Transitory Readable Storage Medium
CN112153291B (en) Photographing method and electronic equipment
CN114245018A (en) Image shooting method and device
CN115134532A (en) Image processing method, image processing device, storage medium and electronic equipment
CN111654620B (en) Shooting method and device
CN114430456A (en) Image capturing method, image capturing apparatus, and storage medium
CN112367464A (en) Image output method and device and electronic equipment
CN112312024A (en) Photographing processing method and device and storage medium
CN113873160B (en) Image processing method, device, electronic equipment and computer 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
GR01 Patent grant
GR01 Patent grant