CN112653841A - Shooting method and device and electronic equipment - Google Patents
Shooting method and device and electronic equipment Download PDFInfo
- Publication number
- CN112653841A CN112653841A CN202011534607.XA CN202011534607A CN112653841A CN 112653841 A CN112653841 A CN 112653841A CN 202011534607 A CN202011534607 A CN 202011534607A CN 112653841 A CN112653841 A CN 112653841A
- Authority
- CN
- China
- Prior art keywords
- target
- image
- shooting
- composition
- frame
- 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
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/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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
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 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. The method and the device can achieve the purpose of automatically selecting the proper composition scene according to the shot object.
Description
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-guided composition mode provides some reference character gestures to guide the user to compose a composition, or guides the user to compose a composition by using 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 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 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 determination module is used for determining a target mapping view category according to the relation between the proportion information and at least two preset value ranges, wherein each preset value range corresponds to one mapping view category;
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 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 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.
Here, the imaging target person is exemplified. 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 composition 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 scenes is 0.1404-0.6833, and the preset value range corresponding to the chest image scenes is 0.0371-0.1065; the range of the preset value corresponding to the bust scene is 0.0231-0.0353; the preset numerical value 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 scene 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 attitude of the subject may be combined, and if the subject is in a standing attitude, the configuration view may be accurately selected.
Step 103: and 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.
Because the proportion information of the face image in each image forming scene is different, the size of the displayed target view-finding frame is different, and the target view-finding frame can be a face frame. The face frame corresponding to the close-up view 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 configuration view, 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 configuration view is determined to be the large half configuration view, and the corresponding target view frame is displayed.
According to the embodiment of the application, the picture composition type can be simply and accurately determined through the preset value range corresponding to each picture composition type, and therefore a user can shoot high-quality images conveniently according to the picture composition type.
Optionally, the photographing 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 larger than or equal to a first preset threshold value.
For example, the target view frame is an elliptical face frame, and 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, the subject is photographed, 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 preset threshold may be fifty percent of the area of the face frame, and the first preset 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 overlapped area 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 from the user can be received, and if the animal performs a double-click input, an automatic zoom can be performed, so that the view frame is filled with the animal, and a perfect composition can be rapidly realized. 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 larger than the first preset threshold, the user clicks the photographing button, and the purpose of photographing the subject based on the target composition view can be achieved.
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 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 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 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.
Optionally, the shooting device of the embodiment of the present application further includes:
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 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 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.
The shooting device provided in the embodiment of the present application can implement each process implemented by 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, or may 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 (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments 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 an 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 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;
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 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 view 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, 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.
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 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.
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 parts of 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 on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, 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 phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of 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 involved, e.g., the methods described may be performed in an order different than 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 (12)
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 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 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.
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 shooting method according to claim 1, wherein the shooting 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 larger than or equal to a first preset threshold value.
4. The photographing method according to claim 3, further comprising:
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.
5. The photographing method according to claim 3, 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.
6. 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 category according to the relation between the proportion information and at least two preset value ranges, wherein each preset value range corresponds to one mapping view category;
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 frame to obtain a target image.
7. The shooting device according to claim 6, 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.
8. The shooting device according to claim 6, wherein the shooting module is configured to shoot the subject if 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.
9. The imaging apparatus according to claim 8, further comprising:
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.
10. The imaging apparatus according to claim 8, 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.
11. 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 5.
12. 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 5.
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 true CN112653841A (en) | 2021-04-13 |
CN112653841B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113784039A (en) * | 2021-08-03 | 2021-12-10 | 北京达佳互联信息技术有限公司 | Head portrait processing method and device, electronic equipment and computer readable storage medium |
Citations (11)
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 |
JP2005310123A (en) * | 2004-03-24 | 2005-11-04 | Fuji Photo Film Co Ltd | Apparatus for selecting image of specific scene, program therefor and recording medium with the program recorded thereon |
CN105100625A (en) * | 2015-08-27 | 2015-11-25 | 华南理工大学 | Figure image auxiliary shooting method and system based on image aesthetics |
CN106131418A (en) * | 2016-07-19 | 2016-11-16 | 腾讯科技(深圳)有限公司 | A kind of composition control method, device and photographing device |
CN107509032A (en) * | 2017-09-08 | 2017-12-22 | 维沃移动通信有限公司 | One kind is taken pictures reminding method and mobile terminal |
CN107566734A (en) * | 2017-09-29 | 2018-01-09 | 努比亚技术有限公司 | Portrait is taken pictures intelligent control method, terminal and computer-readable recording medium |
CN107749947A (en) * | 2017-09-28 | 2018-03-02 | 努比亚技术有限公司 | Photographic method, mobile terminal and computer-readable recording medium |
CN108513066A (en) * | 2018-03-28 | 2018-09-07 | 努比亚技术有限公司 | It takes pictures composition guidance method, mobile terminal and storage medium |
CN109361865A (en) * | 2018-11-21 | 2019-02-19 | 维沃移动通信(杭州)有限公司 | A kind of image pickup method and terminal |
CN110868542A (en) * | 2019-11-22 | 2020-03-06 | 深圳传音控股股份有限公司 | Photographing method, device and equipment |
CN111263066A (en) * | 2020-02-18 | 2020-06-09 | Oppo广东移动通信有限公司 | Composition guiding method, composition guiding device, electronic equipment and storage medium |
-
2020
- 2020-12-23 CN CN202011534607.XA patent/CN112653841B/en active Active
Patent Citations (11)
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 |
JP2005310123A (en) * | 2004-03-24 | 2005-11-04 | Fuji Photo Film Co Ltd | Apparatus for selecting image of specific scene, program therefor and recording medium with the program recorded thereon |
CN105100625A (en) * | 2015-08-27 | 2015-11-25 | 华南理工大学 | Figure image auxiliary shooting method and system based on image aesthetics |
CN106131418A (en) * | 2016-07-19 | 2016-11-16 | 腾讯科技(深圳)有限公司 | A kind of composition control method, device and photographing device |
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 |
CN107566734A (en) * | 2017-09-29 | 2018-01-09 | 努比亚技术有限公司 | Portrait is taken pictures intelligent control method, terminal and computer-readable recording medium |
CN108513066A (en) * | 2018-03-28 | 2018-09-07 | 努比亚技术有限公司 | It takes pictures composition guidance method, mobile terminal and storage medium |
CN109361865A (en) * | 2018-11-21 | 2019-02-19 | 维沃移动通信(杭州)有限公司 | A kind of image pickup method and terminal |
CN110868542A (en) * | 2019-11-22 | 2020-03-06 | 深圳传音控股股份有限公司 | Photographing method, device and equipment |
CN111263066A (en) * | 2020-02-18 | 2020-06-09 | Oppo广东移动通信有限公司 | Composition guiding method, composition guiding device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
郎璐红: "嵌入式ARM系统中图像的识别方法研究", 《齐齐哈尔大学学报(自然科学版)》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113784039A (en) * | 2021-08-03 | 2021-12-10 | 北京达佳互联信息技术有限公司 | Head portrait processing method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112653841B (en) | 2023-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
CN112532881B (en) | Image processing method and device and electronic equipment | |
CN112637500B (en) | Image processing method and device | |
CN112312016B (en) | Shooting processing method and device, electronic equipment and readable storage medium | |
CN113840070B (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112437232A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN113329172B (en) | Shooting method and device and electronic equipment | |
CN113141450A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN113709368A (en) | Image display method, device and equipment | |
CN113014798A (en) | Image display method and device and electronic equipment | |
CN111654624B (en) | Shooting prompting method and device and electronic equipment | |
CN112954214A (en) | Shooting method and device, electronic equipment and storage medium | |
CN112422798A (en) | Photographing method and device, electronic equipment and storage medium | |
CN111770277A (en) | Auxiliary shooting method, terminal and storage medium | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
US20230274388A1 (en) | Photographing Method, and Electronic Device and Non-Transitory Readable Storage Medium | |
CN112887624B (en) | Shooting method and device and electronic equipment | |
CN114245018A (en) | Image shooting method and device | |
CN112153291B (en) | Photographing method and electronic equipment | |
CN111654620B (en) | Shooting method and device | |
CN115134532A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN111654623B (en) | Photographing method and device and electronic equipment | |
CN114025100A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
CN112367464A (en) | Image output method and device and electronic equipment | |
CN114430456A (en) | Image capturing method, image capturing apparatus, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |