CN108924412B - Shooting method and terminal equipment - Google Patents
Shooting method and terminal equipment Download PDFInfo
- Publication number
- CN108924412B CN108924412B CN201810652855.0A CN201810652855A CN108924412B CN 108924412 B CN108924412 B CN 108924412B CN 201810652855 A CN201810652855 A CN 201810652855A CN 108924412 B CN108924412 B CN 108924412B
- Authority
- CN
- China
- Prior art keywords
- shooting
- prompt information
- target
- head
- orientation
- 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
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/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a shooting method and terminal equipment, wherein the method comprises the following steps: acquiring a reference image matched with a preview image displayed on a shooting preview interface; generating shooting prompt information of a target body part of a target shooting object in the preview image based on the reference image and the preview image; displaying the shooting prompt information on the shooting preview interface; and executing shooting operation and outputting a target image when the target body part is adjusted to the shooting posture indicated by the shooting prompt information. By the shooting method provided by the invention, the user can easily shoot the image with ideal composition without the instruction of a photographer.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a shooting method and terminal equipment.
Background
With the continuous development of electronic products, terminal equipment with a shooting function is more and more popular, a user can shoot by using the terminal equipment at any time and any place, an obtained image is obtained by shooting, convenience and rapidness are achieved, and the user can upload the shot image to the internet frequently to share the image with other people. The user terminal equipment has basically replaced the traditional camera for shooting.
At present, the photographing function of terminal equipment is very rich, the terminal equipment with double cameras can support a flash lamp photographing mode and a professional mode, the terminal equipment with the double cameras can support a portrait blurring mode, and the functions of an AR (Augmented Reality) camera, an AR sticker and the like are provided by combining part of the terminal equipment with virtual and real technologies. These camera functions of the terminal device are all for users to be able to take more excellent and interesting images. Although the current terminal equipment has abundant photographing functions, the user can easily photograph very clear and interesting images, the photographing of the images with reasonable layout needs the guidance of a photographer, and the difficulty of photographing ideal composition images by common users is very high.
Disclosure of Invention
The embodiment of the invention provides a shooting method, which aims to solve the problem that the difficulty of shooting an image with an ideal composition is high.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shooting method, where the method includes: acquiring a reference image matched with a preview image displayed on a shooting preview interface; generating shooting prompt information of a target body part of a target shooting object in the preview image based on the reference image and the preview image; displaying the shooting prompt information on the shooting preview interface; executing shooting operation and outputting a target image under the condition that the target body part is adjusted to the shooting posture indicated by the shooting prompt information; wherein the target body part comprises at least one of a foot and a head.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: the acquisition module is used for acquiring a reference image matched with a preview image displayed on the shooting preview interface; the generating module is used for generating shooting prompt information of a target body part of a target shooting object in the preview image based on the reference image and the preview image; the display module is used for displaying the shooting prompt information on the shooting preview interface; the shooting module is used for executing shooting operation and outputting a target image under the condition that the target body part is adjusted to the shooting posture indicated by the shooting prompt information; wherein the target body part comprises at least one of a foot and a head.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements any of the steps of the shooting method described in the embodiment of the present invention.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the shooting methods described in the embodiments of the present invention.
In the embodiment of the invention, the shooting prompt information of the target body part of the target shooting object is generated and displayed through the preview image and the reference image, so that a user can adjust the shooting posture of the target shooting object according to the shooting prompt information, and an image with an ideal composition can be easily shot without a photographer for guiding the user.
Drawings
Fig. 1 is one of flowcharts of a photographing method provided according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a photographing method according to an embodiment of the present invention;
FIG. 3 is a schematic view of a display interface of the shooting prompt message;
FIG. 4 is a second schematic view of a display interface of the shooting prompt message;
FIG. 5 is a third schematic view of a display interface of the shooting prompt message;
FIG. 6 is a fourth schematic view of a display interface of the shooting prompt message;
FIG. 7 is a fifth schematic view of a display interface of the shooting prompt message;
FIG. 8 is a schematic view of a composition completion indicator display interface;
fig. 9 is a block diagram of a terminal device of the embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a photographing method according to an embodiment of the present invention is shown.
The shooting method provided by the embodiment of the invention comprises the following steps:
step 101: and acquiring a reference image matched with the preview image displayed on the shooting preview interface.
The terminal equipment can acquire a preview image in the shooting preview picture, the preview image is uploaded to the cloud server, and the cloud service feeds back a reference image matched with the preview image to the terminal equipment. The reference image is an image which is similar to the shooting scene of the preview image, is similar to a shooting object, and has reasonable layout and aesthetic feeling.
Step 102: based on the reference image and the preview image, photographing prompt information of a target body part of a target photographing object in the preview image is generated.
Wherein the target body part comprises at least one of a foot and a head. In the case where the target body part includes a foot, the photographing prompt information of the foot may be foot reference position area information; in the case where the target body part includes a head, the photographing prompt information of the head may be head reference position prompt information and/or head orientation prompt information.
Step 103: and displaying shooting prompt information on a shooting preview interface.
During specific display, only the shooting prompt information of a certain target body part may be displayed on the shooting preview interface, or the shooting prompt information of each target body part may be displayed on the shooting preview interface at the same time, which is not limited in the embodiment of the present invention. The shooting prompt information can be text information or graphic information.
Step 104: and when the target body part is adjusted to the shooting posture indicated by the shooting prompt information, executing shooting operation and outputting a target image.
In the case where the target body part is a head, the photographing gesture may include, but is not limited to: head position and head orientation.
In the specific implementation process, the terminal equipment can automatically execute shooting operation to shoot a target image; the terminal device may also display an identifier indicating completion of composition in a case where it is determined that the target body part is adjusted to the photographing posture indicated by the photographing prompt information, with which the user can determine completion of composition and then manually trigger the terminal device to perform a photographing operation.
According to the shooting method provided by the embodiment of the invention, the shooting prompt information of the target body part of the target shooting object is generated and displayed through the preview image and the reference image, and a user can adjust the shooting posture of the target shooting object according to the shooting prompt information, so that the terminal equipment can shoot an image with an ideal composition.
Referring to fig. 2, a second flowchart of the shooting method according to the embodiment of the present invention is shown.
The shooting method in the embodiment of the invention specifically comprises the following steps:
step 201: and acquiring a reference image matched with the preview image displayed on the shooting preview interface.
The terminal equipment can acquire a preview image in the shooting preview picture, upload the preview image to the cloud server, and acquire a reference image matched with the preview image from the cloud server. In a specific implementation process, the terminal device may further extract image parameters such as image layout information, image shooting object information, an image background and the like from the preview image, upload the extracted image parameters to the cloud server, and acquire a reference image matched with the uploaded image parameters from the cloud server.
Step 202: based on the reference image and the preview image, photographing prompt information of a target body part of a target photographing object in the preview image is generated.
The target body part includes at least one of a foot and a head. The shooting prompt information may include head reference position prompt information and/or head orientation prompt information, and may further include foot reference position prompt information.
In the case where the target body part includes a foot, the foot reference position indication information of the target photographic subject in the preview image is determined based on the reference image and the preview image.
In the case where the target body part includes a head, head reference position cue information of the target photographic subject in the preview image is determined based on the reference image and the preview image.
In a specific implementation process, in addition to the head reference position prompt information, head orientation prompt information may also be determined, specifically: determining a target orientation of a head of the target photographic object in the preview image based on the reference image and the preview image; based on the target orientation, head orientation cue information is generated.
Two preferred ways of generating head orientation cues are as follows:
determining a target reference object based on the target orientation; generating head orientation adjustment information based on the target reference;
wherein the head orientation adjustment information is used to instruct the user to gaze at the target reference. The manner of generating the head orientation adjustment information based on the target reference object can more prominently prompt the adjustment direction of the head orientation of the user.
For example: as shown in fig. 3, the preview image includes a target photographic subject, the upper left corner of the target photographic subject includes a tree 301, and if it is determined that the head orientation of the target photographic subject needs to be adjusted in the upper right direction relative to the photographic subject, the tree 301 may be determined as the target reference, and a prompt message "please look up the tree on the right side" 302 is displayed to prompt the user to watch the target reference so as to guide the head of the target photographic subject to be adjusted in the direction of the target reference.
A second mode of generating a head orientation adjustment guide line based on the target orientation;
wherein the head-facing adjustment guide line is for guiding the user to adjust the head to a direction indicated by the guide line. The guideline may be a solid line or a dashed line containing the direction of the arrow, the direction indicated by the guideline being the orientation of the user's head. This kind of mode of indicateing user's head orientation adjustment direction through the guide wire can indicate the adjustment direction of user's head orientation more accurately. As shown in fig. 4, a guide line 401 displayed in the shooting preview interface may instruct the user to adjust the head orientation to the direction indicated by the guide line 401.
In a specific implementation process, a person skilled in the art may select any one of the above manners for generating the head orientation prompt information according to actual requirements.
After the reference image is acquired, the number of persons included in the preview image can be recognized, and if the number of persons is 1, step 202 and the subsequent steps are executed. The method is suitable for single shooting, and the accuracy of composition adjustment in the single shooting process can be improved. Of course, the number of persons in the preview image need not be determined by recognition.
Step 203: and displaying head reference position prompt information and/or head orientation prompt information on the shooting preview interface.
In the embodiment of the present invention, the head reference position prompt information and the head orientation prompt information are displayed on the shooting preview interface at the same time. As shown in fig. 5, the target photographic subject is a person, the head of the person is marked by a solid circle 501, a dashed circle 502 displayed at the upper left corner of the preview image is head reference position indication information, and a guide line 503 with a downward arrow displayed in the preview image is head orientation indication information, that is, a guide line for guiding the user to lower the head.
The user can know, through the dashed circle 502 in the preview image, that the head is adjusted to be within the dashed circle when adjusting the composition, and the user can know, through the guide line 503 of the preview image, that the head is adjusted to the direction indicated by the guide line 503. In a preferred mode, when the user uses the composition guidance for the first time, the virtual circle 502 and the guide line 503 are displayed in the preview image, and a composition adjustment guidance prompt is given to prompt the user to adjust the target photographic subject to be within the virtual circle 502 and to adjust the head orientation to the direction indicated by the guide line 503, so that the user is guided to complete the composition adjustment. The method for guiding the user to adjust the composition can facilitate the user to master the composition adjusting operation mode in a short time, and shorten the time consumed by enough adjustment.
In fig. 5, the head reference position prompt information and the head orientation prompt information are displayed simultaneously on the shooting preview interface, and this way of displaying the head reference position prompt information and the head orientation prompt information simultaneously enables the layout of the target shooting object to be adjusted on the shooting preview interface to be more reasonable and the posture to be more coordinated. In a specific implementation process, only the head reference position prompt information or only the head orientation prompt information may be displayed as shown in fig. 3 and 4. Furthermore, in addition to the shooting prompt information of the head portion, the shooting prompt information of the foot portion may be displayed simultaneously or only the shooting prompt information of the foot portion may be displayed on the shooting preview interface.
Specifically, the manner of displaying only the shooting prompt information of the foot part is as follows: displaying a foot reference position area on a shooting preview interface; the shooting prompt information comprises foot reference position prompt information, and the foot reference position prompt information can be represented by a figure in any appropriate shape.
The manner of simultaneously displaying the imaging prompt information of the foot and the imaging prompt information of the head can be shown with reference to fig. 6 and 7.
As shown in fig. 6, the head of the target photographic subject is marked with a solid coil 601 in the photographic preview interface, while head reference position prompt information, i.e., a dotted coil 602, indicating a first adjustment guide line 603 for adjusting the head to the dotted coil 602, foot reference position prompt information, i.e., a dotted coil 604, and a second adjustment guide line 605 for prompting the user to adjust the foot to the dotted coil 604 are displayed in the photographic preview interface.
As shown in fig. 7, when the shooting guidance information is displayed on the shooting preview interface, the foot reference position guidance information and the head direction adjustment guidance information may be displayed simultaneously. Specifically, the display in fig. 7 shows a head orientation adjustment guide line 701, a prompt message 702 "please look up the tree on the right side" for prompting the user to adjust the head orientation according to the guide line, a virtual circle 703 as a foot reference position prompt message, and an adjustment guide line 704 for prompting the user to adjust the foot to the virtual circle 703. The shooting prompt information display mode not only can adjust the head and the feet, but also can provide specific adjustment guide information, and is convenient for user operation.
Step 204: and when the target body part is adjusted to the shooting posture indicated by the shooting prompt information, executing shooting operation and outputting a target image.
Step 203 is to display the detailed implementation of the shooting prompt information on the shooting preview interface. After the shooting prompt information is displayed, the user can correspondingly adjust the target body part according to the shooting prompt information. The terminal equipment can automatically execute shooting operation to shoot a target image under the condition that the target body part is adjusted to the shooting posture indicated by the shooting prompt information, so that the image with the finished composition can be captured in time; the terminal device may also display an identifier indicating completion of composition in a case where it is determined that the target body part is adjusted to the photographing posture indicated by the photographing prompt information, with which the user can determine completion of composition and then manually trigger the terminal device to perform a photographing operation.
Fig. 8 is a diagram showing a photographing preview interface with a composition completion flag. After the user adjusts the head orientation and the foot position of the target photographic subject with reference to the photographing prompt information described in fig. 7, the composition completion indicator 705 is displayed in the photographing preview interface.
It should be noted that, if the terminal device does not monitor that the target body part is adjusted to the shooting posture indicated by the shooting prompt information within the preset time length after the shooting prompt information is displayed on the shooting preview interface, the display of the shooting prompt information in the shooting preview interface may be cancelled to finish the composition adjustment. The method can avoid the problem that the image shooting takes long time due to long-time blind waiting for the user to adjust the composition.
According to the shooting method provided by the embodiment of the invention, the shooting prompt information of the target body part of the target shooting object is generated and displayed through the preview image and the reference image, and a user can adjust the shooting posture of the target shooting object according to the shooting prompt information, so that the terminal equipment can shoot an image with an ideal composition. In addition, the head reference position area and the head orientation prompt information are further displayed in the shooting preview interface, so that the layout of the target shooting object in the shooting preview interface after adjustment can be more reasonable, and the posture can be more harmonious.
Referring to fig. 9, a block diagram of a terminal device according to an embodiment of the present invention is shown. The terminal device can realize the details of the focusing method in the foregoing embodiments, and achieve the same effect.
The terminal device of the embodiment of the invention comprises: an obtaining module 801, configured to obtain a reference image matched with a preview image displayed on a shooting preview interface; a generating module 802, configured to generate, based on the reference image and the preview image, shooting prompt information of a target body part of a target shooting object in the preview image; a display module 803, configured to display the shooting prompt information on the shooting preview interface; a shooting module 804, configured to perform a shooting operation and output a target image when the target body part is adjusted to the shooting posture indicated by the shooting prompt information; wherein the target body part comprises at least one of a foot, a head; the acquisition module, the generation module, the display module and the shooting module are connected in sequence.
Preferably, the display module includes: the first display sub-module is used for displaying head reference position prompt information and/or head orientation prompt information on the shooting preview interface; wherein the target body part comprises a head, and the shooting prompt information comprises the head reference position prompt information and/or head orientation prompt information.
Preferably, the generating module comprises: a determination sub-module configured to determine a target orientation of a head of a target photographic subject in the preview image based on the reference image and the preview image; wherein the target body part comprises a head; and the generating submodule is used for generating head orientation prompt information based on the target orientation. And the determining submodule and the generating submodule are sequentially connected.
Preferably, the generation submodule is specifically configured to: generating a head orientation adjustment guideline based on the target orientation; wherein the head-facing adjustment guide line is for guiding a user to adjust the head to a direction indicated by the guide line.
Preferably, the generating sub-module comprises: a reference object determination unit for determining a target reference object based on the target orientation; an adjustment information generation unit configured to generate head orientation adjustment information based on the target reference object; wherein the head orientation adjustment information is used to instruct a user to gaze at the target reference. The reference object determining unit is connected with the adjusting information generating unit in sequence.
Preferably, the display module includes: the second display sub-module is used for displaying the prompt information of the reference position of the foot part on the shooting preview interface; the target body part comprises feet, and the shooting prompt information comprises prompt information of the reference positions of the feet.
The terminal device provided in the embodiment of the present invention can implement each process implemented by the terminal device in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
According to the terminal device provided by the embodiment of the invention, the shooting prompt information of the target body part of the target shooting object is generated and displayed through the preview image and the reference image, so that a user can adjust the shooting posture of the target shooting object according to the shooting prompt information, and an ideal picture of a composition can be easily shot without a photographer for guiding the user.
Referring to fig. 10, a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention is shown.
Fig. 10 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 10 is not intended to be limiting, and that terminal devices may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 910, configured to obtain a reference image matching a preview image displayed on the shooting preview interface; generating shooting prompt information of a target body part of a target shooting object in the preview image based on the reference image and the preview image; displaying the shooting prompt information on the shooting preview interface; executing shooting operation and outputting a target image under the condition that the target body part is adjusted to the shooting posture indicated by the shooting prompt information; wherein the target body part comprises at least one of a foot and a head.
According to the terminal device provided by the embodiment of the invention, the shooting prompt information of the target body part of the target shooting object is generated and displayed through the preview image and the reference image, so that a user can adjust the shooting posture of the target shooting object according to the shooting prompt information, and an ideal picture of a composition can be easily shot without a photographer for guiding the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 910; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 902, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the terminal apparatus 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive audio or video signals. The input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 901 in case of the phone call mode.
The terminal device 900 also includes at least one sensor 905, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 9061 and/or backlight when the terminal device 900 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 906 is used to display information input by the user or information provided to the user. The Display unit 906 may include a Display panel 9061, and the Display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near the touch panel 9071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 907 may include other input devices 9072 in addition to the touch panel 9071. Specifically, the other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. Although in fig. 10, the touch panel 9071 and the display panel 9061 are implemented as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 908 is an interface for connecting an external device to the terminal apparatus 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal apparatus 900 or may be used to transmit data between the terminal apparatus 900 and external devices.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the terminal device, connects various parts of the entire terminal device with various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 909 and calling data stored in the memory 909, thereby performing overall monitoring of the terminal device. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The terminal device 900 may further include a power supply 911 (e.g., a battery) for supplying power to various components, and preferably, the power supply 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the terminal device 900 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 910, a memory 909, and a computer program that is stored in the memory 909 and can be run on the processor 910, and when the computer program is executed by the processor 910, the processes of the foregoing shooting method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. A photographing method, characterized in that the method comprises:
acquiring a reference image matched with a preview image displayed on a shooting preview interface;
generating shooting prompt information of a target body part of a target shooting object in the preview image based on the reference image and the preview image;
displaying the shooting prompt information on the shooting preview interface; executing shooting operation and outputting a target image under the condition that the target body part is adjusted to the shooting posture indicated by the shooting prompt information;
wherein the target body part comprises a foot and a head;
in a case where the target body part includes a head, the generating, based on the reference image and the preview image, shooting prompt information of the target body part of the target shooting object in the preview image includes:
determining a target orientation of a head of a target photographic object in the preview image based on the reference image and the preview image;
generating head orientation prompt information based on the target orientation;
wherein the head orientation prompt information is used for instructing a user to adjust the orientation of the head;
generating head orientation prompt information based on the target orientation, including:
determining a target reference based on the target orientation;
generating head orientation adjustment information based on the target reference;
wherein the head orientation adjustment information is used to instruct a user to gaze at the target reference;
in a case that the target body part includes a foot, the displaying the photographing prompt information on the photographing preview interface includes:
displaying prompt information of the reference position of the foot part on the shooting preview interface;
wherein the shooting prompt information comprises prompt information of the reference position of the foot.
2. The method of claim 1, wherein the target body part comprises a head;
the displaying the shooting prompt information on the shooting preview interface comprises:
displaying head reference position prompt information and/or head orientation prompt information on the shooting preview interface;
wherein the shooting prompt information comprises the head reference position prompt information and/or the head orientation prompt information.
3. The method of claim 1, wherein generating head orientation hint information based on the target orientation further comprises:
generating a head orientation adjustment guideline based on the target orientation;
wherein the head-facing adjustment guide line is for guiding a user to adjust the head to a direction indicated by the guide line.
4. A terminal device, characterized in that the terminal device comprises:
the acquisition module is used for acquiring a reference image matched with a preview image displayed on the shooting preview interface;
the generating module is used for generating shooting prompt information of a target body part of a target shooting object in the preview image based on the reference image and the preview image;
the display module is used for displaying the shooting prompt information on the shooting preview interface;
the shooting module is used for executing shooting operation and outputting a target image under the condition that the target body part is adjusted to the shooting posture indicated by the shooting prompt information;
wherein the target body part comprises a foot and a head;
the generation module comprises:
a determination sub-module configured to determine a target orientation of a head of a target photographic subject in the preview image based on the reference image and the preview image; wherein the target body part comprises a head;
the generating submodule is used for generating head orientation prompt information based on the target orientation; wherein the head orientation prompt information is used for instructing a user to adjust the orientation of the head;
the display module includes:
the second display sub-module is used for displaying the prompt information of the reference position of the foot part on the shooting preview interface;
the target body part comprises a foot, and the shooting prompt information comprises prompt information of a reference position of the foot;
the generation submodule includes:
a reference object determination unit for determining a target reference object based on the target orientation;
an adjustment information generation unit configured to generate head orientation adjustment information based on the target reference object;
wherein the head orientation adjustment information is used to instruct a user to gaze at the target reference.
5. The terminal device of claim 4, wherein the display module comprises:
the first display sub-module is used for displaying head reference position prompt information and/or head orientation prompt information on the shooting preview interface;
wherein the target body part comprises a head, and the shooting prompt information comprises the head reference position prompt information and/or head orientation prompt information.
6. The terminal device according to claim 4, wherein the generation submodule is specifically configured to:
generating a head orientation adjustment guideline based on the target orientation;
wherein the head-facing adjustment guide line is for guiding a user to adjust the head to a direction indicated by the guide line.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the shooting method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the photographing method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810652855.0A CN108924412B (en) | 2018-06-22 | 2018-06-22 | Shooting method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810652855.0A CN108924412B (en) | 2018-06-22 | 2018-06-22 | Shooting method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108924412A CN108924412A (en) | 2018-11-30 |
CN108924412B true CN108924412B (en) | 2021-01-12 |
Family
ID=64421331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810652855.0A Active CN108924412B (en) | 2018-06-22 | 2018-06-22 | Shooting method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924412B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109660719A (en) * | 2018-12-11 | 2019-04-19 | 维沃移动通信有限公司 | A kind of information cuing method and mobile terminal |
CN110276774B (en) * | 2019-06-26 | 2021-07-23 | Oppo广东移动通信有限公司 | Object drawing method, device, terminal and computer-readable storage medium |
CN112188074B (en) | 2019-07-01 | 2022-08-05 | 北京小米移动软件有限公司 | Image processing method and device, electronic equipment and readable storage medium |
CN110855893A (en) * | 2019-11-28 | 2020-02-28 | 维沃移动通信有限公司 | Video shooting method and electronic equipment |
CN111601039B (en) * | 2020-05-28 | 2021-10-15 | 维沃移动通信有限公司 | Video shooting method and device and electronic equipment |
CN113727012B (en) * | 2020-08-27 | 2022-09-27 | 荣耀终端有限公司 | Shooting method and terminal |
CN115767258A (en) * | 2022-10-21 | 2023-03-07 | 北京达佳互联信息技术有限公司 | Object adjusting method and device in shooting process, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107347135A (en) * | 2017-06-20 | 2017-11-14 | 北京小米移动软件有限公司 | Take pictures processing method, device and terminal device |
CN107509032A (en) * | 2017-09-08 | 2017-12-22 | 维沃移动通信有限公司 | One kind is taken pictures reminding method and mobile terminal |
CN107835365A (en) * | 2017-11-03 | 2018-03-23 | 上海爱优威软件开发有限公司 | Auxiliary shooting method and system |
CN107888822A (en) * | 2017-10-27 | 2018-04-06 | 珠海市魅族科技有限公司 | Image pickup method, device, terminal and readable storage medium storing program for executing |
-
2018
- 2018-06-22 CN CN201810652855.0A patent/CN108924412B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107347135A (en) * | 2017-06-20 | 2017-11-14 | 北京小米移动软件有限公司 | Take pictures processing method, device and terminal device |
CN107509032A (en) * | 2017-09-08 | 2017-12-22 | 维沃移动通信有限公司 | One kind is taken pictures reminding method and mobile terminal |
CN107888822A (en) * | 2017-10-27 | 2018-04-06 | 珠海市魅族科技有限公司 | Image pickup method, device, terminal and readable storage medium storing program for executing |
CN107835365A (en) * | 2017-11-03 | 2018-03-23 | 上海爱优威软件开发有限公司 | Auxiliary shooting method and system |
Also Published As
Publication number | Publication date |
---|---|
CN108924412A (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108924412B (en) | Shooting method and terminal equipment | |
CN109639970B (en) | Shooting method and terminal equipment | |
CN108668083B (en) | Photographing method and terminal | |
CN108848308B (en) | Shooting method and mobile terminal | |
CN109361865B (en) | Shooting method and terminal | |
CN111355889B (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN110365907B (en) | Photographing method and device and electronic equipment | |
CN109600550B (en) | Shooting prompting method and terminal equipment | |
CN108989672B (en) | Shooting method and mobile terminal | |
CN108848313B (en) | Multi-person photographing method, terminal and storage medium | |
CN110602401A (en) | Photographing method and terminal | |
CN108038825B (en) | Image processing method and mobile terminal | |
CN110113528B (en) | Parameter obtaining method and terminal equipment | |
CN109102555B (en) | Image editing method and terminal | |
CN108307106B (en) | Image processing method and device and mobile terminal | |
CN108513067B (en) | Shooting control method and mobile terminal | |
CN108335258B (en) | Image processing method and device of mobile terminal | |
CN111669503A (en) | Photographing method and device, electronic equipment and medium | |
CN111182211B (en) | Shooting method, image processing method and electronic equipment | |
CN108984143B (en) | Display control method and terminal equipment | |
CN108174110B (en) | Photographing method and flexible screen terminal | |
CN110650367A (en) | Video processing method, electronic device, and medium | |
CN107959755B (en) | Photographing method, mobile terminal and computer readable storage medium | |
CN110086998B (en) | Shooting method and terminal | |
CN108881721A (en) | A kind of display methods and terminal |
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 |