CN115914859A - Shooting method and device, electronic equipment and readable storage medium - Google Patents

Shooting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115914859A
CN115914859A CN202211263056.7A CN202211263056A CN115914859A CN 115914859 A CN115914859 A CN 115914859A CN 202211263056 A CN202211263056 A CN 202211263056A CN 115914859 A CN115914859 A CN 115914859A
Authority
CN
China
Prior art keywords
image
moving object
motion
sub
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211263056.7A
Other languages
Chinese (zh)
Inventor
林君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211263056.7A priority Critical patent/CN115914859A/en
Publication of CN115914859A publication Critical patent/CN115914859A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, and belongs to the technical field of computers. The method comprises the steps that under the condition that a first input of a user is received, N first images are shot according to a preset shooting time interval, wherein the N first images comprise images of a moving object in the moving process, and the preset shooting time interval corresponds to the moving category of the moving object; screening a second image from the N first images according to the motion parameters of the moving object, wherein the second image comprises M frames of images, the display positions of the moving object in each frame of image of the M frames of images are different, and the M frames of images comprise a first sub-image of the moving object at a motion starting point and a second sub-image of the moving object far away from the motion starting point; and synthesizing a target area in the second sub-image with the first sub-image to obtain a target image, wherein the target area comprises a moving object, and the target image comprises an image of a motion track of the moving object in the motion process.

Description

Shooting method, shooting device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
Along with the development of science and technology, the functions of electronic equipment are increasingly diversified, not only can more convenient communication be realized, but also more entertainment is brought to the life of people. In particular, the user can take images using the electronic device, recording a droplet of life.
In the related art, a user can acquire a picture of a moving object moving fast by continuously photographing a single frame image, however, the single frame image can acquire only a picture with a short smear and cannot fully exhibit a momentum property of the moving object moving fast.
Disclosure of Invention
An object of the embodiments of the present application is to provide a shooting method, a shooting device, an electronic device, and a readable storage medium, which can solve the problem that a single frame image can only obtain a picture with a transient smear, and cannot completely show a momentum property of a fast moving object.
In a first aspect, an embodiment of the present application provides a shooting method applied to an electronic device, where the shooting method may include:
under the condition that a first input of a user is received, shooting N first images according to a preset shooting time interval, wherein the N first images comprise images of a moving object in the moving process, the preset shooting time interval corresponds to the moving category of the moving object, and N is a positive integer;
screening a second image from the N first images according to the motion parameters of the moving object, wherein the second image comprises M frames of images, the display positions of the moving object in each frame of image of the M frames of images are different, the M frames of images comprise a first sub-image and a second sub-image, the first sub-image is the image of the moving object at a motion starting point, the second sub-image is the image of the moving object far away from the motion starting point, the motion starting point is the starting point of the moving object in the motion process, and M is a positive integer greater than or equal to 2;
and synthesizing a target area in the second sub-image with the first sub-image to obtain a target image, wherein the target area comprises a moving object, and the target image comprises an image of a motion track of the moving object in the motion process.
In a second aspect, an embodiment of the present application provides a shooting device applied to an electronic device, where the shooting device may include:
the shooting module is used for shooting N first images according to a preset shooting time interval under the condition that a first input of a user is received, wherein the N first images comprise images of a moving object in the moving process, the preset shooting time interval corresponds to the moving type of the moving object, and N is a positive integer;
the screening module is used for screening a second image from the N first images according to the motion parameters of the moving object, the second image comprises M frames of images, the display positions of the moving object in each frame of image of the M frames of images are different, the M frames of images comprise a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, the second sub-image is an image of the moving object far away from the motion starting point, the motion starting point is a starting point of the moving object in the motion process, and M is a positive integer greater than or equal to 2;
and the synthesizing module is used for synthesizing the target area in the second sub-image with the first sub-image to obtain a target image, wherein the target area comprises a moving object, and the target image comprises an image of a motion track of the moving object in the motion process.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the shooting method shown in the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the shooting method as shown in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the shooting method according to the first aspect.
In a sixth aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the steps of the shooting method as shown in the first aspect.
In the embodiment of the application, under the condition of receiving a first input of a user, according to a preset shooting time interval corresponding to a motion category of a moving object in a preview image, shooting N first images including the moving object in a motion process, so that in a motion scene, N images of the moving object in each motion stage such as an arrow, a dart, a baseball, running, speed skating and the like in the motion process are obtained aiming at the moving object such as an air flight attitude, a human body shape during running and the like, then, according to motion parameters of the moving object, screening M frames of second images from the N first images, wherein the display positions of the moving object in each frame of the second images are different, wherein the M frames of second images include a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, and the second sub-image is an image of the moving object far away from the motion starting point, the motion starting point is the starting point of the motion object in the motion process, then the first sub-image and the second sub-image are combined to obtain the image target image comprising the motion track of the motion object in the motion process, therefore, a plurality of frames of second images with the appointed number and meeting the appointed condition of the motion object are obtained from the N first images, the first sub-image in the second sub-image and the motion object in the second sub-image are combined to obtain a target image with the momentum attribute of the motion object, the target image comprises the motion track which highlights the motion object starts from the motion starting point in the first sub-image and in the whole motion process, and therefore, an image which has both a clear motion object and the actual motion track of the motion object can be conveniently shot, in this way, it is possible to realize that the momentum property of the fast moving object is fully exhibited by one image.
Drawings
Fig. 1 is a flowchart of a shooting method according to an embodiment of the present disclosure;
fig. 2 is an interaction diagram of a shooting method according to an embodiment of the present disclosure;
fig. 3 is a second interaction diagram of a shooting method according to the embodiment of the present application;
fig. 4 is a third interaction diagram of a shooting method according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic interaction diagram of a shooting method according to an embodiment of the present application;
fig. 6 is a fifth interaction diagram of a shooting method according to an embodiment of the present disclosure;
fig. 7 is one of schematic interface diagrams of a shooting method according to an embodiment of the present disclosure;
fig. 8 is a second schematic interface diagram of a shooting method according to an embodiment of the present application;
fig. 9 is a third schematic interface diagram of a shooting method according to the embodiment of the present application;
fig. 10 is a fourth schematic interface diagram of a shooting method according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a shooting device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 13 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the related art, a user may obtain a picture of a moving object moving fast by continuously shooting a single frame image or recording a video, however, a situation of a transient smear of the moving object may occur in the single frame image, which may cause a blur of imaging details and a low image quality, and for recording the video, if the user desires to obtain an image of the moving object in the video, the video may be edited by a professional video editing software at a later stage, but an operation process is cumbersome, and the editing of the video may also cause an image quality loss, which affects an imaging quality of the image.
Based on this, in order to solve the above problem, an embodiment of the present application provides a shooting method, in a case where a first input of a user is received, shooting N first images including a motion process of a moving object according to a preset shooting time interval corresponding to a motion category of the moving object in a preview image, so that, in a motion scene, a plurality of images of each motion phase of the moving object in the motion process, such as an arrow, a dart, a baseball, a person running, a sportsman skating at a speed, and the like, are obtained, and then, according to a motion parameter of the moving object, M frames of second images are screened from the N first images, display positions of the moving object in each frame of the second images are different, wherein the M frames of second images include a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, the second sub-image is an image of a moving object far away from a moving starting point, the moving starting point is a starting point of the moving object in the moving process, then, a target area comprising the moving object in the first sub-image and the second sub-image is synthesized to obtain an image target image comprising the moving track of the moving object in the moving process, therefore, a plurality of frames of second images with the appointed number and the moving object meeting the appointed condition are obtained from N first images, the first sub-image in the second sub-image and the moving object in the plurality of frames of second sub-images are synthesized to obtain a target image with the momentum attribute of the moving object, the target image comprises the moving starting point which highlights the moving object from the first sub-image, the moving track in the whole moving process, and therefore, an image which is provided with a clear moving object and the actual moving track of the moving object can be shot conveniently, in this way, it is possible to realize that the momentum property of the fast moving object is fully exhibited by one image.
The following describes in detail a shooting method provided in the embodiment of the present application with reference to fig. 1 to fig. 10 through a specific embodiment and an application scenario thereof.
First, a photographing method provided in an embodiment of the present application is described in detail with reference to fig. 1.
Fig. 1 is a flowchart of a shooting method according to an embodiment of the present disclosure.
As shown in fig. 1, the shooting method provided in the embodiment of the present application may be applied to an electronic device, and the method may include the following steps:
step 110, under the condition that a first input of a user is received, shooting N first images according to a preset shooting time interval, wherein the N first images comprise images of a moving object in a moving process, the preset shooting time interval corresponds to a moving type of the moving object, and N is a positive integer; step 120, according to the motion parameters of the moving object, screening a second image from the N first images, wherein the second image comprises M frames of images, the display positions of the moving object in each frame of image of the M frames of images are different, the M frames of images comprise a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, the second sub-image is an image of the moving object far away from the motion starting point, the motion starting point is a starting point of the moving object in the motion process, and M is a positive integer greater than or equal to 2; and step 130, synthesizing a target area in the second sub-image with the first sub-image to obtain a target image, wherein the target area comprises a moving object, and the target image comprises an image of a motion track of the moving object in the motion process.
In this way, in a moving scene, aiming at a moving object such as archery, dart, baseball, running, speed skating and the like, N first images of the moving object in each moving stage such as air flight attitude, human body shape during running and the like are shot, then, multiframe second images of which the specified number is obtained from the N first images and the moving object meets specified conditions are obtained, the first sub-images in the second sub-images and the moving object in the second sub-images of the multiframe are synthesized to obtain a target image with momentum attributes of the moving object, the target image comprises a moving starting point which highlights the moving object from the first sub-images and a moving track in the whole moving process, so that an image which not only has a clear moving object but also has the actual moving track of the moving object can be shot conveniently, and the moving object attributes of the moving object can be displayed completely and rapidly through one momentum image.
The above steps are described in detail below, specifically as follows.
First, referring to step 110, the embodiment of the present application provides at least three ways to capture N first images based on different scenes, and is described in detail with reference to an application scene.
In one or more possible embodiments, in the case that the preview screen only includes a motion starting point or a motion ending point, this step 110 may specifically include:
under the condition that the preview picture is detected not to include a motion starting point or a motion ending point of the moving object, controlling a shooting module to shoot N first images from the starting point of the moving object along a first preset direction according to a preset shooting time interval, wherein the motion ending point is an ending point of the moving object in the motion process; wherein the content of the first and second substances,
the N first images include images of a motion start point and a motion end point of the moving object during motion.
Illustratively, in the case that the preview screen only includes a motion start point of the moving object and a motion end point of the moving object is not detected, the photographing module in the electronic device is controlled to photograph N first images starting from the start point of the moving object in a direction in which the moving object moves (i.e., a first preset direction) until the N first images including the motion end point of the moving object are photographed at a preset photographing time interval, or to stop photographing according to a user input.
Thus, by tracking the moving object, the N first images of the moving object during the movement from the movement start point to the movement end point are captured.
In another or more possible embodiments, the preview screen is also a case where only the motion start point or the motion end point is included, and based on this, before step 110, the shooting method may further include:
receiving a third input of the user to the preview picture;
determining a moving object and a moving start point and a mark position of the moving object from the preview screen in response to a third input;
based on this, the step 110 may specifically include:
under the condition that a first input of a user is received, shooting a third sub-image according to a preset shooting time interval;
and under the condition that the moving object in the third sub-image moves to the mark position, controlling the shooting module to shoot a fourth sub-image along a second preset direction, wherein the N first images comprise the third sub-image and the fourth sub-image.
Exemplarily, the electronic device in the embodiment of the present application may be a device having a scroll screen (or a folding screen or a flexible screen) and a mobile shooting module, where the mobile shooting module may be a rotatable camera, a camera disposed on a micro-pan-tilt, or a camera that is driven by the expansion of the scroll screen (or the folding screen or the flexible screen). Thus, as shown in fig. 2, with the feature of the camera that is driven by the unwinding of the scroll screen (or the folding screen, the flexible screen), a moving object (such as an archery arrow) in a larger movement range parallel to the unwinding direction of the scroll screen (or the folding screen, the flexible screen) is photographed, and thus, in the preview screen, the moving object and the movement starting point of the moving object (i.e., the position of the arrow in the archery hand and that is the position of the arrow that emits the arrow) are marked first, and the marked position thereof in the scroll screen is set, since this embodiment is applied to the moving object parallel to the unwinding direction of the scroll screen (or the folding screen, the flexible screen), and therefore, the marked position Sr is a position set from the right side of the scroll screen, and thus, it is ensured that the moving object is kept at a distance of less than or equal to Sr from the right side of the scroll screen in the photographing interface, at which the user clicks the photographing button to start photographing, as shown in fig. 3, that in the case where the first input of the user is received by the electronic device, the distance from the right side of the scroll screen is detected in real time, and when the moving object is moved to the edge of the scroll screen, the scroll screen is unfolded until the movement starting the movement of the scroll screen, the camera, the scroll screen, and the movement of Sr is stopped, and the movement of the scroll screen, and the scroll screen is completely stopped. Therefore, the expansion moving shooting module of the scroll screen breaks through the limitation of the fixed shooting module, shoots a moving object in a wider range to obtain a target image with momentum attributes in a wider range, and therefore the momentum attributes of the fast moving object can be completely displayed through one image.
In one or more possible embodiments, the preview screen may include both the motion start point and the motion end point, and based on this, before step 110, the capturing method may further include:
receiving a fourth input from the user;
and acquiring a motion range of the moving object selected by the user in the preview screen in response to a fourth input, wherein the motion range comprises a motion starting point and a motion ending point of the moving object.
Illustratively, as shown in fig. 4, a plurality of shape options 401 are displayed, and a user may select a target shape option 4011 from the plurality of shape options 401 and select a motion range of a moving object based on the target shape option 4011, where the size of the motion range may be changed according to the user dragging the target shape option 401; as shown in fig. 5, the motion range of the moving object can also be drawn by the user; as shown in fig. 6, the electronic device may first recognize at least two moving objects in the preview screen and mark the moving objects such as targets for arrows through the display frame 601, mark the moving objects such as arrows through the display frame 602, and mark the moving objects such as archery persons through the display frame 603, and then the user may determine the moving range 604 of the moving objects based on the target display frame 602 by selecting an input of the target display frame such as 602 among the plurality of display frames.
Thus, the step 110 may specifically include:
in the case of receiving a first input of a user, based on a motion starting point and a motion ending point of a moving object, N first images are shot according to a preset shooting time interval, wherein the N first images comprise images of the moving object in a motion process, and the images of the moving object in the motion process comprise images of the moving object at any stage from the motion starting point to the motion ending point.
It should be noted that when the N first images are shot, shooting is performed according to a preset shooting time interval, at this time, the preset shooting time interval in the embodiment of the present application is determined based on the current moving object and the actual shooting environment, and how to obtain the preset shooting time interval is described below based on three scenes.
In one or more possible embodiments, before step 110, the shooting method in the embodiment of the present application may further include:
identifying a first motion category of a moving object in a preview picture;
and acquiring a preset shooting time interval corresponding to the first motion category according to the second associated information of the motion category and the time interval.
Illustratively, a preview screen is displayed, which may include a moving object, and the moving object in the preview screen, such as an arrow, a dart, a baseball, a person running, and a sporter skating at speed, is recognized through an AI recognition algorithm, and a first motion category of the moving object, such as a treadmill, a rope skipping, and the like, is determined, where the motion range is smaller than or equal to a preset range, or a motion category, such as outdoor riding, dart moving, and baseball moving, where the motion range is larger than the preset range, and thus, a preset shooting time interval of the motion category with the motion range larger than the preset range is larger than the motion category with the motion range smaller than or equal to the preset range, so that the moving object in the image acquired in unit time has as little overlap.
In another possible embodiment or embodiments, before step 110 is involved, the photographing method may further include:
displaying options for a plurality of motion categories;
receiving a fifth input of the user to a first motion category in the options of the plurality of motion categories;
and responding to a fifth input, and acquiring a preset shooting time interval corresponding to the first motion category according to the second association information of the motion categories and the time intervals.
For example, the user may be provided with options of a plurality of motion categories a (i.e., motion categories having a motion range less than or equal to a preset range) and a plurality of motion categories B (i.e., motion categories having a motion range greater than a preset range) in order to determine a first motion category of the photographed moving object according to the input of the user, thereby acquiring a preset photographing time interval corresponding to the first motion category according to the second association information.
In still another possible embodiment, based on the above two embodiments, not only the motion category of the moving object is taken into consideration, but also the preset photographing time interval may be calculated according to the motion distance before the motion start point and the motion end point of the moving object and the first motion category of the moving object when the preview screen includes the motion start point and the motion end point of the moving object.
Illustratively, if the motion category of the moving object is archery, the motion starting point of the arrow is determined according to the position of the person, and the position of the target is determined as the motion ending point, so that the actual motion distance of the arrow can be obtained, and then the preset shooting time interval is calculated according to the actual motion distance of the arrow and the preset average moving speed of the arrow.
In one or more possible embodiments, the preset photographing time interval may also be calculated according to the moving speed of the moving object.
Exemplarily, a low-speed motion scene such as a ball is preset to be shot once every 100 ms; shooting arrows, darts and the like at high speed once every 20 ms; the user can also set the photographing interval according to a specific use scene, and the default photographing interval is 50ms. It should be noted that the movement speed here may be obtained by calculating the actual movement time of the moving object through the obtained actual movement distance of the moving object and the preset shooting time interval, and then obtaining the actual movement speed of the moving object according to the actual movement time and the actual movement distance.
Therefore, the shooting method provided by the embodiment of the application can obtain the clear moving object shot by multiple exposures by performing multiple exposures on the selected moving object in the moving range, so that the target image of the moving track of the shot object is synthesized conveniently at the later stage, the purpose of displaying the momentum attribute of the moving object is achieved, and the imaging quality of the target image is improved.
Next, referring to step 120, in order to facilitate the subsequent calculation of the parameters of the moving object, in the embodiment of the present application, before referring to step 110, the motion parameters of the moving object and the preset number of synthesized frames may also be obtained, which may be specifically described by the following steps.
In one or more possible embodiments, before step 110 is involved, the photographing method may further include:
receiving a second input of the user;
responding to a second input, and acquiring a motion range of the moving object selected by the user in the preview picture, wherein the motion range comprises a motion starting point and a motion ending point of the moving object;
acquiring a movement distance of the moving object based on a movement range, wherein the movement range comprises a movement starting point and a movement ending point of the moving object;
acquiring a preset synthesis frame number corresponding to the movement distance according to the first correlation information of the preset movement distance and the synthesis frame number; wherein, the movement distance is positively correlated with the preset synthesis frame number.
Illustratively, for some moving objects with short moving distance, the composite frame number is smaller, whereas for some moving objects with long moving distance, the composite frame number is larger, so as to obtain clear moving objects and moving tracks of the moving objects.
In the actual shooting situation, the shooting moving object moves laterally (as shown in fig. 7) and moves perpendicular to the lens (as shown in fig. 8). As shown in fig. 7, when the shot moving object moves laterally, after the moving range of the moving object is selected, a time of flight (ToF) lens can be used to support laser ranging to perform laser ranging, so as to obtain the actual moving distance of the moving object. As shown in fig. 8, when the moving object is photographed to move perpendicularly to the lens, since the motion start point and the motion end point of the moving object are substantially at the same point in the preview screen, the moving distance of the moving object can be calculated from the depth information.
Based on this, in the case that the motion parameters include a motion distance and a motion speed, and the number of the second images corresponds to the preset number of synthesized frames, the step 120 may specifically include:
calculating a first motion distance of a motion object in the ith frame according to the motion distance and a preset synthesis frame number, wherein i belongs to [1, M ]; the first movement distance is the actual movement distance of the moving object from the movement starting point to the moment of shooting the ith frame;
calculating a first shooting moment of the moving object at a first moving position according to the first moving distance and the moving speed;
screening the image of the ith frame from the N first images according to the shooting time of each first image in the N first images; and the difference value between the shooting time of the image of the ith frame and the first shooting time meets a preset threshold value.
Illustratively, the actual moving time of the moving object may be obtained according to the actual moving distance s of the moving object obtained in the above steps and the preset shooting time interval d, and then the actual moving speed v of the moving object may be obtained according to the actual moving time and the actual moving distance d.
In this way, based on the preset number of combined frames n, the moving distance s, and the moving speed v, a first moving distance Si of the moving object in the predicted case at the i-th frame, which is the actual moving distance of the moving object from the moving start point to the time of capturing the i-th frame, is calculated by the following formula (1).
First movement distance Si = (s/n) × I (1) at I-th frame
Then, the shooting time ti of the image of the ith frame is calculated by the following formula (2) under the expected condition of the moving object,
imaging time ti = Si/v (2) of the image of the i-th frame
In this way, the image closest to the shooting time ti from among the N first images can be found as the image of the i-th frame based on the shooting time ti.
In addition, when the preset picture of the electronic device cannot include all motion scenes of the motion object, such as the motion end point of the motion object is not included, in order to ensure the definition of the shot image, the user does not need to manually move the device, that is, the electronic device controls the shooting module to automatically move and rotate, for example, the camera is driven to rotate by a rotary camera, a micro-cradle head or a folding screen flexible screen. Based on this, after the movement starting point of the user object is determined, the camera module can be moved, the movement ending point of the moving object is determined by the user or an AI recognition algorithm when the picture of the movement ending point of the moving object is displayed, at this time, the electronic device can calculate the actual movement distance s of the moving object according to the distance of the moving camera, the movement starting point and the movement ending point of the moving object, then the actual movement time of the moving object can be obtained according to the movement distance s and the preset shooting time interval d, then the actual movement speed v of the moving object is obtained according to the actual movement time and the actual movement distance d, and therefore the second image is screened according to the formula (1) and the formula (2).
Then, referring to step 130, in one or more possible embodiments, this step 130 may specifically include:
calculating a target adjustment parameter of the second sub-image according to the shooting time of the second sub-image and the target shooting time length, wherein the target shooting time length is the total time length for shooting the N first images;
adjusting the transparency of the target area of the second sub-image according to the target adjustment parameter to obtain a processing area;
deducting the processing area from the second sub-image, and synthesizing the processing area and the first sub-image according to the position of the processing area in the second sub-image to obtain a target image, wherein the position of the processing area in the second sub-image is the same as the position of the processing area in the target image;
the target image comprises a moving object in the processing area and a moving object in the first sub-image, and the transparency of the moving object in the processing area is larger than that of the moving object in the first sub-image.
And setting transparency for the target area in each second sub-image according to the sorted position, wherein the transparency is larger for the image which is closer to the shooting ending time.
For example, as shown in fig. 9, first, a first image is selected from the M second images as a first sub-image, that is, a reference image, and a subsequent combining operation is performed based on this image.
Then, in the target area of each frame of image in the second sub-image except the first sub-image in the M second images, executing an AI identification algorithm, identifying a moving object in the target area, matting the moving object in the second sub-image, and acquiring the position of the moving object in the second sub-image in the image. The transparency of the moving object is adjusted in the order of the photographing time of the second sub-images. Here, the transparency of the target area in the second sub-image may be calculated from the photographing time of the second sub-image and the target photographing time period by the following formula (3),
transparency = shooting time/target shooting duration of second subimage (3)
For example, if the number of the second sub-images is 5 frames, the target photographing time for photographing N first images in total is 500ms, the photographing time of the second sub-image 1 is 100ms, and the photographing time of the second sub-image 5 is 500ms, the transparency of the second sub-image 1 and the transparency of the second sub-image 5 are 0.2 (100/500) and 1 (500/500), respectively.
And finally, synthesizing the target area in the second scratched sub-image into the reference image according to the corresponding position and the transparency through a fusion algorithm to obtain a target image.
Therefore, the image of the designated number of moving objects in the moving process can be obtained through designating the moving range and the moving speed, and the images are combined into a target image with momentum attributes after partial transparentization, so that an image with clear moving objects and actual moving tracks of the moving objects can be conveniently shot, and the image imaging quality is improved when the moving picture of the moving object is shot.
In addition, as shown in fig. 10, for a scene in which the camera module is moved, since the camera module moves and the background of the moving object in each frame is inconsistent, the background splicing transition can be performed on the selected second sub-image in each frame through a fusion algorithm, and a target image is finally obtained.
It should be noted that the shooting method provided in the embodiment of the present application may be applied to a scene in which a moving object in multiple images is synthesized into one image, a scene in which multiple images of the same moving object are synthesized to obtain an image having a clear moving object and an actual motion trajectory of the moving object, and any scene in which the moving object in multiple images needs to be shot and processed on an electronic device.
According to the shooting method provided by the embodiment of the application, the execution main body can be a shooting device. In the embodiment of the present application, a shooting device executes a shooting method as an example, and a shooting device provided in the embodiment of the present application is described.
Based on the same inventive concept, the application also provides a shooting device. The details are described with reference to fig. 11.
Fig. 11 is a schematic structural diagram of a shooting device according to an embodiment of the present application.
As shown in fig. 11, the photographing apparatus 110 is applied to an electronic device, and may specifically include:
the shooting module 1101 is configured to, under a condition that a first input of a user is received, shoot N first images according to a preset shooting time interval, where the N first images include images of a moving object in a moving process, the preset shooting time interval corresponds to a motion category of the moving object, and N is a positive integer;
the screening module 1102 is configured to screen a second image from the N first images according to a motion parameter of the moving object, where the second image includes M frames of images, display positions of the moving object in each frame of image of the M frames of images are different, the M frames of images include a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, the second sub-image is an image of the moving object far from the motion starting point, the motion starting point is a starting point of the moving object in a motion process, and M is a positive integer greater than or equal to 2;
a synthesizing module 1103, configured to synthesize a target area in the second sub-image with the first sub-image to obtain a target image, where the target area includes a moving object, and the target image includes an image of a motion trajectory of the moving object in a motion process.
The following describes the imaging device 140 in detail, specifically as follows:
in one or more possible embodiments, the shooting module 1101 in this embodiment of the present application may be specifically configured to, when it is detected that the preview picture does not include a motion start point or a motion end point of the moving object, control the shooting module to shoot N first images from the start point of the moving object along a first preset direction according to a preset shooting time interval, where the motion end point is an end point of the moving object in a motion process; wherein, the first and the second end of the pipe are connected with each other,
the N first images include images of a motion start point and a motion end point of the moving object during motion.
In another or more possible embodiments, the photographing apparatus 110 provided in the embodiments of the present application may further include a first receiving module, a determining module, and a control module; wherein the content of the first and second substances,
the first receiving module is used for receiving a third input of the user to the preview picture;
a determination module, configured to determine, from the preview screen, the moving object and a movement start point and a mark position of the moving object in response to a third input;
the shooting module 1101 in this embodiment of the application may be further configured to, when a first input from a user is received, shoot a third sub-image according to a preset shooting time interval;
and the control module is used for controlling the shooting module to shoot a fourth sub-image along a second preset direction under the condition that the moving object in the third sub-image moves to the mark position, wherein the N first images comprise the third sub-image and the fourth sub-image.
In yet another or more possible embodiments, the filtering module 1102 in this embodiment may be specifically configured to, under the condition that the motion parameters include a motion distance and a motion speed, and the number of the second images corresponds to a preset number of synthesized frames, calculate, according to the motion distance and the preset number of synthesized frames, a first motion distance, i e [1, m ], of the moving object at the ith frame;
calculating a first shooting moment of the moving object at a first moving position according to the first moving distance and the moving speed;
screening the image of the ith frame from the N first images according to the shooting time of each first image in the N first images; and the difference value between the shooting time of the image of the ith frame and the first shooting time meets a preset threshold value.
In still another or more possible embodiments, the shooting device 110 provided in this embodiment may further include a second receiving module and a first obtaining module; wherein the content of the first and second substances,
the second receiving module is used for receiving a second input of the user;
the first acquisition module is used for responding to a second input and acquiring a motion range of a moving object selected by a user in a preview picture, wherein the motion range comprises a motion starting point and a motion ending point of the moving object;
the first obtaining module may be further configured to obtain a movement distance of the moving object based on a movement range, where the movement range includes a movement start point and a movement end point of the moving object;
the first obtaining module can be further used for obtaining a preset synthesis frame number corresponding to the movement distance according to the first correlation information of the preset movement distance and the synthesis frame number; wherein, the movement distance and the preset synthetic frame number are positively correlated.
In still another or more possible embodiments, the synthesizing module 1103 in this embodiment may be specifically configured to calculate a target adjustment parameter of the second sub-image according to the shooting time of the second sub-image and a target shooting duration, where the target shooting duration is a total duration of shooting the N first images;
adjusting the transparency of the target area of the second sub-image according to the target adjustment parameter to obtain a processing area;
deducting the processing area from the second sub-image, and synthesizing the processing area and the first sub-image according to the position of the processing area in the second sub-image to obtain a target image, wherein the position of the processing area in the second sub-image is the same as the position of the processing area in the target image;
the target image comprises a moving object in the processing area and a moving object in the first sub-image, and the transparency of the moving object in the processing area is larger than that of the moving object in the first sub-image.
In one or more possible embodiments, the shooting device 110 provided in the embodiments of the present application may further include an identification module and a second obtaining module; wherein the content of the first and second substances,
the identification module is used for identifying a first motion category of a motion object in the preview picture;
and the second acquisition module is used for acquiring the preset shooting time interval corresponding to the first motion category according to the second associated information of the motion category and the time interval.
The shooting device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The shooting device provided by the embodiment of the application can realize each process realized by the method embodiments of fig. 1 to fig. 10, achieve the same technical effect, and is not repeated here to avoid repetition.
Based on this, the shooting device provided in the embodiment of the present application, in a case where a first input by a user is received, shoots N first images including a moving object in a moving process according to a preset shooting time interval corresponding to a motion category of the moving object in a preview image, so that, in a moving scene, N images of the moving object in each motion phase in the moving process, such as archery, dart, baseball, running, speed skating, and the like, are obtained, and then, according to motion parameters of the moving object, M frames of second images are screened from the N first images, where the display positions of the moving object in the second images are different, where the M frames of second images include a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, and the second sub-image is an image of each frame of the moving object far from the motion starting point, the motion starting point is the starting point of the motion object in the motion process, then the first sub-image and the second sub-image are combined to obtain the image target image comprising the motion track of the motion object in the motion process, therefore, a plurality of frames of second images with the appointed number and meeting the appointed condition of the motion object are obtained from the N first images, the first sub-image in the second sub-image and the motion object in the second sub-image are combined to obtain a target image with the momentum attribute of the motion object, the target image comprises the motion track which highlights the motion object starts from the motion starting point in the first sub-image and in the whole motion process, and therefore, an image which has both a clear motion object and the actual motion track of the motion object can be conveniently shot, in this way, it is possible to realize that the momentum property of the fast moving object is fully exhibited by one image.
Optionally, as shown in fig. 12, an electronic device 120 is further provided in an embodiment of the present application, and includes a processor 1201 and a memory 1202, where the memory 1202 stores a program or an instruction that can be executed on the processor 1201, and when the program or the instruction is executed by the processor 1201, the steps of the shooting method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and a camera module 1311.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
In this embodiment of the application, the camera module 1311 is configured to, when a first input of a user is received, shoot N first images according to a preset shooting time interval, where the N first images include images of a moving object in a moving process, the preset shooting time interval corresponds to a motion category of the moving object, and N is a positive integer. A processor 1310, configured to screen a second image from the N first images according to a motion parameter of the moving object, where the second image includes M frames of images, a display position of the moving object in each frame of the M frames of images is different, the M frames of images include a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion starting point, the second sub-image is an image of the moving object far from the motion starting point, the motion starting point is a starting point of the moving object during a motion process, and M is a positive integer greater than or equal to 2. And the processor 1310 is further configured to synthesize a target area in the second sub-image with the first sub-image to obtain a target image, where the target area includes a moving object, and the target image includes an image of a motion trajectory of the moving object during a motion process.
In one or more possible embodiments, 13101310 the camera module 1311 in this embodiment of the application may be specifically configured to, when it is detected that the preview screen does not include a motion start point or a motion end point of the moving object, control the camera module to shoot N first images along a first preset from the start point of the moving object according to a preset shooting time interval, where the motion end point is an end point of the moving object in the motion process; wherein, the first and the second end of the pipe are connected with each other,
the N first images include images of a motion start point and a motion end point of the moving object during motion.
In still another or more possible embodiments, the user input unit 1307 in the embodiment of the present application is configured to receive a third input of the preview screen from the user;
the processor 1310 is further configured to determine a moving object and a moving start point and a mark position of the moving object from the preview screen in response to a third input;
the camera module 1311 in this embodiment may be further configured to, when a first input from the user is received, capture a third sub-image according to a preset capture time interval;
the processor 1310 is further configured to control the shooting module to shoot a fourth sub-image according to a second preset direction when the moving object in the third sub-image moves to the mark position, where the N first images include the third sub-image and the fourth sub-image.
In one or more possible embodiments, the processor 1310 in this embodiment is further configured to, in a case that the motion parameters include a motion distance and a motion speed, and the number of the second images corresponds to a preset number of synthesized frames, calculate a first motion distance, i e [1, m ], of the moving object at the ith frame according to the motion distance and the preset number of synthesized frames; calculating a first shooting moment of the moving object at the first moving position according to the first moving distance and the moving speed; screening the image of the ith frame from the N first images according to the shooting time of each first image in the N first images; and the difference value between the shooting time of the image of the ith frame and the first shooting time meets a preset threshold value.
In yet another or more possible embodiments, the user input unit 1307 in the embodiment of the present application receives a second input from the user;
the processor 1310 is further configured to, in response to the second input, obtain a motion range of the moving object selected by the user in the preview screen, where the motion range includes a motion start point and a motion end point of the moving object;
the processor 1310 is further configured to obtain a movement distance of the moving object based on a movement range, wherein the movement range includes a movement start point and a movement end point of the moving object;
the processor 1310 is further configured to obtain a preset composite frame number corresponding to the movement distance according to the first association information of the preset movement distance and the composite frame number; wherein, the movement distance is positively correlated with the preset synthesis frame number.
In one or more possible embodiments, the processor 1310 in this embodiment is further configured to calculate a target adjustment parameter of the second sub-image according to the shooting time of the second sub-image and a target shooting duration, where the target shooting duration is a total duration of the N first images; adjusting the transparency of the target area of the second sub-image according to the target adjustment parameter to obtain a processing area; deducting the processing area from the second sub-image, and synthesizing the processing area and the first sub-image according to the position of the processing area in the second sub-image to obtain a target image, wherein the position of the processing area in the second sub-image is the same as the position of the processing area in the target image; the target image comprises a moving object in the processing area and a moving object in the first sub-image, and the transparency of the moving object in the processing area is larger than that of the moving object in the first sub-image.
In yet another or more possible embodiments, the processor 1310 provided in this embodiment is further configured to identify a first motion category of a moving object in the preview screen; and acquiring a preset shooting time interval corresponding to the first motion category according to the second associated information of the motion category and the time interval.
It is to be understood that the input Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and a microphone 13042, the Graphics processor 13041 Processing image data of still images or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a photographing panel, which may be configured in the form of a liquid crystal camera, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. Touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts of a touch detection device and a touch camera. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume display keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1309 may be used to store software programs and various data, and the memory 1309 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. Further, memory 1309 can comprise volatile memory or nonvolatile memory, or memory 1309 can comprise both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). Memory 1309 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1310 may include one or more processing units; optionally, the processor 1310 integrates an application processor, which mainly processes operations related to an operating system, a user interface, an application program, and the like, and a modem processor, which mainly processes a wireless photographing signal, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1310.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device 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, and the like.
In addition, an embodiment of the present application further provides a chip, where the chip includes a processor and a display interface, the display interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing shooting method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing shooting method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A photographing method, characterized by comprising:
under the condition that a first input of a user is received, shooting N first images according to a preset shooting time interval, wherein the N first images comprise images of a moving object in the moving process, the preset shooting time interval corresponds to the moving type of the moving object, and N is a positive integer;
screening a second image from the N first images according to the motion parameters of the moving object, wherein the second image comprises M frames of images, the display positions of the moving object in each frame of image of the M frames of images are different, the M frames of images comprise a first sub-image and a second sub-image, the first sub-image is the image of the moving object at a motion starting point, the second sub-image is the image of the moving object far away from the motion starting point, the motion starting point is the starting point of the moving object in the motion process, and M is a positive integer greater than or equal to 2;
and synthesizing a target area in the second sub-image with the first sub-image to obtain a target image, wherein the target area comprises the moving object, and the target image comprises an image of a motion track of the moving object in the motion process.
2. The method of claim 1, wherein capturing the N first images at the preset capture time interval comprises:
under the condition that the preview picture is detected not to include a motion starting point or a motion ending point of the moving object, controlling a shooting module to shoot N first images from the starting point of the moving object along a first preset direction according to a preset shooting time interval, wherein the motion ending point is an ending point of the moving object in the motion process; wherein the content of the first and second substances,
the N first images comprise images of a motion starting point and a motion ending point of the moving object in the motion process.
3. The method of claim 1, wherein prior to receiving the first input from the user, the method further comprises:
receiving a third input of the user to the preview picture;
determining the moving object and a motion start point and a mark position of the moving object from the preview screen in response to the third input;
the shooting N first images according to a preset shooting time interval under the condition of receiving a first input of a user comprises the following steps:
under the condition that a first input of a user is received, shooting a third sub-image according to a preset shooting time interval;
and under the condition that the moving object in the third sub-image moves to the mark position, controlling the shooting module to shoot a fourth sub-image along a second preset direction, wherein the N first images comprise the third sub-image and the fourth sub-image.
4. The method according to claim 1, wherein the motion parameters comprise a motion distance and a motion speed, and the number of the second images corresponds to a preset number of synthesis frames; the screening a second image from the N first images according to the motion parameters of the moving object includes:
calculating a first movement distance of the moving object in the ith frame according to the movement distance and the preset synthesis frame number, wherein i belongs to [1, M ];
calculating a first shooting moment of the moving object at a first moving position according to the first moving distance and the moving speed;
screening the image of the ith frame from the N first images according to the shooting time of each first image in the N first images; and the difference value between the shooting time of the image of the ith frame and the first shooting time meets a preset threshold value.
5. The method of claim 4, wherein prior to receiving the first input from the user, the method further comprises:
receiving a second input of the user;
responding to the second input, acquiring a motion range of the moving object selected by a user in a preview screen, wherein the motion range comprises a motion starting point and a motion ending point of the moving object;
acquiring a movement distance of the moving object based on the movement range, wherein the movement range comprises a movement starting point and a movement ending point of the moving object;
acquiring a preset synthesis frame number corresponding to a preset movement distance according to first associated information of the preset movement distance and the synthesis frame number; wherein, the movement distance and the preset synthesis frame number are in positive correlation.
6. The method of claim 1, wherein the synthesizing the target area in the second sub-image with the first sub-image to obtain the target image comprises:
calculating a target adjustment parameter of the second sub-image according to the shooting time of the second sub-image and a target shooting time length, wherein the target shooting time length is the total time length for shooting the N first images;
adjusting the transparency of the target area of the second sub-image according to the target adjustment parameter to obtain a processing area;
deducting the processing area from the second sub-image, and synthesizing the processing area and the first sub-image according to the position of the processing area in the second sub-image to obtain a target image, wherein the position of the processing area in the second sub-image is the same as the position of the processing area in the target image;
the target image comprises a moving object in the processing area and a moving object in the first sub-image, and the transparency of the moving object in the processing area is greater than that of the moving object in the first sub-image.
7. The method of claim 1, wherein before capturing the N first images at the preset capture time interval, the method further comprises:
identifying a first motion category of the motion object in a preview picture;
and acquiring a preset shooting time interval corresponding to the first motion category according to second associated information of the motion category and the time interval.
8. A camera, comprising:
the device comprises a shooting module, a motion detection module and a control module, wherein the shooting module is used for shooting N first images according to a preset shooting time interval under the condition that a first input of a user is received, the N first images comprise images of a moving object in a motion process, the preset shooting time interval corresponds to the motion category of the moving object, and N is a positive integer;
a screening module, configured to screen a second image from the N first images according to a motion parameter of the moving object, where the second image includes M frames of images, a display position of the moving object in each frame of image of the M frames of images is different, the M frames of images include a first sub-image and a second sub-image, the first sub-image is an image of the moving object at a motion start point, the second sub-image is an image of the moving object far away from the motion start point, the motion start point is a start point of the moving object in the motion process, and M is a positive integer greater than or equal to 2;
and the synthesis module is used for synthesizing a target area in the second sub-image with the first sub-image to obtain a target image, wherein the target area comprises the moving object, and the target image comprises an image of a motion track of the moving object in the motion process.
9. An electronic device, comprising: a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the photographing method according to any of claims 1-7.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 7.
CN202211263056.7A 2022-10-14 2022-10-14 Shooting method and device, electronic equipment and readable storage medium Pending CN115914859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211263056.7A CN115914859A (en) 2022-10-14 2022-10-14 Shooting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211263056.7A CN115914859A (en) 2022-10-14 2022-10-14 Shooting method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115914859A true CN115914859A (en) 2023-04-04

