CN111917989B - Video shooting method and device - Google Patents
Video shooting method and device Download PDFInfo
- Publication number
- CN111917989B CN111917989B CN202010970885.3A CN202010970885A CN111917989B CN 111917989 B CN111917989 B CN 111917989B CN 202010970885 A CN202010970885 A CN 202010970885A CN 111917989 B CN111917989 B CN 111917989B
- Authority
- CN
- China
- Prior art keywords
- anchor point
- shooting
- shot
- picture
- point position
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 230000008569 process Effects 0.000 claims abstract description 28
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 19
- 238000004590 computer program Methods 0.000 claims description 14
- 230000015572 biosynthetic process Effects 0.000 claims description 6
- 238000003786 synthesis reaction Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 4
- 239000000463 material Substances 0.000 abstract description 9
- 230000000007 visual effect Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 12
- 239000002699 waste material Substances 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/695—Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the application provides a video shooting method and a video shooting device, wherein the method comprises the following steps: when an operation instruction input by a user is received, determining an anchor point position and a scene anchor point at the anchor point position in a pre-shot picture of a shooting device according to the operation instruction; in the process of moving the shooting device, adjusting a holder of the shooting device to enable the scene anchor point to be located at the anchor point position; acquiring image information of a pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images; and synthesizing the plurality of shot images to obtain a shot video. Therefore, by implementing the implementation mode, the additional consumption of manpower and material resources can be avoided, and the visual effect of shooting can be improved.
Description
Technical Field
The application relates to the technical field of multimedia, in particular to a video shooting method and device.
Background
With the rapid development of intelligent equipment and photographic equipment, more and more functions can be applied to the daily life of people, thereby bringing great convenience to people. However, in practice, it is found that whether the photographing device in the smart device or the independent photographing device is used, when a large-scale time-delay photographing is performed, either multiple times of manual angle adjustment are required, or additional hardware support is required, or large-scale post-processing is required, so that the large-scale time-delay photographing consumes excessive human resources and material resources, and the visual effect of photographing is also reduced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a video shooting method and device, which can avoid additional consumption of manpower and material resources and can improve the visual effect of shooting.
A first aspect of an embodiment of the present application provides a video shooting method, where the method includes:
when an operation instruction input by a user is received, determining an anchor point position and a scene anchor point at the anchor point position in a pre-shot picture of a shooting device according to the operation instruction;
adjusting a pan-tilt of the shooting device to enable the scene anchor point to be located at the anchor point position in the process of moving the shooting device;
acquiring image information of the pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images;
and synthesizing the plurality of shot images to obtain a shot video.
In the implementation process, the video shooting method can monitor the operation instruction input by the user preferentially, and when the operation instruction input by the user is detected, the anchor point position and the scenery anchor point at the anchor point position in the pre-shot picture of the shooting device are determined according to the operation instruction; then, in the process of moving the shooting device, adjusting a holder of the shooting device to enable the scene anchor point to be located at the anchor point position; then, acquiring image information of a pre-shot picture for multiple times according to a preset shooting requirement and shooting parameters to obtain multiple shot images; and finally, synthesizing the plurality of shot images to obtain a shot video. Therefore, by implementing the implementation mode, the user can freely determine the photography anchor point, and after the photography anchor point is determined, the video picture is ensured to be always aligned with the appointed scenery, so that the movement of the shooting device is ensured not to cause the movement of the appointed scenery in the shooting field, the waste of excessive human resources and material resources is avoided, and the shooting visual effect is improved.
Further, the step of determining an anchor point position in a pre-shot picture of a shooting device and a scene anchor point at the anchor point position in the pre-shot picture according to the operation instruction comprises:
determining an operation area corresponding to the operation instruction in a pre-shooting picture of a shooting device;
determining an anchor point position corresponding to the operation area in the pre-shot picture;
and determining a scene anchor point corresponding to the anchor point position in the pre-shot picture.
In the implementation process, in the process of determining the anchor point position in the pre-shot picture of the shooting device and the scene anchor point at the anchor point position in the pre-shot picture according to the operation instruction, the method can preferentially determine the operation area corresponding to the operation instruction in the pre-shot picture of the shooting device; then, determining an anchor point position corresponding to the operation area in the pre-shooting picture; and finally, determining the scene anchor point corresponding to the anchor point position in the pre-shot picture. Therefore, by implementing the implementation mode, the operation area can be determined according to the user operation, and the anchor point position can be determined according to the operation area, so that the anchor point position can be a point position or an area position, and further is more matched with the scene anchor point in the image, and the shooting effect of follow-up scene anchor point tracking shooting is improved.
Further, the step of adjusting the camera pan/tilt to locate the scene anchor at the anchor position comprises:
detecting the current position of the scene anchor point in a pre-shot picture of the shooting device;
and adjusting the pan-tilt of the shooting device according to the current position and the anchor point position so as to enable the scene anchor point to be located at the anchor point position.
In the implementation process, the method can detect the current position of the scene anchor point in a pre-shot picture of the shooting device preferentially in the process of adjusting the holder of the shooting device to enable the scene anchor point to reach the anchor point position; and then, adjusting the pan-tilt of the shooting device according to the current position and the anchor point position so as to enable the scene anchor point to be located at the anchor point position. Therefore, by implementing the implementation mode, the image change relation between two frames can be compared, and the pan-tilt can be automatically adjusted according to the comparison result so that the scenery anchor point is always positioned at the anchor point position, thereby realizing the tracking shooting of the scenery anchor point.
Further, the step of obtaining the image information of the pre-shot picture for a plurality of times according to the preset shooting parameters to obtain a plurality of shot images includes:
and acquiring the image information of the pre-shot picture for multiple times according to a preset shooting interval, a preset shooting duration or a preset shooting frequency to obtain multiple shot images.
In the implementation process, in the process of obtaining a plurality of shot images by obtaining the image information of the pre-shot image for a plurality of times according to the preset shooting parameters, the method can obtain the image information of the pre-shot image for a plurality of times according to the preset shooting interval, the preset shooting duration or the preset shooting times, so as to obtain a plurality of shot images. Therefore, by implementing the implementation mode, a plurality of shot images can be shot according to the preset rule, so that the shot images accord with the preset rule, the subsequent shot video synthesis processing is ensured to be in accordance, and the synthesis efficiency and effect of the shot video are further improved.
Further, the step of synthesizing the plurality of captured images to obtain the captured video includes:
and synthesizing the plurality of shot images according to a preset anti-shake algorithm to obtain a shot video.
In the implementation process, the method can synthesize the multiple shot images according to a preset anti-shake algorithm to obtain the shot video in the process of synthesizing the multiple shot images to obtain the shot video. Therefore, the implementation of the embodiment can improve the synthesis stability of the shot video, thereby obtaining better video effect.
A second aspect of the embodiments of the present application provides a video camera, including:
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining an anchor point position in a pre-shooting picture of a shooting device and a scene anchor point at the anchor point position in the pre-shooting picture according to an operation instruction input by a user when the operation instruction is received;
the adjusting unit is used for adjusting a pan-tilt of the shooting device to enable the scene anchor point to be located at the anchor point position in the process of moving the shooting device;
the shooting unit is used for obtaining the image information of the pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images;
and the synthesizing unit is used for synthesizing the plurality of shot images to obtain the shot video.
In the implementation process, when receiving an operation instruction input by a user, the video shooting device can determine an anchor point position in a pre-shot picture of the shooting device and a scene anchor point at the anchor point position in the pre-shot picture according to the operation instruction through the determining unit; then, in the process of moving the shooting device, the adjusting unit adjusts a holder of the shooting device so as to enable the scene anchor point to be located at the anchor point position; then, acquiring image information of a pre-shot picture for multiple times through a shooting unit according to preset shooting parameters to obtain multiple shot images; and finally, synthesizing the plurality of shot images through a synthesizing unit to obtain a shot video. Therefore, by implementing the implementation mode, the user can freely determine the photography anchor point, and after the photography anchor point is determined, the video picture is ensured to be always aligned with the appointed scenery, so that the movement of the shooting device is ensured not to cause the movement of the appointed scenery in the shooting field, the waste of excessive human resources and material resources is avoided, and the shooting visual effect is improved.
Further, the determining unit is specifically configured to determine an operation area corresponding to the operation instruction in a pre-shooting picture of the shooting device; determining an anchor point position corresponding to the operation area in the pre-shot picture; and determining a scene anchor point corresponding to the anchor point position in the pre-shot picture.
In the implementation process, the determining unit may determine an anchor point position matching with the user operation and a scene anchor point corresponding to the anchor point position. Therefore, by implementing the implementation mode, the operation area can be determined according to the user operation, and the anchor point position can be determined according to the operation area, so that the anchor point position can be a point position or an area position, and further is more matched with the scene anchor point in the image, and the shooting effect of follow-up scene anchor point tracking shooting is improved.
Further, the adjusting unit includes:
a detection subunit, configured to detect a current position of the scene anchor in a pre-shot picture of the shooting device;
and the adjusting subunit is used for adjusting the pan-tilt of the shooting device according to the current position and the anchor point position so as to enable the scene anchor point to be positioned at the anchor point position.
In the implementation process, the adjusting unit can detect the current position of the scene anchor point in the pre-shot picture of the shooting device through the detection subunit; and then, the pan-tilt of the shooting device is adjusted through the adjusting subunit according to the current position and the anchor point position so that the scene anchor point is located at the anchor point position. Therefore, by implementing the implementation mode, the image change relation between two frames can be compared, and the pan-tilt can be automatically adjusted according to the comparison result so that the scenery anchor point is always positioned at the anchor point position, thereby realizing the tracking shooting of the scenery anchor point.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the video shooting method according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions perform the video shooting method according to any one of the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a video shooting apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another video capture 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 with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure. The method is applied to an application scene for realizing large-range time-delay shooting based on target locking, and is particularly applied to the time when a user wants to carry out large-range moving shooting on a specific target. The video shooting method comprises the following steps:
s101, when an operation instruction input by a user is received, determining an anchor point position in a pre-shooting picture of the shooting device and a scene anchor point at the anchor point position in the pre-shooting picture according to the operation instruction.
In this embodiment, the operation instruction input by the user may be a click instruction or a frame selection instruction, and this embodiment is not limited in any way.
As an alternative embodiment, the step of determining the anchor point position in the pre-shot picture of the camera according to the operation instruction may include:
and determining an operation area in a pre-shooting picture of the shooting device according to the operation instruction, and determining the operation area as an anchor point position in the form of an area anchor point.
By implementing the embodiment, regional anchor points can be acquired, so that the anchor point locking capacity is improved.
As a further alternative embodiment, an operating region is determined in a pre-capture frame of the camera according to the operating instruction, and the operating region is determined as an anchor point position in the form of a region anchor point.
Determining a preselected area in a pre-shooting picture of a shooting device according to an operation instruction;
automatically attaching the scene edge in the pre-shot picture according to the pre-selection area to obtain an operation area;
and determining the operation area as an anchor point position in the form of an area anchor point.
In this embodiment, the anchor point position corresponds to an operation instruction input by a user. For example, the position determined by the user in the pre-shot picture is the anchor point position; it should be understood that the anchor point position is based on the display screen of the video photographing apparatus (the display position of the pre-photographed picture), and therefore, the anchor point position is fixed with respect to the video photographing apparatus.
In this embodiment, the scene anchor is scene information corresponding to the anchor position at this time. It is understood that the scene information moves when the video photographing apparatus moves, and thus it is the technical content described in step S102 to reset the scene information at the anchor point position.
In this embodiment, the pre-shot picture is displayed on the display screen of the video shooting device and is an image picture that the user wants to shoot currently.
And S102, in the moving process of the shooting device, adjusting a pan-tilt of the shooting device to enable the scene anchor point to be located at the anchor point position.
In this embodiment, the shooting device is a video shooting device. The video shooting device comprises shooting equipment and a cloud platform, wherein the shooting equipment and the cloud platform are used for shooting videos, and the cloud platform is used for controlling the shooting equipment to rotate and other azimuth conditions so as to enable a scene anchor point to be located at an anchor point position.
As an optional implementation, the method further comprises:
detecting whether a holder of the video shooting device reaches an adjustment limit or not;
when the tripod head of the video shooting device reaches the adjustment limit, warning information is sent out.
By implementing the implementation mode, the video shooting device can be controlled to face the anchor point position all the time in the moving process of the video shooting device, and the cloud platform is ensured not to reach the adjustment limit, so that the position deviation of the scene anchor point is prevented, and the shooting deviation of the shot video is avoided.
S103, acquiring image information of the pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images.
In this embodiment, the preset shooting parameters may include parameters such as shooting delay and shooting focusing, which are not limited in this embodiment.
For example, the shooting parameters may be waiting for N seconds to take an image; it is also possible to have a total of how many images are to be taken.
In this embodiment, the shot picture is a display picture, and the image information is a shot image corresponding to the display picture.
And S104, synthesizing the plurality of shot images to obtain a shot video.
In this embodiment, the synthesizing process may include a smoothing process.
By implementing the implementation mode, the video shooting device with the holder can be used for detecting the operation instruction output by the user on the APP interface, and selecting the scene according to the operation instruction, so that the anchor point position and the scene anchor point are set and locked, and in the process that the user carries the video shooting device to move, the video shooting device can automatically control the scene anchor point to be always at the fixed position of the picture through an algorithm.
In this embodiment, the execution subject of the method may be a computing device such as a computer and a server, and is not limited in this embodiment.
In this embodiment, an execution subject of the method may also be a smart device such as a smart phone and a tablet, which is not limited in this embodiment.
Therefore, by implementing the video shooting method described in fig. 1, the user can freely determine the shooting anchor point, and after the shooting anchor point is determined, the video picture is ensured to be always aligned with the specified scenery, so that the movement of the shooting device is ensured not to cause the movement of the specified scenery in the shooting field, thereby avoiding the waste of excessive human resources and material resources, and improving the shooting visual effect.
Example 2
Referring to fig. 2, fig. 2 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure. The flow diagram of the video capture method depicted in fig. 2 is improved from the flow diagram of the video capture method depicted in fig. 1. The video shooting method comprises the following steps:
s201, when an operation instruction input by a user is received, an operation area corresponding to the operation instruction is determined in a pre-shooting picture of the shooting device.
In this embodiment, the operation instruction input by the user may be a click instruction or a frame selection instruction, and this embodiment is not limited in any way.
In this embodiment, the operation area may be an operation area drawn by a user through an operation instruction; the operation area is used for determining the scene anchor point in the area.
S202, an anchor point position corresponding to the operation area is determined in the pre-shooting picture.
In this embodiment, the anchor point position may be the above operation area; may be the center point of the above-mentioned operation region.
And S203, determining the scene anchor point corresponding to the anchor point position in the pre-shot picture.
In this embodiment, the scene anchor may be obtained by performing edge fitting on the operation region through an algorithm.
S204, detecting the current position of the scene anchor point in the pre-shooting picture of the shooting device.
In this embodiment, the scene anchor may move in the display screen of the photographing device along with the movement of the photographing device; therefore, the current position of the scene anchor point after moving is obtained, and the change and the adjustment scheme of the holder can be determined conveniently.
S205, adjusting the pan-tilt of the shooting device according to the current position and the anchor point position so that the scene anchor point is located at the anchor point position.
In this embodiment, the relative position relationship may be determined according to the current position and the anchor point position, and an adjustment scheme may be further determined, so that the pan-tilt of the photographing device may be adjusted according to the adjustment scheme.
As an optional implementation manner, the step of adjusting the pan/tilt head of the camera according to the current position and the anchor point position so that the scene anchor point is located at the anchor point position includes:
and adjusting the pan-tilt of the shooting device according to the current position, the anchor point position and the moving track so as to enable the scene anchor point to be located at the anchor point position.
By implementing the implementation mode, the rough adjustment of the holder can be realized through the moving track, and then the fine adjustment of the holder can be realized through the accurate position, so that the adjustment precision of the holder is improved.
And S206, acquiring image information of the pre-shot picture for multiple times according to the preset shooting interval, the preset shooting duration or the preset shooting times to obtain multiple shot images.
In this embodiment, the preset shooting parameter may be a preset delay shooting parameter, for example, the total duration of live shooting (y seconds) of each shooting interval (x seconds), and the like.
And S207, synthesizing the plurality of shot images according to a preset anti-shake algorithm to obtain a shot video.
In this embodiment, the anti-shake algorithm includes an algorithm for detecting shake and filtering out shake; also included is a cropping algorithm.
In this embodiment, the cropping algorithm is an algorithm for removing jitter by performing fixed-size cropping with the scene anchor point as the center so that all images have the same size and the same center.
For example, the method determines the position of the scene anchor point in each shot image, and cuts the image at the position of 1024 × 1024, so that each shot image becomes an image at 1024 × 1024; after the images of 1024 × 1024 are acquired, the images are sorted, so that the method can effectively synthesize the images according to the sorting result, and the shot image is obtained. It can be seen that in this image, the scene anchor is always in the center position, so there is no jitter.
Therefore, by implementing the video shooting method described in fig. 2, the user can freely determine the shooting anchor point, and after the shooting anchor point is determined, the video picture is ensured to be always aligned with the specified scenery, so that the movement of the shooting device is ensured not to cause the movement of the specified scenery in the shooting field, thereby avoiding the waste of excessive human resources and material resources, and improving the shooting visual effect.
Example 3
Please refer to fig. 3, fig. 3 is a schematic structural diagram of a video camera according to an embodiment of the present disclosure. Wherein, this video camera includes:
a determining unit 310, configured to determine, when an operation instruction input by a user is received, an anchor point position in a pre-shot picture of the shooting device and a scene anchor point at the anchor point position in the pre-shot picture according to the operation instruction;
an adjusting unit 320, configured to adjust a pan/tilt head of the camera to enable the scene anchor point to be located at the anchor point position during the camera moving process;
the shooting unit 330 is configured to obtain image information of a pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images;
the synthesizing unit 340 is configured to perform synthesizing processing on the plurality of captured images to obtain a captured video.
In this embodiment, for the explanation of the video capturing apparatus, reference may be made to the description in embodiment 1 or embodiment 2, and details are not repeated in this embodiment.
It can be seen that, by implementing the video shooting device described in fig. 3, the user can freely determine the shooting anchor point, and after determining the shooting anchor point, it is ensured that the video picture is always aligned with the designated scenery, so that it is ensured that the movement of the shooting device does not cause the movement of the designated scenery in the shooting field, thereby avoiding the waste of excessive human resources and material resources, and improving the shooting visual effect.
Example 4
Referring to fig. 4, fig. 4 is a schematic structural diagram of a video capturing apparatus according to an embodiment of the present disclosure. The schematic structural diagram of the video camera depicted in fig. 4 is modified from the schematic structural diagram of the video camera depicted in fig. 3. The determining unit 310 is specifically configured to determine an operation area corresponding to the operation instruction in a pre-shooting picture of the shooting device; determining an anchor point position corresponding to the operation area in the pre-shot picture; a scene anchor corresponding to the anchor position is determined in the pre-shot picture.
As an alternative embodiment, the adjusting unit 320 includes:
a detection subunit 321 configured to detect a current position of a scene anchor in a pre-shot picture of the photographing apparatus;
and an adjusting subunit 322, configured to adjust the pan/tilt head of the camera according to the current position and the anchor point position, so that the scene anchor point is located at the anchor point position.
As an optional implementation manner, the shooting unit 330 is specifically configured to obtain image information of a pre-shot picture for multiple times according to a preset shooting interval, a preset shooting duration, or a preset shooting frequency, so as to obtain multiple shot images.
As an optional implementation manner, the synthesis unit 340 is specifically configured to perform synthesis processing on multiple captured images according to a preset anti-shake algorithm to obtain a captured video.
In this embodiment, for the explanation of the video capturing apparatus, reference may be made to the description in embodiment 1 or embodiment 2, and details are not repeated in this embodiment.
Therefore, the video shooting device described in the figure 4 can enable a user to freely determine the shooting anchor point, and after the shooting anchor point is determined, the video picture is guaranteed to be aligned with the appointed scenery all the time, so that the movement of the shooting device is guaranteed not to cause the movement of the appointed scenery in the shooting field, the waste of excessive human resources and material resources is avoided, and the shooting visual effect is improved.
The embodiment of the application provides an electronic device, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the electronic device to execute the video shooting method in any one of embodiment 1 or embodiment 2 of the application.
An embodiment of the present application provides a computer-readable storage medium, which stores computer program instructions, and when the computer program instructions are read and executed by a processor, the computer program instructions execute a video shooting method according to any one of embodiment 1 or embodiment 2 of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method of video capture, the method comprising:
when an operation instruction input by a user is received, determining an anchor point position and a scene anchor point at the anchor point position in a pre-shot picture of a shooting device according to the operation instruction;
adjusting a pan-tilt of the shooting device to enable the scene anchor point to be located at the anchor point position in the process of moving the shooting device;
acquiring image information of the pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images;
synthesizing the plurality of shot images to obtain a shot video; wherein,
the step of determining the anchor point position in the pre-shooting picture of the shooting device according to the operation instruction comprises the following steps:
determining a preselected area in a pre-shooting picture of a shooting device according to a frame selection instruction;
automatically attaching the scene edge in the pre-shot picture according to the pre-selection area to obtain an operation area;
and determining the operation area as an anchor point position in the form of an area anchor point.
2. The video capture method of claim 1, wherein determining an anchor point location in a pre-capture frame of a camera and a scene anchor point at the anchor point location in the pre-capture frame based on the operational command comprises:
determining an operation area corresponding to the operation instruction in a pre-shooting picture of a shooting device;
determining an anchor point position corresponding to the operation area in the pre-shot picture;
and determining a scene anchor point corresponding to the anchor point position in the pre-shot picture.
3. The video capture method of claim 1, wherein the step of adjusting the camera pan/tilt to position the scene anchor at the anchor position comprises:
detecting the current position of the scene anchor point in a pre-shot picture of the shooting device;
and adjusting the pan-tilt of the shooting device according to the current position and the anchor point position so as to enable the scene anchor point to be located at the anchor point position.
4. The video shooting method of claim 1, wherein the step of obtaining the image information of the pre-shot picture a plurality of times according to the preset shooting parameters to obtain a plurality of shot images comprises:
and acquiring the image information of the pre-shot picture for multiple times according to a preset shooting interval, a preset shooting duration or a preset shooting frequency to obtain multiple shot images.
5. The video shooting method according to claim 1, wherein the step of synthesizing the plurality of shot images to obtain the shot video includes:
and synthesizing the plurality of shot images according to a preset anti-shake algorithm to obtain a shot video.
6. A video camera, characterized in that the video camera comprises:
the device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining an anchor point position in a pre-shooting picture of a shooting device and a scene anchor point at the anchor point position in the pre-shooting picture according to an operation instruction input by a user when the operation instruction is received;
the adjusting unit is used for adjusting a pan-tilt of the shooting device to enable the scene anchor point to be located at the anchor point position in the process of moving the shooting device;
the shooting unit is used for obtaining the image information of the pre-shot picture for multiple times according to preset shooting parameters to obtain multiple shot images;
the synthesis unit is used for synthesizing the plurality of shot images to obtain shot videos;
the determining unit is specifically used for determining a preselected area in a pre-shooting picture of the shooting device according to a frame selection instruction when an operation instruction input by a user is received; automatically attaching the scene edge in the pre-shot picture according to the pre-selection area to obtain an operation area; determining the operation area as an anchor point position in the form of an area anchor point; and determining the scene anchor point at the anchor point position in a pre-shooting picture of the shooting device according to the operation instruction.
7. The video shooting device of claim 6, wherein the determining unit is specifically configured to determine an operation area corresponding to the operation instruction in a pre-shooting picture of the shooting device; determining an anchor point position corresponding to the operation area in the pre-shot picture; and determining a scene anchor point corresponding to the anchor point position in the pre-shot picture.
8. The video camera of claim 6, wherein the adjustment unit comprises:
a detection subunit, configured to detect a current position of the scene anchor in a pre-shot picture of the shooting device;
and the adjusting subunit is used for adjusting the pan-tilt of the shooting device according to the current position and the anchor point position so as to enable the scene anchor point to be positioned at the anchor point position.
9. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the electronic device to perform the video capturing method of any one of claims 1 to 5.
10. A readable storage medium having computer program instructions stored thereon, which when read and executed by a processor, perform the video capture method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010970885.3A CN111917989B (en) | 2020-09-15 | 2020-09-15 | Video shooting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010970885.3A CN111917989B (en) | 2020-09-15 | 2020-09-15 | Video shooting method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111917989A CN111917989A (en) | 2020-11-10 |
CN111917989B true CN111917989B (en) | 2022-01-21 |
Family
ID=73266994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010970885.3A Expired - Fee Related CN111917989B (en) | 2020-09-15 | 2020-09-15 | Video shooting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111917989B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113727003B (en) * | 2021-08-31 | 2023-08-01 | 浙江大华技术股份有限公司 | Cloud deck position self-checking method and device, storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5442397A (en) * | 1988-03-11 | 1995-08-15 | Canon Kabushiki Kaisha | Image sensing apparatus |
CN102104641A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Mobile phone and method for realizing 360DEG photographing |
CN108038417A (en) * | 2017-11-14 | 2018-05-15 | 上海歌尔泰克机器人有限公司 | Cloud platform control method, apparatus and system |
CN108713179A (en) * | 2017-09-18 | 2018-10-26 | 深圳市大疆创新科技有限公司 | Mobile article body controlling means, equipment and system |
CN110049226A (en) * | 2018-01-16 | 2019-07-23 | 飞狐信息技术(天津)有限公司 | A kind of image pickup method and system of panoramic pictures material |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107330917B (en) * | 2017-06-23 | 2019-06-25 | 歌尔股份有限公司 | The track up method and tracking equipment of mobile target |
WO2020107266A1 (en) * | 2018-11-28 | 2020-06-04 | 深圳市大疆创新科技有限公司 | Handheld gimbal and photographing control method thereof |
-
2020
- 2020-09-15 CN CN202010970885.3A patent/CN111917989B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5442397A (en) * | 1988-03-11 | 1995-08-15 | Canon Kabushiki Kaisha | Image sensing apparatus |
CN102104641A (en) * | 2009-12-18 | 2011-06-22 | 深圳富泰宏精密工业有限公司 | Mobile phone and method for realizing 360DEG photographing |
CN108713179A (en) * | 2017-09-18 | 2018-10-26 | 深圳市大疆创新科技有限公司 | Mobile article body controlling means, equipment and system |
CN108038417A (en) * | 2017-11-14 | 2018-05-15 | 上海歌尔泰克机器人有限公司 | Cloud platform control method, apparatus and system |
CN110049226A (en) * | 2018-01-16 | 2019-07-23 | 飞狐信息技术(天津)有限公司 | A kind of image pickup method and system of panoramic pictures material |
Also Published As
Publication number | Publication date |
---|---|
CN111917989A (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8988529B2 (en) | Target tracking apparatus, image tracking apparatus, methods of controlling operation of same, and digital camera | |
KR101297524B1 (en) | Response to detection of blur in an image | |
US20140092272A1 (en) | Apparatus and method for capturing multi-focus image using continuous auto focus | |
JP2007135115A (en) | Image processor, image processing method, program for image processing method and recording medium with record of program for image processing method | |
JP5279635B2 (en) | Image processing apparatus, image processing method, and program | |
US9973687B2 (en) | Capturing apparatus and method for capturing images without moire pattern | |
CN101938604A (en) | Image processing method and camera | |
EP2790397A1 (en) | Image processing device, image processing method, and program | |
JP5187035B2 (en) | Imaging apparatus, image processing apparatus, and image processing program | |
CN112637500B (en) | Image processing method and device | |
KR20150078275A (en) | Digital Photographing Apparatus And Method For Capturing a Moving Subject | |
JP2020522943A (en) | Slow motion video capture based on object tracking | |
CN110300268A (en) | Camera switching method and equipment | |
CN111917989B (en) | Video shooting method and device | |
US9686470B2 (en) | Scene stability detection | |
JP2009157130A (en) | Electronic camera | |
CN108833786B (en) | Mode control method and electronic equipment | |
CN106488128B (en) | Automatic photographing method and device | |
JP2016111561A (en) | Information processing device, system, information processing method, and program | |
CN111277750B (en) | Shooting control method and device, electronic equipment and computer storage medium | |
CN115334241B (en) | Focusing control method, device, storage medium and image pickup apparatus | |
JP2017005738A (en) | Image processor, image processing method, and program | |
CN113873160B (en) | Image processing method, device, electronic equipment and computer storage medium | |
CN117459830B (en) | Automatic zooming method and system for mobile equipment | |
US12141998B2 (en) | Electronic device with gaze-based autofocus of camera during video rendition of scene |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220121 |
|
CF01 | Termination of patent right due to non-payment of annual fee |