CN108924412A - A kind of image pickup method and terminal device - Google Patents
A kind of image pickup method and terminal device Download PDFInfo
- Publication number
- CN108924412A CN108924412A CN201810652855.0A CN201810652855A CN108924412A CN 108924412 A CN108924412 A CN 108924412A CN 201810652855 A CN201810652855 A CN 201810652855A CN 108924412 A CN108924412 A CN 108924412A
- Authority
- CN
- China
- Prior art keywords
- shooting
- prompt information
- target
- head
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000004590 computer program Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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 present invention discloses a shooting method and a terminal device, wherein the method includes: acquiring a reference image that matches the preview image displayed on the shooting preview interface; and generating the preview based on the reference image and the preview image Shooting prompt information of the target body part of the target subject in the image; displaying the shooting prompt information on the shooting preview interface; when the target body part is adjusted to the shooting posture indicated by the shooting prompt information , execute the capture operation, and output the target image. Through the shooting method provided by the invention, an image with an ideal composition can be easily shot without a photographer guiding the user.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种拍摄方法及终端设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a photographing method and a terminal device.
背景技术Background technique
随着电子产品的不断发展,具有拍摄功能的终端设备越来越普及,用户可以随时随地用它来进行拍照,所得的图像即拍即得,方便快捷,不仅如此,用户也经常将拍摄的图像上传到网上与他人一起分享。用户终端设备进行拍摄已基本取代了传统的摄像机。With the continuous development of electronic products, terminal devices with shooting functions are becoming more and more popular. Users can use them to take pictures anytime and anywhere. Upload it online to share with others. Shooting by user terminal equipment has basically replaced traditional video cameras.
目前终端设备的拍照功能非常丰富,不仅能够支持闪光灯拍照还支持专业模式,带有双摄像头的终端设备还能支持人像虚化模式,部分终端设备结合虚拟与现实技术,推出了AR(Augmented Reality,增强现实技术)相机,以及AR贴纸等功能。终端设备的这些相机功能均是为了让用户能够拍摄出更优秀、更加趣味性的图像。目前的终端设备的拍照功能虽然丰富,能够让用户轻松的拍摄出非常清晰以及具有趣味性的图像,但是拍出布局合理的图像需要摄影师的引导,普通用户拍摄理想的构图的图像难度很大。At present, the camera functions of terminal devices are very rich, not only can support flash photography but also support professional mode, terminal devices with dual cameras can also support portrait blur mode, some terminal devices combine virtual and reality technology, launched AR (Augmented Reality, augmented reality) camera, and features like AR stickers. These camera functions of the terminal device are all to enable users to take better and more interesting images. Although the camera functions of the current terminal equipment are rich, users can easily take very clear and interesting images, but shooting images with a reasonable layout requires the guidance of the photographer, and it is very difficult for ordinary users to take images with ideal composition .
发明内容Contents of the invention
本发明实施例提供一种拍摄方法,以解决理想构图的图像拍摄难度大的问题。An embodiment of the present invention provides a shooting method to solve the problem of difficulty in shooting an image with an ideal composition.
为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:
第一方面,本发明实施例提供了一种拍摄方法,其中,所述方法包括:获取与拍摄预览界面显示的预览图像匹配的参考图像;基于所述参考图像和所述预览图像,生成所述预览图像中目标拍摄对象的目标身体部位的拍摄提示信息;在所述拍摄预览界面上,显示所述拍摄提示信息;在所述目标身体部位调整至所述拍摄提示信息所指示的拍摄姿势的情况下,执行拍摄操作,输出目标图像;其中,所述目标身体部位包括脚部、头部中的至少一项。In a first aspect, an embodiment of the present invention provides a shooting method, wherein the method includes: acquiring a reference image that matches a preview image displayed on a shooting preview interface; and generating the The shooting prompt information of the target body part of the target shooting object in the preview image; on the shooting preview interface, displaying the shooting prompt information; when the target body part is adjusted to the shooting posture indicated by the shooting prompt information Next, a shooting operation is performed to output a target image; wherein, the target body part includes at least one of a foot and a head.
第二方面,本发明实施例提供了一种终端设备,所述终端设备包括:获取模块,用于获取与拍摄预览界面显示的预览图像匹配的参考图像;生成模块,用于基于所述参考图像和所述预览图像,生成所述预览图像中目标拍摄对象的目标身体部位的拍摄提示信息;显示模块,用于在所述拍摄预览界面上,显示所述拍摄提示信息;拍摄模块,用于在所述目标身体部位调整至所述拍摄提示信息所指示的拍摄姿势的情况下,执行拍摄操作,输出目标图像;其中,所述目标身体部位包括脚部、头部中的至少一项。In a second aspect, an embodiment of the present invention provides a terminal device, which includes: an acquisition module, configured to acquire a reference image that matches the preview image displayed on the shooting preview interface; a generation module, configured to obtain a reference image based on the reference image and the preview image, generating shooting prompt information of the target body part of the target subject in the preview image; a display module, configured to display the shooting prompt information on the shooting preview interface; a shooting module, configured to display the shooting prompt information on the shooting preview interface When the target body part is adjusted to the shooting posture indicated by the shooting prompt information, a shooting operation is performed to output a target image; wherein the target body part includes at least one of a foot and a head.
第三方面,本发明实施例提供了一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现本发明实施例中所述的任一种拍摄方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor The steps of any shooting method described in the embodiments of the present invention are realized at the same time.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现本发明实施例中所述的任一种拍摄方法的步骤。In a fourth aspect, an embodiment of the present invention 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, any one of the steps described in the embodiments of the present invention can be realized. Steps of a shooting method.
在本发明实施例中,通过预览图像与参考图像生成目标拍摄对象的目标身体部位的拍摄提示信息并显示,用户可依据拍摄提示信息调整目标拍摄对象的拍摄姿势,无需摄影师指导用户即可轻松拍摄出构图理想的图像。In the embodiment of the present invention, the shooting prompt information of the target body part of the target subject is generated and displayed through the preview image and the reference image, and the user can adjust the shooting posture of the target subject according to the shooting prompt information, and the user can easily Captures well-composed images.
附图说明Description of drawings
图1是根据本发明实施例提供的拍摄方法的流程图之一;Fig. 1 is one of the flowcharts of the shooting method provided according to the embodiment of the present invention;
图2是根据本发明实施例提供的拍摄方法的流程图之二;Fig. 2 is the second flowchart of the photographing method provided according to the embodiment of the present invention;
图3是拍摄提示信息显示界面示意图之一;Fig. 3 is one of the schematic diagrams of the shooting prompt information display interface;
图4是拍摄提示信息显示界面示意图之二;Fig. 4 is the second schematic diagram of the shooting prompt information display interface;
图5是拍摄提示信息显示界面示意图之三;Fig. 5 is the third schematic diagram of the shooting prompt information display interface;
图6是拍摄提示信息显示界面示意图之四;Fig. 6 is the fourth schematic diagram of the display interface of shooting prompt information;
图7是拍摄提示信息显示界面示意图之五;Fig. 7 is the fifth schematic diagram of the shooting prompt information display interface;
图8是构图完成标识显示界面示意图;Fig. 8 is a schematic diagram of a composition completion mark display interface;
图9是本发明实施例的终端设备的结构框图;FIG. 9 is a structural block diagram of a terminal device according to an embodiment of the present invention;
图10是根据本发明实施例提供的终端设备的硬件结构示意图。Fig. 10 is a schematic diagram of a hardware structure of a terminal device provided according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参照图1,示出了本发明实施例提供的拍摄方法的流程图之一。Referring to FIG. 1 , it shows one of the flowcharts of the photographing method provided by the embodiment of the present invention.
本发明实施例的拍摄方法包括以下步骤:The photographing method of the embodiment of the present invention comprises the following steps:
步骤101:获取与拍摄预览界面显示的预览图像匹配的参考图像。Step 101: Obtain a reference image matching the preview image displayed on the shooting preview interface.
终端设备可以获取拍摄预览画面中的预览图像,将预览图像上传至云服务器,云服务反馈终端设备与预览图像匹配的参考图像。参考图像为与预览图像拍摄场景相似、拍摄对象相似、布局合理且具美感的图像。The terminal device can obtain the preview image in the shooting preview screen, upload the preview image to the cloud server, and the cloud service will feed back a reference image matching the preview image to the terminal device. The reference image is an image that is similar to the shooting scene of the preview image, the subject is similar, and the layout is reasonable and aesthetically pleasing.
步骤102:基于参考图像和预览图像,生成预览图像中目标拍摄对象的目标身体部位的拍摄提示信息。Step 102: Based on the reference image and the preview image, generate shooting prompt information of the target body part of the target subject in the preview image.
其中,目标身体部位包括脚部、头部中的至少一项。在目标身体部位包括脚部的情况下,脚部的拍摄提示信息可以为脚部参考位置区域信息;在目标身体部位包括头部的情况下,头部的拍摄提示信息可以为头部参考位置提示信息和/或头部朝向提示信息。Wherein, the target body part includes at least one of feet and head. In the case that the target body part includes the foot, the shooting prompt information of the foot can be the reference position area information of the foot; in the case that the target body part includes the head, the shooting prompt information of the head can be the head reference position prompt information and/or head orientation cues.
步骤103:在拍摄预览界面上,显示拍摄提示信息。Step 103: On the shooting preview interface, display shooting prompt information.
在具体显示时,可以在拍摄预览界面上仅显示某一目标身体部位的拍摄提示信息,也可以同时在拍摄预览界面上显示各目标身体部位的拍摄提示信息,本发明实施例中对此不做具体限制。拍摄提示信息可以为文字信息或者图形信息等。In the specific display, only the shooting prompt information of a certain target body part can be displayed on the shooting preview interface, or the shooting prompt information of each target body part can be displayed on the shooting preview interface at the same time, which is not done in the embodiment of the present invention Specific restrictions. The shooting prompt information may be text information or graphic information.
步骤104:在目标身体部位调整至拍摄提示信息所指示的拍摄姿势的情况下,执行拍摄操作,输出目标图像。Step 104: When the target body part is adjusted to the shooting posture indicated by the shooting prompt information, perform a shooting operation and output the target image.
在目标身体部位为头部的情况下,拍摄姿势可以包括但不限于:头部位置和头部朝向。In the case that the target body part is a head, the shooting pose may include but not limited to: head position and head orientation.
在具体实现过程中,可由终端设备自动执行拍摄操作拍摄目标图像;终端设备也可以在确定目标身体部位调整至拍摄提示信息所指示的拍摄姿势的情况下,显示用于指示构图完成的标识,用户通过该标识可确定完成构图然后手动触发终端设备执行拍摄操作。In the specific implementation process, the terminal device can automatically perform the shooting operation to capture the target image; the terminal device can also display a sign indicating that the composition is completed when it is determined that the target body part is adjusted to the shooting posture indicated by the shooting prompt information, and the user Through this identification, it can be determined that the composition is completed, and then the terminal device is manually triggered to perform the shooting operation.
本发明实施例提供的拍摄方法,通过预览图像与参考图像生成目标拍摄对象的目标身体部位的拍摄提示信息并显示,用户可依据拍摄提示信息调整目标拍摄对象的拍摄姿势,最终使得终端设备拍摄出构图理想的图像。In the shooting method provided by the embodiment of the present 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. The user can adjust the shooting posture of the target shooting object according to the shooting prompt information, and finally the terminal device can shoot Compose your ideal image.
参照图2,示出本发明实施例提供的拍摄方法的流程图之二。Referring to FIG. 2 , it shows the second flowchart of the photographing method provided by the embodiment of the present invention.
本发明实施例中的拍摄方法具体包括以下步骤:The photographing method in the embodiment of the present invention specifically includes the following steps:
步骤201:获取与拍摄预览界面显示的预览图像匹配的参考图像。Step 201: Obtain a reference image that matches the preview image displayed on the shooting preview interface.
终端设备可以获取拍摄预览画面中的预览图像,将预览图像上传至云服务器,从云服务器获取预览图像匹配的参考图像。在具体实现过程中,终端设备还可以从预览图像中提取图像参数如图像布局信息、图像拍摄对象信息以及图像背景等,将提取的图像参数上传云服务器,从云服务器获取与上传的图像参数匹配的参考图像。The terminal device can obtain the preview image in the shooting preview screen, upload the preview image to the cloud server, and obtain a reference image matching the preview image from the cloud server. In the specific implementation process, the terminal device can also extract image parameters such as image layout information, image shooting object information, and image background from the preview image, upload the extracted image parameters to the cloud server, and obtain from the cloud server to match the uploaded image parameters. reference image.
步骤202:基于参考图像和预览图像,生成预览图像中目标拍摄对象的目标身体部位的拍摄提示信息。Step 202: Based on the reference image and the preview image, generate shooting prompt information of the target body part of the target subject in the preview image.
目标身体部分包括脚部、头部中的至少一项。拍摄提示信息可以包括头部参考位置提示信息和/或头部朝向提示信息,此外还可以包括脚部参考位置提示信息。The target body part includes at least one of feet and head. The shooting prompt information may include the prompt information of the head reference position and/or the prompt information of the head orientation, and may also include the prompt information of the foot reference position.
在目标身体部分包括脚部的情况下,基于参考图像和预览图像,确定预览图像中目标拍摄对象的脚部参考位置提示信息。In the case that the target body part includes feet, based on the reference image and the preview image, the prompt information of the reference position of the feet of the target subject in the preview image is determined.
在目标身体部分包括头部的情况下,基于参考图像和预览图像,确定预览图像中目标拍摄对象的头部参考位置提示信息。In the case that the target body part includes a head, based on the reference image and the preview image, the prompt information of the head reference position of the target subject in the preview image is determined.
在具体实现过程中,除可确定头部参考位置提示信息外,还可确定头部朝向提示信息,具体地:基于参考图像和预览图像,确定预览图像中目标拍摄对象的头部的目标朝向;基于目标朝向,生成头部朝向提示信息。In the specific implementation process, in addition to determining the head reference position prompt information, the head orientation prompt information can also be determined, specifically: based on the reference image and the preview image, determine the target orientation of the head of the target subject in the preview image; Based on the target orientation, the head orientation prompt information is generated.
如下为两种优选地生成头部朝向提示信息的方式:Two preferred ways of generating head orientation prompt information are as follows:
方式一、基于目标朝向,确定目标参考物;基于目标参考物,生成头部朝向调整信息;Method 1: Determine the target reference object based on the target orientation; generate head orientation adjustment information based on the target reference object;
其中,头部朝向调整信息用于指示用户注视目标参考物。基于目标参考物生成头部朝向调整信息的方式,能够更加醒目地提示用户头部朝向的调整方向。Wherein, the head orientation adjustment information is used to instruct the user to gaze at the target reference object. The method of generating the head orientation adjustment information based on the target reference object can more conspicuously prompt the user to adjust the head orientation.
例如:如图3所示,预览图像中包含一个目标拍摄对象,目标拍摄对象左上角处包含一棵树301,若确定目标拍摄对象的头部朝向需向相对于拍摄对象的右上方的方向调整时,则可将树301确定为目标参考物,显示提示信息“请抬头看右侧的树”302,以提示用户注视目标参考物以达到引导目标拍摄对象头部向目标参考物方向调整的目的。For example: as shown in Figure 3, the preview image contains a target subject, and the upper left corner of the target subject contains a tree 301, if it is determined that the head orientation of the target subject needs to be adjusted in a direction relative to the upper right of the subject , then the tree 301 can be determined as the target reference object, and the prompt message “Please look up at the tree on the right” 302 is displayed to prompt the user to look at the target reference object so as to guide the target subject’s head to adjust to the target reference object. .
方式二、基于目标朝向,生成头部朝向调整引导线;Method 2. Based on the target orientation, generate a head orientation adjustment guide line;
其中,头部朝向调整引导线用于引导用户将头部调整至引导线指示的方向。引导线可以为包含箭头指向的实线或虚线,引导线指示的方向为用户头部的朝向。该种通过引导线提示用户头部朝向调整方向的方式,能够更加准确地提示用户头部朝向的调整方向。如图4所示,拍摄预览界面中所显示的引导线401即可指示用户将头部朝向调整至引导线401所指示的方向。Wherein, the head orientation adjustment guide line is used to guide the user to adjust the head to the direction indicated by the guide line. The guide line may be a solid line or a dotted line that includes an arrow pointing to, and the direction indicated by the guide line is the orientation of the user's head. This method of prompting the user to adjust the direction of the head orientation through the guide line can more accurately prompt the user to adjust the direction of the head orientation. As shown in FIG. 4 , the guide line 401 displayed in the shooting preview interface can instruct the user to adjust the head orientation to the direction indicated by the guide line 401 .
在具体实现过程中,本领域技术人员可以根据实际需求选择上述任意一种生成头部朝向提示信息的方式。In the specific implementation process, those skilled in the art may choose any one of the above-mentioned ways to generate the head orientation prompt information according to actual needs.
在获取到参考图像后,可以识别预览图像中包含的人物个数,若人物个数为1,则执行步骤202以及后续步骤。该种方法适用于单人拍摄,能够提升单人拍摄过程中构图调整的准确性。当然也可以不对预览图像中的人物个数进行识别判定。After the reference image is acquired, the number of people contained in the preview image can be identified, and if the number of people is 1, step 202 and subsequent steps are executed. This method is suitable for single-person shooting, and can improve the accuracy of composition adjustment during single-person shooting. Of course, it is also possible not to identify and determine the number of persons in the preview image.
步骤203:在拍摄预览界面上,显示头部参考位置提示信息和/或头部朝向提示信息。Step 203: On the shooting preview interface, display the prompt information of the head reference position and/or the prompt information of the head orientation.
本发明实施例中以同时在拍摄预览界面上显示头部参考位置提示信息和头部朝向提示信息为例进行说明。如附图5所示,目标拍摄对象为一个人物,人物的头部用实线圈501标记,在预览图像的左上角处所显示的虚线圈502则为头部参考位置提示信息,预览图像中所显示的带有向下箭头的引导线503则为头部朝向提示信息,即引导用户低头。In the embodiment of the present invention, an example of displaying the head reference position prompt information and the head orientation prompt information simultaneously on the shooting preview interface is used as an example for illustration. As shown in Figure 5, the target subject is a person whose head is marked with a solid circle 501, and the dotted circle 502 displayed at the upper left corner of the preview image is the head reference position prompt information, as shown in the preview image The guide line 503 with a downward arrow is the head orientation prompt information, that is, guides the user to bow his head.
用户通过预览图像中的虚线圈502可获知在调整构图时将头部调整至虚线圈内,用户通过预览图像的引导线503可获知将头部朝向调整至引导线503所指示的方向。一种优选地方式为,在用户首次使用构图引导时,预览图像中显示虚线圈502以及引导线503的同时,还给出构图调整引导提示,提示用户将目标拍摄对象调整至虚线圈502内,将头部朝向调整至引导线503所指的方向,从而引导用户完成构图调整。该种引导用户调整构图的方式,能够便于用户短时间内掌握构图调整操作方式,缩短够用调整所耗时长。The user can know to adjust the head to the dotted circle when adjusting the composition through the dotted circle 502 in the preview image, and the user can know to adjust the head orientation to the direction indicated by the guide line 503 through the guide line 503 in the preview image. A preferred method is that when the user uses the composition guide for the first time, while the dotted circle 502 and the guide line 503 are displayed in the preview image, a composition adjustment guide prompt is also given to prompt the user to adjust the target object into the dotted circle 502, Adjust the head orientation to the direction indicated by the guide line 503 , so as to guide the user to complete composition adjustment. This method of guiding the user to adjust the composition can facilitate the user to grasp the composition adjustment operation method in a short time, and shorten the time spent on sufficient adjustment.
图5中以同时在拍摄预览界面中显示头部参考位置提示信息和头部朝向提示信息为例进行的说明,该种同时显示头部参考位置提示信息和头部朝向提示信息的方式,能够使调整后的目标拍摄对象在拍摄预览界面中的布局更加合理,姿势更加协调。在具体实现过程中,可以仅显示头部参考位置提示信息也可以仅显示头部朝向提示信息如附图3、4中所示。不仅如此,除了在拍摄预览界面中显示头部的拍摄提示信息外,还可以同时显示脚部的拍摄提示信息,或者仅显示脚部的拍摄提示信息。In Fig. 5, an example of displaying the prompt information of the head reference position and the prompt information of the head orientation in the shooting preview interface at the same time is used as an example. This method of simultaneously displaying the prompt information of the head reference position and the prompt information of the head orientation can make The adjusted layout of the target subject in the shooting preview interface is more reasonable, and the posture is more coordinated. In the specific implementation process, only the prompt information of the head reference position may be displayed, or only the prompt information of the head orientation may be displayed, as shown in Figs. 3 and 4 . Not only that, in addition to displaying the shooting prompt information of the head in the shooting preview interface, the shooting prompt information of the feet can also be displayed at the same time, or only the shooting prompt information of the feet can be displayed.
具体地仅显示脚部的拍摄提示信息的方式为:在拍摄预览界面上,显示脚部参考位置区域;其中,拍摄提示信息包括脚部参考位置提示信息,脚部参考位置提示信息可以用任意适当形状的图形表示。Specifically, the method of displaying only the shooting prompt information of the feet is: on the shooting preview interface, display the reference position area of the feet; wherein, the shooting prompt information includes the prompt information of the foot reference position, and the prompt information of the foot reference position can be used in any appropriate A graphical representation of the shape.
同时显示脚部的拍摄提示信息以及头部的拍摄提示信息的方式可参照图6、7所示。The method of simultaneously displaying the shooting prompt information of the feet and the shooting prompt information of the head can refer to FIGS. 6 and 7 .
图6所示,在拍摄预览界面中采用实线圈601标记目标拍摄对象的头部,同时在拍摄预览界面中显示头部参考位置提示信息即虚线圈602,用于指示将头部调整至虚线圈602处的第一调整引导线603、脚部参考位置提示信息即虚线圈604以及用于提示用户将脚部调整至虚线圈604处的第二调整引导线605。As shown in Fig. 6, a solid circle 601 is used to mark the head of the target subject in the shooting preview interface, and at the same time, a prompt message of the head reference position, that is, a dotted circle 602 is displayed in the shooting preview interface, which is used to indicate that the head is adjusted to the dotted circle The first adjustment guide line 603 at 602 , the prompt information of the reference position of the foot, that is, the dotted circle 604 , and the second adjustment guide line 605 for prompting the user to adjust the foot to the dotted circle 604 .
如图7所示,在拍摄预览界面中显示拍摄提示信息时,还可以同时显示脚部参考位置提示信息以及头部朝向调整提示信息。具体地,图7中的显示有头部朝向调整引导线701、用于提示按照引导线调整头部朝向的提示信息702“请抬头看右侧的树”、脚部参考位置提示信息即虚线圈703以及用于提示用户将脚部调整至虚线圈703处的调整引导线704。该种拍摄提示信息显示方式,不仅可对头部、脚部进行调整,还可以给出具体地调整引导信息,便于用户操作。As shown in FIG. 7 , when the shooting prompt information is displayed in the shooting preview interface, the foot reference position prompt information and the head orientation adjustment prompt information may also be displayed at the same time. Specifically, the display in FIG. 7 includes a guide line 701 for adjusting the head orientation, a prompt message 702 for prompting adjustment of the head orientation according to the guide line "Please look up at the tree on the right", and a prompt message of the reference position of the feet, that is, a dotted circle. 703 and an adjustment guide line 704 for prompting the user to adjust the foot to the dotted circle 703 . This display mode of shooting prompt information can not only adjust the head and feet, but also provide specific adjustment guidance information, which is convenient for users to operate.
步骤204:在目标身体部位调整至拍摄提示信息所指示的拍摄姿势的情况下,执行拍摄操作,输出目标图像。Step 204: When the target body part is adjusted to the shooting posture indicated by the shooting prompt information, perform a shooting operation and output the target image.
步骤203为在拍摄预览界面上,显示拍摄提示信息的具体实现。显示拍摄提示信息后,用户可根据拍摄提示信息对目标身体部位进行相应调整。终端设备在在目标身体部位调整至拍摄提示信息所指示的拍摄姿势的情况下,可自动执行拍摄操作拍摄目标图像,从而能够及时抓拍构图完成的图像;终端设备也可以在确定目标身体部位调整至拍摄提示信息所指示的拍摄姿势的情况下,显示用于指示构图完成的标识,用户通过该标识可确定完成构图然后手动触发终端设备执行拍摄操作。Step 203 is a specific realization of displaying shooting prompt information on the shooting preview interface. After the shooting prompt information is displayed, the user can make corresponding adjustments to the target body part according to the shooting prompt information. When the target body part is adjusted to the shooting posture indicated by the shooting prompt information, the terminal device can automatically perform the shooting operation to capture the target image, so that the image with the composition can be captured in time; the terminal device can also adjust the target body part to In the case of the shooting posture indicated by the shooting prompt information, a sign indicating the completion of the composition is displayed, through which the user can confirm that the composition is completed and then manually trigger the terminal device to perform the shooting operation.
附图8为显示有构图完成标识的拍摄预览界面示意图。用户参照附图7中所述的拍摄提示信息对目标拍摄对象的头部朝向与脚部位置进行调整后,在拍摄预览界面中显示构图完成标识705。Accompanying drawing 8 is a schematic diagram of a shooting preview interface displaying a mark of completion of composition. After the user adjusts the head orientation and foot position of the target subject with reference to the shooting prompt information described in FIG. 7 , a composition completion sign 705 is displayed in the shooting preview interface.
需要说明的是,若在拍摄预览界面上显示拍摄提示信息后的预设时长内,终端设备未监测到目标身体部位调整至拍摄提示信息所指示的拍摄姿势,则可取消拍摄提示信息在拍摄预览界面中的显示结束本次构图调整。该种方式能够避免长时间盲目等待用户进行构图调整,而导致的图像拍摄耗时长的问题。It should be noted that if the terminal device does not detect that the target body part is adjusted to the shooting posture indicated by the shooting prompt information within the preset time period after the shooting prompt information is displayed on the shooting preview interface, the shooting prompt information can be cancelled. The display on the interface ends this composition adjustment. This method can avoid the problem of time-consuming image shooting caused by blindly waiting for a long time for the user to adjust the composition.
本发明实施例提供的拍摄方法,通过预览图像与参考图像生成目标拍摄对象的目标身体部位的拍摄提示信息并显示,用户可依据拍摄提示信息调整目标拍摄对象的拍摄姿势,最终使得终端设备拍摄出构图理想的图像。此外,进一步地在拍摄预览界面中显示头部参考位置区域和头部朝向提示信息,能够使调整后的目标拍摄对象在拍摄预览界面中的布局更加合理,姿势更加协调。In the shooting method provided by the embodiment of the present 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. The user can adjust the shooting posture of the target shooting object according to the shooting prompt information, and finally the terminal device can shoot Compose your ideal image. In addition, further displaying the head reference position area and head orientation prompt information in the shooting preview interface can make the layout of the adjusted target object in the shooting preview interface more reasonable and the posture more coordinated.
参照图9,示出了本发明实施例的终端设备的结构框图。终端设备能实现前述实施例中的对焦方法的细节,并达到相同的效果。Referring to FIG. 9 , it shows a structural block diagram of a terminal device according to an embodiment of the present invention. The terminal device can realize the details of the focusing method in the foregoing embodiments, and achieve the same effect.
本发明实施例的终端设备包括:获取模块801,用于获取与拍摄预览界面显示的预览图像匹配的参考图像;生成模块802,用于基于所述参考图像和所述预览图像,生成所述预览图像中目标拍摄对象的目标身体部位的拍摄提示信息;显示模块803,用于在所述拍摄预览界面上,显示所述拍摄提示信息;拍摄模块804,用于在所述目标身体部位调整至所述拍摄提示信息所指示的拍摄姿势的情况下,执行拍摄操作,输出目标图像;其中,所述目标身体部位包括脚部、头部中的至少一项;获取模块、生成模块、显示模块以及拍摄模块顺次连接。The terminal device in the embodiment of the present invention includes: an acquisition module 801, configured to acquire a reference image that matches the preview image displayed on the shooting preview interface; a generation module 802, configured to generate the preview based on the reference image and the preview image The shooting prompt information of the target body part of the target subject in the image; the display module 803 is used to display the shooting prompt information on the shooting preview interface; the shooting module 804 is used to adjust the target body part to the In the case of the shooting posture indicated by the shooting prompt information, the shooting operation is performed to output the target image; wherein, the target body part includes at least one of the foot and the head; the acquisition module, the generation module, the display module and the shooting Modules are connected sequentially.
优选地,所述显示模块包括:第一显示子模块,用于在所述拍摄预览界面上,显示头部参考位置提示信息和/或头部朝向提示信息;其中,所述目标身体部位包括头部,所述拍摄提示信息包括所述头部参考位置提示信息和/或头部朝向提示信息。Preferably, the display module includes: a first display sub-module, configured to display head reference position prompt information and/or head orientation prompt information on the shooting preview interface; wherein the target body parts include head The shooting prompt information includes the head reference position prompt information and/or the head orientation prompt information.
优选地,所述生成模块包括:确定子模块,用于基于所述参考图像和所述预览图像,确定所述预览图像中目标拍摄对象的头部的目标朝向;其中,所述目标身体部位包括头部;生成子模块,用于基于所述目标朝向,生成头部朝向提示信息。其中,确定子模块与生成子模块顺次连接。Preferably, the generating module includes: a determining submodule, configured to determine the target orientation of the head of the target subject in the preview image based on the reference image and the preview image; wherein the target body part includes Head; generating a submodule, configured to generate head orientation prompt information based on the target orientation. Wherein, the determination sub-module is connected with the generation sub-module in sequence.
优选地,所述生成子模块具体用于:基于所述目标朝向,生成头部朝向调整引导线;其中,所述头部朝向调整引导线用于引导用户将头部调整至所述引导线指示的方向。Preferably, the generation submodule is specifically configured to: generate a head orientation adjustment guide line based on the target orientation; wherein the head orientation adjustment guide line is used to guide the user to adjust the head to the guide line indication direction.
优选地,所述生成子模块包括:参考物确定单元,用于基于所述目标朝向,确定目标参考物;调整信息生成单元,用于基于所述目标参考物,生成头部朝向调整信息;其中,所述头部朝向调整信息用于指示用户注视所述目标参考物。参考物确定单元与调整信息生成单元顺次连接。Preferably, the generating submodule includes: a reference object determination unit, configured to determine 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 the user to gaze at the target reference object. The reference determination unit is sequentially connected to the adjustment information generation unit.
优选地,所述显示模块包括:第二显示子模块,用于在所述拍摄预览界面上,显示脚部参考位置提示信息;其中,所述目标身体部位包括脚部,所述拍摄提示信息包括所述脚部参考位置提示信息。Preferably, the display module includes: a second display submodule, configured to display foot reference position prompt information on the shooting preview interface; wherein, the target body part includes a foot, and the shooting prompt information includes The foot reference position prompt information.
本发明实施例提供的终端设备能够实现图1至图3的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided by the embodiment of the present invention can implement various processes implemented by the terminal device in the method embodiments shown in FIG. 1 to FIG. 3 , and details are not repeated here to avoid repetition.
本发明实施例提供的终端设备,通过预览图像与参考图像生成目标拍摄对象的目标身体部位的拍摄提示信息并显示,用户可依据拍摄提示信息调整目标拍摄对象的拍摄姿势,无需摄影师指导用户即可轻松拍摄出构图理想的图像。The terminal device provided by the embodiment of the present invention generates and displays the shooting prompt information of the target body part of the target subject through the preview image and the reference image. Ideally composed images can be easily captured.
参照图10,示出了本发明实施例的一种终端设备的硬件结构示意图。Referring to FIG. 10 , it shows a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention.
图10为实现本发明各个实施例的一种终端设备的硬件结构示意图,该终端设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图10中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 10 is a schematic diagram of the hardware structure of a terminal device implementing various embodiments of the present invention, the terminal device 900 includes but not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, and a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, a power supply 911 and other components. Those skilled in the art can understand that the terminal device structure shown in Figure 10 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or combine certain components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
处理器910,用于获取与拍摄预览界面显示的预览图像匹配的参考图像;基于所述参考图像和所述预览图像,生成所述预览图像中目标拍摄对象的目标身体部位的拍摄提示信息;在所述拍摄预览界面上,显示所述拍摄提示信息;在所述目标身体部位调整至所述拍摄提示信息所指示的拍摄姿势的情况下,执行拍摄操作,输出目标图像;其中,所述目标身体部位包括脚部、头部中的至少一项。The processor 910 is configured to acquire a reference image that matches the preview image displayed on the shooting preview interface; based on the reference image and the preview image, generate shooting prompt information of a target body part of the target subject in the preview image; The shooting prompt information is displayed on the shooting preview interface; when the target body part is adjusted to the shooting posture indicated by the shooting prompt information, a shooting operation is performed and a target image is output; wherein, the target body The site includes at least one of the foot and the head.
本发明实施例提供的终端设备,通过预览图像与参考图像生成目标拍摄对象的目标身体部位的拍摄提示信息并显示,用户可依据拍摄提示信息调整目标拍摄对象的拍摄姿势,无需摄影师指导用户即可轻松拍摄出构图理想的图像。The terminal device provided by the embodiment of the present invention generates and displays the shooting prompt information of the target body part of the target subject through the preview image and the reference image. Ideally composed images can be easily captured.
应理解的是,本发明实施例中,射频单元901可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 910; in addition, the Uplink data is sent 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 the network and other devices through a wireless communication system.
终端设备通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 902, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与终端设备900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。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 device 900 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。The input unit 904 is used to receive audio or video signals. The input unit 904 may include a graphics processing unit (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processing unit 9041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 906 . The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902 . The microphone 9042 can receive sound, and can process such sound as audio data. The processed audio data may be converted into a format transmittable to a mobile communication base station via the radio frequency unit 901 for output in the case of a phone call mode.
终端设备900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在终端设备900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 9061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 905 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。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 (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元907可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 907 can be used to receive input numbers or character information, and generate key signal input 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, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 9071 or near the touch panel 9071 operate). The touch panel 9071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 910, receive the command sent by the processor 910 and execute it. In addition, the touch panel 9071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 9071 , the user input unit 907 may also include other input devices 9072 . Specifically, other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图10中,触控面板9071与显示面板9061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板9071与显示面板9061集成而实现终端设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 9071 can be covered on the display panel 9061. When the touch panel 9071 detects a touch operation on or near it, it will be sent to the processor 910 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 9061. Although in FIG. 10, the touch panel 9071 and the display panel 9061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元908为外部装置与终端设备900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备900内的一个或多个元件或者可以用于在终端设备900和外部装置之间传输数据。The interface unit 908 is an interface for connecting an external device to the terminal device 900 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 908 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 909 can be used to store software programs as well as various data. The memory 909 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 909 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器910是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is the control center of the terminal equipment. It uses various interfaces and lines to connect various parts of the entire terminal equipment. By running or executing software programs and/or modules stored in the memory 909, and calling data stored in the memory 909 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .
终端设备900还可以包括给各个部件供电的电源911(比如电池),优选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 900 can also include a power supply 911 (such as a battery) for supplying power to various components. Preferably, the power supply 911 can be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,终端设备900包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 900 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种终端设备,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal device, including a processor 910, a memory 909, and a computer program stored in the memory 909 and operable on the processor 910. When the computer program is executed by the processor 910 Each process of the above embodiment of the photographing method can be realized and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned shooting method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (14)
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 true CN108924412A (en) | 2018-11-30 |
CN108924412B 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) |
Cited By (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 |
CN110276774A (en) * | 2019-06-26 | 2019-09-24 | Oppo广东移动通信有限公司 | Object drawing method, device, terminal and computer-readable storage medium |
CN110855893A (en) * | 2019-11-28 | 2020-02-28 | 维沃移动通信有限公司 | A method and electronic device for shooting video |
CN111601039A (en) * | 2020-05-28 | 2020-08-28 | 维沃移动通信有限公司 | Video shooting method, device and electronic device |
CN112188074A (en) * | 2019-07-01 | 2021-01-05 | 北京小米移动软件有限公司 | Image processing method and device, electronic equipment and readable storage medium |
CN113727012A (en) * | 2020-08-27 | 2021-11-30 | 荣耀终端有限公司 | Shooting method and terminal |
CN115767258A (en) * | 2022-10-21 | 2023-03-07 | 北京达佳互联信息技术有限公司 | Object adjustment method, device, electronic equipment and storage medium in shooting process |
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 | 维沃移动通信有限公司 | A camera reminder 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 | 维沃移动通信有限公司 | A camera reminder 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 |
Cited By (13)
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 |
CN110276774A (en) * | 2019-06-26 | 2019-09-24 | Oppo广东移动通信有限公司 | Object drawing method, device, terminal and computer-readable storage medium |
US11250265B2 (en) | 2019-07-01 | 2022-02-15 | Beijing Xiaomi Mobile Software Co., Ltd. | Image processing method and apparatus, electronic device, readable storage medium |
CN112188074A (en) * | 2019-07-01 | 2021-01-05 | 北京小米移动软件有限公司 | Image processing method and device, electronic equipment and readable storage medium |
CN112188074B (en) * | 2019-07-01 | 2022-08-05 | 北京小米移动软件有限公司 | Image processing method and apparatus, electronic device, and readable storage medium |
CN110855893A (en) * | 2019-11-28 | 2020-02-28 | 维沃移动通信有限公司 | A method and electronic device for shooting video |
CN111601039A (en) * | 2020-05-28 | 2020-08-28 | 维沃移动通信有限公司 | Video shooting method, device and electronic device |
CN111601039B (en) * | 2020-05-28 | 2021-10-15 | 维沃移动通信有限公司 | Video shooting method, device and electronic device |
CN113727012A (en) * | 2020-08-27 | 2021-11-30 | 荣耀终端有限公司 | Shooting method and terminal |
WO2022042776A1 (en) * | 2020-08-27 | 2022-03-03 | 荣耀终端有限公司 | Photographing method and terminal |
CN115835010A (en) * | 2020-08-27 | 2023-03-21 | 荣耀终端有限公司 | Shooting method and terminal |
US11870951B2 (en) | 2020-08-27 | 2024-01-09 | Honor Device Co., Ltd. | Photographing method and terminal |
CN115767258A (en) * | 2022-10-21 | 2023-03-07 | 北京达佳互联信息技术有限公司 | Object adjustment method, device, electronic equipment and storage medium in shooting process |
Also Published As
Publication number | Publication date |
---|---|
CN108924412B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848308B (en) | A shooting method and mobile terminal | |
CN108924412B (en) | Shooting method and terminal equipment | |
CN107809598B (en) | A kind of image pickup method, mobile terminal and server | |
CN108540724A (en) | A kind of image pickup method and mobile terminal | |
CN111355889A (en) | Shooting method, device, electronic device and storage medium | |
CN108038825B (en) | Image processing method and mobile terminal | |
CN107800967A (en) | A kind of image pickup method and mobile terminal | |
CN110266930A (en) | Lighting method for image shooting, mobile terminal and lighting adjustment method | |
CN108174109B (en) | A kind of photographing method and mobile terminal | |
CN110602389B (en) | A display method and electronic device | |
CN108495029A (en) | A kind of photographic method and mobile terminal | |
CN110365907A (en) | A photographing method, device and electronic equipment | |
CN108989672A (en) | A kind of image pickup method and mobile terminal | |
CN107592467A (en) | A kind of image pickup method and mobile terminal | |
CN111405181B (en) | Focusing method and electronic equipment | |
CN108307106A (en) | A kind of image processing method, device and mobile terminal | |
CN110113528A (en) | A parameter acquisition method and terminal equipment | |
CN108683850A (en) | A shooting prompt method and mobile terminal | |
CN107707825A (en) | A kind of panorama shooting method, mobile terminal and computer-readable recording medium | |
CN110798621A (en) | An image processing method and electronic device | |
CN108335258A (en) | A kind of image processing method and device of mobile terminal | |
CN110198428A (en) | A kind of multimedia file producting method and first terminal | |
CN110891122A (en) | Wallpaper pushing method and electronic equipment | |
CN108282611B (en) | An image processing method and mobile terminal | |
CN108881721B (en) | A display method 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 |