Family

ID=86477364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211263056.7A Pending CN115914859A (en) 2022-10-14 2022-10-14 Shooting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115914859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116452481A (en) * 2023-04-19 2023-07-18 北京拙河科技有限公司 Multi-angle combined shooting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116452481A (en) * 2023-04-19 2023-07-18 北京拙河科技有限公司 Multi-angle combined shooting method and device

Similar Documents

Publication Publication Date Title
CN112492209B (en) Shooting method, shooting device and electronic equipment
CN114125179B (en) Shooting method and device
CN112770058B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112637500B (en) Image processing method and device
CN114598819A (en) Video recording method and device and electronic equipment
CN114422692B (en) Video recording method and device and electronic equipment
CN113329172A (en) Shooting method and device and electronic equipment
CN113114933A (en) Image shooting method and device, electronic equipment and readable storage medium
CN112887617A (en) Shooting method and device and electronic equipment
CN112995507A (en) Method and device for prompting object position
CN115914859A (en) Shooting method and device, electronic equipment and readable storage medium
CN113207038B (en) Video processing method, video processing device and electronic equipment
CN112399078B (en) Shooting method and device and electronic equipment
CN115499589A (en) Shooting method, shooting device, electronic equipment and medium
CN114785969A (en) Shooting method and device
CN114025237A (en) Video generation method and device and electronic equipment
CN114157810B (en) Shooting method, shooting device, electronic equipment and medium
CN114222069B (en) Shooting method, shooting device and electronic equipment
CN114666513B (en) Image processing method and device
CN114285988B (en) Display method, display device, electronic equipment and storage medium
CN115242976A (en) Shooting method, shooting device and electronic equipment
CN117294932A (en) Shooting method, shooting device and electronic equipment
CN112672059A (en) Shooting method and shooting device
CN114143455A (en) Shooting method and device and electronic equipment
CN117294933A (en) Shooting method and shooting device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination