Movatterモバイル変換


[0]ホーム

URL:


CN110445984A - A kind of shooting reminding method and electronic equipment - Google Patents

A kind of shooting reminding method and electronic equipment
Download PDF

Info

Publication number
CN110445984A
CN110445984ACN201910810750.8ACN201910810750ACN110445984ACN 110445984 ACN110445984 ACN 110445984ACN 201910810750 ACN201910810750 ACN 201910810750ACN 110445984 ACN110445984 ACN 110445984A
Authority
CN
China
Prior art keywords
electronic device
shooting
preview interface
mark
area
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
Application number
CN201910810750.8A
Other languages
Chinese (zh)
Other versions
CN110445984B (en
Inventor
彭乾坤
张梦萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201910810750.8ApriorityCriticalpatent/CN110445984B/en
Publication of CN110445984ApublicationCriticalpatent/CN110445984A/en
Application grantedgrantedCritical
Publication of CN110445984BpublicationCriticalpatent/CN110445984B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种拍摄提示方法及电子设备,所述方法应用于电子设备,其中,所述方法包括:在拍摄过程中,在拍摄预览界面上,显示第一标识,第一标识指示参考对象在拍摄预览界面中的当前位置;在电子设备的移动距离大于预设值的情况下,更新所述第一标识的显示位置,并输出提示信息,以提示用户将第一标识调整至所述电子设备移动前所述第一标识所处的位置。通过本发明实施例公开的拍摄提示方法,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。

The embodiment of the present invention discloses a shooting prompt method and an electronic device. The method is applied to the electronic device, wherein the method includes: displaying a first logo on the shooting preview interface during the shooting process, and the first logo indicates Refer to the current position of the object in the shooting preview interface; when the moving distance of the electronic device is greater than the preset value, update the display position of the first mark, and output prompt information to prompt the user to adjust the first mark to the desired position. The position of the first identification before the electronic device moves. Through the shooting prompt method disclosed in the embodiment of the present invention, when the electronic device is detected to be moving during the shooting process, the user can be promptly prompted to adjust the electronic device to the position before the movement, and the degree of movement of the electronic device during the shooting process can be reduced to the greatest extent. Improve the clarity of the input preview image during the shooting process, reduce the scene change degree of the input preview image frame, so as to obtain a high-quality target image.

Description

Translated fromChinese
一种拍摄提示方法及电子设备A shooting prompt method and electronic device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种拍摄提示方法及电子设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a shooting prompt method and electronic equipment.

背景技术Background technique

目前电子设备上大多设置有相机,在使用相机拍照时预览图像帧数输入越多、曝光时间越长,拍摄所得到的目标图像清晰度越高。At present, most electronic devices are equipped with a camera. When using the camera to take pictures, the more frames of the preview image are input and the longer the exposure time is, the higher the clarity of the target image obtained is.

在实际拍摄过程中,预览图像帧数输入越多、曝光时间越长需要拍摄者拍摄过程中握持电子设备的时间越长,而拍摄者的手长时间握持电子设备时难免会抖动或移动,电子设备将随手移动或抖动而移动。但是在拍摄过程中拍摄者握持电子设备时需要保持电子设备尽可能小的移动,这是由于若电子设备移动输入的预览图像帧容易模糊,并且前后输入的预览图像帧的场景变化较大,最终导致输入的预览图像帧的融合效果差,无法得到高质量的目标图像。In the actual shooting process, the more input frames of the preview image and the longer the exposure time, the longer the photographer needs to hold the electronic device during the shooting process, and the photographer's hand will inevitably shake or move when holding the electronic device for a long time , the electronic device will move with hand movement or shaking. However, during the shooting process, the photographer needs to keep the electronic device as small as possible when holding the electronic device. This is because if the electronic device moves, the input preview image frame is likely to be blurred, and the scene of the input preview image frame changes greatly. Finally, the fusion effect of the input preview image frame is poor, and a high-quality target image cannot be obtained.

发明内容Contents of the invention

本发明实施例提供一种拍摄提示方法,以解决现有技术中存在的在拍摄过程中电子设备移动而导致的无法得到高质量的目标图像的问题。An embodiment of the present invention provides a shooting prompt method to solve the problem in the prior art that a high-quality target image cannot be obtained due to the movement of the electronic device during the shooting process.

为了解决上述技术问题,本发明是这样实现的: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 reminder method, wherein the method includes: displaying a first mark on the shooting preview interface during the shooting process, the first mark indicating that the reference object is in the The current position in the shooting preview interface; when the moving distance of the electronic device is greater than the preset value, update the display position of the first logo, and output prompt information to prompt the user to adjust the first logo to the The position of the first identification before the electronic device moves.

第二方面,本发明实施例提供了一种电子设备,其中,所述电子设备包括:显示模块,用于在拍摄过程中,在拍摄预览界面上,显示第一标识,所述第一标识指示参考对象在所述拍摄预览界面中的当前位置;更新模块,用于在终端的移动距离大于预设值的情况下,更新所述第一标识的显示位置,并输出提示信息,以提示用户将所述第一标识调整至所述终端移动前所述第一标识所处的位置。In a second aspect, an embodiment of the present invention provides an electronic device, wherein the electronic device includes: a display module, configured to display a first logo on the shooting preview interface during the shooting process, and the first logo indicates The current position of the reference object in the shooting preview interface; an update module, configured to update the display position of the first logo when the moving distance of the terminal is greater than a preset value, and output prompt information to prompt the user to The first identifier is adjusted to the position of the first identifier before the terminal moves.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现本发明实施例中所述的任一种拍摄提示方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic 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 Steps to implement any shooting prompt method described in the embodiments of the present invention.

第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现本发明实施例中所述的任一种拍摄提示方法的步骤。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 prompt method.

在本发明实施例中,通过在拍摄过程中,在拍摄预览界面上,显示第一标识,在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息,以提示用户将第一标识调整至电子设备移动前第一标识所处的位置,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。In the embodiment of the present invention, by displaying the first logo on the shooting preview interface during the shooting process, when the moving distance of the electronic device is greater than the preset value, the display position of the first logo is updated and prompt information is output , to prompt the user to adjust the first sign to the position of the first sign before the movement of the electronic device. When the movement of the electronic device is detected during the shooting process, the user can be promptly prompted to adjust the electronic device to the position before the move. Reduce the degree of movement of the electronic device during the shooting process, improve the clarity of the input preview image during the shooting process, and reduce the scene change degree of the input preview image frame, so as to obtain a high-quality target image.

附图说明Description of drawings

图1是根据本发明实施例提供的拍摄提示方法的流程图之一;FIG. 1 is one of the flow charts of a shooting prompt method provided according to an embodiment of the present invention;

图2是根据本发明实施例提供的拍摄提示方法的流程图之二;Fig. 2 is the second flowchart of the shooting prompt method provided according to the embodiment of the present invention;

图3是电子设备移动前特征区域在拍摄预览界面中的位置示意图;FIG. 3 is a schematic diagram of the position of the feature region in the shooting preview interface before the electronic device moves;

图4是电子设备移动后特征区域在拍摄预览界面中的位置示意图;Fig. 4 is a schematic diagram of the position of the feature area in the shooting preview interface after the electronic device is moved;

图5是电子设备移动后第一标识、第二标识在拍摄预览界面中的位置示意图;Fig. 5 is a schematic diagram of the positions of the first mark and the second mark in the shooting preview interface after the electronic device moves;

图6是拍摄预览界面中提示信息显示示意图;Fig. 6 is a schematic diagram showing prompt information in the shooting preview interface;

图7是根据本发明实施例提供的拍摄提示方法的流程图之三;Fig. 7 is the third flowchart of the shooting prompt method provided according to the embodiment of the present invention;

图8是电子设备移动前第一标识在拍摄预览界面中的位置示意图;Fig. 8 is a schematic diagram of the position of the first logo in the shooting preview interface before the electronic device moves;

图9是电子设备移动后拍摄预览界面示意图;FIG. 9 is a schematic diagram of a shooting preview interface after the electronic device moves;

图10是本发明实施例的电子设备的结构框图;Fig. 10 is a structural block diagram of an electronic device according to an embodiment of the present invention;

图11是根据本发明实施例提供的电子设备的硬件结构示意图。Fig. 11 is a schematic diagram of a hardware structure of an electronic device 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 flow charts of the shooting prompt method provided by the embodiment of the present invention.

本发明实施例的拍摄提示方法包括以下步骤:The shooting prompt method in the embodiment of the present invention includes the following steps:

步骤101:在拍摄过程中,在拍摄预览界面上,显示第一标识。Step 101: During the shooting process, display the first logo on the shooting preview interface.

第一标识指示参考对象在拍摄预览界面中的当前位置。在拍摄过程中,若电子设备移动则参考对象在拍摄预览界面中的位置将发生变化,相应地第一标识在拍摄预览界面中的显示位置也发生变化。The first mark indicates the current position of the reference object in the shooting preview interface. During the shooting process, if the electronic device moves, the position of the reference object in the shooting preview interface will change, and correspondingly, the display position of the first mark in the shooting preview interface will also change.

第一标识可以显示在拍摄预览界面中的任意适当的位置。第一标识可以为任意形状,例如:三角形、十字架或者矩形框等。The first logo can be displayed at any appropriate position in the shooting preview interface. The first mark can be in any shape, such as a triangle, a cross, or a rectangular frame.

步骤102:在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息。Step 102: When the moving distance of the electronic device is greater than a preset value, update the display position of the first logo, and output prompt information.

提示信息用于提示用户将第一标识调整至电子设备移动前第一标识所处的位置。将第一标识调整至电子设备移动前第一标识所处的位置时相应地电子设备将被移回移动前的位置,使得在拍摄过程中电子设备的位置不发生变化。The prompt information is used to prompt the user to adjust the first mark to the position of the first mark before the electronic device moves. When the first sign is adjusted to the position where the first sign was before the electronic device moved, the electronic device will be moved back to the position before the move accordingly, so that the position of the electronic device does not change during the shooting process.

提示信息可以为文字信息、引导标识以及语音信息中的至少之一。The prompt information may be at least one of text information, guide signs and voice information.

本发明实施例提供的拍摄提示方法,通过在拍摄过程中,在拍摄预览界面上,显示第一标识,在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息,以提示用户将第一标识调整至电子设备移动前第一标识所处的位置,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。In the shooting prompt method provided by the embodiment of the present invention, by displaying the first mark on the shooting preview interface during the shooting process, when the moving distance of the electronic device is greater than a preset value, the display position of the first mark is updated, and Outputting prompt information to prompt the user to adjust the first mark to the position where the first mark was before the electronic device moved, and prompt the user to adjust the electronic device to the position before the move when the electronic device is detected to be moving during the shooting process, Minimize the movement of the electronic device during the shooting process, improve the clarity of the preview image input during the shooting process, and reduce the scene change degree of the input preview image frame, so as to obtain high-quality target images.

参照图2,示出本发明实施例提供的拍摄提示方法的流程图之二。Referring to FIG. 2 , it shows the second flowchart of the shooting prompt method provided by the embodiment of the present invention.

本发明实施例中的拍摄提示方法具体包括以下步骤:The shooting prompt method in the embodiment of the present invention specifically includes the following steps:

步骤201:在拍摄过程中,确定拍摄预览界面中的N个特征区域。Step 201: During the shooting process, determine N feature areas in the shooting preview interface.

其中,N为大于1的整数,N可以为2、3、4或者5等数值,在具体实现过程中,N的具体取值可以由本领域技术人员根据实际需求进行设置,本发明实施中对此不做具体限制。Wherein, N is an integer greater than 1, and N can be values such as 2, 3, 4 or 5. In the specific implementation process, the specific value of N can be set by those skilled in the art according to actual needs. No specific restrictions are made.

本发明实施例中参照图3以N等于5为例进行说明,图3为电子设备移动前特征区域在拍摄预览界面中的位置示意图,该示意图中包含5个特征区域301,这五个特征区域分别为F、F1、F2、F3以及F4五个方框。这些特征区域的边框在预览界面中不显示因此对用户而言不可视。在拍摄过程中可瞬间获取拍摄预览界面中预览图像中心区域的一个M*M大小的方框区域F作为特征区域,并获取预览图像四周的相同大小的方框区域F1、F2、F3以及F4作为特征区域。In the embodiment of the present invention, refer to FIG. 3 and take N equal to 5 as an example. FIG. 3 is a schematic diagram of the position of the feature area in the shooting preview interface before the electronic device moves. The schematic diagram includes 5 feature areas 301. The five feature areas There are five boxes F, F1, F2, F3 and F4 respectively. The borders of these characteristic regions are not displayed in the preview interface and thus are not visible to the user. During the shooting process, a frame area F of M*M size in the center area of the preview image in the shooting preview interface can be obtained instantly as the feature area, and frame areas F1, F2, F3 and F4 of the same size around the preview image can be obtained as the feature area. characteristic area.

需要说明的是,特征区域并不局限于图3中所示的方框区域,还可以任意适当形状的区域,如圆形、三角形或者六边形等,本发明实施例中对特征区域的具体形状不做具体限制。图3中仅是示例性的展示了一种确定特征区域的方式,在具体实现过程中并不局限于此,还可以仅在拍摄预览界面中确定一个特征区域,例如:仅将预览图像中心区域的一个预设图形区域作为特征区域;仅将预览图像左上角处的一个预设图形区域作为特征区域;仅将预览图像右上角处的一个预设图像区域作为特征区域;仅将预览图像左下角处的一个预设图像区域作为特征区域;仅将预览图像右上角处的一个预设图像区域作为特征区域。当然并不县与此,还可以在拍摄预览界面中确定两个、三个或者四个预设图形区域作为特征区域。本发明实施例中不再一一列举。It should be noted that the feature area is not limited to the box area shown in FIG. 3 , but can also be an area of any appropriate shape, such as a circle, triangle, or hexagon. The shape is not specifically limited. Figure 3 is only an exemplary way to determine a feature area, and it is not limited to this in the actual implementation process. It is also possible to determine a feature area only in the shooting preview interface, for example: only the central area of the preview image Only one preset graphic area at the upper left corner of the preview image is used as the feature area; only one preset image area at the upper right corner of the preview image is used as the feature area; only the lower left corner of the preview image is used as the feature area; A preset image area at is used as a feature area; only a preset image area at the upper right corner of the preview image is used as a feature area. Of course, this is not the case, and two, three or four preset graphic areas can also be determined as feature areas in the shooting preview interface. The embodiments of the present invention will not list them one by one.

步骤202:在N个特征区域中的目标特征区域上,显示第一标识。Step 202: Display the first logo on the target feature area among the N feature areas.

目标特征区域可以为N个特征区域中的任意一个或多个特征区域,本发明实施例中以目标特征区域为F特征区域,在F特征区域上显示有第一标识302为例进行说明。第一标识指示参考对象在拍摄预览界面中的当前位置,在拍摄预览界面中第一标识对于用户而言可视。为便于用户直观查看电子设备是否发生移动,还可以在拍摄预览界面中显示第二标识,在图3中第一标识与第二标识重合,因此未对第二标识进行标注。The target feature area may be any one or more feature areas in the N feature areas. In the embodiment of the present invention, the target feature area is an F feature area, and the first logo 302 is displayed on the F feature area as an example for illustration. The first mark indicates the current position of the reference object in the shooting preview interface, and the first mark is visible to the user in the shooting preview interface. In order to facilitate the user to intuitively check whether the electronic device has moved, the second mark can also be displayed in the shooting preview interface. In FIG. 3 , the first mark and the second mark overlap, so the second mark is not marked.

步骤203:将目标特征区域的拍摄对象作为参考对象与第一标识关联。Step 203: Associating the shooting object of the target feature area with the first identifier as a reference object.

在将目标特征区域的拍摄对象作为参考对象与第一标识关联时,可计算目标特征区域F的图像内容的特征点,通过特征点匹配的方式,将第一标识和目标特征区域的拍摄对象的位置进行锁定,目标特征区域的拍摄对象作为参考对象。When associating the object of the target feature area with the first mark as the reference object, the feature points of the image content of the target feature area F can be calculated, and the first mark and the object of the target feature area can be matched by means of feature point matching. The position is locked, and the object in the target feature area is used as the reference object.

本发明实施例中以将第一标识与目标特征区域的拍摄对象进行关联为例进行说明,在具体实现过程中还可以计算特征区域F、F1、F2、F3以及F4的图像内容的特征点,通过特征点匹配的方式,将第一标识和五个特征区域的拍摄对象的位置均进行锁定,但第一标识始终标注在特征区域F上面。如图4所示,当电子设备发生移动时,F、F1、F2、F3以及F4特征区域将跟随锁定的拍摄对象一起移动,第一标识将同步产生位移。In the embodiment of the present invention, it is described by associating the first mark with the shooting object of the target feature area as an example. In the specific implementation process, the feature points of the image content of the feature areas F, F1, F2, F3, and F4 can also be calculated. By means of feature point matching, the positions of the first mark and the shooting objects in the five feature areas are all locked, but the first mark is always marked on the feature area F. As shown in FIG. 4 , when the electronic device moves, the characteristic areas of F, F1, F2, F3 and F4 will move together with the locked subject, and the first mark will be displaced synchronously.

步骤204:在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息。Step 204: When the moving distance of the electronic device is greater than a preset value, update the display position of the first logo, and output prompt information.

其中,预设值可以由本领域技术人员根据实际需求进行设置,本发明实施例中对此不做具体限制。Wherein, the preset value can be set by those skilled in the art according to actual needs, and this is not specifically limited in the embodiment of the present invention.

图5为电子设备移动后第一标识、第二标识在拍摄预览界面中的位置示意图。如图3中所示第一标识302与第二标识303重合,当电子设备的移动距离大于预设值的情况下,如图5中所示第一标识302与第二标识303之间产生一定位移,表明电子设备发生了移动,此时输出提示信息,所输出的提示信息用于提示用户将第一标识调整至电子设备移动前第一标识所处的位置。FIG. 5 is a schematic diagram of positions of the first mark and the second mark in the shooting preview interface after the electronic device is moved. As shown in FIG. 3, the first mark 302 overlaps with the second mark 303. When the moving distance of the electronic device is greater than the preset value, a certain distance is generated between the first mark 302 and the second mark 303 as shown in FIG. The displacement indicates that the electronic device has moved. At this time, prompt information is output, and the output prompt information is used to prompt the user to adjust the first mark to the position where the first mark was before the electronic device moved.

输出提示信息时,可以仅显示引导标识,引导标识指示电子设备的移动方向,使得第一标识调整至电子设备移动前第一标识所处的位置。其中,移动方向为沿第一标识指向第二标识的方向。When outputting the prompt information, only the guide sign may be displayed, and the guide sign indicates the moving direction of the electronic device, so that the first sign is adjusted to the position of the first sign before the electronic device moves. Wherein, the moving direction is a direction along the first mark and pointing to the second mark.

也可以仅显示文字信息,文字信息指示用户将第一标识调整至电子设备移动前第一标识所处的位置。优选地,文字信息中还可以包含移动距离,便于用户精准地将电子设备移动至发生移动前的位置。例如:当检测到电子设备向左移动1cm时,显示的文字信息可以为“将电子设备向右移动1cm”It is also possible to only display text information, and the text information instructs the user to adjust the first sign to the position of the first sign before the electronic device moves. Preferably, the text information may also include a moving distance, so that the user can accurately move the electronic device to a position before the movement occurs. For example: when the electronic device is detected to move 1cm to the left, the displayed text information can be "move the electronic device to the right by 1cm"

一种优选地输出提示信息的方式如图6中所示同时显示引导标识304和文字信息305,该种优选地输出提示信息的方式,通过文字信息可传达用户调整电子设备的目的,通过引导标识可引导用户如何调整电子设备,表达直观且明了,便于用户理解。如图6所示,第一标识302与第二标识303产生一定位移后,在拍摄预览界面上显示引导标识304,引导标识304指示第一标识与第二标识的位移方向,为将第一标识与第二标识对齐,需反向移动电子设备。如图6中所示,第一标识与第二标识的位移方向为水平向左,则需要水平向右移动电子设备,以使第一标识与第二标识对齐。A preferred way of outputting prompt information is to simultaneously display guide signs 304 and text information 305 as shown in FIG. It can guide the user on how to adjust the electronic device, and the expression is intuitive and clear, which is easy for the user to understand. As shown in Figure 6, after the first mark 302 and the second mark 303 have a certain displacement, a guide mark 304 is displayed on the shooting preview interface, and the guide mark 304 indicates the displacement direction of the first mark and the second mark, which is to move the first mark To align with the second logo, the electronic device needs to be moved in reverse. As shown in FIG. 6 , the displacement direction of the first mark and the second mark is horizontally to the left, and the electronic device needs to be moved horizontally to the right so that the first mark and the second mark are aligned.

本发明实施例提供的拍摄提示方法,通过在拍摄过程中,在拍摄预览界面上,显示第一标识,在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息,以提示用户将第一标识调整至电子设备移动前第一标识所处的位置,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。此外,本发明实施例中提供了优选地输出提示信息的方式,表达直观且明了,便于用户理解。In the shooting prompt method provided by the embodiment of the present invention, by displaying the first mark on the shooting preview interface during the shooting process, when the moving distance of the electronic device is greater than a preset value, the display position of the first mark is updated, and Outputting prompt information to prompt the user to adjust the first mark to the position where the first mark was before the electronic device moved, and prompt the user to adjust the electronic device to the position before the move when the electronic device is detected to be moving during the shooting process, Minimize the movement of the electronic device during the shooting process, improve the clarity of the preview image input during the shooting process, and reduce the scene change degree of the input preview image frame, so as to obtain high-quality target images. In addition, the embodiments of the present invention provide a preferred way to output prompt information, which is intuitive and clear, and easy for users to understand.

参照图7,示出本发明实施例提供的拍摄提示方法的流程图之三。Referring to FIG. 7 , it shows the third flowchart of the shooting prompt method provided by the embodiment of the present invention.

本发明实施例中的拍摄提示方法具体包括以下步骤:The shooting prompt method in the embodiment of the present invention specifically includes the following steps:

步骤401:在拍摄过程中,确定拍摄预览界面的目标参考区域。Step 401: During the shooting process, determine the target reference area of the shooting preview interface.

一种优选地确定拍摄预览界面的目标参考区域的方式为:A preferred way to determine the target reference area of the shooting preview interface is:

首先,获取拍摄预览界面的四个边缘区域;其次,对于每个边缘区域,向拍摄预览界面的中心方向收敛M个像素点,得到四个参考子区域;再次,将四个参考子区域围成的环形区域作为目标参考区域。First, obtain the four edge areas of the shooting preview interface; secondly, for each edge area, converge M pixels toward the center of the shooting preview interface to obtain four reference sub-areas; again, surround the four reference sub-areas The circular area of the target is used as the target reference area.

M个像素点是图像多帧对齐时,所能接受的最大图像之间的相同内容的位移量。该种优选地确定目标参考区域的方式计算量小,既能够降低电子设备的计算负荷又能缩短计算所耗时长。M pixels are the maximum acceptable displacement of the same content between images when multiple frames of images are aligned. This method of preferably determining the target reference area has a small amount of calculation, which can not only reduce the calculation load of the electronic device, but also shorten the calculation time.

步骤402:在目标参考区域,显示第一标识。Step 402: Display the first logo in the target reference area.

第一标识与目标参考区域重合,第一标识指示参考对象在拍摄预览界面中的当前位置。如图8所示,电子设备移动前第一标识501位于拍摄预览界面内部,且距离拍摄预览界面边缘M各像素点。目标参考区域和步骤401中显示的拍摄预览界面中的拍摄对象进行标定。The first mark coincides with the target reference area, and the first mark indicates the current position of the reference object in the shooting preview interface. As shown in FIG. 8 , before the electronic device moves, the first mark 501 is located inside the shooting preview interface, and is M pixels away from the edge of the shooting preview interface. The target reference area and the shooting object in the shooting preview interface displayed in step 401 are marked.

在图像拍摄过程中,当电子设备发生移动,目标参考区域标定的拍摄对象的位置发生变化时,目标参考区域在拍摄预览界面中的位置随之变化,第一标识在拍摄预览界面中的显示位置随目标参考区域位置发生变化。During the image capture process, when the electronic device moves and the position of the subject marked by the target reference area changes, the position of the target reference area in the shooting preview interface changes accordingly, and the display position of the first mark in the shooting preview interface Changes with the position of the target reference area.

步骤403:在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并显示文字信息。Step 403: When the moving distance of the electronic device is greater than a preset value, update the display position of the first logo and display text information.

预设值可以为K个像素点,K小于或等于M。若预设值为M个像素点,则相当于拍摄预览界面的四个边缘区域围成的环形区域为目标参考区域的最大可移动范围,由于目标参考区域与第一标识重合,因此拍摄预览界面的四个边缘区域围成的环形区域为第一标识的最大可移动范围,当目标参考区域的任意一个参考子区域移出该最大可移动范围时,确定电子设备的移动距离大于预设值,更新第一标识的显示位置,并显示文字信息。如图9所示,从第一标识501的显示位置可视,第一标识501已有部分移出该最大可移动范围即移出拍摄预览界面,该种情况下在拍摄预览界面中显示文字信息502。对于文字信息的具体内容可由本领域技术人员灵活设置,并不局限于图9中所示的“为了效果更佳,请保持方框在界面内”所显示的文字信息能够起到提示用户将第一标识调整至电子设备移动前第一标识所处的位置的作用即可。The preset value may be K pixels, and K is less than or equal to M. If the preset value is M pixels, it is equivalent to that the ring-shaped area surrounded by the four edge areas of the shooting preview interface is the maximum movable range of the target reference area. Since the target reference area overlaps with the first mark, the shooting preview interface The circular area surrounded by the four edge areas of , is the maximum movable range of the first identification. When any reference sub-area of the target reference area moves out of the maximum movable range, it is determined that the moving distance of the electronic device is greater than the preset value, and the updated The display position of the first logo, and display text information. As shown in FIG. 9 , it can be seen from the display position of the first mark 501 that the first mark 501 has partially moved out of the maximum movable range, that is, it has moved out of the shooting preview interface. In this case, text information 502 is displayed in the shooting preview interface. The specific content of the text information can be flexibly set by those skilled in the art, and it is not limited to the text information displayed in "For better results, please keep the box in the interface" shown in Figure 9. The function of adjusting the first mark to the position of the first mark before the electronic device moves is sufficient.

当检测到第一标识调整至电子设备移动前第一标识所处的位置时,文字提示信息消失,继续对电子设备的移动距离进行检测。When it is detected that the first mark is adjusted to the position of the first mark before the electronic device moves, the text prompt information disappears, and the detection of the moving distance of the electronic device is continued.

本发明实施例提供的拍摄提示方法,通过在拍摄过程中,确定拍摄预览界面中的目标参考区域,在目标参考区域显示第一标识,在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出文字信息以提示用户将第一标识调整至电子设备移动前第一标识所处的位置,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。此外,本发明实施例中还提供了确定目标参考区域的优选方式,该种技术方式计算量小,既能够降低电子设备的计算负荷又能缩短计算所耗时长。In the shooting prompt method provided by the embodiment of the present invention, by determining the target reference area in the shooting preview interface during the shooting process, displaying the first logo in the target reference area, and updating the The display position of the first logo, and output text information to prompt the user to adjust the first logo to the position of the first logo before the electronic device moves, and can prompt the user to move the electronic device in time when the electronic device is detected to be moved during the shooting process Adjust to the position before the movement, minimize the movement of the electronic device during the shooting process, improve the clarity of the preview image input during the shooting process, and reduce the scene change of the input preview image frame, so as to obtain high-quality shooting target image. In addition, the embodiment of the present invention also provides an optimal method for determining the target reference area. This technical method has a small amount of calculation, which can not only reduce the calculation load of the electronic device, but also shorten the calculation time.

参照图10,示出了本发明实施例的电子设备的结构框图。终端能实现前述实施例中的拍摄提示方法的细节,并达到相同的效果。Referring to FIG. 10 , it shows a structural block diagram of an electronic device according to an embodiment of the present invention. The terminal can implement the details of the shooting prompt method in the foregoing embodiments, and achieve the same effect.

本发明实施例的电子设备包括:显示模块601,用于在拍摄过程中,在拍摄预览界面上,显示第一标识,所述第一标识指示参考对象在所述拍摄预览界面中的当前位置;更新模块602,用于在电子设备的移动距离大于预设值的情况下,更新所述第一标识的显示位置,并输出提示信息,以提示用户将所述第一标识调整至所述电子设备移动前所述第一标识所处的位置。显示模块和更新模块顺次连接。The electronic device in the embodiment of the present invention includes: a display module 601, configured to display a first mark on the shooting preview interface during the shooting process, the first mark indicating the current position of the reference object in the shooting preview interface; An update module 602, configured to update the display position of the first logo when the moving distance of the electronic device is greater than a preset value, and output prompt information to prompt the user to adjust the first logo to the electronic device The position of the first identification before moving. The display module and update module are connected in sequence.

优选地,所述显示模块包括:特征区域确定子模块,用于在拍摄过程中,确定所述拍摄预览界面中的N个特征区域;第一标识显示子模块,用于在所述N个特征区域中的目标特征区域上,显示所述第一标识;关联子模块,用于将所述目标特征区域的拍摄对象作为参考对象与所述第一标识关联;其中,N为大于1的整数。所述特征区域确定子模块、所述第一标识显示子模块以及所述关联子模块顺次连接。Preferably, the display module includes: a feature area determination submodule, configured to determine N feature areas in the shooting preview interface during the shooting process; a first identification display submodule, used to identify N feature areas in the The first logo is displayed on the target feature area in the area; the association submodule is configured to associate the shooting object in the target feature area as a reference object with the first logo; wherein, N is an integer greater than 1. The characteristic area determination submodule, the first logo display submodule and the association submodule are connected in sequence.

优选地,所述显示模块包括:参考区域确定子模块,用于在拍摄过程中,确定所述拍摄预览界面的目标参考区域;第二标识显示子模块,用于在所述目标参考区域,显示第一标识;其中,所述第一标识与所述目标参考区域重合。所述参考区域确定子模块和所述第二标识显示子模块顺次连接。Preferably, the display module includes: a reference area determining submodule, configured to determine the target reference area of the shooting preview interface during the shooting process; a second identification display submodule, used to display in the target reference area A first identification; wherein, the first identification coincides with the target reference area. The reference area determining submodule and the second identification display submodule are connected in sequence.

优选地,所述参考区域确定子模块包括:获取单元,用于获取所述拍摄预览界面的四个边缘区域;收敛单元,用于对于每个边缘区域,向所述拍摄预览界面的中心方向收敛M个像素点,得到四个参考子区域;区域确定单元,用于将所述四个参考子区域围成的环形区域作为目标参考区域。所述获取单元、所述收敛单元以及所述区域确定单元顺次连接。Preferably, the reference area determining submodule includes: an acquiring unit, configured to acquire four edge areas of the shooting preview interface; a converging unit, configured to converge toward the center of the shooting preview interface for each edge area M pixel points to obtain four reference sub-areas; an area determination unit configured to use the ring-shaped area enclosed by the four reference sub-areas as a target reference area. The acquisition unit, the convergence unit, and the area determination unit are connected in sequence.

优选地,所述更新模块包括标识位置更新显示子模块和提示信息输出子模块,所述提示信息输出子模块包括以下至少一个单元:引导标识显示单元,用于显示引导标识,所述引导标识指示电子设备的移动方向,使得所述第一标识调整至所述电子设备移动前所述第一标识所处的位置;文字信息显示单元,用于显示文字信息,所述文字信息指示用户将所述第一标识调整至所述电子设备移动前所述第一标识所处的位置。Preferably, the update module includes a logo location update display submodule and a prompt information output submodule, and the prompt information output submodule includes at least one of the following units: a guide sign display unit, configured to display a guide sign, and the guide sign indicates the moving direction of the electronic device, so that the first sign is adjusted to the position where the first sign was before the electronic device moved; the text information display unit is used to display text information, and the text information instructs the user to move the The first mark is adjusted to the position of the first mark before the electronic device moves.

本发明实施例提供的电子设备能够实现图1至图9的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can implement various processes implemented by the electronic device in the method embodiments in FIG. 1 to FIG. 9 , and details are not repeated here to avoid repetition.

本发明实施例提供的电子设备,通过在拍摄过程中,在拍摄预览界面上,显示第一标识,在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息,以提示用户将第一标识调整至电子设备移动前第一标识所处的位置,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。The electronic device provided by the embodiment of the present invention displays the first logo on the shooting preview interface during the shooting process, and updates the display position of the first logo when the moving distance of the electronic device is greater than a preset value, and outputs Prompt information to prompt the user to adjust the first sign to the position of the first sign before the movement of the electronic device, which can promptly prompt the user to adjust the electronic device to the position before the move when the electronic device is detected to be moving during the shooting process. Minimize the movement of the electronic device during the shooting process, improve the clarity of the preview image input during the shooting process, and reduce the scene change degree of the input preview image frame, so as to obtain a high-quality target image.

参照图11,示出了本发明实施例的一种电子设备的硬件结构示意图。Referring to FIG. 11 , it shows a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

图11为实现本发明各个实施例的一种电子设备的硬件结构示意图,该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Figure 11 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention, the electronic device 700 includes but not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, and a display unit 706 , a user input unit 707 , an interface unit 708 , a memory 709 , a processor 710 , and a power supply 711 and other components. Those skilled in the art can understand that the structure of the electronic device shown in Figure 11 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

处理器710,用于在拍摄过程中,在拍摄预览界面上,显示第一标识,所述第一标识指示参考对象在所述拍摄预览界面中的当前位置;The processor 710 is configured to display a first mark on the shooting preview interface during the shooting process, the first mark indicating the current position of the reference object in the shooting preview interface;

在电子设备的移动距离大于预设值的情况下,更新所述第一标识的显示位置,并输出提示信息,以提示用户将所述第一标识调整至所述电子设备移动前所述第一标识所处的位置。When the moving distance of the electronic device is greater than the preset value, update the display position of the first sign, and output prompt information to prompt the user to adjust the first sign to the first position before the electronic device moves. Identifies where it is located.

本发明实施例提供的电子设备,通过在拍摄过程中,在拍摄预览界面上,显示第一标识,在电子设备的移动距离大于预设值的情况下,更新第一标识的显示位置,并输出提示信息,以提示用户将第一标识调整至电子设备移动前第一标识所处的位置,能够在拍摄过程中检测到电子设备移动时及时的提示用户将电子设备调整至移动前的位置,最大程度的减轻电子设备在拍摄过程中的移动程度,提升拍摄过程中输入的预览图像的清晰度,减小输入的预览图像帧的场景变化程度,从而拍摄得到高质量的目标图像。The electronic device provided by the embodiment of the present invention displays the first logo on the shooting preview interface during the shooting process, and updates the display position of the first logo when the moving distance of the electronic device is greater than a preset value, and outputs Prompt information to prompt the user to adjust the first sign to the position of the first sign before the movement of the electronic device, which can promptly prompt the user to adjust the electronic device to the position before the move when the electronic device is detected to be moving during the shooting process. Minimize the movement of the electronic device during the shooting process, improve the clarity of the preview image input during the shooting process, and reduce the scene change degree of the input preview image frame, so as to obtain a high-quality target image.

应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 can be used to receive and send 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 710; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 701 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 701 can also communicate with the network and other devices through a wireless communication system.

电子设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与电子设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 can also provide audio output related to a specific function performed by the electronic device 700 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.

输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processing unit (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 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 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage media) or sent via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 701 for output in the case of a phone call mode.

电子设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在电子设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 700 also includes at least one sensor 705, 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 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and 7061 when the electronic device 700 moves to the ear. / 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 still, and can be used to identify the posture of electronic equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061,显示面板7061即电子设备的屏幕,电子设备的屏幕包含N个区域,每个区域下对应设置有一个光敏传感器。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. The display panel 7061 is a screen of an electronic device. The screen of the electronic device includes N areas, and a photosensitive sensor is correspondingly arranged under each area.

用户输入单元707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 7071 or near the touch panel 7071). operate). The touch panel 7071 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 710, receive the command sent by the processor 710 and execute it. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 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.

进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图11中,触控面板7071与显示面板7061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现电子设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it will be sent to the processor 710 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 7061. Although in FIG. 11, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated. The implementation of the input and output functions of the electronic device is not specifically limited here.

接口单元708为外部装置与电子设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备700内的一个或多个元件或者可以用于在电子设备700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device to the electronic device 700 . 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 708 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs as well as various data. The memory 709 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 709 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.

处理器710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 709, and calling data stored in the memory 709 , to perform various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 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 710 .

电子设备700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 700 can also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,电子设备700包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 700 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种电子设备,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述拍摄提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 710, a memory 709, and a computer program stored in the memory 709 and operable on the processor 710, when the computer program is executed by the processor 710 The various processes of the above embodiment of the shooting prompt 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 prompt method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them 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 (10)

Translated fromChinese
1.一种拍摄提示方法,其特征在于,所述方法包括:1. A shooting prompt method, characterized in that the method comprises:在拍摄过程中,在拍摄预览界面上,显示第一标识,所述第一标识指示参考对象在所述拍摄预览界面中的当前位置;During the shooting process, displaying a first mark on the shooting preview interface, the first mark indicating the current position of the reference object in the shooting preview interface;在电子设备的移动距离大于预设值的情况下,更新所述第一标识的显示位置,并输出提示信息,以提示用户将所述第一标识调整至所述电子设备移动前所述第一标识所处的位置。When the moving distance of the electronic device is greater than the preset value, update the display position of the first sign, and output prompt information to prompt the user to adjust the first sign to the first position before the electronic device moves. Identifies where it is located.2.根据权利要求1所述的方法,其特征在于,所述在拍摄过程中,在拍摄预览界面上,显示第一标识,包括:2. The method according to claim 1, wherein displaying the first logo on the shooting preview interface during the shooting process comprises:在拍摄过程中,确定所述拍摄预览界面中的N个特征区域;During the shooting process, determine N feature areas in the shooting preview interface;在所述N个特征区域中的目标特征区域上,显示所述第一标识;displaying the first logo on a target feature area among the N feature areas;将所述目标特征区域的拍摄对象作为参考对象与所述第一标识关联;Associating the shooting object of the target feature area with the first identifier as a reference object;其中,N为大于1的整数。Wherein, N is an integer greater than 1.3.根据权利要求1所述的方法,其特征在于,所述在拍摄过程中,在拍摄预览界面上,显示第一标识,包括:3. The method according to claim 1, wherein displaying the first logo on the shooting preview interface during the shooting process comprises:在拍摄过程中,确定所述拍摄预览界面的目标参考区域;During the shooting process, determining the target reference area of the shooting preview interface;在所述目标参考区域,显示第一标识;displaying a first logo in the target reference area;其中,所述第一标识与所述目标参考区域重合。Wherein, the first mark coincides with the target reference area.4.根据权利要求3所述的方法,其特征在于,所述确定所述拍摄预览界面的目标参考区域,包括:4. The method according to claim 3, wherein the determining the target reference area of the shooting preview interface comprises:获取所述拍摄预览界面的四个边缘区域;Acquiring the four edge areas of the shooting preview interface;对于每个边缘区域,向所述拍摄预览界面的中心方向收敛M个像素点,得到四个参考子区域;For each edge area, converge M pixel points toward the center direction of the shooting preview interface to obtain four reference sub-areas;将所述四个参考子区域围成的环形区域作为目标参考区域。The circular area surrounded by the four reference sub-areas is used as the target reference area.5.根据权利要求1所述的方法,其特征在于,所述输出提示信息,包括以下至少一项:5. The method according to claim 1, wherein the output prompt information includes at least one of the following:显示引导标识,所述引导标识指示终端的移动方向,使得所述第一标识调整至所述电子设备移动前所述第一标识所处的位置;displaying a guide sign, where the guide sign indicates the moving direction of the terminal, so that the first sign is adjusted to the position of the first sign before the electronic device moves;显示文字信息,所述文字信息指示用户将所述第一标识调整至所述电子设备移动前所述第一标识所处的位置。Displaying text information, the text information instructs the user to adjust the first sign to the position where the first sign was before the electronic device moved.6.一种电子设备,其特征在于,所述电子设备包括:6. An electronic device, characterized in that the electronic device comprises:显示模块,用于在拍摄过程中,在拍摄预览界面上,显示第一标识,所述第一标识指示参考对象在所述拍摄预览界面中的当前位置;A display module, configured to display a first mark on the shooting preview interface during the shooting process, the first mark indicating the current position of the reference object in the shooting preview interface;更新模块,用于在电子设备的移动距离大于预设值的情况下,更新所述第一标识的显示位置,并输出提示信息,以提示用户将所述第一标识调整至所述电子设备移动前所述第一标识所处的位置。An update module, configured to update the display position of the first sign when the moving distance of the electronic device is greater than a preset value, and output prompt information to prompt the user to adjust the first sign to the position where the electronic device moves The position of the aforementioned first identification.7.根据权利要求6所述的电子设备,其特征在于,所述显示模块包括:7. The electronic device according to claim 6, wherein the display module comprises:特征区域确定子模块,用于在拍摄过程中,确定所述拍摄预览界面中的N个特征区域;A feature area determining submodule, configured to determine N feature areas in the shooting preview interface during the shooting process;第一标识显示子模块,用于在所述N个特征区域中的目标特征区域上,显示所述第一标识;A first logo display submodule, configured to display the first logo on a target feature area among the N feature areas;关联子模块,用于将所述目标特征区域的拍摄对象作为参考对象与所述第一标识关联;An associating submodule, configured to associate the shooting object of the target feature area with the first identification as a reference object;其中,N为大于1的整数。Wherein, N is an integer greater than 1.8.根据权利要求6所述的电子设备,其特征在于,所述显示模块包括:8. The electronic device according to claim 6, wherein the display module comprises:参考区域确定子模块,用于在拍摄过程中,确定所述拍摄预览界面的目标参考区域;The reference area determining submodule is used to determine the target reference area of the shooting preview interface during the shooting process;第二标识显示子模块,用于在所述目标参考区域,显示第一标识;The second logo display submodule is used to display the first logo in the target reference area;其中,所述第一标识与所述目标参考区域重合。Wherein, the first mark coincides with the target reference area.9.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的拍摄提示方法的步骤。9. An electronic device, characterized by comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the The steps of the shooting prompt method described in any one of 1 to 5 are required.10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的拍摄提示方法的步骤。10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the photographing according to any one of claims 1 to 5 is realized Prompt method steps.
CN201910810750.8A2019-08-292019-08-29Shooting prompting method and electronic equipmentActiveCN110445984B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910810750.8ACN110445984B (en)2019-08-292019-08-29Shooting prompting method and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910810750.8ACN110445984B (en)2019-08-292019-08-29Shooting prompting method and electronic equipment

Publications (2)

Publication NumberPublication Date
CN110445984Atrue CN110445984A (en)2019-11-12
CN110445984B CN110445984B (en)2021-06-29

Family

ID=68438382

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910810750.8AActiveCN110445984B (en)2019-08-292019-08-29Shooting prompting method and electronic equipment

Country Status (1)

CountryLink
CN (1)CN110445984B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111415386A (en)*2020-03-162020-07-14贝壳技术有限公司Shooting equipment position prompting method and device, storage medium and electronic equipment
CN111860190A (en)*2020-06-242020-10-30国汽(北京)智能网联汽车研究院有限公司Target tracking method, device, equipment and storage medium
CN113055581A (en)*2019-12-262021-06-29北京百度网讯科技有限公司Image shooting method and device and electronic equipment
CN113727012A (en)*2020-08-272021-11-30荣耀终端有限公司Shooting method and terminal
WO2022001733A1 (en)*2020-06-302022-01-06中兴通讯股份有限公司Method and device for displaying photographing object, storage medium, and terminal
CN115118840A (en)*2021-03-222022-09-27Oppo广东移动通信有限公司 A shooting method, device, electronic device and storage medium
CN115278060A (en)*2022-07-012022-11-01北京五八信息技术有限公司Data processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103312949A (en)*2012-03-162013-09-18深圳富泰宏精密工业有限公司System and method for prompting autodyne
US20140028704A1 (en)*2012-07-302014-01-30Lenovo (Beijing) Co., Ltd.Display Device
CN103634530A (en)*2012-08-272014-03-12三星电子株式会社Photographing apparatus, method of controlling the same
CN108289174A (en)*2018-01-252018-07-17努比亚技术有限公司A kind of image pickup method, mobile terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103312949A (en)*2012-03-162013-09-18深圳富泰宏精密工业有限公司System and method for prompting autodyne
US20140028704A1 (en)*2012-07-302014-01-30Lenovo (Beijing) Co., Ltd.Display Device
CN103634530A (en)*2012-08-272014-03-12三星电子株式会社Photographing apparatus, method of controlling the same
CN108289174A (en)*2018-01-252018-07-17努比亚技术有限公司A kind of image pickup method, mobile terminal and computer readable storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113055581A (en)*2019-12-262021-06-29北京百度网讯科技有限公司Image shooting method and device and electronic equipment
CN113055581B (en)*2019-12-262022-07-22北京百度网讯科技有限公司 Image capturing method, device and electronic device
CN111415386B (en)*2020-03-162023-05-26如你所视(北京)科技有限公司Shooting device position prompting method and device, storage medium and electronic device
CN111415386A (en)*2020-03-162020-07-14贝壳技术有限公司Shooting equipment position prompting method and device, storage medium and electronic equipment
CN111860190A (en)*2020-06-242020-10-30国汽(北京)智能网联汽车研究院有限公司Target tracking method, device, equipment and storage medium
CN111860190B (en)*2020-06-242024-04-12国汽(北京)智能网联汽车研究院有限公司Method, device, equipment and storage medium for target tracking
WO2022001733A1 (en)*2020-06-302022-01-06中兴通讯股份有限公司Method and device for displaying photographing object, storage medium, and terminal
CN113727012A (en)*2020-08-272021-11-30荣耀终端有限公司Shooting method and terminal
US11870951B2 (en)2020-08-272024-01-09Honor Device Co., Ltd.Photographing method and terminal
CN113727012B (en)*2020-08-272022-09-27荣耀终端有限公司 A shooting method and terminal
CN115118840A (en)*2021-03-222022-09-27Oppo广东移动通信有限公司 A shooting method, device, electronic device and storage medium
CN115278060A (en)*2022-07-012022-11-01北京五八信息技术有限公司Data processing method and device, electronic equipment and storage medium
CN115278060B (en)*2022-07-012024-04-09北京五八信息技术有限公司Data processing method and device, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN110445984B (en)2021-06-29

Similar Documents

PublicationPublication DateTitle
CN107957839B (en)Display control method and mobile terminal
CN108182043B (en)Information display method and mobile terminal
CN108446085A (en)A kind of throwing screen display methods and mobile terminal
CN108495029B (en) A kind of photographing method and mobile terminal
CN110445984A (en)A kind of shooting reminding method and electronic equipment
CN108073343B (en) A display interface adjustment method and mobile terminal
CN108513070A (en)A kind of image processing method, mobile terminal and computer readable storage medium
CN109032445B (en) A screen display control method and terminal device
US20220351330A1 (en)Image cropping method and electronic device
CN111562896A (en)Screen projection method and electronic equipment
CN108471498A (en)A kind of shooting preview method and terminal
WO2020238497A1 (en)Icon moving method and terminal device
CN108196815B (en)Method for adjusting call sound and mobile terminal
US11863901B2 (en)Photographing method and terminal
CN110602389A (en)Display method and electronic equipment
CN108595201A (en)A kind of application program update method and mobile terminal
CN110413363B (en) A screenshot method and terminal equipment
CN108984082A (en)A kind of image display method and mobile terminal
CN107608606A (en)A kind of image display method, mobile terminal and computer-readable recording medium
CN110830713A (en) A zoom method and electronic device
CN107707825A (en)A kind of panorama shooting method, mobile terminal and computer-readable recording medium
CN108174109A (en) A camera method and mobile terminal
CN108037966A (en)A kind of interface display method, device and mobile terminal
CN107678672A (en)A kind of display processing method and mobile terminal
CN107682637A (en) A shooting method, mobile terminal and computer-readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp