WO2023165515A1 - 拍摄方法、装置、电子设备和存储介质 - Google Patents

拍摄方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2023165515A1
WO2023165515A1 PCT/CN2023/079003 CN2023079003W WO2023165515A1 WO 2023165515 A1 WO2023165515 A1 WO 2023165515A1 CN 2023079003 W CN2023079003 W CN 2023079003W WO 2023165515 A1 WO2023165515 A1 WO 2023165515A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
template
preset
page
photographing
Prior art date
Application number
PCT/CN2023/079003
Other languages
English (en)
French (fr)
Inventor
车万里
李哲男
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023165515A1 publication Critical patent/WO2023165515A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Definitions

  • the present disclosure relates to the field of information technology, and in particular to a photographing method, device, electronic equipment and storage medium.
  • a video application based on the video application, users can browse videos, record videos, or capture images.
  • An embodiment of the present disclosure provides a shooting method, including:
  • a first preset interface In response to a first trigger operation on a preset control on the first shooting page, a first preset interface is displayed, and the first preset interface includes a plurality of first template identifiers and first shooting controls, wherein the multiple The first template identifier is determined based on the shooting object displayed on the first shooting page;
  • the timing identifier is updated to a preset identifier
  • the subject is photographed based on the photographing template.
  • An embodiment of the present disclosure also provides a photographing device, including:
  • a first display module configured to display a first preset interface in response to a first trigger operation on a preset control on the first shooting page, where the first preset interface includes a plurality of first template identifiers and a first shooting control ;
  • a processing module configured to, in response to the second trigger operation acting on the target template identifier, apply the shooting template associated with the target template identifier to the shooting object, so as to display the shooting template corresponding to the shooting template on the first shooting page.
  • a preview effect wherein the second trigger operation is used for the selected from the plurality of first template identifiers target template ID;
  • the second display module is configured to hide the first preset interface, display a second shooting page, and display a timing mark on the second shooting page in response to an operation acting on the first shooting control;
  • a photographing module configured to photograph the subject based on the photographing template when the timing flag is updated to a preset flag.
  • An embodiment of the present disclosure also provides an electronic device, and the electronic device includes:
  • processors one or more processors
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the shooting method as described above.
  • An embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned photographing method is implemented.
  • An embodiment of the present disclosure further provides a computer program product, where the computer program product includes a computer program or an instruction, and when the computer program or instruction is executed by a processor, the above-mentioned photographing method is realized.
  • An embodiment of the present disclosure further provides a computer program, including: instructions, which when executed by a processor cause the processor to execute the photographing method in any embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a shooting method in some embodiments of the present disclosure
  • Fig. 2 is a schematic diagram of a first photographed page in some embodiments of the present disclosure
  • Fig. 3 is a schematic diagram of a first preset interface in some embodiments of the present disclosure.
  • Fig. 4 is a schematic diagram of the first photographed page in other embodiments of the present disclosure.
  • Fig. 5 is a schematic diagram of a second photographing page in some embodiments of the present disclosure.
  • Fig. 6 is a schematic diagram of a second preset interface in some embodiments of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a shooting device in some embodiments of the present disclosure.
  • Fig. 8 is a schematic structural diagram of an electronic device in some embodiments of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • embodiments of the present disclosure provide a shooting method, device, electronic equipment, and storage medium, which improve the convenience of shooting and help improve user experience.
  • FIG. 1 is a flow chart of a shooting method in some embodiments of the present disclosure, and this embodiment is applicable to the case of shooting video or images in a client.
  • the method can be executed by a photographing device, and the device can be implemented in software and/or hardware.
  • the device can be configured in electronic devices, such as terminals, including but not limited to smartphones, palmtop computers, tablet computers, wearable devices with display screens, desktop computers, notebook computers, all-in-one computers, smart Household equipment, etc.
  • the method includes the following steps.
  • Step 110 In response to the first trigger operation on the preset control on the first shooting page, display a first preset interface, where the first preset interface includes a plurality of first template identifiers and a first shooting control.
  • the shooting template provided by the system cannot be applied by triggering the shooting control 220 to enter the shooting state, and the video or image obtained by shooting is an original video or image that has not been edited.
  • the shooting template is used to configure the image editing operation performed on the original image material, so that the new image material generated after the original image material is edited according to the image editing operation presents the image editing effect corresponding to the shooting template. Therefore, if the user selects, for example, a shooting template before shooting, the video or image obtained by shooting can be presented with special effects, and the effect of the video or image obtained by shooting can be improved.
  • users can quickly shoot videos or images with better effects, reduce shooting difficulty, improve shooting convenience and user experience.
  • a first preset interface is displayed, as shown in FIG. and first camera controls 320 .
  • the multiple first template identifiers 310 are determined based on the shooting objects displayed on the first shooting page, that is, the multiple first template identifiers 310 are displayed in a personalized manner according to the shooting objects displayed on the first shooting page. For example, if the photographed object displayed on the first photographing page is a person, the plurality of first template identifiers 310 displayed on the first preset interface may be templates suitable for image editing of the person; if in the first photographing page If the displayed object is a plant, the plurality of first template identifiers 310 displayed on the first preset interface may be templates suitable for image editing of plants and the like.
  • a plurality of first template identifiers 310 are displayed in a personalized manner, and each first template identifier 310 is associated with a shooting template. Therefore, the user can be provided with a shooting template that is more suitable for the current shooting object, reducing the difficulty of shooting, and improving the user's shooting experience.
  • the display area 330 of the first shooting control 320 in the first preset interface 300 is different from the display area 340 of the plurality of first template logos 310 in the first preset interface 300, so as to avoid the first shooting
  • the control 320 blocks the first template logo 310 . That is, the first shooting control 320 is not superimposed on the first template logo 310 for display, and the first shooting control 320 will not block any one of the multiple first template logos 310 , thereby improving user interaction experience.
  • the background of the display area 340 of the plurality of first template logos 310 in the first preset interface 300 is a transparent color, that is, the underlying page 350 can be seen through the display area 340, so as to reduce the first preset as much as possible.
  • the shielding caused by the interface 300 to the underlying page 350 is set to achieve the purpose of improving user interaction experience.
  • the background of the display area 340 is transparent, the background of the display area 340 may be colored or not colored.
  • Step 120 In response to the second trigger operation acting on the target template ID, apply the shooting template associated with the target template ID to the shooting object, so as to display the preview effect corresponding to the shooting template on the first shooting page .
  • the second trigger operation is used to select the target template identifier from the plurality of first template identifiers.
  • FIG. 4 A schematic diagram of other embodiments of the first photographing page as shown in FIG. 4 .
  • the shooting template associated with the target template identification 410 is applied to the shooting object 430, so that a preview corresponding to the shooting template associated with the target template identification 410 is displayed on the first shooting page Effect.
  • the shooting template includes at least description information of the shooting object.
  • the descriptive information of the photographed object may include the name of the photographed object, attribute information, and the like.
  • “butterflies belong to insects” the user can add description information "butterflies belong to insects” in the captured "butterfly” image only by selecting the target template identifier 410, which improves the shooting effect and reduces the difficulty of shooting. Help improve the user's shooting experience.
  • the user browses the preview effect corresponding to each template logo, selects a satisfactory template logo, and then directly enters the shooting state by triggering the "start shooting" control 420 without switching interfaces.
  • the shooting template further includes at least one of audio resources, prop resources and interactive resources, so that the image or video shot based on the shooting template contains at least one of the audio resources, prop resources and interactive resources.
  • audio resources can include sound effects or music
  • prop resources refer to props used for shooting, such as props such as "tiger head” and “cat ears”
  • interactive resources refer to resources used to realize interactive functions based on interactive controls, such as Buy links, buy controls, etc.
  • applying the shooting template associated with the target template identifier to the shooting object to display a preview effect corresponding to the shooting template on the first shooting page includes:
  • Editing is performed on the shooting object according to the image editing operation configured in the shooting template, so that the edited shooting object presents an image editing effect corresponding to the shooting template.
  • the method further includes: when it is detected that the shooting object appears on the first shooting page, determining the attribute characteristics of the shooting object; one Template ID.
  • the attribute feature is, for example, the category to which the photographed object belongs (such as person, plant, animal, etc.) or some more detailed features, such as long hair, short hair, wearing glasses, etc.
  • the user in order to reserve a period of time for the user to adjust the shooting angle or perform other shooting preparations, the user enters the timing state after the user triggers the "start shooting" control 420; when the timing time reaches the preset time, enters the Shooting status.
  • Step 130 in response to the operation acting on the first shooting control, hide the first preset interface, display a second shooting page, and display a timing mark on the second shooting page.
  • Step 140 when the timing flag is updated to a preset flag, shoot the subject based on the shooting template.
  • the timing mode may be countdown.
  • the countdown is 3s
  • the timing numbers 3-2-1 are sequentially displayed on the first shooting page, and then the shooting state is entered, as shown in FIG. 5 , a schematic diagram of some embodiments of the second shooting page.
  • the timing method can also be counting up, for example, counting up for 3s, the timing numbers 1-2-3 are displayed in sequence on the first shooting page, and then enter the shooting state.
  • the user can be provided with time to adjust the shooting angle or perform other shooting preparations, so that the user has time to prepare mentally, thereby achieving the purpose of improving shooting quality and shooting efficiency.
  • the technical solutions provided by the embodiments of the present disclosure have at least the following advantages:
  • the first shooting method provided by the embodiments of the present disclosure in the first preset interface, in addition to displaying a plurality of first template logos, the first Shooting control, so that when the user selects a certain, for example, the first template logo, he can directly enter the shooting state through the first shooting control, without switching the interface to enter the shooting state; and a period of time is set before the official shooting, which is convenient for users Adjust the shooting angle and preview the shooting effect, so as to achieve the purpose of improving shooting convenience and user experience, and improving shooting efficiency.
  • the first shooting control is associated with first preset prompt information to prompt the user to enter the shooting state by triggering the first shooting control.
  • the first preset prompt information may be "start shooting", the first preset prompt information associated with the shooting control 320 as shown in FIG. 3, and the first preset prompt information associated with the shooting control 420 as shown in FIG. information.
  • the method further includes: responding to the first preset control on the first shooting page three triggering an operation to display a second preset interface on the first shooting page, the second preset interface including a plurality of second template logos and second shooting controls, and the second shooting controls are associated with a second preset prompt information, the second preset prompt information is different from the first preset prompt information.
  • the second preset prompt information is, for example, "continue shooting", as shown in FIG. 6 , a schematic diagram of some embodiments of the second preset interface, in which the second shooting control 610 is associated with the second preset prompt information "continue shooting". .
  • the user triggers the second shooting control, it still enters the timing state first, and enters the shooting state to start shooting when the timing expires.
  • the segmented shooting mode is to splicing videos taken in different times together to generate a continuous video.
  • the video duration of the first shooting is 4s
  • the video duration of the second shooting is 6s.
  • the second shot video is spliced into a continuous video with a duration of 10s
  • the first shot video is played in the first 4s of the video
  • the second shot video is played in the last 6s of the video.
  • a first shooting control is also displayed.
  • the user selects a certain first template logo, he can directly enter the shooting state through the first shooting control, without switching the interface to enter the shooting state; and a period of time is set before the official shooting, which is convenient for the user to adjust the shooting angle, Preview the shooting effect, so as to achieve the purpose of improving shooting convenience and user experience, and improving shooting efficiency.
  • Fig. 7 is a schematic structural diagram of a photographing device in some embodiments of the present disclosure.
  • the photographing device provided by the embodiment of the present disclosure may be configured in a client, and the photographing device specifically includes: a first display module 710 , a processing module 720 , a second display module 730 and a photographing module 740 .
  • the first display module 710 is configured to display a first preset interface in response to a first trigger operation on a preset control on the first shooting page, where the first preset interface includes a plurality of first template identifiers and a first shooting Control; processing module 720, configured to apply the shooting template associated with the target template ID to the shooting object in response to the second trigger operation acting on the target template ID, so as to display the shooting on the first shooting page A preview effect corresponding to the template, wherein the second trigger operation is used for the target template identifier selected from the plurality of first template identifiers; the second display module 730 is configured to respond to the action on the first template identifier The operation of the shooting control hides the first preset interface, displays a second shooting page, and displays a timing mark on the second shooting page; the shooting module 740 is configured to update the timing mark to a preset mark and photographing the subject based on the photographing template.
  • the first shooting control is associated with first preset prompt information.
  • the first display module 710 is further configured to: respond to the third trigger operation on the preset controls on the first shooting page, show the second A preset interface, the second preset interface includes a plurality of second template identifiers and second shooting controls, the second shooting controls are associated with second preset prompt information, and the second preset prompt information is related to the The first preset prompt information is different.
  • the display area of the first shooting control in the first preset interface is different from the display area of the plurality of first template identifiers in the first preset interface, so as to avoid the The first shooting control blocks the first template logo.
  • the background of the display area of the plurality of first template identifiers in the first preset interface is transparent.
  • the shooting template includes at least description information of the shooting object.
  • the shooting template further includes at least one of audio resources and interactive resources.
  • the processing module 720 is specifically configured to: perform editing processing on the photographed object according to the image editing operation configured in the photographing template, so that the edited photographic object presents the image editing corresponding to the photographing template Effect.
  • the apparatus further includes: a determining module, configured to determine the attribute characteristics of the object to be photographed when it is detected that the object to be photographed appears on the first photographing page; based on the attribute of the object to be photographed A feature determines said first template identity.
  • a determining module configured to determine the attribute characteristics of the object to be photographed when it is detected that the object to be photographed appears on the first photographing page; based on the attribute of the object to be photographed A feature determines said first template identity.
  • the photographing device provided by the embodiment of the present disclosure can execute the steps performed by the client in the photographing method provided by the method embodiment of the present disclosure, and has the execution steps and beneficial effects, which will not be repeated here.
  • Fig. 8 is a schematic structural diagram of an electronic device in some embodiments of the present disclosure. Referring specifically to FIG. 8 , it shows a schematic structural diagram of an electronic device 800 suitable for implementing an embodiment of the present disclosure.
  • the electronic device 800 in the embodiment of the present disclosure may include, but is not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals ( Mobile terminals such as car navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc.
  • the electronic device shown in FIG. 8 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • an electronic device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) Various appropriate actions and processes are executed by programs in the memory (RAM) 803 to implement the methods of the embodiments as described in the present disclosure. In the RAM 803, various programs and data necessary for the operation of the electronic device 800 are also stored.
  • the processing device 801 , ROM 802 , and RAM 803 are connected to each other through a bus 804 .
  • An input/output (I/O) interface 805 is also connected to the bus 804 .
  • the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 807 such as a computer; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication means 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. While FIG. 8 shows electronic device 800 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • the processes described above with reference to the flowcharts can be implemented as computer software programs.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program includes program code for executing the method shown in the flow chart, thereby realizing the above the shooting method described.
  • the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from ROM 802.
  • the processing device 801 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • Further examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, Random Access Memory (RAM), Read Only Memory (ROM), Erasable Programmable Read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can use HTTP (HyperText Transfer Protocol (Hypertext Transfer Protocol), any currently known or future developed network protocol, and can be interconnected with any form or medium of digital data communication (eg, communication network).
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks ("LANs”), wide area networks ("WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to the first trigger operation on the preset control on the first shooting page, display A first preset interface, the first preset interface includes a plurality of first template identifiers and first shooting controls; in response to a second trigger operation acting on the target template identifier, apply the shooting template associated with the target template identifier For the shooting object, display a preview effect corresponding to the shooting template on the first shooting page, wherein the second trigger operation is used for the target template selected from the plurality of first template identifiers identification; responding to the operation acting on the first shooting control, hiding the first preset interface, displaying a second shooting page, and displaying a timing mark on the second shooting page; when the timing mark is updated to preset When setting the mark, the subject is photographed based on the photographing template.
  • the electronic device when the above one or more programs are executed by the electronic device, the electronic device may also perform other steps described in the above embodiments.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two Blocks shown in succession may, in fact, be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • the present disclosure provides a shooting method, including: displaying a first preset interface in response to a first trigger operation on a preset control on a first shooting page, the first The preset interface includes a plurality of first template identifiers and first shooting controls; in response to a second trigger operation acting on the target template identifier, apply the shooting template associated with the target template identifier to the shooting object, so as to The first shooting page displays the preview effect corresponding to the shooting template, wherein the second trigger operation is used for the target template identifier selected from the plurality of first template identifiers; in response to acting on the first The operation of the shooting control hides the first preset interface, displays a second shooting page, and displays a timing mark on the second shooting page; when the timing mark is updated to a preset mark, based on the shooting template The subject is photographed.
  • the display area of the first shooting control in the first preset interface is the same as that of the plurality of second
  • the display area of a template logo in the first preset interface is different, so as to prevent the first shooting control from covering the first template logo.
  • the background of the display area of the plurality of first template identifiers in the first preset interface is transparent.
  • the first shooting control is associated with first preset prompt information.
  • the method further includes: in response to a third trigger operation on the preset control on the first shooting page, displaying a second preset interface on the first shooting page, the second preset interface including a plurality of second A template identifier and a second shooting control, the second shooting control is associated with second preset prompt information, and the second preset prompt information is different from the first preset prompt information.
  • the shooting template includes at least description information of the shooting object.
  • the shooting template further includes at least one of audio resources and interactive resources.
  • applying the photographing template associated with the target template identifier to the photographing object so as to A shooting page displaying a preview effect corresponding to the shooting template, including: editing the shooting object according to the image editing operation configured in the shooting template, so that the edited shooting object presents the image corresponding to the shooting template.
  • Image editing effects including: editing the shooting object according to the image editing operation configured in the shooting template, so that the edited shooting object presents the image corresponding to the shooting template.
  • the shooting method provided in the present disclosure further includes: when it is detected that the shooting object appears on the first shooting page, determining that the shooting The attribute feature of the object; determining the first template identifier based on the attribute feature of the shooting object.
  • the present disclosure provides a shooting device, including: a first display module, configured to display a first preset control in response to a first trigger operation on the first shooting page.
  • a setting interface, the first preset interface includes a plurality of first template identifiers and first shooting controls; a processing module, configured to respond to a second trigger operation acting on the target template identifier, associate the target template identifier with the shooting A template is applied to the shooting object, so as to display a preview effect corresponding to the shooting template on the first shooting page, wherein the second trigger operation is used for the Target template identification;
  • a second display module configured to hide the first preset interface, display a second shooting page, and display a timing mark on the second shooting page in response to an operation acting on the first shooting control
  • a photographing module configured to photograph the subject based on the photographing template when the timing flag is updated to a preset flag.
  • the present disclosure provides an electronic device, including:
  • processors one or more processors
  • memory for storing one or more programs
  • the one or more processors are made to implement any one of the photographing methods provided in the present disclosure.
  • the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, any one of the photographing methods provided in the present disclosure is implemented. .

Abstract

本公开实施例公开了一种拍摄方法、装置、电子设备和存储介质,该方法包括:响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于拍摄对象;响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,并显示第二拍摄页面,以及在所述第二拍摄页面显示计时标识;当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。

Description

拍摄方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请是以CN申请号为202210200351.1,申请日为2022年3月2日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及信息技术领域,尤其涉及一种拍摄方法、装置、电子设备和存储介质。
背景技术
随着网络技术和移动终端技术的快速发展,出现了越来越多的、适配移动终端的应用程序。例如视频应用程序,基于视频应用程序用户可以浏览视频、录制视频或者拍摄图像等。
发明内容
本公开实施例提供了一种拍摄方法,包括:
响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件,其中,所述多个第一模板标识基于在所述第一拍摄页面中显示的拍摄对象确定;
响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果;
响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,并显示第二拍摄页面,以及在所述第二拍摄页面显示计时标识;
当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
本公开实施例还提供了一种拍摄装置,包括:
第一显示模块,用于响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;
处理模块,用于响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述 目标模板标识;
第二显示模块,用于响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,显示第二拍摄页面,并在所述第二拍摄页面显示计时标识;
拍摄模块,用于当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
本公开实施例还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上所述的拍摄方法。
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的拍摄方法。
本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序或指令,该计算机程序或指令被处理器执行时实现如上所述的拍摄方法。
本公开实施例还提供了一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行本公开任一个实施例中的拍摄方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开一些实施例中的拍摄方法的流程图;
图2为本公开一些实施例中的第一拍摄页面的示意图;
图3为本公开一些实施例中的第一预设界面的示意图;
图4为本公开另一些实施例中的第一拍摄页面的示意图;
图5为本公开一些实施例中的第二拍摄页面的示意图;
图6为本公开一些实施例中的第二预设界面的示意图;
图7为本公开一些实施例中的拍摄装置的结构示意图;
图8为本公开一些实施例中的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
如前所述,如何提高用户录制视频或者拍摄图像时的操作便捷性是需要解决的技术问题之一。
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开实施例提供了一种拍摄方法、装置、电子设备和存储介质,提高了拍摄便捷性,有利于提升用户的使用体验。
图1为本公开一些实施例中的拍摄方法的流程图,本实施例可适用于客户端中进行视频或者图像的拍摄情况。该方法可以由拍摄装置执行,该装置可以采用软件和/或硬件的方式实现。该装置可配置于电子设备中,例如终端,包括但不限于智能手机、掌上电脑、平板电脑、带显示屏的可穿戴设备、台式机、笔记本电脑、一体机、智能 家居设备等。
如图1所示,该方法包括如下步骤。
步骤110、响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件。
示例性的,参考如图2所示的第一拍摄页面的一些实施例的示意图,第一拍摄页面包括预设控件210和拍摄控件220,用户可以通过触发拍摄控件220进入拍摄状态。但是通过触发拍摄控件220进入拍摄状态的方式无法应用系统提供的拍摄模板,拍摄所获得的视频或图像为未经过编辑处理的原始视频或图像。
例如,拍摄模板用于配置对原始影像素材执行的图像编辑操作,以使得原始影像素材在按照所述图像编辑操作被编辑后生成的新影像素材,呈现有所述拍摄模板对应的图像编辑效果。因此,若用户在拍摄之前选择例如拍摄模板,可使得拍摄所获得的视频或图像呈现有特效,可提高拍摄所获得的视频或图像的效果。
通过为用户提供多种可选拍摄模板,可使用户较快速地拍摄出效果较好的视频或图像,可降低拍摄难度,提高拍摄便捷性以及用户的使用体验。
若用户触发预设控件210,则显示第一预设界面,如图3所示的第一预设界面的一些实施例的示意图,所述第一预设界面300包括多个第一模板标识310和第一拍摄控件320。所述多个第一模板标识310基于在所述第一拍摄页面中显示的拍摄对象确定,即根据在第一拍摄页面中显示的拍摄对象个性化地显示多个第一模板标识310。例如在第一拍摄页面中显示的拍摄对象是人物,则在第一预设界面中显示的多个第一模板标识310可以是适用于对人物进行图像编辑的模板;若在第一拍摄页面中显示的拍摄对象是植物,则在第一预设界面中显示的多个第一模板标识310可以是适用于对植物进行图像编辑的模板等等。
根据在第一拍摄页面中显示的拍摄对象,个性化地显示多个第一模板标识310,每个第一模板标识310关联有拍摄模板。因此可为用户提供较适用于当前拍摄对象的拍摄模板,降低拍摄难度,提升用户的拍摄体验。
在一些实施例中,第一拍摄控件320在第一预设界面300中的显示区域330与多个第一模板标识310在第一预设界面300中的显示区域340不同,以避免第一拍摄控件320遮挡第一模板标识310。即第一拍摄控件320并非是叠加在第一模板标识310之上进行显示的,第一拍摄控件320不会对多个第一模板标识310中的任意一个造成遮挡,从而提升用户的交互体验。
在一些实施例中,多个第一模板标识310在第一预设界面300中的显示区域340的背景为透明色,即透过显示区域340可以看到底层页面350,以尽量降低第一预设界面300对底层页面350造成的遮挡,达到提升用户交互体验的目的。
例如,显示区域340的背景是透明的,显示区域340的背景可以有颜色或者没有颜色。
步骤120、响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果。所述第二触发操作用于从所述多个第一模板标识中选择所述目标模板标识。
如图4所示的第一拍摄页面的另一些实施例的示意图。以拍摄对象是蝴蝶为例,假设用户触发目标模板标识410,则将目标模板标识410关联的拍摄模板应用于拍摄对象430,以在第一拍摄页面显示目标模板标识410关联的拍摄模板对应的预览效果。
示例性的,所述拍摄模板至少包括所述拍摄对象的描述信息。拍摄对象的描述信息可以包括拍摄对象的名称、属性信息等。例如“蝴蝶,属于昆虫类”,用户仅通过选取目标模板标识410,即可在拍摄的“蝴蝶”图像中添加描述信息“蝴蝶,属于昆虫类”,提高了拍摄效果,降低了拍摄难度,有助于提升用户的拍摄体验。用户通过浏览每个模板标识对应的预览效果,从中选取满意的一个模板标识,然后通过触发“开始拍摄”控件420即可直接进入拍摄状态,而无需切换界面。
值得注意的是,本公开实施例可以基于需求为拍摄对象设置各种类型的描述信息,本公开实施例对此不做限制。
在一些实施例中,所述拍摄模板还包括音频资源、道具资源和交互资源中的至少一种,以使基于拍摄模板拍摄的图像或者视频中带有音频资源、道具资源和交互资源中的至少一种。其中,音频资源可以包括音效或音乐;道具资源指用于拍摄的道具,例如“老虎头”、“猫耳朵”等道具;交互资源指用于基于交互控件实现交互功能的资源,如拍摄对象的购买链接、购买控件等。
例如,所述将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,包括:
按照所述拍摄模板配置的图像编辑操作对所述拍摄对象进行编辑处理,以使经过编辑处理后的拍摄对象呈现所述拍摄模板对应的图像编辑效果。
在一些实施例中,所述方法还包括:当检测到所述拍摄对象出现在所述第一拍摄页面时,确定所述拍摄对象的属性特征;基于所述拍摄对象的属性特征确定所述第一 模板标识。其中,所述属性特征例如是拍摄对象所属的类别(例如人物、植物、动物等)或者更为细节的一些特征,例如长发、短发、是否佩戴眼镜等。通过基于拍摄对象的属性特征确定第一模板标识,可实现根据拍摄对象进行个性化推荐的目的,从而提高拍摄效率。
在一些实施方式中,为了给用户预留一段供用户调整拍摄角度或者进行其它拍摄准备工作的时间,在用户触发“开始拍摄”控件420后进入计时状态;当计时时间到达预设时间时,进入拍摄状态。
步骤130、响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,并显示第二拍摄页面,以及在所述第二拍摄页面显示计时标识。
步骤140、当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
其中,计时方式可以是倒计时。例如倒计时3s,在第一拍摄页面依次显示计时数字3-2-1,然后进入拍摄状态,如图5所示的第二拍摄页面的一些实施例的示意图。计时方式还可以是正计时,例如正计时3s,在第一拍摄页面依次显示计时数字1-2-3,然后进入拍摄状态。
在正式拍摄之前通过设置一段时间的延迟,可为用户提供调整拍摄角度或者进行其它拍摄准备工作的时间,可使用户有进行心里准备的时间,进而达到提高拍摄质量和拍摄效率的目的,
本公开实施例提供的技术方案与相关技术相比至少具有如下优点:本公开实施例提供的拍摄方法,在第一预设界面,除了显示多个第一模板标识之外,还显示有第一拍摄控件,如此在用户选择某例如第一模板标识时,可直接通过第一拍摄控件进行入拍摄状态,而不需要进行界面切换才能进入拍摄状态;且在正式拍摄之前设置有一段计时,方便用户调整拍摄视角、预览拍摄效果,从而达到提高拍摄便捷性以及用户体验的目的,提升拍摄效率。
在一些实施例中,为了降低使用难度,所述第一拍摄控件关联有第一预设提示信息,以提示用户通过触发该第一拍摄控件,可进入拍摄状态。例如,第一预设提示信息可为“开始拍摄”,如图3所示的拍摄控件320关联的第一预设提示信息,以及如图4所示的拍摄控件420关联的第一预设提示信息。
在一些实施例中,若拍摄模式为分段拍摄模式,所述基于所述拍摄模板对所述拍摄对象进行拍摄之后,所述方法还包括:响应于针对第一拍摄页面上预设控件的第三 触发操作,在所述第一拍摄页面显示第二预设界面,所述第二预设界面包括多个第二模板标识和第二拍摄控件,所述第二拍摄控件关联有第二预设提示信息,所述第二预设提示信息与所述第一预设提示信息不同。第二预设提示信息例如是“继续拍摄”,如图6所示的第二预设界面的一些实施例的示意图,其中的第二拍摄控件610关联有第二预设提示信息“继续拍摄”。在一些实施例中,当用户触发第二拍摄控件后依然先进入计时状态,计时时间到时进入拍摄状态开始拍摄。
其中,分段拍摄模式为将不同次拍摄的视频拼接到一起生成一段连续的视频,例如第一次拍摄的视频时长为4s,第二次拍摄的视频时长为6s,则第一拍摄的视频与第二拍摄的视频拼接成时长为10s的连续视频,在视频的前4s播放第一次拍摄的视频,在视频的后6s播放第二次拍摄的视频。
本公开实施例提供的拍摄方法,在显示第一模板标识的预设界面中,除了显示多个第一模板标识之外,还显示有第一拍摄控件。如此在用户选择某第一模板标识时,可直接通过第一拍摄控件进行入拍摄状态,而不需要进行界面切换才能进入拍摄状态;且在正式拍摄之前设置有一段计时,方便用户调整拍摄视角、预览拍摄效果,从而达到提高拍摄便捷性以及用户体验的目的,提升拍摄效率。
图7为本公开一些实施例中的拍摄装置的结构示意图。本公开实施例所提供的拍摄装置可以配置于客户端中,该拍摄装置具体包括:第一显示模块710、处理模块720、第二显示模块730和拍摄模块740。
第一显示模块710,用于响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;处理模块720,用于响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述目标模板标识;第二显示模块730,用于响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,并显示第二拍摄页面,以及在所述第二拍摄页面显示计时标识;拍摄模块740,用于当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
在一些实施例中,所述第一拍摄控件关联有第一预设提示信息。
在一些实施例中,若拍摄模式为分段拍摄模式,所述第一显示模块710还用于:响应于针对第一拍摄页面上预设控件的第三触发操作,在所述第一拍摄页面显示第二 预设界面,所述第二预设界面包括多个第二模板标识和第二拍摄控件,所述第二拍摄控件关联有第二预设提示信息,所述第二预设提示信息与所述第一预设提示信息不同。
在一些实施例中,所述第一拍摄控件在所述第一预设界面中的显示区域与所述多个第一模板标识在所述第一预设界面中的显示区域不同,以避免所述第一拍摄控件遮挡所述第一模板标识。
在一些实施例中,所述多个第一模板标识在所述第一预设界面中的显示区域的背景为透明的。
在一些实施例中,所述拍摄模板至少包括所述拍摄对象的描述信息。
在一些实施例中,所述拍摄模板还包括音频资源和交互资源中的至少一种。
在一些实施例中,处理模块720具体用于:按照所述拍摄模板配置的图像编辑操作对所述拍摄对象进行编辑处理,以使经过编辑处理后的拍摄对象呈现所述拍摄模板对应的图像编辑效果。
在一些实施例中,所述装置还包括:确定模块,用于当检测到所述拍摄对象出现在所述第一拍摄页面时,确定所述拍摄对象的属性特征;基于所述拍摄对象的属性特征确定所述第一模板标识。
本公开实施例提供的拍摄装置,可执行本公开方法实施例所提供的拍摄方法中客户端所执行的步骤,具备执行步骤和有益效果此处不再赘述。
图8为本公开一些实施例中的电子设备的结构示意图。下面具体参考图8,其示出了适于用来实现本公开实施例中的电子设备800的结构示意图。本公开实施例中的电子设备800可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴电子设备等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理以实现如本公开所述的实施例的方法。在RAM 803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码,从而实现如上所述的拍摄方法。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更例如例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer  Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述目标模板标识;响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,显示第二拍摄页面,并在所述第二拍摄页面显示计时标识;当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
在一些实施例中,当上述一个或者多个程序被该电子设备执行时,该电子设备还可以执行上述实施例所述的其他步骤。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两 个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,本公开提供了一种拍摄方法,包括:响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述目标模板标识;响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,显示第二拍摄页面,并在所述第二拍摄页面显示计时标识;当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,所述第一拍摄控件在所述第一预设界面中的显示区域与所述多个第一模板标识在所述第一预设界面中的显示区域不同,以避免所述第一拍摄控件遮挡所述第一模板标识。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中, 所述多个第一模板标识在所述第一预设界面中的显示区域的背景为透明的。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,所述第一拍摄控件关联有第一预设提示信息。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,若拍摄模式为分段拍摄模式,所述基于所述拍摄模板对所述拍摄对象进行拍摄之后,所述方法还包括:响应于针对第一拍摄页面上预设控件的第三触发操作,在所述第一拍摄页面显示第二预设界面,所述第二预设界面包括多个第二模板标识和第二拍摄控件,所述第二拍摄控件关联有第二预设提示信息,所述第二预设提示信息与所述第一预设提示信息不同。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,所述拍摄模板至少包括所述拍摄对象的描述信息。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,所述拍摄模板还包括音频资源和交互资源中的至少一种。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,所述将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,包括:按照所述拍摄模板配置的图像编辑操作对所述拍摄对象进行编辑处理,以使经过编辑处理后的拍摄对象呈现所述拍摄模板对应的图像编辑效果。
根据本公开的一个或多个实施例,在本公开提供的拍摄方法中,在一些实施例中,还包括:当检测到所述拍摄对象出现在所述第一拍摄页面时,确定所述拍摄对象的属性特征;基于所述拍摄对象的属性特征确定所述第一模板标识。
根据本公开的一个或多个实施例,本公开提供了一种拍摄装置,包括:第一显示模块,用于响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;处理模块,用于响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于所述拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述目标模板标识;第二显示模块,用于响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,显示第二拍摄页面,并在所述第二拍摄页面显示计时标识;拍摄模块,用于当所述计时标识更新为预设标识时,基于所述拍摄模板对所述拍摄对象进行拍摄。
根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:
一个或多个处理器;
存储器,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开提供的任一所述的拍摄方法。
根据本公开的一个或多个实施例,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开提供的任一所述的拍摄方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (16)

  1. 一种拍摄方法,包括:
    响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;
    响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于拍摄对象,以显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述目标模板标识;
    响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,并显示第二拍摄页面,以及在所述第二拍摄页面显示计时标识;
    在所述计时标识更新为预设标识的情况下,基于所述拍摄模板对所述拍摄对象进行拍摄。
  2. 根据权利要求1所述的拍摄方法,其中,所述第一拍摄控件在所述第一预设界面中的显示区域与所述多个第一模板标识在所述第一预设界面中的显示区域不同,所述第一拍摄控件不遮挡所述多个第一模板标识中的任一个。
  3. 根据权利要求1或2所述的拍摄方法,其中,所述多个第一模板标识在所述第一预设界面中的显示区域的背景为透明的。
  4. 根据权利要求1-3任一项所述的拍摄方法,其中,所述第一拍摄控件关联有第一预设提示信息。
  5. 根据权利要求4所述的拍摄方法,其中,所述第一预设提示信息用于提示用户通过触发所述第一拍摄控件进入拍摄状态。
  6. 根据权利要求4或5所述的拍摄方法,其中,在拍摄模式为分段拍摄模式的情况下,所述基于所述拍摄模板对所述拍摄对象进行拍摄之后,所述拍摄方法还包括:
    响应于针对第一拍摄页面上预设控件的第三触发操作,显示第二预设界面,所述第二预设界面包括多个第二模板标识和第二拍摄控件,所述第二拍摄控件关联有第二预设提示信息,所述第二预设提示信息与所述第一预设提示信息不同。
  7. 根据权利要求6所述的拍摄方法,其中,所述第二预设提示信息用于提示用户通过触发所述第二拍摄控件进行继续拍摄。
  8. 根据权利要求1-7任一项所述的拍摄方法,其中,所述将所述目标模板标识关联的拍摄模板应用于拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览 效果,包括:
    按照所述拍摄模板配置的图像编辑操作,对所述拍摄对象进行编辑处理,以使经过编辑处理后的拍摄对象呈现所述拍摄模板对应的图像编辑效果。
  9. 根据权利要求1-8任一项所述的拍摄方法,其中,所述多个第一模板标识基于在所述第一拍摄页面中显示的拍摄对象确定;
    所述拍摄方法还包括:
    当检测到所述拍摄对象出现在所述第一拍摄页面时,确定所述拍摄对象的属性特征;
    基于所述拍摄对象的属性特征,确定所述第一模板标识。
  10. 根据权利要求9所述的拍摄方法,其中,所述属性特征包括所述拍摄对象所属的类别。
  11. 根据权利要求1-10任一项所述的拍摄方法,其中,所述拍摄模板包括所述拍摄对象的描述信息,所述描述信息包括所述拍摄对象的名称或属性信息中的至少一项。
  12. 根据权利要求1-11任一项所述的拍摄方法,其中,所述拍摄模板还包括音频资源、道具资源或者交互资源中的至少一种。
  13. 一种拍摄装置,包括:
    第一显示模块,用于响应于针对第一拍摄页面上预设控件的第一触发操作,显示第一预设界面,所述第一预设界面包括多个第一模板标识和第一拍摄控件;
    处理模块,用于响应于作用在目标模板标识的第二触发操作,将所述目标模板标识关联的拍摄模板应用于拍摄对象,以在所述第一拍摄页面显示所述拍摄模板对应的预览效果,其中,所述第二触发操作用于从所述多个第一模板标识中选择的所述目标模板标识;
    第二显示模块,用于响应于作用在所述第一拍摄控件的操作,隐藏所述第一预设界面,并显示第二拍摄页面,以及在所述第二拍摄页面显示计时标识;
    拍摄模块,用于在所述计时标识更新为预设标识的情况下,基于所述拍摄模板对所述拍摄对象进行拍摄。
  14. 一种电子设备,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理 器实现如权利要求1-12中任一项所述的拍摄方法。
  15. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-12中任一项所述的拍摄方法。
  16. 一种计算机程序,包括:
    指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1-12中任一项所述的拍摄方法。
PCT/CN2023/079003 2022-03-02 2023-03-01 拍摄方法、装置、电子设备和存储介质 WO2023165515A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210200351.1A CN114598815B (zh) 2022-03-02 2022-03-02 一种拍摄方法、装置、电子设备和存储介质
CN202210200351.1 2022-03-02

Publications (1)

Publication Number Publication Date
WO2023165515A1 true WO2023165515A1 (zh) 2023-09-07

Family

ID=81814959

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/079003 WO2023165515A1 (zh) 2022-03-02 2023-03-01 拍摄方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN114598815B (zh)
WO (1) WO2023165515A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598815B (zh) * 2022-03-02 2024-01-05 北京字跳网络技术有限公司 一种拍摄方法、装置、电子设备和存储介质
CN114979495B (zh) * 2022-06-28 2024-04-12 北京字跳网络技术有限公司 用于内容拍摄的方法、装置、设备和存储介质
CN115291772A (zh) * 2022-08-16 2022-11-04 北京字跳网络技术有限公司 页面显示方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009246822A (ja) * 2008-03-31 2009-10-22 Fujifilm Corp 画像編集方法及びその装置
CN109495684A (zh) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 一种视频的拍摄方法、装置、电子设备及可读介质
CN111050076A (zh) * 2019-12-26 2020-04-21 维沃移动通信有限公司 拍摄处理方法及电子设备
CN112135059A (zh) * 2020-09-30 2020-12-25 北京字跳网络技术有限公司 拍摄方法、装置、电子设备和存储介质
CN113473019A (zh) * 2021-07-01 2021-10-01 北京字跳网络技术有限公司 一种图像处理方法、装置、设备及存储介质
CN114598815A (zh) * 2022-03-02 2022-06-07 北京字跳网络技术有限公司 一种拍摄方法、装置、电子设备和存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014133288A1 (ko) * 2013-02-27 2014-09-04 테크에이스 소프트웨어 엘티디 아이콘을 통해 촬영 환경을 설정하는 촬영 장치 및 촬영 장치에서의 촬영 환경 적용 방법
CN107896304B (zh) * 2017-10-31 2020-05-26 深圳市前海大成金融服务有限公司 一种图像拍摄方法、装置及计算机可读存储介质
CN110891144B (zh) * 2019-11-28 2021-11-19 维沃移动通信有限公司 一种图像显示方法及电子设备
CN111818263B (zh) * 2020-07-09 2022-01-11 Oppo广东移动通信有限公司 拍摄参数的处理方法、装置、移动终端及存储介质
CN112486390A (zh) * 2020-11-30 2021-03-12 维沃移动通信有限公司 显示控制方法、装置及电子设备
CN112817494B (zh) * 2021-01-26 2022-08-12 北京达佳互联信息技术有限公司 数据处理方法、装置、电子设备及存储介质
CN113093968B (zh) * 2021-03-31 2022-05-06 维沃移动通信(杭州)有限公司 拍摄界面显示方法、装置、电子设备及介质
CN113225483B (zh) * 2021-05-10 2023-04-07 北京字跳网络技术有限公司 图像融合方法、装置、电子设备和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009246822A (ja) * 2008-03-31 2009-10-22 Fujifilm Corp 画像編集方法及びその装置
CN109495684A (zh) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 一种视频的拍摄方法、装置、电子设备及可读介质
CN111050076A (zh) * 2019-12-26 2020-04-21 维沃移动通信有限公司 拍摄处理方法及电子设备
CN112135059A (zh) * 2020-09-30 2020-12-25 北京字跳网络技术有限公司 拍摄方法、装置、电子设备和存储介质
CN113473019A (zh) * 2021-07-01 2021-10-01 北京字跳网络技术有限公司 一种图像处理方法、装置、设备及存储介质
CN114598815A (zh) * 2022-03-02 2022-06-07 北京字跳网络技术有限公司 一种拍摄方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN114598815B (zh) 2024-01-05
CN114598815A (zh) 2022-06-07

Similar Documents

Publication Publication Date Title
WO2021196903A1 (zh) 视频处理方法、装置、可读介质及电子设备
WO2023165515A1 (zh) 拍摄方法、装置、电子设备和存储介质
WO2021218325A1 (zh) 视频处理方法、装置、计算机可读介质和电子设备
WO2021093737A1 (zh) 生成视频的方法、装置、电子设备和计算机可读介质
WO2020082870A1 (zh) 即时视频显示方法、装置、终端设备及存储介质
WO2021249168A1 (zh) 视频处理方法、装置、电子设备及计算机可读存储介质
WO2022077996A1 (zh) 一种多媒体数据处理方法、装置、电子设备和存储介质
WO2023051185A1 (zh) 图像处理方法、装置、电子设备及存储介质
WO2022017184A1 (zh) 交互方法、装置、电子设备及计算机可读存储介质
WO2021254502A1 (zh) 目标对象显示方法、装置及电子设备
WO2022042389A1 (zh) 搜索结果的展示方法、装置、可读介质和电子设备
WO2021197024A1 (zh) 视频特效配置文件生成方法、视频渲染方法及装置
WO2021218318A1 (zh) 视频传输方法、电子设备和计算机可读介质
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
WO2021057740A1 (zh) 视频生成方法、装置、电子设备和计算机可读介质
WO2022171024A1 (zh) 图像显示方法、装置、设备及介质
WO2023169305A1 (zh) 特效视频生成方法、装置、电子设备及存储介质
WO2023179424A1 (zh) 弹幕添加方法、装置、电子设备和存储介质
US20240040069A1 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
WO2024008184A1 (zh) 一种信息展示方法、装置、电子设备、计算机可读介质
WO2021089002A1 (zh) 多媒体信息处理方法、装置、电子设备及介质
WO2024037491A1 (zh) 媒体内容处理方法、装置、设备及存储介质
WO2024032635A1 (zh) 媒体内容获取方法、装置、设备、可读存储介质及产品
WO2023241377A1 (zh) 视频数据的处理方法、装置、设备、系统及存储介质
WO2023221941A1 (zh) 图像处理方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23762913

Country of ref document: EP

Kind code of ref document: A1