Video recording method, terminal and storage medium

文档序号:1116331 发布日期:2020-09-29 浏览:10次 中文

阅读说明:本技术 视频录制方法、终端及存储介质 (Video recording method, terminal and storage medium ) 是由 王泽楷 于 2020-06-16 设计创作,主要内容包括:本申请属于拍照技术领域,涉及一种视频录制方法、终端及计算机可读存储介质,该视频录制方法包括:S1:通过摄像头采集动作信息。S2:检测动作信息是否符合预设控制动作信息,若符合,则根据动作信息对视频执行控制操作;其中,控制操作包括执行控制动作和/或调整控制参数中的至少一种。因此,本申请可以让用户无需手动点击实体控制按键或者虚拟控制按键,就能够实现对视频或视频对应的录制功能进行控制,进而还能够避免因手动点击实体控制按键或者虚拟控制按键的动作影响视频录制作品的效果的情况发生。综上,本申请能够为用户提供一种视频录制功能的控制方式,实现提升用户体验感的目的。(The application belongs to the technical field of photographing and relates to a video recording method, a terminal and a computer readable storage medium, wherein the video recording method comprises the following steps: and S1, acquiring the action information through the camera. S2, detecting whether the action information accords with the preset control action information, if so, executing control operation on the video according to the action information; wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter. Therefore, the method and the device have the advantages that the user can control the recording function corresponding to the video or the video without manually clicking the entity control key or the virtual control key, and further avoid the situation that the effect of recording the video is influenced by the action of manually clicking the entity control key or the virtual control key. In conclusion, the method and the device for controlling the video recording function can provide a control mode of the video recording function for the user, and achieve the purpose of improving the experience of the user.)

1. A video recording method, characterized in that the video recording method comprises:

s1, acquiring action information through a camera;

s2, detecting whether the action information accords with the preset control action information, if so, executing control operation on the video according to the action information;

wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter.

2. The video recording method according to claim 1, prior to the step of S1, comprising:

carrying out image acquisition operation through a camera to obtain the action information;

and taking the action information as the preset control action information.

3. The video recording method according to claim 2, wherein in the step S2, the method includes:

and when the action information accords with the preset control action information, executing the control operation corresponding to the preset control action information.

4. The video recording method according to claim 1, wherein in the step S2, the preset control action information is set by a user or a system.

5. The video recording method according to claim 1, wherein in the step S2, the video includes a video being recorded or a video having been recorded.

6. The video recording method according to any one of claims 1 to 5, wherein in the step of S2, comprising:

executing the control operation on the recording function corresponding to the video according to the action information;

wherein the execution control action in the control operation comprises at least one of recording/cutting on, recording/cutting off, pausing, inserting and switching; and/or the presence of a gas in the gas,

wherein the adjusting of the control parameter in the control operation includes at least one of increasing the respective control parameter, decreasing the respective control parameter.

7. The video recording method according to claim 6, wherein the step of performing the control operation on the recording function corresponding to the video according to the motion information includes at least one of a recording switch control parameter, a special effect control parameter, an audio data control parameter, a filter control parameter, a beauty control parameter, a shooting color control parameter, a lens distance control parameter, and a motion speed control parameter.

8. The video recording method according to claim 6, wherein the step of performing the control operation on the recording function corresponding to the video according to the action information comprises:

and controlling a recording function corresponding to the video according to the action information to finish the current video recording operation, and executing corresponding control operation on the video according to the action information to acquire target video information.

9. The video recording method according to any one of claims 1 to 5, wherein in the step of S2, comprising:

executing corresponding first control operation on the video according to the action information;

after the step of S2, comprising:

acquiring second action information through the camera;

and detecting whether the second action information accords with the preset control action information, and if so, executing corresponding second control operation on the video according to the second action information.

10. The video recording method according to any one of claims 1 to 5, wherein in the step of S2, comprising:

controlling a recording function corresponding to the video to perform countdown operation according to the action information;

and carrying out video recording operation or finishing recording operation after the countdown operation is finished.

11. A terminal comprising a memory and a processor;

the processor is adapted to execute a computer program stored in the memory to implement the steps of the video recording method according to any of claims 1 to 10.

12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the video recording method according to any one of claims 1 to 10.

Technical Field

The present application relates to the field of photographing technologies, and in particular, to a video recording method, a terminal, and a computer-readable storage medium.

Background

Currently, many computer devices have video recording capabilities. Common computer devices with video recording functions include mobile phones, cameras, tablet computers, notebook computers, smart watches, and the like. People can record their lives and show themselves through the video recording function of the computer equipment, so that people often use the video recording function of the computer equipment in daily life.

However, currently, people can only control the video function of a computer device by manually operating physical control buttons or virtual control buttons, which results in poor user experience when using the video recording function.

In view of the above problems, those skilled in the art have sought solutions.

The foregoing description is provided for general background information and is not admitted to be prior art.

Disclosure of Invention

The technical problem to be solved by the present application is to provide a video recording method, a terminal and a computer readable storage medium for providing a control method of a video recording function for a user, so as to achieve the purpose of improving user experience.

The application is realized as follows:

the application provides a video recording method, which comprises the following steps: and S1, acquiring the action information through the camera. And S2, detecting whether the action information accords with the preset control action information, and if so, executing control operation on the video according to the action information. Wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter.

Further, before the step of S1, the method includes: and carrying out image acquisition operation through the camera to acquire action information. And taking the action information as preset control action information.

Further, in the step S2, the method includes: and when the action information accords with the preset control action information, executing the control operation corresponding to the preset control action information.

Further, in step S2, the preset control action information is set by the user or the system.

Further, in step S2, the video includes a video that is being recorded or a video that has been completely recorded.

Further, in step S2, the method includes performing a control operation on a recording function corresponding to the video according to the motion information. The execution control action in the control operation comprises at least one of recording/cutting on, recording/cutting off, pausing, inserting and switching. And/or wherein adjusting the control parameter in the control operation comprises at least one of increasing the respective control parameter, decreasing the respective control parameter.

And further, executing control operation on the recording function corresponding to the video according to the action information, wherein the control parameter comprises at least one of a recording switch control parameter, a special effect control parameter, an audio data control parameter, a filter control parameter, a beauty control parameter, a shooting color control parameter, a lens distance control parameter and an action speed control parameter.

Further, the step of executing the control operation on the recording function corresponding to the video according to the action information includes: and controlling the recording function corresponding to the video according to the action information to finish the current video recording operation, and executing corresponding control operation on the video according to the action information to acquire target video information.

Further, in the step S2, the method includes: and executing corresponding first control operation on the video according to the action information. After the step of S2, the method includes: and acquiring second action information through the camera. And detecting whether the second action information accords with the preset control action information, and if so, executing corresponding second control operation on the video according to the second action information.

Further, in the step S2, the method includes: and controlling the recording function corresponding to the video to perform countdown operation according to the action information. And carrying out video recording operation or finishing recording operation after the countdown operation is finished.

The application also provides a terminal comprising a memory and a processor. The processor is adapted to execute a computer program stored in the memory to implement the steps of the video recording method as described above.

The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the video recording method as described above.

The application provides a video recording method, a terminal and a computer readable storage medium, wherein the video recording method comprises the following steps: and S1, acquiring the action information through the camera. And S2, detecting whether the action information accords with the preset control action information, and if so, executing control operation on the video according to the action information. Wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter. Therefore, the action information can be collected through the camera, so that the action information can accord with the preset control action information, and the video is controlled according to the control information corresponding to the preset control action information, therefore, the user can control the recording function corresponding to the video or the video without manually clicking the entity control key or the virtual control key, and further the situation that the effect of recording the video is influenced by the action of manually clicking the entity control key or the virtual control key can be avoided. In conclusion, the method and the device for controlling the video recording function can provide a control mode of the video recording function for the user, and achieve the purpose of improving the experience of the user.

In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.

Drawings

Fig. 1 is a schematic flowchart of a video recording method according to a first embodiment of the present application;

fig. 2 is a first flowchart of a video recording method according to a second embodiment of the present application;

fig. 3 is a second flowchart of a video recording method according to a second embodiment of the present application

Fig. 4 is a schematic flowchart of a video recording method according to a third embodiment of the present application;

fig. 5 is a schematic structural diagram of a video recording apparatus according to a fourth embodiment of the present application;

fig. 6 is a schematic structural diagram of a terminal according to a fifth embodiment of the present application.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

The first embodiment:

fig. 1 is a first flowchart of a video recording method according to a first embodiment of the present application. For a clear description of the video recording method provided in the first embodiment of the present application, please refer to fig. 1.

A video recording method provided in a first embodiment of the present application includes:

and S1, acquiring the action information through the camera.

S2, detecting whether the action information accords with the preset control action information, if so, executing control operation on the video according to the action information; wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter.

In one embodiment, the step S2 of detecting whether the motion information matches the preset control motion information, and if so, performing a control operation on the video according to the motion information may include, but is not limited to: if not, the process returns to step S1 or the control operation is not executed.

In an embodiment, the execution control action in the control operation includes at least one of record/cut on, record/cut off, pause, insert, and switch, specifically, record/cut on includes turning on a record, or turning on a cut action; recording/cutting off comprises closing recording, or closing cutting action; pausing includes pausing the recording action; the insertion includes: inserting special effects, audio or expression actions; the switching comprises the following steps: switching music, switching special effects, or switching expression actions. And/or wherein adjusting the control parameter in the control operation comprises at least one of increasing the respective control parameter, decreasing the respective control parameter. The control parameters comprise at least one of a recording switch control parameter, a special effect control parameter, an audio data control parameter, a filter control parameter, a beauty control parameter, a shooting color control parameter, a lens distance control parameter and an action speed control parameter.

In one embodiment, in step S2, it is detected whether the motion information matches the preset control motion information, and if so, a control operation is performed on the video according to the motion information, where the video includes a video being recorded or a video that has been recorded. Therefore, the video recording method provided by the embodiment can control both the video in recording and the existing video.

In one embodiment, in step S2, detecting whether the motion information matches the preset control motion information, and if so, performing a control operation on the video according to the motion information may include, but is not limited to: and when the action information accords with the preset control action information, executing the control operation corresponding to the preset control action information.

In one embodiment, in step S2, it is detected whether the motion information matches the preset control motion information, and if so, the preset control motion information is set by the user or the system in performing the control operation on the video according to the motion information. In the case where the preset control action information is set by the user, for example, before the action information is collected by the camera in step S1, the preset control action information may include, but is not limited to: carrying out image acquisition operation through a camera to obtain action information; and taking the action information as preset control action information.

In one embodiment, in step S2, detecting whether the motion information matches the preset control motion information, and if so, performing a control operation on the video according to the motion information includes performing a control operation on a recording function corresponding to the video according to the motion information. The execution control action in the control operation comprises at least one of recording/cutting on, recording/cutting off, pausing, inserting and switching. And/or wherein adjusting the control parameter in the control operation comprises at least one of increasing the respective control parameter, decreasing the respective control parameter.

In an embodiment, the step of executing a control operation on a recording function corresponding to the video according to the motion information, wherein the control parameter includes at least one of a recording switch control parameter, a special effect control parameter, an audio data control parameter, a filter control parameter, a beauty control parameter, a shooting color control parameter, a lens distance control parameter, and a motion speed control parameter.

In an embodiment, the step of performing the control operation on the recording function corresponding to the video according to the motion information may include, but is not limited to: and controlling the recording function corresponding to the video according to the action information to finish the current video recording operation, and executing corresponding control operation on the video according to the action information to acquire target video information. For example, the recording function corresponding to the video is controlled according to the action information to end the current video recording operation, and the original video is obtained. A video segment containing motion information in an original video is detected. The video clip is subjected to a preset operation (e.g., deletion or concealment) to acquire target video information.

In one embodiment, in step S2, detecting whether the motion information matches the preset control motion information, and if so, performing a control operation on the video according to the motion information may include, but is not limited to: and executing corresponding first control operation on the video according to the action information. In step S2, it is detected whether the motion information matches the preset control motion information, and if yes, after performing a control operation on the video according to the motion information, the method may include, but is not limited to: and acquiring second action information through the camera. And detecting whether the second action information accords with the preset control action information, and if so, executing corresponding second control operation on the video according to the second action information. Therefore, in this embodiment, different control operations may be performed on the video by different action information.

In one embodiment, in step S2, detecting whether the motion information matches the preset control motion information, and if so, performing a control operation on the video according to the motion information may include, but is not limited to: and controlling the recording function corresponding to the video to perform countdown operation according to the action information. And carrying out video recording operation or finishing recording operation after the countdown operation is finished.

A video recording method provided in a first embodiment of the present application includes: and S1, acquiring the action information through the camera. S2, detecting whether the action information accords with the preset control action information, if so, executing control operation on the video according to the action information; wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter. Therefore, the video recording method provided by the first embodiment of the present application can acquire the action information through the camera, so that the action information can conform to the preset control action information, and the video is controlled and operated according to the control information corresponding to the preset control action information, and therefore, the video recording method provided by the first embodiment of the present application can enable the user to realize the control of the recording function corresponding to the video or video without manually clicking the entity control key or the virtual control key, and further avoid the occurrence of the situation that the effect of recording the works of the video is affected by the action of manually clicking the entity control key or the virtual control key. In summary, the video recording method provided by the first embodiment of the present application can provide a control mode of a video recording function for a user, and achieve the purpose of improving user experience.

Second embodiment:

fig. 2 is a first flowchart of a video recording method according to a second embodiment of the present application. Fig. 3 is a second flowchart of a video recording method according to a second embodiment of the present application. For a clear description of the video recording method provided in the second embodiment of the present application, please refer to fig. 2 and fig. 3.

A video recording method provided in a second embodiment of the present application includes:

and S101, acquiring action information through a camera.

