








技术领域technical field
本申请涉及信息技术领域,尤其涉及一种拍摄方法、装置、电子设备及存储介质。The present application relates to the field of information technology, and in particular, to a photographing method, apparatus, electronic device, and storage medium.
背景技术Background technique
在相关技术中,用户使用电子设备拍摄视频需要使用相关脚本或台词进行题词时,通常是借助纸张或其他设备;这样使得用户拍摄视频的环节过度依赖外部设备,进而易影响拍摄效率以及拍摄体验。In the related art, when a user uses an electronic device to shoot a video and needs to use relevant scripts or lines for inscription, it usually uses paper or other devices; this makes the user overly dependent on external devices for video shooting, which easily affects shooting efficiency and shooting experience.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种拍摄方法、装置、电子设备及存储介质。Embodiments of the present application provide a photographing method, apparatus, electronic device, and storage medium.
本申请的技术方案是这样实现的:The technical solution of the present application is realized as follows:
本申请实施例提供一种拍摄方法,所述方法包括:The embodiment of the present application provides a shooting method, and the method includes:
响应于输入的针对待拍摄对象的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面;In response to the input photographing instruction for the object to be photographed, generating an interface to be photographed capable of displaying photographing prompt information;
在所述待拍摄界面中,确定与所述待拍摄对象相对应的目标提示信息;In the to-be-photographed interface, determine target prompt information corresponding to the to-be-photographed object;
基于所述目标提示信息,对所述待拍摄对象进行拍摄。Based on the target prompt information, the object to be photographed is photographed.
本申请实施例还提供一种拍摄装置,所述拍摄装置包括:生成模块、确定模块和拍摄模块,其中:The embodiment of the present application further provides a photographing device, the photographing device includes: a generating module, a determining module and a photographing module, wherein:
所述生成模块,用于响应于输入的针对待拍摄对象的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面;The generating module is configured to generate a to-be-photographed interface capable of displaying photographing prompt information in response to an input photographing instruction for the to-be-photographed object;
所述确定模块,用于在所述待拍摄界面中,确定与所述待拍摄对象相对应的目标提示信息;The determining module is configured to determine, in the to-be-photographed interface, target prompt information corresponding to the to-be-photographed object;
所述拍摄模块,用于基于所述目标提示信息,对所述待拍摄对象进行拍摄。The photographing module is configured to photograph the object to be photographed based on the target prompt information.
本申请实施例还提供一种电子设备,所述电子设备包括:处理器、存储器和通信总线;其中:The embodiment of the present application also provides an electronic device, the electronic device includes: a processor, a memory, and a communication bus; wherein:
所述通信总线用于实现所述处理器和所述存储器之间的通信连接;the communication bus is used to realize the communication connection between the processor and the memory;
所述处理器用于执行所述存储器中的程序,以实现上述的拍摄方法。The processor is used for executing the program in the memory, so as to realize the above-mentioned shooting method.
相应地,本申请实施例还提供一种计算机可读存储介质,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述的拍摄方法的步骤。Correspondingly, the embodiments of the present application further provide a computer-readable storage medium, where the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the above-mentioned the steps of the shooting method.
本申请实施例提供的拍摄方法、装置、电子设备及存储介质,其中,响应于输入的针对待拍摄对象的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面;在所述待拍摄界面中,确定与所述待拍摄对象相对应的目标提示信息;基于所述目标提示信息,对所述待拍摄对象进行拍摄;如此,通过在待拍摄界面直接获取与待拍摄对象相对应的目标提示信息,进而基于该目标提示信息对待拍摄对象进行拍摄,能够提高用户使用电子设备进行拍摄的效率。In the shooting method, device, electronic device, and storage medium provided by the embodiments of the present application, in response to an input shooting instruction for the object to be shot, a to-be-photographed interface capable of displaying shooting prompt information is generated; in the to-be-photographed interface, Determine the target prompt information corresponding to the object to be shot; based on the target prompt information, shoot the object to be shot; in this way, by directly acquiring the target prompt information corresponding to the object to be shot on the to-be-photographed interface, Further, the subject to be photographed is photographed based on the target prompt information, which can improve the efficiency of the user's photographing using the electronic device.
附图说明Description of drawings
图1为本申请实施例提供的一种拍摄方法的流程示意图;1 is a schematic flowchart of a photographing method provided by an embodiment of the present application;
图2为本申请实施例提供的另一种拍摄方法的流程示意图;2 is a schematic flowchart of another shooting method provided by an embodiment of the present application;
图3a和图3b为本申请实施例提供的两种不同拍摄方法的流程示意图;3a and 3b are schematic flowcharts of two different shooting methods provided by the embodiments of the present application;
图4为本申请实施例提供的一种待拍摄界面的示意图;4 is a schematic diagram of a to-be-photographed interface provided by an embodiment of the present application;
图5为本申请实施例提供的一种在待拍摄界面显示目标提示信息的示意图;5 is a schematic diagram of displaying target prompt information on a to-be-photographed interface according to an embodiment of the present application;
图6本申请实施例还提供的一种包含目标提示信息的显示界面的示意图;6 is a schematic diagram of a display interface including target prompt information further provided by an embodiment of the present application;
图7为本申请实施例提供的一种拍摄装置的结构示意图;FIG. 7 is a schematic structural diagram of a photographing device according to an embodiment of the present application;
图8为本申请实施例提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
应理解,说明书通篇中提到的“本申请实施例”或“前述实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“本申请实施例中”或“在前述实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中应。在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。It is to be understood that reference throughout the specification to "an embodiment of the present application" or "previous embodiment" means that a particular feature, structure or characteristic associated with the embodiment is included in at least one embodiment of the present application. Thus, appearances of "in an embodiment of the present application" or "in a preceding embodiment" in various places throughout the specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, rather than the implementation process of the embodiments of the present application. constitute any limitation. The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
在未做特殊说明的情况下,电子设备执行本申请实施例中的任一步骤,可以是电子设备的处理器执行该步骤。还值得注意的是,本申请实施例并不限定电子设备执行下述步骤的先后顺序。另外,不同实施例中对数据进行处理所采用的方式可以是相同的方法或不同的方法。还需说明的是,本申请实施例中的任一步骤是电子设备可以独立执行的,即电子设备执行下述实施例中的任一步骤时,可以不依赖于其它步骤的执行。Unless otherwise specified, the electronic device performs any step in the embodiments of the present application, which may be performed by a processor of the electronic device. It is also worth noting that the embodiments of the present application do not limit the sequence in which the electronic device performs the following steps. In addition, the manner in which data is processed in different embodiments may be the same method or different methods. It should also be noted that any step in the embodiments of the present application can be independently executed by the electronic device, that is, when the electronic device executes any step in the following embodiments, it may not depend on the execution of other steps.
本申请实施例提供一种拍摄方法,应用于电子设备,如图1所示,该方法包括以下步骤:An embodiment of the present application provides a shooting method, which is applied to an electronic device. As shown in FIG. 1 , the method includes the following steps:
步骤101、响应于输入的针对待拍摄对象的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面。
在本申请实施例中,电子设备可以是任一具有数据处理能力的设备;其中,电子设备可以是具有摄像功能的笔记本电脑、手机、具有折叠屏的手机或台式机等,本申请对电子设备的具体指代不作任何限定。In the embodiment of the present application, the electronic device may be any device with data processing capability; wherein, the electronic device may be a notebook computer with a camera function, a mobile phone, a mobile phone or a desktop computer with a folding screen, etc. The specific designation is not limited in any way.
其中,针对待拍摄对象的拍摄指令,可以是针对待拍摄对象进行拍照的相关指令,也可以是针对待拍摄对象进行摄像的相关指令,更可以是针对待拍摄对象进行多次连续拍照的相关指令,本申请中对拍摄指令的具体指代不作任何限定。Wherein, the shooting instruction for the object to be shot may be a related instruction for taking a photo of the object to be shot, or a related instruction for shooting the object to be shot, or it may be a related instruction for multiple consecutive photos of the object to be shot. , the specific designation of the shooting instruction is not limited in this application.
需要说明的是,待拍摄对象可以是人物、建筑物、动物以及风景等,本申请对待拍摄对象的具体指代不作任何限定;相应地,待拍摄对象的具体数量以及与电子设备的具体位置关系在本申请中也不作任何限定。It should be noted that the objects to be photographed can be people, buildings, animals, landscapes, etc. The specific designation of the objects to be photographed is not limited in this application; accordingly, the specific number of the objects to be photographed and the specific positional relationship with the electronic equipment No limitation is made in this application.
在一种可行的实现方式中,电子设备响应于操作电子设备的用户输入的,针对正在办公室进行办公的工作人员的拍摄指令,进而生成能够显示拍摄提示信息的待拍摄界面。In a feasible implementation manner, the electronic device generates a to-be-photographed interface capable of displaying photographing prompt information in response to a photographing instruction input by a user operating the electronic device for a staff member who is working in an office.
在另一种可行的实现方式中,电子设备响应于其他电子设备发送的针对在公园中玩耍的孩子的拍摄指令,进而生成能够显示拍摄提示信息的待拍摄界面。In another feasible implementation manner, the electronic device generates a to-be-photographed interface capable of displaying photographing prompt information in response to a photographing instruction sent by another electronic device for a child playing in the park.
在本申请实施例中,拍摄提示信息可以是文本信息、图片信息或音频信息等,本申请对此不作任何限定;相应地,拍摄提示信息可以与待拍摄对象具有关联关系,也可以没有。In the embodiment of this application, the shooting prompt information may be text information, picture information, or audio information, etc., which is not limited in this application; correspondingly, the shooting prompt information may or may not be associated with the object to be shot.
其中,拍摄提示信息可以位于待拍摄界面的上方、下方或中间等位置,本申请对此不作任何限定;相应地,拍摄提示信息在待拍摄界面中的显示方式如:亮度、大小或位置等,在本申请中也不作任何限定。Wherein, the shooting prompt information may be located above, below, or in the middle of the interface to be shot, which is not limited in this application; correspondingly, the display mode of the shooting prompt information in the interface to be shot, such as brightness, size, or position, etc., No limitation is made in this application.
需要说明的是,待拍摄界面可以指代电子设备响应于相关拍摄指令,在电子设备的显示部件如:显示屏上显示的相关拍摄界面;其中,待拍摄界面的具体尺寸、形状以及在电子设备的显示屏上的具体位置不作任何限定。It should be noted that the interface to be photographed may refer to the relevant photographing interface displayed on the display component of the electronic device in response to the relevant photographing instruction by the electronic device, such as: the relevant photographing interface displayed on the display screen; The specific position on the display screen is not limited in any way.
在本申请实施例中,待拍摄界面中能够显示的信息包括但不限于:拍摄提示信息;在一种可行的实现方式中,待拍摄界面可以显示:拍摄提示信息、拍摄预览画面以及拍摄工具栏等。In this embodiment of the present application, the information that can be displayed on the interface to be photographed includes, but is not limited to: photographing prompt information; in a feasible implementation manner, the interface to be photographed can display: photographing prompt information, a photographing preview screen, and a photographing toolbar Wait.
在一种可行的实现方式中,电子设备响应于输入的针对正在跑步的运动员的拍摄指令,生成能够显示“提示咨询运动员相关问题”的拍摄提示信息的待拍摄界面。In a feasible implementation manner, the electronic device, in response to the input shooting instruction for the running athlete, generates a to-be-shooting interface capable of displaying shooting prompt information "prompting to consult the athlete about related issues".
在另一种可行的实现方式中,电子设备响应于输入的针对正在进行话剧表演的演员的拍摄指令,生成能够显示“提示演员具体走位”的拍摄提示信息的待拍摄界面。In another feasible implementation manner, the electronic device generates a to-be-shooting interface capable of displaying shooting prompt information "prompting the actor to move" in response to an input shooting instruction for an actor performing a drama.
步骤102、在待拍摄界面中,确定与待拍摄对象相对应的目标提示信息。Step 102: In the to-be-photographed interface, determine target prompt information corresponding to the to-be-photographed object.
在本申请实施例中,电子设备在待拍摄界面中,确定与待拍摄对象相对应的目标提示信息;其中,电子设备可以在待拍摄界面中,选择并确定与拍摄提示信息相对应的提示窗口,并从该提示窗口中确定与待拍摄对象相对应的目标提示信息。In the embodiment of the present application, the electronic device determines the target prompt information corresponding to the object to be shot in the to-be-shooting interface; wherein, the electronic device can select and determine the prompt window corresponding to the shooting prompt information in the to-be-photographed interface , and determine the target prompt information corresponding to the object to be shot from the prompt window.
需要说明的是,目标提示信息可以与拍摄提示信息相同,也可不同;相应地,目标提示信息可以以文字、图片、表情符号或音频等信息显示,同时该目标提示信息在待拍摄界面中的显示方式如:亮度、大小或位置等,在本申请中也不作任何限定。It should be noted that the target prompt information can be the same as the shooting prompt information, or it can be different; correspondingly, the target prompt information can be displayed in text, pictures, emoticons or audio and other information, and the target prompt information can be displayed in the interface to be shot. The display mode, such as brightness, size or position, is not limited in this application.
在一种可行的实现方式中,电子设备在待拍摄界面中,获取预设的拍摄提示信息,并基于待拍摄对象的属性信息对预设的拍摄提示信息进行编辑或修改,生成并确定待拍摄对象相对应的目标提示信息。In a feasible implementation manner, the electronic device obtains preset shooting prompt information in the to-be-shooting interface, edits or modifies the preset shooting prompt information based on the attribute information of the object to be shot, and generates and determines the to-be-photographed prompt information. The target prompt information corresponding to the object.
在另一种可行的实现方式中,电子设备在待拍摄界面中,获取预设的拍摄提示信息,从预设的拍摄提示信息中选择与待拍摄对象的属性信息相关的信息,并将其确定为待拍摄对象相对应的目标提示信息。In another feasible implementation manner, the electronic device obtains preset shooting prompt information in the to-be-shooting interface, selects information related to the attribute information of the object to be shot from the preset shooting prompt information, and determines the information related to the attribute information of the object to be shot. Target prompt information corresponding to the object to be photographed.
在又一种可行的实现方式中,电子设备在待拍摄界面中,确定预设的拍摄提示信息为空的情况下,响应于操作电子设备的用户通过外接输入部件输入的信息,并将其作为待拍摄对象相对应的目标提示信息;或响应于其他电子设备发送至电子设备的信息,并将其作为待拍摄对象相对应的目标提示信息。In another feasible implementation manner, in the to-be-shooting interface, the electronic device determines that the preset shooting prompt information is empty, responds to the information input by the user operating the electronic device through the external input component, and uses it as the information input. Target prompt information corresponding to the object to be photographed; or in response to information sent by other electronic devices to the electronic device, and use it as target prompt information corresponding to the object to be photographed.
在一种可行的实现方式中,电子设备在待拍摄界面中,确定与待拍摄对象为建筑物相对应的有关拍摄技巧的目标提示信息。In a feasible implementation manner, the electronic device determines, in the to-be-photographed interface, target prompt information about photographing skills corresponding to the to-be-photographed object being a building.
在另一种可行的实现方式中,电子设备在待拍摄界面中,确定与待拍摄对象为山水风景相对应的有关拍摄选取近景还是远景的目标提示信息。In another feasible implementation manner, the electronic device determines, in the to-be-photographed interface, target prompt information about whether to select a close-range or a long-range shot for shooting, which corresponds to the to-be-photographed object being a landscape.
步骤103、基于目标提示信息,对待拍摄对象进行拍摄。
在本申请实施例中,电子设备基于目标提示信息,对待拍摄对象进行拍摄;其中,电子设备可以对待拍摄对象进行一次拍照,也可以是多次连续拍照,更可以摄像录制等,本申请对此不作任何限定。In the embodiment of the present application, the electronic device shoots the object to be photographed based on the target prompt information; wherein, the electronic device can take a picture of the object to be photographed once, or can take pictures continuously for multiple times, and can even record and so on. Without any limitation.
在一种可行的实现方式中,电子设备可以基于目标提示信息,确定对待拍摄对象进行拍摄的拍摄方法,如:选择近镜头、远镜头、全景照以及局部照等,进而基于该拍摄方法对待拍摄对象进行拍摄。In a feasible implementation manner, the electronic device may determine a shooting method for shooting the object to be shot based on the target prompt information, such as selecting a close-up lens, a long-range lens, a panoramic photo, a partial photo, etc., and then based on the shooting method to be shot subject to be photographed.
在另一种可行的实现方式中,电子设备可以基于目标提示信息,确定对待拍摄对象进行摄像的环节中需要获取的音频信息或相关字幕信息,并将该音频信息或字幕信息增加至对待拍摄对象进行拍照或录像后形成的图像或视频信息进行更新。In another feasible implementation manner, the electronic device may, based on the target prompt information, determine audio information or related subtitle information that needs to be acquired in the process of photographing the object to be shot, and add the audio information or subtitle information to the object to be shot. The image or video information formed after taking pictures or videos is updated.
需要说明的是,在本申请实施例中,电子设备通过显示在待拍摄界面的目标提示信息,对待拍摄对象进行拍摄;如此,使得针对待拍摄对象进行拍摄的环节中,能够避免使用外部资源;如:纸张或设备等具有提示功能的工具实现拍摄提示功能;进而能够提高用户使用电子设备进行拍摄的效率。It should be noted that, in the embodiment of the present application, the electronic device shoots the object to be shot through the target prompt information displayed on the interface to be shot; in this way, the use of external resources can be avoided in the process of shooting the object to be shot; For example, tools with a prompt function, such as paper or equipment, realize the shooting prompt function; thus, the efficiency of shooting with electronic equipment can be improved.
本申请实施例提供的拍摄方法,响应于输入的针对待拍摄对象的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面;在待拍摄界面中,确定与待拍摄对象相对应的目标提示信息;基于目标提示信息,对待拍摄对象进行拍摄;如此,通过在待拍摄界面直接获取与待拍摄对象相对应的目标提示信息,进而基于该目标提示信息对待拍摄对象进行拍摄,能够提高用户使用电子设备进行拍摄的效率。In the shooting method provided by the embodiment of the present application, in response to the input shooting instruction for the object to be shot, a to-be-shot interface capable of displaying shooting prompt information is generated; in the to-be-shot interface, target prompt information corresponding to the to-be-shot object is determined; Based on the target prompt information, the object to be photographed is photographed; in this way, by directly acquiring the target prompt information corresponding to the object to be photographed on the to-be-photographed interface, and then shooting the object to be photographed based on the target prompt information, it is possible to improve the user's ability to use electronic equipment to perform Shooting efficiency.
基于前述实施例,本申请实施例还提供一种拍摄方法,应用于电子设备,如图1和图2所示,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present application further provides a photographing method, which is applied to an electronic device. As shown in FIG. 1 and FIG. 2 , the method includes the following steps:
步骤201、在待拍摄界面中,确定与拍摄提示信息相对应的提示窗口。
在本申请实施例中,电子设备可以在待拍摄界面中,确定与拍摄提示信息相对应的提示窗口。In this embodiment of the present application, the electronic device may determine a prompt window corresponding to the shooting prompt information in the to-be-photographed interface.
需要说明的是,提示窗口是用于显示拍摄提示信息的显示区域;其中,提示窗口在待拍摄界面的显示位置、显示方式以及显示大小不作任何限定。It should be noted that the prompt window is a display area for displaying shooting prompt information; wherein, the display position, display mode and display size of the prompt window on the interface to be shot are not limited.
其中,提示窗口可以一直存在于待拍摄界面中,也可以是电子设备响应于相关操作指令后,显示在该待拍摄界面中。The prompt window may always exist in the interface to be photographed, or may be displayed on the interface to be photographed after the electronic device responds to the relevant operation instruction.
在一种可行的实现方式中,电子设备可以在待拍摄界面中,选择与提示窗口相匹配的提示图标并点击,进而确定并打开与拍摄提示信息相对应的提示窗口。In a feasible implementation manner, the electronic device may select and click a prompt icon matching the prompt window in the to-be-photographed interface, thereby determining and opening the prompt window corresponding to the shooting prompt information.
步骤202、在提示窗口中,确定目标提示信息。Step 202: In the prompt window, determine the target prompt information.
在本申请实施例中,电子设备在提示窗口中,确定与待拍摄对象相匹配的目标提示信息。In this embodiment of the present application, the electronic device determines, in the prompt window, target prompt information that matches the object to be photographed.
在一种可行的实现方式中,电子设备可以响应于输入的编辑指令,在提示窗口中进行相关编辑操作,进而确定目标提示信息。In a feasible implementation manner, the electronic device may, in response to the input editing instruction, perform related editing operations in the prompt window, and then determine the target prompt information.
在另一种可行的实现方式中,电子设备可以在提示窗口中选择相关列表页,从中选择与待拍摄对象相匹配的目标提示信息。In another feasible implementation manner, the electronic device may select a related list page in the prompt window, and select target prompt information that matches the object to be photographed.
其中,目标提示信息在提示窗口中的显示位置、显示方式以及显示大小等,在本申请中不作任何限定。The display position, display mode, and display size of the target prompt information in the prompt window are not limited in this application.
需要说明的是,在本申请实施例中,电子设备从待拍摄界面中确定提示窗口,并在提示窗口中确定目标提示信息;如此,能够避免相关技术中需依赖外界资源来获取目标提示信息,进而使得目标提示信息与拍摄环节配合度更高,进而能够提升用户使用电子设备进行拍摄的效率。It should be noted that, in the embodiment of the present application, the electronic device determines the prompt window from the interface to be shot, and determines the target prompt information in the prompt window; in this way, it can be avoided that the related art needs to rely on external resources to obtain the target prompt information, In this way, the target prompt information and the shooting process are more coordinated, thereby improving the efficiency of shooting by the user using the electronic device.
在一种可行的实现方式中,电子设备执行步骤202,即电子设备在提示窗口中,确定目标提示信息,还可以通过以下步骤202a和步骤202b的方式来实现:In a feasible implementation manner, the electronic device performs
步骤202a、在提示窗口显示的信息为空的情况下,在提示窗口中,接收输入的编辑信息。Step 202a: In the case that the information displayed in the prompt window is empty, receive the input editing information in the prompt window.
在本申请实施例中,电子设备在提示窗口显示的信息为空的情况下,在提示窗口中,接收输入的编辑信息;其中,该编辑信息可以是操作电子设备的用户输入的,也可以是能够与电子设备进行信息通信的其他电子设备发送至电子设备,并输入至提示窗口的编辑信息。In the embodiment of the present application, when the information displayed in the prompt window is empty, the electronic device receives input edit information in the prompt window; wherein the edit information may be input by a user operating the electronic device, or may be Other electronic devices capable of information communication with the electronic device are sent to the electronic device and input the editing information in the prompt window.
需要说明的是,编辑信息是与待拍摄对象具有关联关系的信息。It should be noted that the editing information is information that is associated with the object to be photographed.
在一种可行的实现方式中,编辑信息可以是对待拍摄对象进行描述的信息。In a feasible implementation manner, the editing information may be information describing the object to be photographed.
在另一种可行的实现方式中,编辑信息可以是针对待拍摄对象进行拍摄时需要的拍摄注意事项的信息。In another feasible implementation manner, the editing information may be information about shooting precautions required when shooting the object to be shot.
在又一种可行的实现方式中,编辑信息可以是电子设备拍摄待拍摄对象时需要采集的音频信息对应的文字信息。In another feasible implementation manner, the editing information may be text information corresponding to audio information that needs to be collected when the electronic device shoots the object to be shot.
步骤202b、确定编辑信息为目标提示信息。Step 202b, determining that the editing information is the target prompt information.
在本申请实施例中,电子设备将编辑信息确定为目标提示信息。In this embodiment of the present application, the electronic device determines the editing information as the target prompt information.
其中,电子设备可以将编辑信息进行格式转换等,并将进行格式转换后的编辑信息确定为目标提示信息。The electronic device may perform format conversion on the editing information, etc., and determine the editing information after format conversion as the target prompt information.
需要说明的是,在本申请实施例中,电子设备在提示窗口的信息为空的情况下,在提示窗口中输入相关编辑信息,并将其作为目标提示信息;如此,能够在没有预先设置好的提示信息的前提下,获取与待拍摄对象具有关联关系的编辑信息,进而使得针对待拍摄对象进行拍摄时有相关提示信息可以进行参考,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。It should be noted that, in this embodiment of the present application, when the information in the prompt window is empty, the electronic device inputs relevant editing information in the prompt window and uses it as the target prompt information; Under the premise of the prompt information, the editing information related to the object to be shot is obtained, so that there is relevant prompt information for reference when shooting the object to be shot, which can improve the efficiency of the user using the electronic device to shoot the object to be shot. .
在另一种可行的实现方式中,电子设备执行步骤202,即电子设备在提示窗口中,确定目标提示信息,还可以通过以下步骤202c和步骤202d的方式来实现:In another feasible implementation manner, the electronic device performs
步骤202c、在提示窗口显示的信息包括预设信息的情况下,获取待拍摄对象的属性信息。Step 202c, in the case that the information displayed in the prompt window includes preset information, acquire attribute information of the object to be photographed.
在本申请实施例中,电子设备在提示窗口显示的信息包括预设信息的情况下,获取待拍摄对象的属性信息。In the embodiment of the present application, the electronic device acquires the attribute information of the object to be photographed when the information displayed in the prompt window includes preset information.
需要说明的是,预设信息可以是预设拍摄提示模板信息;其中,预设信息可以是一个,也可以是两个及以上,即预设信息可以是预设拍摄提示模板列表。It should be noted that the preset information may be preset shooting prompt template information; wherein, the preset information may be one or two or more, that is, the preset information may be a list of preset shooting prompt templates.
其中,待拍摄对象的属性信息可以是待拍摄对象的形状、位置信息以及尺寸大小等。The attribute information of the object to be photographed may be the shape, position information, size and the like of the object to be photographed.
在一种可行的实现方式中,电子设备在提示窗口显示的信息包括预设信息的情况下,获取建筑物的尺寸、形状以及电子设备与建筑物的具体位置关系等。In a feasible implementation manner, the electronic device acquires the size and shape of the building, the specific positional relationship between the electronic device and the building, and the like when the information displayed in the prompt window includes preset information.
在另一种可行的实现方式中,电子设备在提示窗口显示的信息包括预设信息的情况下,获取食品的颜色以及形状等。In another feasible implementation manner, the electronic device acquires the color and shape of the food under the condition that the information displayed in the prompt window includes preset information.
步骤202d、基于属性信息和预设信息,确定目标提示信息。Step 202d: Determine target prompt information based on the attribute information and the preset information.
在一种可行的实现方式中,电子设备基于属性信息和预设信息,确定待拍摄对象的目标提示信息。In a feasible implementation manner, the electronic device determines the target prompt information of the object to be photographed based on the attribute information and the preset information.
其中,电子设备可以基于属性信息对预设信息进行编辑或调整,进而得到与待拍摄对象相对应的目标提示信息。The electronic device may edit or adjust the preset information based on the attribute information, and then obtain target prompt information corresponding to the object to be photographed.
需要说明的是,在本申请实施例中,电子设备基于提示窗口的预设信息和待拍摄对象的属性信息,共同确定待拍摄对象的目标提示信息;如此,使得确定目标提示信息不仅符合预设信息的相关标准,还与待拍摄对象相关联;进而能够进一步规范与待拍摄对象具有关联关系的目标提示信息;如此,能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。It should be noted that, in the embodiment of the present application, the electronic device jointly determines the target prompt information of the object to be shot based on the preset information of the prompt window and the attribute information of the object to be shot; in this way, the determined target prompt information not only conforms to the preset The relevant standard of the information is also associated with the object to be photographed; furthermore, the target prompt information associated with the object to be photographed can be further standardized; in this way, the efficiency of photographing the object to be photographed by the user using the electronic device can be improved.
在一种可行的实现方式中,电子设备执行步骤202d,即电子设备基于属性信息和预设信息,确定目标提示信息,还可以通过以下步骤d1和步骤d2的方式来实现:In a feasible implementation manner, the electronic device performs step 202d, that is, the electronic device determines the target prompt information based on the attribute information and preset information, which can also be implemented by the following steps d1 and d2:
步骤d1、在预设信息中查找与属性信息相匹配的标识信息。Step d1: Search the preset information for identification information that matches the attribute information.
在本申请实施例中,电子设备在预设信息中,筛选并查找与属性信息相匹配的标识信息。In the embodiment of the present application, the electronic device filters and searches for identification information matching the attribute information in the preset information.
其中,标识信息可以指代针对待拍摄对象的拍摄建议或文本描述等,本申请对此不作限定。Wherein, the identification information may refer to a shooting suggestion or a text description for the object to be shot, which is not limited in this application.
需要说明的是,标识信息可以与属性信息相同,也可以不同;相应地,标识信息可以文字、图标或表情符号等显示,本申请对此不作任何限定。It should be noted that the identification information may be the same as or different from the attribute information; correspondingly, the identification information may be displayed by text, icons or emoticons, which is not limited in this application.
在一种可行的实现方式中,电子设备在预设信息中,查找与待拍摄对象的属性信息,如:建筑物的形状相匹配的拍摄建议等标识信息。In a feasible implementation manner, the electronic device searches the preset information for attribute information of the object to be photographed, such as identification information such as photographing suggestions matching the shape of the building.
在另一种可行的实现方式中,电子设备在预设信息中,查找与待拍摄对象的属性信息,如:参加运动会的学生相匹配的文字描述等标识信息。In another feasible implementation manner, the electronic device searches the preset information for attribute information of the object to be photographed, such as identification information such as text descriptions that match the students participating in the sports meeting.
步骤d2、响应于查找到标识信息,将标识信息,确定为目标提示信息。Step d2, in response to finding the identification information, determine the identification information as the target prompt information.
在本申请实施例中,电子设备响应于查找到标识信息,并将标识信息确定为目标提示信息。In this embodiment of the present application, in response to finding the identification information, the electronic device determines the identification information as the target prompt information.
需要说明的是,在本申请实施例中,电子设备从待拍摄界面的提示窗口中,查找到与属性信息相匹配的标识信息,并将该标识信息确定目标提示信息;如此,能够避免如相关技术中需借助外部设备或操作人员输入相关编辑信息来确定目标提示信息,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。It should be noted that, in the embodiment of the present application, the electronic device finds the identification information matching the attribute information from the prompt window of the interface to be shot, and determines the identification information as the target prompt information; In the technology, it is necessary to use an external device or an operator to input relevant editing information to determine the target prompt information, which can improve the efficiency of the user using the electronic device to photograph the object to be photographed.
相应地,电子设备还可以执行以下步骤d3至和骤d4:Correspondingly, the electronic device can also perform the following steps d3 to d4:
步骤d3、响应于未查找到标识信息,基于属性信息对预设信息进行更新,得到已更新信息。Step d3, in response to the identification information not being found, update the preset information based on the attribute information to obtain updated information.
在本申请实施例中,电子设备若响应于未查找到标识信息,进而基于属性信息对预设信息进行更新,得到已更新信息。In the embodiment of the present application, if the electronic device does not find the identification information in response, it further updates the preset information based on the attribute information to obtain the updated information.
在一种可行的实现方式中,已更新信息可以是电子设备基于属性信息对预设信息进行相关描述词语的修改或调整得到的。In a feasible implementation manner, the updated information may be obtained by modifying or adjusting the relevant description words of the preset information by the electronic device based on the attribute information.
其中,已更新信息与预设信息不同,其表征的内容包括与属性信息相关联的信息。Wherein, the updated information is different from the preset information, and the represented content includes information associated with the attribute information.
步骤d4、将已更新信息,确定为目标提示信息。In step d4, the updated information is determined as the target prompt information.
在本申请实施例中,电子设备将已更新信息,确定为目标提示信息;如此,使得目标提示信息为更新后的,同时能够更加符合用户对待拍摄对象的要求等,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。In the embodiment of the present application, the electronic device determines the updated information as the target prompt information; in this way, the target prompt information is updated, and at the same time, it can be more in line with the user's requirements for the object to be photographed, etc., thereby improving the user's use of the electronic device. The efficiency with which the subject is photographed.
本申请实施例提供的拍摄方法,通过在待拍摄界面的提示窗口显示信息为空的情况和显示相关预设信息的两种情况下,分别通过输入的编辑信息,或待拍摄对象的属性信息和预设信息,来获取与待拍摄对象相对应的目标提示信息;如此,能够进一步规范与待拍摄对象具有关联关系的目标提示信息,同时减少获取目标提示信息的时间,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。In the shooting method provided by the embodiment of the present application, the inputted editing information, or the attribute information of the object to be shot, and The preset information is used to obtain the target prompt information corresponding to the object to be shot; in this way, the target prompt information associated with the object to be shot can be further standardized, and the time for obtaining the target prompt information can be reduced, thereby improving the use of electronic equipment by users. The efficiency with which the subject is photographed.
基于前述实施例,本申请实施例还提供一种拍摄方法,应用于电子设备,如图1至图3所示,该方法包括以下步骤:Based on the foregoing embodiments, an embodiment of the present application further provides a photographing method, which is applied to an electronic device. As shown in FIG. 1 to FIG. 3 , the method includes the following steps:
电子设备基于目标提示信息,对待拍摄对象进行拍摄时,还可以通过以下两种方式来实现:When the electronic device shoots the subject based on the target prompt information, it can also be achieved in the following two ways:
方式一,参照图1和图2,以及图3a所示:Mode 1, refer to Figures 1 and 2, and Figure 3a:
步骤301、确定与目标提示信息相匹配的拍摄参数。Step 301: Determine the shooting parameters matching the target prompt information.
在本申请实施例中,电子设备确定与目标提示信息相匹配的拍摄参数;其中,拍摄参数可以是:拍摄镜头选取、拍摄角度、拍摄时的亮度选择、拍摄时的位置选择等,本申请对此不作任何限定。In the embodiment of the present application, the electronic device determines the shooting parameters that match the target prompt information; wherein, the shooting parameters may be: shooting lens selection, shooting angle, brightness selection during shooting, position selection during shooting, etc. This does not make any limitation.
需要说明的是,拍摄参数可以指代通过文字描述的拍摄参数;其中,拍摄参数可以显示在提示窗口,也可以显示在待拍摄界面中除提示窗口以外的区域,本申请对此不作任何限定。It should be noted that the shooting parameters can refer to the shooting parameters described by text; wherein, the shooting parameters can be displayed in the prompt window, or can be displayed in the area other than the prompt window in the interface to be shot, which is not limited in this application.
步骤302、基于拍摄参数,对待拍摄对象进行拍摄。
在本申请实施例中,电子设备基于拍摄参数,对待拍摄对象进行拍摄。In this embodiment of the present application, the electronic device shoots the object to be shot based on the shooting parameters.
在一种可行的实现方式中,电子设备基于该拍摄参数,如:在第60s至100s的时间内,选择高亮度对待拍摄对象进行拍摄,在第160s至200s的时间内,选择远镜头对待拍摄对象进行拍摄。In a feasible implementation manner, the electronic device is based on the shooting parameters, for example, during the 60s to 100s, select a high-brightness object to be photographed, and during the 160s to 200s, select a telephoto lens to be photographed subject to be photographed.
在另一种可行的实现方式中,电子设备基于该拍摄参数,对待拍摄对象前期进行横向拍摄,后期进行竖向拍摄。In another feasible implementation manner, based on the shooting parameters, the electronic device performs horizontal shooting of the object to be shot in the early stage, and vertical shooting in the later stage.
需要说明的是,在本申请实施例中,电子设备基于获取的目标提示信息确定出对应的拍摄参数,并基于该拍摄参数对拍摄对象进行拍摄,能够避免用户采用电子设备拍摄待拍摄对象时,忘记相关拍摄步骤或拍摄参数,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。It should be noted that, in the embodiment of the present application, the electronic device determines the corresponding shooting parameters based on the obtained target prompt information, and shoots the shooting object based on the shooting parameters, which can prevent the user from using the electronic device to shoot the object to be shot. Forgetting the relevant photographing steps or photographing parameters can improve the efficiency of the user to photograph the object to be photographed using the electronic device.
方式二,参照图1和图2,以及图3b所示:Mode 2, refer to Figures 1 and 2, and Figure 3b:
步骤303、获取与目标提示信息相对应的音频信息和/或字幕信息。Step 303: Acquire audio information and/or subtitle information corresponding to the target prompt information.
在本申请实施例中,电子设备获取与目标提示信息相对应的音频信息和/或字幕信息。In this embodiment of the present application, the electronic device acquires audio information and/or subtitle information corresponding to the target prompt information.
其中,与目标提示信息相对应的音频信息和/或字幕信息,可以是与目标提示信息的内容完全一致的信息,也可以大致相同的信息,本申请对此不作任何限定。The audio information and/or subtitle information corresponding to the target prompt information may be information that is completely consistent with the content of the target prompt information, or may be approximately the same information, which is not limited in this application.
需要说明的是,音频信息可以是一首歌,也可以是一句话,更可以是汽笛声等;相应地,字幕信息可以是文字信息,也可以是文字加表情信息等,本申请对音频信息和字幕信息的具体表现不作任何限定。It should be noted that the audio information can be a song, a sentence, a whistle, etc.; correspondingly, the subtitle information can be text information, or text plus emoticon information, etc. There is no restriction on the specific performance of subtitle information.
在一种可行的实现方式中,电子设备将该目标提示信息进行解析,以得到相关音频信息和/或字幕信息。In a feasible implementation manner, the electronic device parses the target prompt information to obtain relevant audio information and/or subtitle information.
在另一种可行的实现方式中,电子设备采集输入至电子设备的与目标提示信息相对应的音频信息和/或字幕信息。In another feasible implementation manner, the electronic device collects audio information and/or subtitle information input to the electronic device and corresponding to the target prompt information.
步骤304、基于音频信息和/或字幕信息,对拍摄待拍摄对象形成的图像进行更新,得到已更新图像。
在本申请实施例中,电子设备基于音频信息和/或字幕信息,对拍摄待拍摄对象形成的图像进行更新,得到已更新图像;其中,图像可以是一张,也可以是两张及以上,本申请对此不作任何限定。In the embodiment of the present application, the electronic device updates the image formed by shooting the object to be shot based on the audio information and/or the subtitle information, and obtains an updated image; wherein, the image may be one, or two or more images, This application does not make any limitation on this.
在一种可行的实现方式中,电子设备将获取的音频信息和/或字幕信息,按照预设规则增加至目标图像或视频中,其中,该目标图像或视频即为对待拍摄对象进行拍摄后形成的图像或视频。In a feasible implementation manner, the electronic device adds the acquired audio information and/or subtitle information to a target image or video according to a preset rule, wherein the target image or video is formed after the object to be photographed is photographed. image or video.
需要说明的是,在本申请实施例中,电子设备基于获取的目标提示信息确定出对应的音频信息和/或字幕信息,并基于该音频信息和/或字幕信息对拍摄对象进行拍摄,能够避免用户采用电子设备拍摄待拍摄对象时,忘记相关台词或关键词等,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。It should be noted that, in this embodiment of the present application, the electronic device determines the corresponding audio information and/or subtitle information based on the acquired target prompt information, and shoots the object based on the audio information and/or subtitle information, which can avoid When the user uses the electronic device to photograph the object to be photographed, the user forgets relevant lines or keywords, etc., thereby improving the efficiency of the user to photograph the object to be photographed using the electronic device.
本申请实施例提供的拍摄方法,通过在待拍摄界面的提示窗口获取与待拍摄对象相对应的目标提示信息,并基于该目标提示信息确定出相关拍摄参数,或,音频信息和/或字幕信息;如此,能够进一步规范与待拍摄对象具有关联关系的目标提示信息,以及减少获取目标提示信息的时间,同时能够避免用户采用电子设备拍摄待拍摄对象时,忘记相关拍摄指令或关键词等,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。In the shooting method provided by the embodiment of the present application, the target prompt information corresponding to the object to be shot is obtained through the prompt window of the to-be-photographed interface, and the relevant shooting parameters, or audio information and/or subtitle information are determined based on the target prompt information ; In this way, the target prompt information associated with the object to be photographed can be further standardized, and the time for obtaining the target prompt information can be reduced, and at the same time, it can be avoided that the user forgets the relevant shooting instructions or keywords when using the electronic device to shoot the object to be shot, and then The efficiency with which the user uses the electronic device to photograph the object to be photographed can be improved.
基于前述实施例,电子设备在执行步骤102或步骤202后,即电子设备在待拍摄界面中,确定与待拍摄对象相对应的目标提示信息之后,还可以执行以下步骤A1和步骤A2:Based on the foregoing embodiment, after the electronic device performs
步骤A1、将待拍摄界面对应的显示区域划分为拍摄区域和提示区域。Step A1: Divide the display area corresponding to the interface to be photographed into a photographing area and a prompting area.
在本申请实施例中,电子设备在确定目标提示信息之后,将待拍摄界面对应的显示区域划分为拍摄区域和提示区域;其中,拍摄区域和提示区域的显示大小、显示形状等在本申请中不作任何限定。In the embodiment of the present application, after determining the target prompt information, the electronic device divides the display area corresponding to the interface to be shot into a shooting area and a prompt area; wherein, the display size and display shape of the shooting area and the prompt area are described in this application. Without any limitation.
在一种可行的实现方式中,电子设备将显示区域划分为上下两个区域,其中,上边的显示区域作为拍摄区域,下边的显示区域作为提示区域。In a feasible implementation manner, the electronic device divides the display area into upper and lower areas, wherein the upper display area is used as the shooting area, and the lower display area is used as the prompt area.
在另一种可行的实现方式中,电子设备将显示区域划分为左右两个区域,其中,左边的显示区域作为拍摄区域,右边的显示区域作为提示区域。In another feasible implementation manner, the electronic device divides the display area into left and right areas, wherein the left display area is used as the shooting area, and the right display area is used as the prompt area.
需要说明的是,在实际应用中,拍摄区域和提示区域的面积大小不等;其中提示区域和拍摄区域可以存在重合区域,本申请对此不作任何限定。It should be noted that, in practical applications, the areas of the shooting area and the prompting area are not equal in size; the prompting area and the shooting area may have overlapping areas, which are not limited in this application.
步骤A2、将待拍摄对象在拍摄区域中进行显示,并将目标提示信息在提示区域中进行显示。Step A2: Display the object to be shot in the shooting area, and display the target prompt information in the prompt area.
在本申请实施例中,电子设备设置待拍摄对象在拍摄区域中进行显示,并设置目标提示信息在提示区域中进行显示;其中,待拍摄对象在拍摄区域中的显示方式,以及目标提示信息在提示区域中的显示方式在本申请中不作任何限定。In the embodiment of the present application, the electronic device sets the object to be shot to be displayed in the shooting area, and sets the target prompt information to be displayed in the prompt area; wherein, the display mode of the object to be shot in the shooting area, and the target prompt information are in The display manner in the prompt area is not limited in this application.
需要说明的是,在本申请实施例中,电子设备将待拍摄界面对应的显示区域划分为拍摄区域和提示区域,进而在拍摄区域显示待拍摄对象,在提示区域显示目标提示信息;如此,能够使得目标提示信息在实现提示功能的同时,对待拍摄对象进行拍摄产生较小的影响。It should be noted that, in the embodiment of the present application, the electronic device divides the display area corresponding to the interface to be photographed into the photographing area and the prompt area, and then displays the object to be photographed in the photographing area, and displays the target prompt information in the prompt area; in this way, it is possible to So that the target prompt information has a small impact on the shooting of the object to be photographed while realizing the prompt function.
基于此,本申请实施例提供一种待拍摄界面的示意图;如图4所示,其中,图4a为电子设备响应于输入的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面;其中,该待拍摄界面主要以取景框和拍摄工具栏进行显示;如具有摄像功能的电子设备打开相机录像界面时,出现具有相关“打开提词器”的图标的界面;其中,首次进入时有提醒文本“可以设置文本,用于协助拍摄”的引导词,进而引导操作电子设备的用户点击该图标;相应地,图4b为电子设备响应于外界输入的相关操作,以点开“打开提词器”的图标,进而出现提词器列表页,即本申请实施例中涉及的在待拍摄界面中确定的提示窗口;同时,图4b中默认提示窗口显示的信息为空;若电子设备响应于外界输入的相关操作,以收起该提示窗口并关闭提词器功能。Based on this, an embodiment of the present application provides a schematic diagram of an interface to be photographed; as shown in FIG. 4 , wherein FIG. 4 a is an electronic device generating an interface to be photographed capable of displaying photographing prompt information in response to an input photographing instruction; wherein the The interface to be shot is mainly displayed with a viewfinder frame and a shooting toolbar; for example, when an electronic device with a camera function opens the camera recording interface, an interface with an icon related to "open teleprompter" appears; among them, there is a reminder text "when entering for the first time" Text can be set to assist in shooting” the guide word, and then guide the user who operates the electronic device to click on the icon; correspondingly, FIG. icon, and then the teleprompter list page appears, that is, the prompt window determined in the interface to be shot involved in the embodiment of the present application; meanwhile, the information displayed in the default prompt window in FIG. 4 b is empty; if the electronic device responds to the external input related operations to collapse the prompt window and turn off the teleprompter function.
对应地,本申请实施例还提供一种在待拍摄界面显示目标提示信息的示意图;其中该方法可以应用于具有折叠屏的电子设备中,同时电子设备具有主屏和副屏;对应的,图5a为在提示窗口即提示词界面显示信息为空的情况下,新建提词信息,对应于本申请实施例提供的电子设备接收输入的编辑信息,进而对该编辑信息进行确定和取消等;在对图5a中的编辑信息点击“确定”图标之后,则将该编辑信息保存至提词器列表页如图5b所示;同时,在提词器即提示窗口包括预设信息的情况下,即提词器列表页存放有已经添加的各种提词内容,可以从中获取具体的提词器详情页,如图5c所示;相应地,电子设备还可以对提词器中的提示信息的播放效果进行编辑,如图5d所示,可以对提示信息是否在副屏显示、滚动方式、滚动速度以及文字大小等进行编辑,同时还可以给出提示信息的预览区实时显示更改后的效果。Correspondingly, an embodiment of the present application also provides a schematic diagram of displaying target prompt information on an interface to be shot; wherein the method can be applied to an electronic device with a folding screen, and the electronic device has a main screen and a secondary screen; correspondingly, Figure 5a In order to create a new prompt message when the prompt window, that is, the prompt word interface display information is empty, the electronic device corresponding to the embodiment of the present application receives the input editing information, and then confirms and cancels the editing information, etc.; After clicking the "OK" icon for the editing information in Fig. 5a, the editing information is saved to the teleprompter list page as shown in Fig. 5b; The teleprompter list page stores various teleprompter contents that have been added, from which a specific teleprompter detail page can be obtained, as shown in Figure 5c; correspondingly, the electronic device can also play the prompt information in the teleprompter. Editing, as shown in Figure 5d, can edit whether the prompt information is displayed on the secondary screen, scrolling mode, scrolling speed and text size, etc. At the same time, the preview area of the prompt information can also display the changed effect in real time.
基于图4和图5,本申请实施例还提供一种包含目标提示信息的显示界面的示意图,如图6所示;其中,图6a为具有折叠屏的电子设备,其主屏和副屏同时使用的过程中,主屏侧实现对待拍摄对象的拍摄环节中,将目标提示信息显示在副屏上,且副屏上方为取景预览区,下方为具有目标提示信息的显示区;同时,提示窗口上的预设文本还可以如普通的列表页一样,完成制定、删除以及排序等操作,如图6b所示,给出3个不同目标提示信息。Based on FIG. 4 and FIG. 5 , an embodiment of the present application also provides a schematic diagram of a display interface including target prompt information, as shown in FIG. 6 ; wherein FIG. 6a is an electronic device with a folding screen, and the main screen and the secondary screen are used at the same time. In the process, the main screen side realizes that the target prompt information is displayed on the secondary screen in the shooting process of the object to be photographed, and the top of the secondary screen is the framing preview area, and the bottom is the display area with the target prompt information; at the same time, the prompt window on the The preset text can also complete operations such as formulation, deletion, and sorting as in a common list page. As shown in FIG. 6b, three different target prompt messages are given.
基于前述实施例,本申请实施例还提供一种拍摄装置7,该拍摄装置7可以应用于图1至3对应的实施例提供的一种拍摄方法中,参照图7所示,该拍摄装置7可以包括:生成模块71、确定模块72和拍摄模块73,其中:Based on the foregoing embodiments, an embodiment of the present application further provides a photographing device 7 , which can be applied to a photographing method provided by the embodiments corresponding to FIGS. 1 to 3 . Referring to FIG. 7 , the photographing device 7 It may include: a generating module 71, a determining module 72 and a photographing module 73, wherein:
生成模块71,用于响应于输入的针对待拍摄对象的拍摄指令,生成能够显示拍摄提示信息的待拍摄界面;The generating module 71 is configured to generate a to-be-photographed interface capable of displaying photographing prompt information in response to the input photographing instruction for the to-be-photographed object;
确定模块72,用于在待拍摄界面中,确定与待拍摄对象相对应的目标提示信息;A determination module 72, configured to determine, in the to-be-photographed interface, target prompt information corresponding to the to-be-photographed object;
拍摄模块73,用于基于目标提示信息,对待拍摄对象进行拍摄。The photographing module 73 is configured to photograph the object to be photographed based on the target prompt information.
在本申请其他实施例中,确定模块72,还用于在待拍摄界面中,确定与拍摄提示信息相对应的提示窗口;在提示窗口中,确定目标提示信息。In other embodiments of the present application, the determining module 72 is further configured to determine a prompt window corresponding to the shooting prompt information in the to-be-photographed interface; in the prompt window, determine target prompt information.
在本申请其他实施例中,确定模块72,还用于在提示窗口显示的信息为空的情况下,在提示窗口中,接收输入的编辑信息;确定编辑信息为目标提示信息。In other embodiments of the present application, the determining module 72 is further configured to receive the inputted editing information in the prompting window when the information displayed in the prompting window is empty, and determine that the editing information is the target prompting information.
在本申请其他实施例中,确定模块72,还用于在提示窗口显示的信息包括预设信息的情况下,获取待拍摄对象的属性信息;基于属性信息和预设信息,确定目标提示信息。In other embodiments of the present application, the determining module 72 is further configured to acquire attribute information of the object to be photographed when the information displayed in the prompt window includes preset information; and determine target prompt information based on the attribute information and the preset information.
在本申请其他实施例中,确定模块72,还用于在预设信息中查找与属性信息相匹配的标识信息;响应于查找到标识信息,将标识信息,确定为目标提示信息。In other embodiments of the present application, the determining module 72 is further configured to search for identification information matching the attribute information in the preset information; in response to finding the identification information, the identification information is determined as the target prompt information.
在本申请其他实施例中,确定模块72,还用于响应于未查找到标识信息,基于属性信息对预设信息进行更新,得到已更新信息;将已更新信息,确定为目标提示信息。In other embodiments of the present application, the determining module 72 is further configured to update the preset information based on the attribute information in response to the identification information not being found to obtain updated information; and determine the updated information as the target prompt information.
在本申请其他实施例中,拍摄装置7还包括:划分模块74和显示模块75,划分模块74,用于将待拍摄界面对应的显示区域划分为拍摄区域和提示区域;显示模块75,用于将待拍摄对象在拍摄区域中进行显示,并将目标提示信息在提示区域中进行显示。In other embodiments of the present application, the photographing device 7 further includes: a dividing module 74 and a display module 75, the dividing module 74 is used to divide the display area corresponding to the interface to be photographed into a photographing area and a prompt area; the display module 75 is used to The object to be shot is displayed in the shooting area, and the target prompt information is displayed in the prompt area.
在本申请其他实施例中,拍摄模块73,还用于确定与目标提示信息相匹配的拍摄参数;基于拍摄参数,对待拍摄对象进行拍摄。In other embodiments of the present application, the photographing module 73 is further configured to determine photographing parameters that match the target prompt information; and based on the photographing parameters, photograph the object to be photographed.
在本申请其他实施例中,拍摄模块73,还用于获取与目标提示信息相对应的音频信息和/或字幕信息;基于音频信息和/或字幕信息,对拍摄待拍摄对象形成的图像进行更新,得到已更新图像。In other embodiments of the present application, the photographing module 73 is further configured to acquire audio information and/or subtitle information corresponding to the target prompt information; update the image formed by photographing the object to be photographed based on the audio information and/or the subtitle information , to get the updated image.
需要说明的是,本实施例中各个模块所执行的步骤的具体实现过程,可以参照图1至3对应的实施例提供的拍摄方法中的实现过程,此处不再赘述。It should be noted that, for the specific implementation process of the steps performed by each module in this embodiment, reference may be made to the implementation process in the shooting method provided in the embodiments corresponding to FIGS. 1 to 3 , and details are not repeated here.
本申请实施例提供的拍摄装置,通过在待拍摄界面的提示窗口获取与待拍摄对象相对应的目标提示信息,并基于该目标提示信息确定出相关拍摄参数,或,音频信息和/或字幕信息;如此,能够进一步规范与待拍摄对象具有关联关系的目标提示信息,以及减少获取目标提示信息的时间,同时能够避免用户采用电子设备拍摄待拍摄对象时,忘记相关拍摄指令或关键词等,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。The shooting device provided by the embodiment of the present application acquires target prompt information corresponding to the object to be shot through the prompt window of the to-be-photographed interface, and determines relevant shooting parameters, or audio information and/or subtitle information based on the target prompt information ; In this way, the target prompt information associated with the object to be photographed can be further standardized, and the time for obtaining the target prompt information can be reduced, and at the same time, it can be avoided that the user forgets the relevant shooting instructions or keywords when using the electronic device to shoot the object to be shot, and then The efficiency with which the user uses the electronic device to photograph the object to be photographed can be improved.
基于前述实施例,本申请实施例还提供一种电子设备8,该电子设备8可以应用于图1至3对应的实施例提供的一种拍摄方法中,参照图8所示,该电子设备8可以包括:处理器81、存储器82和通信总线83,其中:Based on the foregoing embodiments, the embodiments of the present application further provide an
通信总线83用于实现处理器81和存储器82之间的通信连接。The
处理器81用于执行存储器82中存储的拍摄方法的程序,以实现参照图1至3对应的实施例提供的拍摄方法。The
需要说明的是,本实施例中处理器所执行的步骤的具体实现过程,可以参照图1至3对应的实施例提供的拍摄方法中的实现过程,此处不再赘述。It should be noted that, for the specific implementation process of the steps executed by the processor in this embodiment, reference may be made to the implementation process in the shooting methods provided in the embodiments corresponding to FIGS. 1 to 3 , and details are not repeated here.
本申请实施例提供的电子设备,通过在待拍摄界面的提示窗口获取与待拍摄对象相对应的目标提示信息,并基于该目标提示信息确定出相关拍摄参数,或,音频信息和/或字幕信息;如此,能够进一步规范与待拍摄对象具有关联关系的目标提示信息,以及减少获取目标提示信息的时间,同时能够避免用户采用电子设备拍摄待拍摄对象时,忘记相关拍摄指令或关键词等,进而能够提高用户使用电子设备对待拍摄对象进行拍摄的效率。The electronic device provided by the embodiment of the present application acquires target prompt information corresponding to the object to be shot through the prompt window of the to-be-photographed interface, and determines relevant shooting parameters, or audio information and/or subtitle information based on the target prompt information ; In this way, the target prompt information associated with the object to be photographed can be further standardized, and the time for obtaining the target prompt information can be reduced, and at the same time, it can be avoided that the user forgets the relevant shooting instructions or keywords when using the electronic device to shoot the object to be shot, and then The efficiency with which the user uses the electronic device to photograph the object to be photographed can be improved.
基于前述实施例,本申请的实施例提供一种计算机可读存储介质,计算机可读存储介质存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,以实现如图1至3对应的实施例提供的拍摄方法的步骤。Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to achieve The steps of the photographing method provided in the embodiments corresponding to FIGS. 1 to 3 .
需要说明的是,上述计算机可读存储介质可以是只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性随机存取存储器(Ferromagnetic Random Access Memory,FRAM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM)等存储器;也可以是包括上述存储器之一或任意组合的各种电子设备,如移动电话、计算机、平板设备、个人数字助理等。It should be noted that the above-mentioned computer-readable storage medium may be a read-only memory (Read Only Memory, ROM), a programmable read-only memory (Programmable Read-Only Memory, PROM), an erasable programmable read-only memory (Erasable Programmable read only memory, ROM) Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory (FRAM), Flash Memory (Flash Memory) , magnetic surface memory, optical disk, or memory such as Compact Disc Read-Only Memory (CD-ROM); it can also be a variety of electronic devices including one or any combination of the above memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所描述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of this application.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included within the scope of patent protection of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110300847.1ACN115118840A (en) | 2021-03-22 | 2021-03-22 | A shooting method, device, electronic device and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110300847.1ACN115118840A (en) | 2021-03-22 | 2021-03-22 | A shooting method, device, electronic device and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN115118840Atrue CN115118840A (en) | 2022-09-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110300847.1APendingCN115118840A (en) | 2021-03-22 | 2021-03-22 | A shooting method, device, electronic device and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN115118840A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130235218A1 (en)* | 2012-03-08 | 2013-09-12 | Angelbook Llc | Virtual Gravestone |
| CN103502969A (en)* | 2009-06-13 | 2014-01-08 | 罗莱斯塔尔有限公司 | System for sequential juxtaposition of separately recorded scenes |
| US20180218755A1 (en)* | 2017-01-31 | 2018-08-02 | Olympus Corporation | Imaging apparatus and imaging method |
| CN110264473A (en)* | 2019-06-13 | 2019-09-20 | Oppo广东移动通信有限公司 | Image processing method and device based on multi-frame image and electronic equipment |
| CN110445984A (en)* | 2019-08-29 | 2019-11-12 | 维沃移动通信有限公司 | A kind of shooting reminding method and electronic equipment |
| WO2020029306A1 (en)* | 2018-08-10 | 2020-02-13 | 华为技术有限公司 | Image capture method and electronic device |
| CN111405180A (en)* | 2020-03-18 | 2020-07-10 | 惠州Tcl移动通信有限公司 | Photographing method, photographing device, storage medium and mobile terminal |
| CN111866392A (en)* | 2020-07-31 | 2020-10-30 | Oppo广东移动通信有限公司 | Shooting prompting method, device, storage medium and electronic device |
| WO2020228792A1 (en)* | 2019-05-15 | 2020-11-19 | 华为技术有限公司 | Image capture method and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103502969A (en)* | 2009-06-13 | 2014-01-08 | 罗莱斯塔尔有限公司 | System for sequential juxtaposition of separately recorded scenes |
| US20130235218A1 (en)* | 2012-03-08 | 2013-09-12 | Angelbook Llc | Virtual Gravestone |
| US20180218755A1 (en)* | 2017-01-31 | 2018-08-02 | Olympus Corporation | Imaging apparatus and imaging method |
| WO2020029306A1 (en)* | 2018-08-10 | 2020-02-13 | 华为技术有限公司 | Image capture method and electronic device |
| WO2020228792A1 (en)* | 2019-05-15 | 2020-11-19 | 华为技术有限公司 | Image capture method and electronic device |
| CN110264473A (en)* | 2019-06-13 | 2019-09-20 | Oppo广东移动通信有限公司 | Image processing method and device based on multi-frame image and electronic equipment |
| CN110445984A (en)* | 2019-08-29 | 2019-11-12 | 维沃移动通信有限公司 | A kind of shooting reminding method and electronic equipment |
| CN111405180A (en)* | 2020-03-18 | 2020-07-10 | 惠州Tcl移动通信有限公司 | Photographing method, photographing device, storage medium and mobile terminal |
| CN111866392A (en)* | 2020-07-31 | 2020-10-30 | Oppo广东移动通信有限公司 | Shooting prompting method, device, storage medium and electronic device |
| Publication | Publication Date | Title |
|---|---|---|
| CN113093968B (en) | Shooting interface display method and device, electronic equipment and medium | |
| CN111601039B (en) | Video shooting method, device and electronic device | |
| CN105893419A (en) | Generation device, device and equipment of multimedia photo, and mobile phone | |
| CN104853092A (en) | Photographing method and device | |
| CN108174097A (en) | Method and device for taking pictures and providing shooting parameters | |
| CN115623313B (en) | Image processing method, image processing device, electronic device, and storage medium | |
| WO2016101592A1 (en) | Method and device for providing photograph image | |
| CN107451953A (en) | Group photo generation method and device and electronic equipment | |
| CN112449110A (en) | Image processing method and device and electronic equipment | |
| CN113014801A (en) | Video recording method, video recording device, electronic equipment and medium | |
| CN114285988B (en) | Display method, device, electronic device and storage medium | |
| CN113194256B (en) | Shooting method, shooting device, electronic equipment and storage medium | |
| CN112887623B (en) | Image generation method, device and electronic equipment | |
| CN114025100A (en) | Shooting method, shooting device, electronic equipment and readable storage medium | |
| CN114390197A (en) | Shooting method and apparatus, electronic device and readable storage medium | |
| CN115242976B (en) | Photographing method, photographing device and electronic equipment | |
| CN115118840A (en) | A shooting method, device, electronic device and storage medium | |
| US11523061B2 (en) | Imaging apparatus, image shooting processing method, and storage medium for performing control to display a pattern image corresponding to a guideline | |
| CN114025237B (en) | Video generation method, device and electronic device | |
| CN117255219A (en) | Comment processing method and device, electronic equipment and storage medium | |
| CN115174812A (en) | Video generation method, video generation device and electronic equipment | |
| CN104349065B (en) | A kind of picture shooting method, device and intelligent terminal | |
| CN113139367A (en) | Document generation method and device and electronic equipment | |
| CN112637491A (en) | Photographing method and photographing apparatus | |
| CN112261483A (en) | Video output method and device |
| 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 |