Shooting method, shooting device and electronic equipment
By displaying shooting template information and automatic shooting function on the shooting preview interface, the shooting problem caused by rapid changes in stage performances is solved, and the shooting quality and user experience are improved.
Patent Information
- Application Number
- CN202411133009.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-26
AI Technical Summary
When shooting a rapidly changing stage performance, it is difficult for the photographer to observe and adjust the shooting angle at the same time, resulting in poor quality of the captured image.
By displaying shooting template information, including shooting marks, on the shooting preview interface, the shooting template information is automatically performed when the target object is in the position range indicated by the mark, reducing user manual operations.
It improves the picture quality of the shooting data, simplifies the user's operation steps, and ensures the accuracy and shooting effect of the capture moment.
Smart Images

Figure CN119031238A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of photographing technology, and in particular to a photographing method, a photographing device and an electronic device. Background Art
[0002] Offline stage performances such as concerts and dramas have become a popular form of entertainment for the public. Compared with online performances such as recorded and live broadcasts, the immersive atmosphere and sense of participation of offline performances make for a more unforgettable experience. Especially for star-chasing groups, it is always exciting to watch their favorite stars perform.
[0003] How to accurately record every wonderful moment on stage is one of the difficulties faced by mobile phone photography today. Especially for some singing and dancing performances, due to the rapid changes in the actors' positions, the photographer must constantly observe the shooting picture in the camera and adjust the shooting angle, but he does not want to miss the opportunity to watch the performance in person, so he often does two things at the same time, which easily leads to the problem of poor image quality. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a shooting method, a shooting device and an electronic device, which are conducive to improving the image quality of the shooting data obtained when it is inconvenient for the user to perform manual operation.
[0005] In a first aspect, an embodiment of the present application provides a shooting method, including:
[0006] Displaying first shooting template information on the shooting preview interface, where the first shooting template information includes at least one shooting identifier;
[0007] When the target object in the shooting preview interface is located within the target position range indicated by the first shooting identifier, shooting the target object to obtain first shooting data;
[0008] The at least one shooting identifier includes the first shooting identifier.
[0009] In a second aspect, an embodiment of the present application provides a photographing device, including:
[0010] A display module, configured to display first shooting template information on a shooting preview interface, wherein the first shooting template information includes at least one shooting identifier;
[0011] A shooting module, configured to shoot the target object in the shooting preview interface to obtain first shooting data when the target object is located in the target position range indicated by the first shooting identifier;
[0012] The at least one shooting identifier includes the first shooting identifier.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described in the first aspect.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect.
[0017] In an embodiment of the present application, in the process of photographing the target object based on the first shooting template information, since the first shooting template information includes at least one shooting identifier, and the target object is automatically photographed when the target object is located in the position range indicated by the shooting identifier, the target object can be photographed without manual operation by the user. This is beneficial for improving the picture quality of the captured data when it is inconvenient for the user to perform manual operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flowchart of a shooting method provided in an embodiment of the present application;
[0019] Figure 2 This is one of the interface schematic diagrams of the embodiment of the present application;
[0020] Figure 3 This is the second interface schematic diagram of the embodiment of the present application;
[0021] Figure 4 This is the third interface diagram of the embodiment of the present application;
[0022] Figure 5 This is the fourth interface diagram of the embodiment of the present application;
[0023] Figure 6 This is the fifth interface diagram of the embodiment of the present application;
[0024] Figure 7 This is the sixth interface diagram of the embodiment of the present application;
[0025] Figure 8 This is the seventh interface diagram of the embodiment of the present application;
[0026] Fig. 9 This is the eighth interface schematic diagram of the embodiment of the present application;
[0027] Fig.10 This is the ninth interface diagram of the embodiment of the present application;
[0028] Fig.11 This is the tenth interface diagram of the embodiment of the present application;
[0029] Fig.12 This is the eleventh interface diagram of the embodiment of the present application;
[0030] Fig.13 This is the twelfth interface diagram of the embodiment of the present application;
[0031] Fig.14 This is the thirteenth interface diagram of the embodiment of the present application;
[0032] Fig.15 This is the fourteenth interface diagram of the embodiment of the present application;
[0033] Fig.16 This is the fifteenth interface diagram of the embodiment of the present application;
[0034] Fig.17 This is the sixteenth interface diagram of the embodiment of the present application;
[0035] Fig.18 This is the seventeenth interface diagram of the embodiment of the present application;
[0036] Fig.19 This is the eighteenth interface diagram of the embodiment of the present application;
[0037] Fig. 20 This is the nineteenth interface diagram of the embodiment of the present application;
[0038] Fig.21 is a structural schematic diagram of a photographing device provided in an embodiment of the present application;
[0039] Fig. 22 is a schematic diagram of the structure of an electronic device provided by some embodiments of the present application;
[0040] Fig.23 A schematic diagram of the hardware structure of an electronic device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0042] The terms "first", "second", etc. in the specification of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0043] In the following, in conjunction with the accompanying drawings, a shooting method, a shooting device and an electronic device provided by the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0044] See also Figure 1 , a flow chart of a shooting method provided in an embodiment of the present application, the shooting method comprises the following steps:
[0045] Step 101: displaying first shooting template information on a shooting preview interface, wherein the first shooting template information includes at least one shooting identifier;
[0046] Step 102: When the target object in the shooting preview interface is located within the target position range indicated by the first shooting mark, the target object is photographed to obtain first shooting data;
[0047] The at least one shooting identifier includes the first shooting identifier.
[0048] The above-mentioned shooting method can be applied to various electronic products with shooting functions, for example, mobile phones, tablet computers, smart watches and other electronic devices.
[0049] like Fig.12As shown, the shooting preview interface may include a template component 1201, wherein the template component 1201 may be a functional module in the shooting preview interface, wherein the template component 1201 may include all pre-selected and created shooting templates. The first shooting template information may be information corresponding to the shooting template selected by the user based on the selection input in the template component 1201. The selection input may be a click input on the first shooting template. After receiving the selection input on the first shooting template in the shooting preview interface, the electronic device may display the first shooting template information in the shooting preview interface based on the first shooting template in response to the selection input, and then shoot based on the first shooting template information.
[0050] The shooting preview interface may be a shooting interface of a camera application of an electronic device, for example, it may be a shooting interface after opening the camera application and clicking to enter a “subject tracking shooting” mode.
[0051] The first shooting template may be a video template, specifically a template generated based on video data including a specific subject object, wherein the specific subject object may be the target object or another object other than the target object. The first shooting template may be generated based on an existing video, wherein the existing video may be various performance videos or performance videos obtained through various channels. For example, the existing video may be an existing performance video on the Internet. And the existing video may be a video shot by locking on a specific single or multiple shooting objects.
[0052] The target object may be a performer or performer that the user wants to shoot. It should be noted that the target object may be not only a performer, but also various robots with performance functions, or animals that can perform specific performance actions.
[0053] Specifically, in the process of creating the above-mentioned first shooting template, the user can pre-set the target object, and the camera of the electronic device can pre-perform facial recognition on the target object to determine the facial features of the target object, so as to identify the target object and shoot the target object in the subsequent shooting process. For example, when the above-mentioned first shooting template is: a shooting template generated based on the video data recorded by "singer A" at a concert of "singer A", and the target object is "singer A", during the shooting process, the electronic device can identify the shooting picture to identify whether "singer A" exists in the shooting picture. If "singer A" is identified, "singer A" is continuously locked, so as to shoot "singer A" when "singer A" is located in the target position range indicated by the first shooting mark.
[0054] The above-mentioned shooting mark can be a shooting mark set by the user in the first shooting template during the process of creating the above-mentioned first shooting template. For example, it can be an identification box added by the user in the playback interface of the first shooting template. In this way, during the process of shooting based on the first shooting template information, the identification box can be displayed in the shooting preview interface. At this time, the target position range indicated by the identification box can include the range of the area selected by the identification box, or the target position range indicated by the identification box can include the range of the area selected by the identification box, and the range of the area whose distance from the identification box is less than the first error value, wherein the first error value can be an allowable error value, and the first error value can be pre-configured as needed. For example, the value range of the first error value can be between 0 and 5 mm.
[0055] In this embodiment, in the process of photographing the target object based on the first shooting template information, since the first shooting template information includes at least one shooting identifier, and the target object is automatically photographed when the target object is located in the position range indicated by the shooting identifier, the target object can be photographed without manual operation by the user. This is beneficial for improving the picture quality of the captured data when it is inconvenient for the user to perform manual operation.
[0056] In some embodiments, the first shooting template information includes a first video template, the first shooting identifier is an identifier in a playback progress bar of the first video template, and the target position range includes: when the first video template is played to the playback position indicated by the first shooting identifier, the position range corresponding to the first shooting identifier.
[0057] When the target object in the shooting preview interface is located in the target position range indicated by the first shooting mark, shooting the target object to obtain first shooting data includes:
[0058] When the first video template is played to the time point corresponding to the first shooting identifier, obtaining first position information of the target object in the shooting preview interface;
[0059] When the first position information is within the target position range, the target object is photographed to obtain a first captured image, wherein the first photographing data includes the first captured image.
[0060] See also Fig.15During the shooting process, the playback progress bar of the first video template can be displayed in the shooting preview interface, and as time goes by, the playback progress bar of the first video template can be in a playback state, and the first shooting mark can be the mark at the capture point 1 in the playback progress bar, or the first shooting mark can be the mark at the capture point 2 in the playback progress bar. It can be understood that during the shooting process, the screen content of the first video template will not be displayed, and the position range corresponding to the first shooting mark may include: when the first video template is played to the first shooting mark, the position area of the main object in the first video template in the playback screen, or, in addition to including the position area of the main object in the playback screen, the target position range may also include a region range whose distance from the position area of the main object in the playback screen is less than the above-mentioned first error value.
[0061] In this implementation, since when the first position information is within the target position range, it can be determined that the target object has moved to the same camera position as the main object in the first shooting template. At this time, the target object is captured to obtain a first captured image, which is conducive to capturing the target object at a specified camera position, thereby improving the quality of the captured image.
[0062] In some embodiments, the first shooting data further includes a first reference image stored in association with the first captured image, wherein the first reference image is: a playback image corresponding to the first shooting identifier in the first video template.
[0063] Specifically, since the first captured image is an image captured when the first video template is played to the first shooting mark during the shooting process, and the first position information of the target object in the first captured image in the shooting preview interface is within the target position range, the first captured image can be associated with the first reference image and stored for the convenience of users to compare the capture effect. The first reference image can be an image captured from the playback screen of the first video template, that is, the first reference image is the screen played by the first video template when the first video template is played to the first shooting mark.
[0064] See also Fig.18In an embodiment of the present application, in the photo album of the electronic device, the picture at capture point 1 is the picture captured at the first capture position, and the screenshot at capture point 1 is the first reference image corresponding to the picture at capture point 1. Correspondingly, the picture at capture point 2 is the picture captured at the second capture position, and the screenshot at capture point 2 is the first reference image corresponding to the picture at capture point 2. In this way, by storing the captured image and the reference image in pairs in the photo album, it is convenient for the user to compare the capture effects. Among them, the captured image and the reference image are stored in pairs in the photo album, that is, the captured image and the reference image are stored in adjacent positions in the photo album.
[0065] In this implementation, by making the first shooting data also include the first reference image stored in association with the first captured image, it is convenient for the user to compare the captured image with the corresponding reference image to determine the effect of the capture.
[0066] In some embodiments, the first shooting mark includes a mark frame, and the target position range includes a position range corresponding to the mark frame.
[0067] When the target object in the shooting preview interface is located in the target position range indicated by the first shooting mark, shooting the target object to obtain first shooting data includes:
[0068] In the process of photographing the target object, obtaining second position information of the target object;
[0069] When the second position information is located in the range corresponding to the identification frame, the target object is photographed to obtain a second captured image, wherein the first photographing data includes the second captured image.
[0070] The identification frame may be information generated based on user input during the creation of the first shooting template. Figure 8-10 , the user can long press the "mark snapshot point" control to display the prompt option "custom snapshot point". After the user selects "custom snapshot point", a location box appears on the interface. The user can long press the location box to drag the location box. The user can slide with two fingers to scale the size of the location box. The user can adjust the location box to the desired size and drag it to the desired snapshot location. In this way, in the subsequent snapshot process based on the shooting template, the location box can be displayed in the shooting preview interface, where the location box is the above-mentioned identification box. For example, see Fig.15 The identification frame may be the identification frame at point 1 of the template body, or the identification frame may be the identification frame at point 2 of the template body, or the identification frame may be the identification frame at point 3 of the template body. Whenever the face of the target object moves to the identification frame, a snapshot may be automatically taken.
[0071] The position range corresponding to the above-mentioned identification box may include the range of the area selected by the identification box, or the position range corresponding to the identification box may include: the range of the area selected by the identification box, and the range of the area whose distance from the identification box is less than the first error value.
[0072] In this implementation, when the second position information is within the range corresponding to the identification frame, it can be determined that the target object has entered the designated camera position for capture. At this time, the target object is photographed to obtain a second captured image, which is conducive to capturing the target object at the designated camera position, thereby improving the quality of the captured image.
[0073] In some embodiments, the first shooting template information includes a second video template, and the method further includes:
[0074] During the process of photographing the target object, when a first photographing picture corresponding to the target object matches a playback picture at a first playback time point in the second video template, the first playback time point is determined as a matching point.
[0075] Based on the second video template, the target object is tracked and photographed starting from the matching point to obtain tracking shooting data, wherein the first shooting data includes the tracking shooting data.
[0076] The second video template and the first video template may be the same video template. In addition, the second video template and the first video template may also be different video templates.
[0077] In some embodiments of the present application, the main object and the target object in the second video template may be the same object. Since the performance style of the same performer usually follows certain rules, for example, the movement or dance movements of the performer during the performance usually follow certain rules. Therefore, the electronic device can also pre-learn the movement trajectory of the target object in the second video template. During the tracking and shooting process, the electronic device can automatically align the second video template trajectory with information such as music drum beats and the current actor's movement trajectory. After the alignment is successful, the camera can automatically zoom in and out and switch cameras according to the template trajectory, so that the object can remain stably in the viewfinder.
[0078] Specifically, the camera can automatically match the content of the current shot with the content of the second video template, including but not limited to matching using existing information such as the person's motion trajectory, actions, drum beats, music, etc. When the two are matched, the position is recorded as a "matching point", and tracking and shooting can be performed from the matching point based on the shooting information of the second video template.
[0079] Among them, the conditions for successful matching can be pre-selected and set. For example, when the character motion trajectory is matched successfully, the match can be directly determined to be successful, that is, no other conditions need to be matched. When the character motion trajectory fails to match, other information such as actions, drum beats, music, etc. can be matched. In some embodiments of the present application, multiple matching conditions can be pre-selected and set, and a weight value is set for each matching condition. During the matching process, the weight values of all matching conditions that are successfully matched are added to obtain the final matching degree value. Then, the final matching degree value is compared with the preset matching threshold. When the matching degree value is greater than or equal to the preset matching threshold, the match is determined to be successful. When the matching degree value is less than the preset matching threshold, the match is determined to fail. Among them, when the multiple matching conditions include: character motion trajectory, action, drum beat, music, the weight value of the character motion trajectory can be 0.5, the weight value of the action can be 0.3, the weight value of the drum beat can be 0.1, the weight value of the music can be 0.1, and the preset matching threshold can be 0.5.
[0080] The shooting information in the second video template may include the motion trajectory of the target object in the second video template, the zoom ratio of the picture, etc. For example, see Fig.16 In some embodiments of the present application, after completing the matching of the second video template and determining the matching point, the motion trajectory of the template body after the matching point in the second video template can be determined, such as Fig.16 As shown in FIG. 1 , after the matching point is determined, the motion trajectory of the target object is: the current subject position, template subject point 1, template subject point 2, and template subject point 3, and the time required for the matching point to reach each point can also be directly determined from the second video template. Therefore, in the process of tracking shooting, the target object can be Fig.16 The focus frame is moved along the trajectory indicated by the arrow in the figure to lock the target object for tracking shooting, thereby improving the image quality of the first shooting data obtained by shooting. Fig.17 As shown, the matching point may be found after multiple detections, and then the capture point is determined starting from the matching point.
[0081] In this implementation, by determining the matching points, and after determining the matching points, tracking and shooting the target object in the shooting picture based on the second video template to obtain tracking shooting data, which is conducive to improving the quality of tracking shooting.
[0082] In some embodiments, the first shooting data includes video data recorded during the shooting of the target object. After obtaining the first shooting data, the method further includes:
[0083] Displaying the video data, wherein the display interface of the video data includes an automatic editing control;
[0084] When receiving a first input from a user to the automatic editing control, the video data is edited to obtain edited video data, wherein the edited video data includes: video data between a second playback time point and a third playback time point in the video data, wherein the second playback time point is a playback time point corresponding to the matching point, and the third playback time point is a playback time point corresponding to the playback end time point of the second video template.
[0085] The displaying of the video data may refer to playing the video data. Alternatively, the displaying of the video data may refer to displaying the video data in a player, wherein the displayed video data may be in a playing state or in a paused playing state.
[0086] See also Fig.19 and Fig. 20 After the user clicks to end shooting, the video data can be displayed, and the display interface of the video data includes an automatic editing control and a manual editing control. The above-mentioned first input of the user to the automatic editing control may refer to: a click input of the user to the automatic editing control. When the user's first input to the automatic editing control is received, the video data is edited to obtain edited video data, and the obtained edited video data is saved to the album for the user to view and analyze. The edited video data may include Fig. 20 The video data between the matching position and the end position of the progress bar. The matching position is the playback position corresponding to the matching point, and the end position is the playback position corresponding to the playback end time point.
[0087] Correspondingly, when the user does not click on the automatic editing control but clicks on the manual editing control, the user can use the editing function of the album to perform operations such as editing and composing music to obtain the performance video he wants.
[0088] In this implementation, the video data is displayed, and upon receiving a first input from the user to the automatic editing control, the video data is edited to obtain edited video data. In this way, it is possible to automatically delete redundant image content in the video data, generate a performance video consistent with the first shooting template, and save it to an album for users to view and share.
[0089] In some embodiments, before displaying the first shooting template information on the shooting preview interface, the method further includes:
[0090] When receiving a second input from the user in the shooting interface, displaying at least one candidate video;
[0091] When receiving a third input of a user for a first candidate video among the at least one candidate video, identifying an object in the first candidate video and displaying at least one candidate object;
[0092] In case of receiving a fourth input from the user on a first candidate object among the at least one candidate object, determining the first candidate object as a subject object;
[0093] When the first candidate video is played to the fourth playback time point and the user's fifth input is received, a second shooting identifier is displayed at the fourth playback time point in the playback progress bar of the first candidate video to generate second shooting template information, wherein the second shooting identifier is used to indicate: a capture position range when shooting with the second shooting template information as a shooting template, and the capture position range indicated by the second shooting identifier is the position range corresponding to the main object at the fourth playback time point.
[0094] It is understandable that after the second shooting template information is generated, the second shooting template including the second shooting template information can be stored in the template component 1201, so as to facilitate subsequent shooting based on the second shooting template. Fig.13 As shown in the figure, the existing templates can be expanded and displayed, and the user can select the corresponding template to shoot according to the needs. After selecting template 1, as shown in the figure Fig.14 As shown, Template 1 is displayed in the shooting preview interface, and after clicking the shooting control, shooting is performed based on the selected Template 1.
[0095] See also Figure 2 The shooting preview interface may include an "import template" control, and the second input may be a user's click input on the "import template" control, see Figure 2-3 After the user clicks the "Import Template" control, at least one candidate video may be displayed. The at least one candidate video may include all videos stored in the electronic device, and may specifically include: recently opened videos, and videos opened in the past. The user may select any desired candidate video from the at least one candidate video as the first candidate video based on the third input. For example, see Figure 3 When the user clicks on video 1, video 1 can be added to the "Selected" column. At this time, video 1 is the first candidate video mentioned above. When the selection is completed, the user can click Figure 3 In the “OK” control, in this embodiment, the third input may include: a click input of a user selecting a “first candidate video”, and a click input of a user clicking the “OK” control.
[0096] See also Figure 4After the user clicks the "OK" control, the first candidate video can be played. At the same time, the electronic device can identify the object in the played first candidate video by face recognition and display the identified candidate object on Figure 4 In the Recognize Faces window shown, see Figure 4-5 , the fourth input may be a user's click input on any candidate object that has been identified in the "Recognize Faces" window, and the user may select any candidate object in the first candidate video as the subject object of the generated second shooting template based on the fourth input. The number of subject objects selected by the user based on the fourth input may be one or more than one. For example, when the first candidate video is a team performance video, more than two subject objects may be selected.
[0097] It should be noted that, when the first shooting template includes more than two main objects, all operations in the above capture process are based on the main object selected first, and the other main objects have a lower priority, that is, in the process of making the first shooting template, the main object selected by the user for the first time has the highest priority, and the priority of the corresponding main object gradually decreases according to the order in which the user selects the main object. For example, in the process of tracking and shooting based on the first shooting template information, when the main object with the highest priority has reached the designated position, it is determined that the capture condition is met, and then the capture is performed. When the main object with the highest priority has not reached the designated position, it is determined that the capture condition is not met, and the capture can be abandoned.
[0098] The fourth playback time point may be any playback time point during the playback of the first candidate video.
[0099] In some embodiments of the present application, the fifth input may be a user clicking Figure 5-6 In this case, the electronic device can generate a second shooting mark at the fourth playback time point in the playback progress bar of the first candidate video, wherein the second shooting mark can be the mark point highlighted in the playback progress bar. At the same time, the electronic device can also obtain the first state information of the first candidate object in the playback screen when the first candidate video is played to the fourth playback time point, wherein the first state information of the first candidate object can include the face position, motion trajectory and other information of the first candidate object, and can determine the target position range corresponding to the second shooting mark based on the face position of the first candidate object in the playback screen when the first candidate video is played to the fourth playback time point, and can associate the target position range, the first state information and the second shooting mark for storage, so as to facilitate the subsequent determination of whether the target object is located within the target position range corresponding to the second shooting mark. Please refer to Figure 7-Figure 8When the user clicks on the playback time point corresponding to the highlighted capture point, a "cancel capture point" control may be displayed, and the user may click on the "cancel capture point" to delete the set capture point in the second shooting template information, thereby facilitating the user to adjust the set capture point as needed during the process of making a shooting template.
[0100] In other embodiments of the present application, in addition to Figure 5-6 In addition to creating snapshot points in the embodiment shown, snapshot points can also be customized by the user, for example, see Figure 8-10 , the user can long press the "Mark snapshot point" control to display the prompt option "Custom snapshot point". After the user selects "Custom snapshot point", a location box will appear on the interface. The user can long press the location box to drag the location box. The user can slide with two fingers to scale the size of the location box. The user can adjust the location box to the desired size and drag it to the desired snapshot location. In this way, in the subsequent process of capturing based on the shooting template, each time the face of the subject moves to the location box, the snapshot can be automatically taken. Accordingly, after the user has completely customized the settings of the snapshot point, the playback time point corresponding to the snapshot point can also be highlighted in the progress bar. The user can also Figure 7 In this case, the fifth input may also include: a user's long press input of the marked snapshot point, a user's Figure 8-10 The click input of "custom snapshot point" in Fig.10 Adjust the size and position of the position box in the input.
[0101] It should be noted that based on Figure 5-6 The snapshot point set in the embodiment shown can only be captured when the time point corresponding to the fourth playback time point is captured. Figure 8-10 The capture point set in the illustrated embodiment has nothing to do with the time point of the current shooting. In the entire capture process, the capture is performed only when the target object is located at the first position. In addition, the user can set the capture point at multiple positions.
[0102] After completing the setting of the capture point, the user can click Fig.10 After clicking the "Start Extracting Template" control in the image, in response to the user's click input, various configuration information of the user in the template setting process is extracted to generate the second shooting template information. Fig.11 As shown, after the second snapshot template is generated, a prompt message "Template extraction successful" can be displayed to prompt the user that the template generation has been successfully completed. Accordingly, the second shooting template including the generated second shooting template information can be added to the template component 1201.
[0103] In this implementation, since the user can create a shooting template based on any video file and can customize the shooting object and capture point, the user can customize the required shooting template according to his own needs, which makes it convenient for the user to use the generated shooting template to track and shoot a specific shooting object when manual operation is inconvenient, thereby improving the picture quality of the captured shooting data.
[0104] In some embodiments, photographing the target object includes:
[0105] The shooting parameters corresponding to the target object are adjusted based on the shooting parameters indicated by the first shooting identifier, so that the shooting picture corresponding to the target object matches the first shooting template information.
[0106] Specifically, the shooting parameters may include zoom ratio parameters for the shooting picture. Specifically, adjusting the shooting parameters so that the target object in the shooting picture matches the first shooting template information may mean that during the tracking shooting process, each time the target object is identified, after the target object is identified, the zoom ratio parameters of the camera may be automatically adjusted so that the face size of the target object in the shooting picture is the same as the face size of the subject object in the first shooting template information at the corresponding time point.
[0107] In addition, during the tracking process, users can also adjust the zoom ratio based on manual input, and by dragging the camera zoom bar and pinching to zoom, the camera can capture the entire stage or object, thereby helping the camera quickly identify the locked object.
[0108] In this embodiment, the shooting parameters corresponding to the target object are adjusted based on the shooting parameters indicated by the first shooting identifier so that the shooting picture corresponding to the target object matches the first shooting template information. This is beneficial to improving the consistency between the first shooting data and the first shooting template information, thereby improving the quality of the first shooting data obtained.
[0109] It should be noted that the shooting method provided in the embodiment of the present application has at least the following beneficial effects:
[0110] Through automated shooting, the steps for users to manually control the camera are simplified, ensuring the user's viewing experience.
[0111] By generating shooting templates in advance, the problem of fast-moving objects that cannot be tracked in real time during shooting can be solved, thereby improving the success rate of filming.
[0112] Automatic photo taking is achieved through preset snapshot points, without the need for users to manually click the photo button, ensuring the accuracy of the snapshot moment so that users can obtain expected pictures.
[0113] Automated video editing can be achieved based on templates to simplify post-production editing.
[0114] In addition, the embodiment of the present application proposes a shooting method based on the change of the object's position to achieve automatic tracking and fixed-point capture. Through the shooting template, an automatic tracking solution that can "predict" the change of the object's position is realized, which greatly improves the filming rate and solves the pain points of existing stage shooting. While improving the viewing experience, users can obtain photos and videos with clear objects, perfect composition, and in line with expectations, which reduces the difficulty of post-editing and improves the user's shooting experience and satisfaction.
[0115] The shooting method provided in the embodiment of the present application can be executed by a shooting device. In the embodiment of the present application, the shooting method is executed by a shooting device as an example to illustrate the shooting device provided in the embodiment of the present application.
[0116] See also Fig.21 , Fig.21 The present invention provides a schematic diagram of a photographing device 2100 according to an embodiment of the present invention. The photographing device 2100 includes:
[0117] Display module 2101, used to display first shooting template information on the shooting preview interface, where the first shooting template information includes at least one shooting identifier;
[0118] A shooting module 2102 is used to shoot the target object in the shooting preview interface to obtain first shooting data when the target object is located in the target position range indicated by the first shooting mark;
[0119] The at least one shooting identifier includes the first shooting identifier.
[0120] In some embodiments, the first shooting template information includes a first video template, the first shooting identifier is an identifier in a playback progress bar of the first video template, and the target position range includes: when the first video template is played to the playback position indicated by the first shooting identifier, the position range corresponding to the first shooting identifier;
[0121] The shooting module 2102 includes:
[0122] An acquisition submodule, configured to acquire first position information of the target object in the shooting preview interface when the first video template is played to a time point corresponding to the first shooting identifier;
[0123] The shooting submodule is used to shoot the target object when the first position information is within the target position range to obtain a first captured image, wherein the first shooting data includes the first captured image.
[0124] In some embodiments, the first shooting data further includes a first reference image stored in association with the first captured image, wherein the first reference image is: a playback image corresponding to the first shooting identifier in the first video template.
[0125] In some embodiments, the first shooting mark includes a mark frame, and the target position range includes a position range corresponding to the mark frame;
[0126] The shooting module 2102 includes:
[0127] An acquisition submodule, used for acquiring second position information of the target object during the process of photographing the target object;
[0128] The shooting submodule is used to shoot the target object when the second position information is located in the range corresponding to the identification frame to obtain a second captured image, wherein the first shooting data includes the second captured image.
[0129] In some embodiments, the apparatus further comprises:
[0130] a determination module, configured to, during the process of shooting the target object, determine the first playback time point as a matching point when a first shooting picture corresponding to the target object matches a playback picture at a first playback time point in the second video template;
[0131] The shooting module 2102 is further configured to perform tracking shooting of the target object starting from the matching point based on the second video template to obtain tracking shooting data, wherein the first shooting data includes the tracking shooting data.
[0132] In some embodiments, the display module 2101 is further used to display the video data, wherein the display interface of the video data includes an automatic clipping control;
[0133] The device also includes:
[0134] A clipping module is used to clip the video data to obtain clipped video data when receiving a first input from a user to the automatic clipping control, wherein the clipped video data includes: video data between a second playback time point and a third playback time point in the video data, wherein the second playback time point is a playback time point corresponding to the matching point, and the third playback time point is a playback time point corresponding to the playback end time point of the second video template.
[0135] In some embodiments, the display module 2101 is further configured to display at least one candidate video upon receiving a second input from a user in the shooting interface;
[0136] The device also includes:
[0137] an identification module, configured to identify an object in a first candidate video among the at least one candidate video and display at least one candidate object when receiving a third input from a user for the first candidate video;
[0138] The determining module is further configured to determine the first candidate object as the subject object when receiving a fourth input from the user on the first candidate object among the at least one candidate object;
[0139] The display module 2101 is also used to display a second shooting identifier at the fourth playback time point in the playback progress bar of the first candidate video when the first candidate video is played to the fourth playback time point and the user's fifth input is received, so as to generate second shooting template information, wherein the second shooting identifier is used to indicate: a capture position range when shooting with the second shooting template information as a shooting template, and the capture position range indicated by the second shooting identifier is the position range corresponding to the main object at the fourth playback time point.
[0140] In some embodiments, the shooting module 2102 is further used to adjust the shooting parameters corresponding to the target object based on the shooting parameters indicated by the first shooting identifier, so that the shooting picture corresponding to the target object matches the first shooting template information.
[0141] In this embodiment, in the process of photographing the target object based on the first shooting template information, since the first shooting template information includes at least one shooting identifier, and the target object is automatically photographed when the target object is located in the position range indicated by the shooting identifier, the target object can be photographed without manual operation by the user. This is beneficial for improving the picture quality of the captured data when it is inconvenient for the user to perform manual operation.
[0142] The shooting device 2100 in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0143] The photographing device 2100 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0144] The photographing device 2100 provided in the embodiment of the present application can realize Figure 1 The various processes implemented in the method embodiment achieve the same technical effect and will not be described again here to avoid repetition.
[0145] In some embodiments, Fig. 22 As shown, the embodiment of the present application also provides an electronic device 2200, including a processor 2201, a memory 2202, and a program or instruction stored in the memory 2202 and executable on the processor 2201. When the program or instruction is executed by the processor 2201, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0146] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0147] Fig.23 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
[0148] The electronic device 2300 includes but is not limited to: a radio frequency unit 2301, a network module 2302, an audio output unit 2303, an input unit 2304, a sensor 2305, a display unit 2306, a user input unit 2307, an interface unit 2308, a memory 2309, and a processor 2310 and other components.
[0149] The display unit 2306 is used to display the first shooting template information on the shooting preview interface, where the first shooting template information includes at least one shooting identifier;
[0150] The processor 2310 is configured to photograph the target object in the shooting preview interface to obtain first shooting data when the target object is located in the target position range indicated by the first shooting identifier;
[0151] The at least one shooting identifier includes the first shooting identifier.
[0152] In some embodiments, the first shooting template information includes a first video template, the first shooting identifier is an identifier in a playback progress bar of the first video template, and the target position range includes: when the first video template is played to the playback position indicated by the first shooting identifier, the position range corresponding to the first shooting identifier;
[0153] The processor 2310 is configured to obtain first position information of the target object in the shooting preview interface when the first video template is played to a time point corresponding to the first shooting identifier;
[0154] The processor 2310 is configured to photograph the target object to obtain a first captured image when the first location information is within the target location range, wherein the first photographing data includes the first captured image.
[0155] In some embodiments, the first shooting data further includes a first reference image stored in association with the first captured image, wherein the first reference image is: a playback image corresponding to the first shooting identifier in the first video template.
[0156] In some embodiments, the first shooting mark includes a mark frame, and the target position range includes a position range corresponding to the mark frame;
[0157] The processor 2310 is configured to obtain second position information of the target object during the process of photographing the target object;
[0158] The processor 2310 is configured to photograph the target object to obtain a second captured image when the second position information is located in a range corresponding to the identification frame, wherein the first photographing data includes the second captured image.
[0159] In some embodiments, the processor 2310 is configured to, during the process of photographing the target object, determine the first playback time point as a matching point when a first photographed picture corresponding to the target object matches a playback picture at a first playback time point in the second video template;
[0160] The processor 2310 is configured to perform tracking shooting of the target object starting from the matching point based on the second video template to obtain tracking shooting data, wherein the first shooting data includes the tracking shooting data.
[0161] In some embodiments, the display unit 2306 is used to display the video data, wherein the display interface of the video data includes an automatic clipping control;
[0162] The processor 2310 is used to clip the video data to obtain clipped video data when receiving a first input from a user to the automatic clipping control, wherein the clipped video data includes: video data between a second playback time point and a third playback time point in the video data, wherein the second playback time point is a playback time point corresponding to the matching point, and the third playback time point is a playback time point corresponding to the playback end time point of the second video template.
[0163] In some embodiments, the display unit 2306 is used to display at least one candidate video when receiving a second input from the user in the shooting interface;
[0164] The processor 2310 is configured to, upon receiving a third input from a user for a first candidate video in the at least one candidate video, identify an object in the first candidate video and control the display unit 2306 to display at least one candidate object;
[0165] The processor 2310 is configured to determine the first candidate object as a subject object when receiving a fourth input from a user on a first candidate object among the at least one candidate object;
[0166] The processor 2310 is used to control the display unit 2306 to display a second shooting identifier at the fourth playback time point in the playback progress bar of the first candidate video when the first candidate video is played to a fourth playback time point and a fifth input from the user is received, so as to generate second shooting template information, wherein the second shooting identifier is used to indicate: a capture position range when shooting with the second shooting template information as a shooting template, and the capture position range indicated by the second shooting identifier is a position range corresponding to the main object at the fourth playback time point.
[0167] In some embodiments, the processor 2310 is used to adjust the shooting parameters corresponding to the target object based on the shooting parameters indicated by the first shooting identifier, so that the shooting picture corresponding to the target object matches the first shooting template information.
[0168] Those skilled in the art will appreciate that the electronic device 2300 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 2310 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.23 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0169] It should be understood that in the embodiment of the present application, the input unit 2304 may include a graphics processor (Graphics Processing Unit, GPU) 23041 and a microphone 23042, and the graphics processor 23041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 2306 may include a display panel 23061, and the display panel 23061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 2307 includes a touch panel 23071 and other input devices 23072. The touch panel 23071 is also called a touch screen. The touch panel 23071 may include two parts: a touch detection device and a touch controller. Other input devices 23072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0170] The memory 2309 can be used to store software programs and various data. The memory 2309 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 2309 may include a volatile memory or a non-volatile memory, or the memory 2309 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 2309 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0171] The processor 2310 may include one or more processing units; optionally, the processor 2310 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 2310.
[0172] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0173] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0174] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0175] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0176] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0178] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A shooting method, characterized in that: include: Displaying first shooting template information on the shooting preview interface, where the first shooting template information includes at least one shooting identifier; When the target object in the shooting preview interface is located within the target position range indicated by the first shooting identifier, shooting the target object to obtain first shooting data; The at least one shooting identifier includes the first shooting identifier.
2. The method according to claim 1, characterized in that The first shooting template information includes a first video template, the first shooting identifier is an identifier in a playback progress bar of the first video template, and the target position range includes: when the first video template is played to the playback position indicated by the first shooting identifier, the position range corresponding to the first shooting identifier; When the target object in the shooting preview interface is located in the target position range indicated by the first shooting mark, shooting the target object to obtain first shooting data includes: When the first video template is played to the time point corresponding to the first shooting identifier, obtaining first position information of the target object in the shooting preview interface; When the first position information is within the target position range, the target object is photographed to obtain a first captured image, wherein the first photographing data includes the first captured image.
3. The method according to claim 2, characterized in that The first shooting data also includes a first reference image stored in association with the first captured image, wherein the first reference image is: a playback image corresponding to the first shooting identifier in the first video template.
4. The method according to claim 1, characterized in that: The first shooting mark includes a mark frame, and the target position range includes a position range corresponding to the mark frame; When the target object in the shooting preview interface is located in the target position range indicated by the first shooting mark, shooting the target object to obtain first shooting data includes: In the process of photographing the target object, obtaining second position information of the target object; When the second position information is located in the range corresponding to the identification frame, the target object is photographed to obtain a second captured image, wherein the first photographing data includes the second captured image.
5. The method according to claim 1, characterized in that The first shooting template information includes a second video template, and the method further includes: During the process of shooting the target object, if a first shooting picture corresponding to the target object matches a playback picture at a first playback time point in the second video template, determining the first playback time point as a matching point; Based on the second video template, the target object is tracked and photographed starting from the matching point to obtain tracking shooting data, wherein the first shooting data includes the tracking shooting data.
6. The method according to claim 5, characterized in that The first shooting data includes video data recorded during the shooting of the target object. After obtaining the first shooting data, the method further includes: Displaying the video data, wherein the display interface of the video data includes an automatic editing control; When receiving a first input from a user to the automatic editing control, the video data is edited to obtain edited video data, wherein the edited video data includes: video data between a second playback time point and a third playback time point in the video data, wherein the second playback time point is a playback time point corresponding to the matching point, and the third playback time point is a playback time point corresponding to a playback end time point of the second video template.
7. The method according to claim 1, characterized in that Before displaying the first shooting template information on the shooting preview interface, the method further includes: When receiving a second input from the user in the shooting interface, displaying at least one candidate video; In case of receiving a third input of a user for a first candidate video among the at least one candidate video, identifying an object in the first candidate video and displaying at least one candidate object; In case of receiving a fourth input from the user on a first candidate object among the at least one candidate object, determining the first candidate object as a subject object; When the first candidate video is played to the fourth playback time point and the user's fifth input is received, a second shooting identifier is displayed at the fourth playback time point in the playback progress bar of the first candidate video to generate second shooting template information, wherein the second shooting identifier is used to indicate: a capture position range when shooting with the second shooting template information as a shooting template, and the capture position range indicated by the second shooting identifier is the position range corresponding to the main object at the fourth playback time point.
8. The method according to claim 1, characterized in that The photographing of the target object includes: The shooting parameters corresponding to the target object are adjusted based on the shooting parameters indicated by the first shooting identifier, so that the shooting picture corresponding to the target object matches the first shooting template information.
9. A photographing device, characterized in that: include: A display module, configured to display first shooting template information on a shooting preview interface, wherein the first shooting template information includes at least one shooting identifier; A shooting module, configured to shoot the target object in the shooting preview interface to obtain first shooting data when the target object is located in the target position range indicated by the first shooting identifier; The at least one shooting identifier includes the first shooting identifier.
10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the shooting method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Method and device utilizing images to measure human body shape parameter
CN106666903A
Photographing method and device and electronic device
CN111770268A
Shooting method and device, electronic equipment and storage medium
CN117241137A
Shooting method and device, electronic equipment and storage medium
CN117544850A
Shooting method and device and electronic equipment
CN118433520A
Cited By
Image processing method and device and electronic equipment
CN119545159A