In one embodiment, in the step S101, in collecting motion information through a camera, the collected motion information may include, but is not limited to, at least one of facial motion information, gesture motion information, limb motion information, and the like.

In one embodiment, before collecting the action information in step S101, the method may include, but is not limited to: and carrying out selection operation on the video recording function to start the camera.

In an embodiment, before the step S101 of collecting the motion information by the camera, the method may include, but is not limited to: the image information is detected to acquire motion information. And taking the action information as control action information corresponding to the recording function corresponding to the video.

In an embodiment, before the step of detecting the image information to obtain the motion information, the step of detecting the image information may include, but is not limited to: acquiring image information according to the imported video; or the camera is used for image acquisition operation to acquire image information.

In an embodiment, the image information is detected to obtain the motion information, for example, the image information is subjected to a motion feature extraction operation to obtain the motion information, for example, a gesture video imported by a user is received to obtain the image information, and the image information is subjected to a motion feature extraction operation to obtain the gesture motion information. For another example, the image information is acquired after receiving the body motion video imported by the user, and the motion feature extraction operation is performed on the image information to acquire the body motion information.

In an embodiment, after the image capturing operation is performed by the camera to obtain the image information, the image information is detected to obtain the motion information, for example, the gesture motion of the user is captured by the camera to obtain the image information, and the motion feature extracting operation is performed on the obtained image information to obtain the gesture motion information. For another example, the body movement of the user is captured by a camera to obtain image information, and the motion feature extraction operation is performed on the obtained image information to obtain the body movement information. For example, the camera captures facial movements of the user to acquire image information, and performs a movement feature extraction operation on the acquired image information to acquire facial movement information.

In one embodiment, the step of detecting the image information to obtain the motion information may include, but is not limited to: and receiving an action information entry instruction. And detecting the image information according to the action information input instruction to acquire action information.

In one embodiment, the step of using the motion information as the control motion information corresponding to the video recording function may include, but is not limited to: and receiving a correlation instruction, wherein the correlation instruction comprises control information. And associating the action information with the control information according to the association instruction to acquire the control action information.

In one embodiment, the control information included in the association command may be, but is not limited to, video recording start control information, special effect switching control information, audio data switching control information, filter switching control information, beauty effect control information shooting brightness control information, lens far and near control information, or video recording end control information.

In an embodiment, before the step S101 of collecting the motion information by the camera, the method may include, but is not limited to: a selected operation for the control action information is received. A control action for controlling the video recording function is selected according to the selected operation.

And S102, correspondingly controlling the recording function corresponding to the video according to the action information.

In one embodiment, in step S102, the controlling the recording function corresponding to the video according to the motion information may include, but is not limited to: and acquiring the associated control information according to the action information. And correspondingly controlling the recording function corresponding to the video according to the control information.

In an embodiment, in the step S102, the controlling the recording function corresponding to the video according to the motion information may include, but is not limited to, controlling the recording function corresponding to the video according to the motion information to start a recording operation and inserting a preset special effect and/or preset audio data.

In an embodiment, in the step of controlling a recording function corresponding to the video according to the motion information to perform a recording start operation and inserting the preset special effect and/or the preset audio data, the method may include, but is not limited to: and acquiring video recording starting control information associated with the action information. And controlling a recording function corresponding to the video to perform recording starting operation according to the video recording starting control information, and inserting preset special effects and/or preset audio data. Therefore, the video recording method provided by the embodiment can enable the recording function corresponding to the video to be more entertaining.

In an embodiment, the inserted preset special effects and/or preset audio data may be, in step S101: the action information is collected through the camera and is set before, and the default setting of the recording function corresponding to the video can also be set. Among these, the preset special effects are, for example, a snowflake special effect (i.e., snowflakes floating in the video image), a pig head special effect (i.e., a head portrait of a person in the video image is changed into pig head), a wig special effect (i.e., a hair of a person in the video image is changed into a preset wig pattern), and the like. Among them, preset audio data such as music, dubbing, tune, and the like.

In one embodiment, the predetermined audio data may be, but is not limited to, being obtained from a local audio library or server.

In one embodiment, in step S102, the controlling the recording function corresponding to the video according to the motion information may include, but is not limited to: and controlling the recording function corresponding to the video to perform countdown operation according to the action information. And carrying out video recording operation or finishing recording operation after the countdown operation is finished. Therefore, the video recording method provided by this embodiment can perform countdown for starting the recording operation after obtaining the action information, so as to formally start the video recording operation (the video recording operation may be, but is not limited to, a video recording operation with a fixed duration) when the countdown is finished, thereby avoiding a control action (for example, a control action corresponding to the start of the recording operation) that is unrelated to the video content desired by the user in the obtained video information, and further ensuring that the recording effect of the video meets the requirements of the user.

In one embodiment, in step S102, the controlling the recording function corresponding to the video according to the motion information may include, but is not limited to: and controlling the recording function corresponding to the video according to the action information to finish the current video recording operation and acquiring the original video information. Video segments containing motion information in the original video information are detected. And carrying out preset operation on the video clip to obtain target video information.

In an embodiment, in the step of performing a preset operation on the video segment to obtain the target video information, the preset operation may be, but is not limited to, a deletion operation, a hiding operation, a personalized video segment covering operation, or the like. And performing the personalized video clip covering operation, namely covering the video clip containing the action information by using a preset personalized video clip to acquire the target video information. Therefore, the video recording method provided by the embodiment can guarantee the video effect of the video file.

In other embodiments, in step S102, the controlling the recording function corresponding to the video according to the motion information may include, but is not limited to: and controlling the recording function corresponding to the video to perform control operation aiming at the control parameter according to the action information, wherein the control operation can be but is not limited to at least one of starting the corresponding control parameter, closing the corresponding control parameter, switching the corresponding control parameter, increasing the corresponding control parameter, weakening the corresponding control parameter and the like.

In other embodiments, in the step of controlling the recording function corresponding to the video according to the motion information to perform a control operation on a control parameter, where the control parameter may include, but is not limited to, at least one of a recording switch control parameter, a special effect control parameter, an audio data control parameter, a filter control parameter, a beauty control parameter, a shooting brightness control parameter, a lens distance control parameter, a motion speed control parameter, and the like.

In other embodiments, the present embodiment may be, but not limited to, implement record switch control, special effect control (on, off, switch, intensify, weaken), audio data control (on, off, switch, increase, decrease), filter control (on, off, switch, intensify, weaken), beauty control information shooting brightness control (on, off, switch, intensify, weaken), lens distance control (on, off, zoom in, zoom out), or action speed control (on, off, speed up, slow down), and the like.

In an embodiment, referring to fig. 2, in step S102, the controlling the recording function corresponding to the video according to the motion information may include, but is not limited to: s102': and performing corresponding first control on the recording function corresponding to the video according to the action information. After the corresponding control is performed on the recording function corresponding to the video according to the action information in step S102, the method may include, but is not limited to: and S103, collecting second action information. And S104, performing corresponding second control on the recording function corresponding to the video according to the second action information.

In one embodiment, the second motion information may be the same as the motion information. After the corresponding control is performed on the recording function corresponding to the video according to the action information in step S102, the method may include, but is not limited to: and collecting the action information again. And performing corresponding second control on the recording function corresponding to the video according to the action information acquired again. For example, the action information corresponding to the "OK" gesture is collected; controlling a recording function corresponding to the video according to the action information to perform recording starting operation and insert preset music; and after the action information corresponding to the 'OK' gesture is collected again, controlling the recording function corresponding to the video according to the action information collected again to finish the current recording operation, and storing the video information.

In one embodiment, step S102': the performing the corresponding first control on the function corresponding to the video recording according to the motion information may include, but is not limited to: and controlling a recording function corresponding to the video to start recording operation according to the action information.

In an embodiment, after the step of controlling the recording function corresponding to the video to start the recording operation according to the motion information, the method may include, but is not limited to: and collecting second action information. And performing corresponding second control on the recording function corresponding to the video according to the second action information. For example, after the second motion information is acquired, a 'love heart' type animation special effect is generated according to the position of the finger in the video image of the second motion information. For another example, after the second motion information is collected, the first music corresponding to the video image being played is switched to the second music according to the second motion information, and the second music is played.

In an embodiment, the step of performing corresponding second control on the recording function corresponding to the video according to the second motion information may include, but is not limited to: and correspondingly controlling the recording function corresponding to the video according to the second control information corresponding to the second action information.

In an embodiment, the second control information corresponding to the second action information may include, but is not limited to: special effect switching control information, audio data switching control information, filter switching control information, beauty effect control information, shooting brightness control information, lens far and near control information, video recording end control information, and the like.

In an embodiment, before the step S101 of collecting the motion information by the camera, the method may further include, but is not limited to: and opening the action auxiliary module. The motion assistance mode includes a dance motion assistance mode, a photographing motion assistance mode, and the like. In step S102, the corresponding control of the recording function corresponding to the video according to the action information may include, but is not limited to: and displaying a preset limb auxiliary reference outline in a preview picture corresponding to the recording function corresponding to the video according to the action information, and simultaneously controlling the recording function corresponding to the video to start recording operation. Specifically, when the action mode is the dance action mode, the preset limb auxiliary reference outline displayed in the preview picture changes along with the increase of the video shooting progress so as to guide the user to perform corresponding action adjustment according to the continuously changing limb auxiliary reference outline, so that the dance teaching of the user can be realized, the dance action of the user can be corrected, and the experience of the user using the video recording function can be improved.

In an embodiment, technical features of the video recording method provided in this embodiment and technical features of the video recording method provided in the first embodiment may be combined arbitrarily without contradiction, and will not be described herein again.

The video recording method provided in the second embodiment of the present application may include, but is not limited to: and S101, acquiring action information through a camera. And S102, correspondingly controlling the recording function corresponding to the video according to the action information. Therefore, the video recording method provided by the second embodiment of the present application can acquire the action information through the camera, so as to perform corresponding control on the recording function corresponding to the video according to the control information corresponding to the action information, and therefore, the video recording method provided by the second embodiment of the present application can enable a user to realize control on the recording function corresponding to the video without manually clicking an entity control key or a virtual control key, and further can avoid the occurrence of a situation that the effect of recording the work of the video is affected by the action of manually clicking the entity control key or the virtual control key. In summary, the video recording method provided in the second embodiment of the present application can provide a control manner of a video recording function for a user, and achieve the purpose of improving the user experience.

The third embodiment:

fig. 4 is a flowchart illustrating a video recording method according to a third embodiment of the present application. For a clear description of the video recording method provided in the third embodiment of the present application, please refer to fig. 4.

A video recording method provided in a third embodiment of the present application includes:

s201: and acquiring action information through the camera.

S202: and executing control operation on the recording function corresponding to the video according to the action information, wherein the control operation comprises at least one of opening, closing, switching, increasing and weakening corresponding control parameters.

In one embodiment, in step S202, the control parameter may include, but is not limited to, at least one of a record switch control parameter, a special effect control parameter, an audio data control parameter, a filter control parameter, a beauty control parameter, a shooting brightness control parameter, a lens distance control parameter, a motion speed control parameter, and the like.

In one embodiment, in step S202: in executing the control operation on the recording function corresponding to the video according to the action information, the method may include, but is not limited to: and executing a first control operation on the recording function corresponding to the video according to the first action information. Or executing a second control operation on the video recording function according to the second action information.

In an embodiment, technical features of the video recording method provided in this embodiment and technical features of the video recording method provided in the first embodiment or the second embodiment may be combined arbitrarily without contradiction, and will not be described herein again.

A video recording method provided in a third embodiment of the present application includes: s201: and collecting action information. S202: and executing control operation on the recording function corresponding to the video according to the action information, wherein the control operation comprises at least one of opening, closing, switching, increasing and weakening corresponding control parameters. Therefore, the video recording method provided in the third embodiment of the present application can acquire the motion information through the camera, so as to control various control parameters in the recording function corresponding to the video according to the control information corresponding to the motion information, and thus the video recording method provided in the third embodiment of the present application can achieve, but is not limited to, recording on-off control, special effect control (on, off, switch, reinforce, weaken), audio data control (on, off, switch, increase, decrease), filter control (on, off, switch, reinforce, weaken), beauty control information shooting brightness control (on, off, switch, reinforce, weaken), lens distance control (on, off, zoom in, zoom out), or motion speed control (on, off, accelerate, slow down), and so on.

The fourth embodiment:

fig. 5 is a schematic structural diagram of a video recording apparatus according to a fourth embodiment of the present application. For a clear description of the video recording apparatus according to the fourth embodiment of the present application, please refer to fig. 5.

A video recording apparatus according to a fourth embodiment of the present application includes: an acquisition module M1 and a control module M2.

The acquisition module M1 is configured to acquire motion information through a camera.

In an embodiment, the motion information collected by the collection module M1 may include, but is not limited to, at least one of facial motion information, gesture motion information, limb motion information, and the like.

The control module M2 performs corresponding control on the recording function corresponding to the video according to the motion information.

In an embodiment, the control module M2 may be configured to obtain associated control information according to the motion information, and accordingly control a recording function corresponding to the video according to the control information.

In an embodiment, the control module M2 may be configured to control a recording function corresponding to the video to perform a recording start operation and insert a preset special effect and/or preset audio data according to the motion information.

In an embodiment, the control module M2 may be configured to acquire video recording start control information associated with the motion information, control a recording function corresponding to the video to perform a recording start operation according to the video recording start control information, and insert a preset special effect and/or preset audio data. Therefore, the video recording device provided by the embodiment can enable the recording function corresponding to the video to be more entertaining.

In one embodiment, the predetermined audio data may be, but is not limited to, being obtained from a local audio library or server.

In an embodiment, the control module M2 may be configured to control the recording function corresponding to the video to perform a countdown operation according to the motion information, and perform the video recording operation after the countdown operation is finished. Therefore, the video recording device provided in this embodiment can perform countdown for starting the recording operation after acquiring the action information, so as to formally start the video recording operation (the video recording operation may be, but is not limited to, a video recording operation with a fixed duration) when the countdown is finished, thereby avoiding a control action (for example, a control action corresponding to the start of the recording operation) of the obtained video information that is unrelated to the video content desired by the user, and further ensuring that the recording effect of the video meets the requirements of the user.

In an embodiment, the control module M2 may be configured to control a recording function corresponding to a video to end a current video recording operation according to the motion information, and acquire original video information, so as to detect a video segment containing the motion information in the original video information, and perform a preset operation on the video segment to acquire target video information.

In an embodiment, the preset operation may be, but is not limited to, a delete operation, a hide operation, or a personalized video clip overlay operation. In the personalized video clip overlaying operation, the control module M2 overlays the video clip containing the motion information with the preset personalized video clip to obtain the target video information. Therefore, the video recording device provided by the embodiment can guarantee the video effect of the video file.

In an embodiment, the control module M2 may be configured to perform a first control on a recording function corresponding to a video according to the motion information. Specifically, the video recording apparatus provided in this embodiment may further include a second capture module M1 and a second control module M2. The second collecting module M1 is configured to collect the second motion information. The second control module M2 is configured to perform corresponding second control on the recording function corresponding to the video according to the second action information.

In an embodiment, the second capturing module M1 may be, but is not limited to, the same as the capturing module M1, and the second motion information may be, but is not limited to, the same as the motion information.

In an embodiment, the second control module M2 may include, but is not limited to, performing corresponding control on a function corresponding to the video recording according to second control information corresponding to the second motion information. The second control information corresponding to the second action information may include, but is not limited to: special effect switching control information, audio data switching control information, filter switching control information, beauty effect control information, shooting brightness control information, lens far and near control information, video recording end control information, and the like.

In an embodiment, the video recording apparatus provided in this embodiment may further include, but is not limited to, an operation receiving module, configured to perform a selected operation on a corresponding recording function of the video to turn on the camera before the capturing module M1 captures the motion information.

In an embodiment, the video recording apparatus provided in this embodiment may further include, but is not limited to, an action information entry module, configured to, before the capture module M1 captures the action information, detect image information to obtain the action information, and add the action information to a control action list corresponding to the recording function corresponding to the video.

In an embodiment, the action information entry module may be configured to perform an action feature extraction operation on the imported image information or the currently acquired image information to obtain the action information.

In an embodiment, the motion information entry module performs a motion feature extraction operation on the imported image information to obtain the motion information, for example, after the motion information entry module receives a conventional gesture photo imported by a user, the motion feature extraction operation is performed on the conventional gesture photo to obtain the gesture motion information. For another example, after receiving the limb motion photo imported by the user, the motion information entry module performs motion feature extraction operation on the limb motion photo to acquire the limb motion information.

In an embodiment, the action information entry module performs an action feature extraction operation on currently acquired image information to obtain action information, for example, the action information entry module acquires a gesture action image of a user through the image acquisition device, and performs an action feature extraction operation on the acquired gesture action image to obtain gesture action information. For another example, the motion information entry module acquires a limb motion image of the user through the image acquisition device, and performs motion feature extraction operation on the acquired limb motion image to acquire limb motion information. For example, the action information entry module collects a facial action image of the user through the image collection device, and performs action feature extraction operation on the collected facial action image to acquire action information.

In an embodiment, the video recording apparatus provided in this embodiment may further include, but is not limited to, an instruction receiving module, configured to receive an action information entry instruction, so that the action information entry module detects image information to obtain an operation of action information.

In an embodiment, the video recording apparatus provided in this embodiment may further include, but is not limited to, a control action selection module, configured to select, before the capturing module M1 captures the action information, the action information in the control action list according to a selection operation after receiving the selection operation for the control action list, as the control action information of the recording function corresponding to the video.

In an embodiment, the control action selection module may include a correlation unit, configured to, after selecting the action information in the control action list according to the selected operation, and when the correlation instruction including the control information is acquired, correlate the action information with the control information according to the correlation instruction, so as to use the action information as the control action information of the recording function corresponding to the video.

In one embodiment, the control information included in the association command may be, but is not limited to, video recording start control information, special effect switching control information, audio data switching control information, filter switching control information, beauty effect control information shooting brightness control information, lens far and near control information, or video recording end control information.

In an embodiment, for a specific implementation and beneficial effects of the video recording apparatus provided in this embodiment, reference may be made to the video recording method provided in the second embodiment of the present application, which will not be described herein again.

A video recording apparatus according to a fourth embodiment of the present application includes: and the acquisition module M1 is used for acquiring the action information through the camera. And the control module M2 correspondingly controls the recording function corresponding to the video according to the action information. Therefore, the video recording device provided in the fourth embodiment of the present application enables the control module M2 to perform corresponding control on the recording function corresponding to the video according to the control information corresponding to the motion information after the motion information is collected by the collection module M1 through the camera, so that the video recording device provided in the fourth embodiment of the present application can enable the user to realize control on the recording function corresponding to the video without manually clicking the entity control key or the virtual control key, and further can avoid the occurrence of a situation that the effect of recording the works of the video is affected by the action of manually clicking the entity control key or the virtual control key. In summary, the video recording apparatus provided in the fourth embodiment of the present application can provide a control manner of a video recording function for a user, so as to achieve the purpose of improving the user experience.

Fifth embodiment:

fig. 6 is a schematic structural diagram of a terminal according to a fifth embodiment of the present application. For a clear description of the terminal 1 provided in the fifth embodiment of the present application, please refer to fig. 6.

A fifth embodiment of the present application provides a terminal 1, including: a processor a101 and a memory a201, wherein the processor a101 is configured to execute a computer program a6 stored in the memory a201 to implement the steps of the video recording method as described in the first embodiment, the second embodiment or the third embodiment.

In an embodiment, the terminal 1 provided in this embodiment may include at least one processor a101 and at least one memory a 201. Wherein, at least one processor A101 may be referred to as a processing unit A1, and at least one memory A201 may be referred to as a memory unit A2. Specifically, the storage unit a2 stores a computer program A6, and when the computer program A6 is executed by the processing unit a1, the terminal 1 provided by this embodiment implements the steps of the video recording method described in the first embodiment, the second embodiment, or the third embodiment, for example, step S1, which is to collect motion information by a camera; step S2, detecting whether the action information accords with the preset control action information, if so, executing control operation on the video according to the action information; wherein the control operation comprises at least one of performing a control action and/or adjusting a control parameter. As another example, step S101 shown in FIG. 2 is to collect motion information through a camera; and S102, correspondingly controlling the recording function corresponding to the video according to the action information. Also for example, step S102' shown in fig. 3: performing corresponding first control on the recording function corresponding to the video according to the action information; step S103, collecting second action information; and step S104, performing corresponding second control on the recording function corresponding to the video according to the second action information.

In an embodiment, the terminal 1 provided in the present embodiment may include a plurality of memories a201 (referred to as a storage unit A2 for short), and the storage unit A2 may include, for example, a Random Access Memory (RAM) and/or a cache memory and/or a Read Only Memory (ROM), and/or the like.

In one embodiment, terminal 1 further includes a bus connecting the various components (e.g., processor A101 and memory A201, touch-sensitive display A3, image capture device A5, etc.).

Specifically, the image capturing device a5 in the terminal provided by the present embodiment may be used to capture motion information. Wherein the motion information may include, but is not limited to, gesture motion information, limb motion information, facial motion information, and the like.

In one embodiment, the terminal 1 in this embodiment may further include a communication interface (e.g., I/O interface a4), which may be used for communication with an external device.

In an embodiment, the terminal 1 provided in this embodiment may further include a communication device. Wherein the communication device may be, but not limited to, used for communicating with a server or other terminals.

The terminal 1 provided in the fifth embodiment of the present application includes a memory a101 and a processor a201, and the processor a101 is configured to execute a computer program a6 stored in the memory a201 to implement the steps of the video recording method described in the first embodiment, the second embodiment, or the third embodiment, so that the terminal 1 provided in this embodiment can enable a user to control a video recording function without manually clicking an entity control key or a virtual control key, and therefore, the terminal 1 provided in this embodiment can achieve a purpose of improving a user experience of using the video recording function.

The fifth embodiment of the present application further provides a computer-readable storage medium, which stores a computer program a6, and when being executed by the processor a101, the computer program a6 implements the steps of the video recording method according to the first embodiment, the second embodiment, or the third embodiment, for example, the steps shown in fig. 1 are S1 to S2.

In an embodiment, the computer readable storage medium provided by the embodiment may include any entity or device capable of carrying computer program code, a recording medium, such as ROM, RAM, magnetic disk, optical disk, flash memory, and the like.

The fifth embodiment of the present application provides a computer program a6 stored in a computer-readable storage medium, which when executed by a processor a101, can achieve the purpose of improving the experience of a user using a video recording function.

Embodiments of the present application also provide a computer program product, which includes computer program code, when the computer program code runs on a computer, the computer is caused to execute the method as described in the above various possible embodiments.

An embodiment of the present application further provides a chip, which includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device in which the chip is installed executes the method described in the above various possible embodiments.

The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

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, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.

It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.

It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.

The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像处理方法、装置、设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类