A video editing system based on deep learning
Through a video editing system based on deep learning, combined with face and account password verification, it analyzes user editing habits and provides automatic editing mode, solving the problem that the existing system requires manual editing and is easy to be stolen, and achieves fast and safe video editing. process.
Patent Information
- Application Number
- CN202111097735.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-18
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-09-18
AI Technical Summary
The existing video editing system requires users to manually edit, and the edited videos are easily stolen, affecting the use of the system.
A video editing system based on deep learning is designed, including user login module, identity verification module, video upload module, user analysis module, automatic editing module, manual editing module, editing habit collection module, model generation module, video export module and The video storage module analyzes user editing habits through face information and account password verification, provides an automatic editing mode, and performs strict identity verification during login and video extraction.
It greatly speeds up video editing, reduces the risk of video theft, ensures that automatically edited videos meet user expectations, and avoids system unavailability or video extraction failure caused by a single verification failure.
Smart Images

Figure CN113868609B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of video editing, and in particular to a video editing system based on deep learning. Background Art
[0002] Video editing refers to the process of first recording the desired image with a camera, and then using video editing software on a computer to make the image into a disc. A video editing system is used in the video editing process. The video editing system is a system that performs non-linear editing of video sources. The system remixes the added pictures, background music, special effects, scenes and other materials with the video, cuts and merges the video source, and generates new videos with different expressiveness through secondary encoding.
[0003] The existing video editing system requires users to perform manual editing, and the edited videos are easily stolen, which has a certain impact on the use of the video editing system. Therefore, a video editing system based on deep learning is proposed. Summary of the invention
[0004] The technical problem to be solved by the present invention is: how to solve the problem that the existing video editing system requires users to perform manual editing, and the edited videos are easily stolen, which has a certain impact on the use of the video editing system. A video editing system based on deep learning is provided.
[0005] The present invention solves the above technical problems through the following technical solutions, which include a user login module, an identity authentication module, a video upload module, a user analysis module, an automatic editing module, a manual editing module, an editing habit acquisition module, a model generation module, a video export module and a video storage module;
[0006] The user login module is used to collect real-time login information when the user logs into the system, and the real-time login information includes face image information and account password information;
[0007] The identity information of the user who is allowed to log in is stored in the identity authentication module, and the real-time login information is sent to the identity authentication module. The identity authentication module verifies the real-time login information. After the verification is passed, the user is allowed to use the video upload module to upload the video;
[0008] The video upload module is used for users to upload videos to be edited, and the user analysis module is used to analyze the historical information of the number of times users edit, and divide users into new information users and old users;
[0009] When the user is a new user, the video to be edited imported by the user is sent to the manual editing module, and the manual editing module is used for the user to manually edit the video. The editing habit collection module is used to collect the user's editing habit information and send the editing habit information to the model generation module to generate automatic editing model information. After the user uses the manual editing video for a preset number of times, the automatic editing model is updated;
[0010] When the user information is an old user, automatic editing recommendation information is generated and sent to the user. After the user replies to confirm, the video to be edited is sent to the automatic editing module, and the automatic editing module edits the video according to the automatic editing model generated by the model generation module;
[0011] The videos edited by the automatic editing module and the manual editing module are exported through the video export module, and the video export module imports the videos into the video storage module for export. Authenticated users are allowed to extract the videos in the video storage module.
[0012] Furthermore, the authentication module's authentication method includes face information authentication and account password authentication. When either the face information authentication or the account password authentication is passed, the user is allowed to log in to the system to extract and edit videos.
[0013] Furthermore, the specific process of the face information verification is as follows:
[0014] Step 1: extracting the real-time face image information of the user when logging in, and extracting features from it to obtain the first feature area and the second feature area;
[0015] Step 2: After obtaining the first feature region and the second feature region, the areas of the first feature region and the second feature region are calculated to obtain the first verification parameter M1 and the second verification parameter M2;
[0016] Step 3: Use the formula (M1+M2) / (M1-M2) / (M1 / M2)=M 总 , get the real-time verification parameter M 总 ;
[0017] Step 4: Extract the pre-stored user verification parameter M 预 , calculate the real-time verification parameter M 总 With user authentication parameter M 预 The difference between them is M 差 , when M 差 When it is 0 or less than the preset value, the verification is passed.
[0018] Furthermore, the first feature area and the second feature area are extracted as follows:
[0019] Step (1): extracting the collected real-time facial image information, and extracting a photo with the highest definition including facial features;
[0020] Step (2): mark the outer corners of the two eyes as points A1 and A2, mark the two corners of the mouth as points A3 and A4 respectively, mark the tip of the nose as point A5, and mark the lowest points of the two earlobes as points A6 and A7, where point A1 and point A6 are on the same side, and point A2 and point A7 are on the same side;
[0021] Step (3): connect point A1 and point A2 to obtain line segment L1, connect point A1 and point 6 to obtain line segment L2, connect point A6 and point A7 to obtain line segment L3, connect point A7 and point A2 to obtain line segment L4, and line segments L1, L2, L3 and L4 form a trapezoid Mm1, i.e., the first feature area;
[0022] Step (4), connecting point A3, point A4, and point A5 in order to obtain line segments W1, W2, and W3, and the line segments W1, W2, and W3 form a triangle Mm2, i.e., the second feature area Mm2;
[0023] Step (5): After measuring the length of line segment L1, the length of line segment L3 and the distance between line segment L1 and line segment L3, line segment L1 is marked as H, and the first verification parameter M1 is calculated by the formula (L+L2)*H / 2=M1;
[0024] Step (6): Make a line segment W4 perpendicular to line segment W2 with point A3 as the endpoint, measure the length of line segment W4 and the length of line segment W2, and then calculate the second verification parameter M2 using the formula (W4+W2) / 2=M2.
[0025] Furthermore, the specific process of the account and password verification is as follows: the account and password entered by the user are extracted, and while the user is entering his account and password, the system records the total time of the user entering the account and password, marking it as T 实 , when the total time length of the real-time account and password is T 实 The preset account password time T 预 The difference between 差 , when T 差 When it is less than the preset value, the verification is passed.
[0026] Furthermore, the editing habit collection module is used to collect the number of times and parameter information of each function used by the user each time the user performs video editing, and the number of types of functions is marked as G, and the number of parameter information is marked as Y. When the number of times any function and parameter is used is greater than a preset value, the function is extracted and marked as Gi and Yi, i=1...n, and all functions and parameters whose number of uses is greater than the preset value are integrated to obtain the user editing habit information;
[0027] The automatic editing model is an instruction generated after integrating the user's editing habit information.
[0028] Furthermore, the specific process of distinguishing the new user from the old user is as follows: when the number of times a user uses the system is less than a preset value, he is a new user, otherwise he is an old user.
[0029] Compared with the prior art, the present invention has the following advantages: the video editing system based on deep learning can push an automatic editing mode to the user according to the user's video editing habits, which can greatly speed up the video editing speed, and the automatic editing mode changes according to the different usage habits of the user each time, ensuring that the automatically edited video meets the user's estimated goals. At the same time, strict identity authentication is required when logging in to the system and extracting videos. The setting of identity authentication can effectively reduce the occurrence of theft of edited videos, and the setting of the two verification methods can avoid the situation where the system cannot be used or the edited video cannot be extracted due to a single verification failure, making the system more worthy of popularization and use. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a system block diagram of the present invention. DETAILED DESCRIPTION
[0031] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given, but the protection scope of the present invention is not limited to the following embodiment.
[0032] like Figure 1 As shown, this embodiment provides a technical solution: a video editing system based on deep learning, including a user login module, an identity authentication module, a video upload module, a user analysis module, an automatic editing module, a manual editing module, an editing habit acquisition module, a model generation module, a video export module and a video storage module;
[0033] The user login module is used to collect real-time login information when the user logs into the system, and the real-time login information includes face image information and account password information;
[0034] The identity information of the user who is allowed to log in is stored in the identity authentication module, and the real-time login information is sent to the identity authentication module. The identity authentication module verifies the real-time login information. After the verification is passed, the user is allowed to use the video upload module to upload the video;
[0035] The video upload module is used for users to upload videos to be edited, and the user analysis module is used to analyze the historical information of the number of times users edit, and divide users into new information users and old users;
[0036] When the user is a new user, the video to be edited imported by the user is sent to the manual editing module, and the manual editing module is used for the user to manually edit the video. The editing habit collection module is used to collect the user's editing habit information and send the editing habit information to the model generation module to generate automatic editing model information. After the user uses the manual editing video for a preset number of times, the automatic editing model is updated;
[0037] When the user information is an old user, automatic editing recommendation information is generated and sent to the user. After the user replies to confirm, the video to be edited is sent to the automatic editing module, and the automatic editing module edits the video according to the automatic editing model generated by the model generation module;
[0038] The videos edited by the automatic editing module and the manual editing module are exported through the video export module, and the video export module imports the videos into the video storage module for export. Authenticated users are allowed to extract the videos in the video storage module.
[0039] The authentication module includes face information authentication and account password authentication. When either the face information authentication or the account password authentication is passed, the user is allowed to log in to the system to extract and edit videos.
[0040] The setting of two verification methods can avoid the situation where the system cannot be used or the edited video cannot be extracted due to a single verification failure.
[0041] Furthermore, the specific process of the face information verification is as follows:
[0042] Step 1: extracting the real-time face image information of the user when logging in, and extracting features from it to obtain the first feature area and the second feature area;
[0043] Step 2: After obtaining the first feature region and the second feature region, the areas of the first feature region and the second feature region are calculated to obtain the first verification parameter M1 and the second verification parameter M2;
[0044] Step 3: Use the formula (M1+M2) / (M1-M2) / (M1 / M2)=M 总 , get the real-time verification parameter M 总 ;
[0045] Step 4: Extract the pre-stored user verification parameter M 预 , calculate the real-time verification parameter M 总 With user authentication parameter M 预 The difference between them is M 差 , when M 差 When it is 0 or less than the preset value, the verification is passed.
[0046] The first feature area and the second feature area are extracted as follows:
[0047] Step (1): extracting the collected real-time facial image information, and extracting a photo with the highest definition including facial features;
[0048] Step (2): mark the outer corners of the two eyes as points A1 and A2, mark the two corners of the mouth as points A3 and A4 respectively, mark the tip of the nose as point A5, and mark the lowest points of the two earlobes as points A6 and A7, where point A1 and point A6 are on the same side, and point A2 and point A7 are on the same side;
[0049] Step (3): connect point A1 and point A2 to obtain line segment L1, connect point A1 and point 6 to obtain line segment L2, connect point A6 and point A7 to obtain line segment L3, connect point A7 and point A2 to obtain line segment L4, and line segments L1, L2, L3 and L4 form a trapezoid Mm1, i.e., the first feature area;
[0050] Step (4), connecting point A3, point A4, and point A5 in order to obtain line segments W1, W2, and W3, and the line segments W1, W2, and W3 form a triangle Mm2, i.e., the second feature area Mm2;
[0051] Step (5): After measuring the length of line segment L1, the length of line segment L3 and the distance between line segment L1 and line segment L3, line segment L1 is marked as H, and the first verification parameter M1 is calculated by the formula (L+L2)*H / 2=M1;
[0052] Step (6): Draw a line segment W4 perpendicular to line segment W2 with point A3 as the endpoint, measure the length of line segment W4 and the length of line segment W2, and then calculate the second verification parameter M2 by the formula (W4+W2) / 2=M2;
[0053] Through the above process, better verification parameter information can be obtained to perform more accurate identity authentication.
[0054] The specific process of the account and password verification is as follows: extract the account and password entered by the user, and while the user is entering his account and password, the system records the total time it takes to enter the account and password, marking it as T 实 , when the total time length of the real-time account and password is T 实 The preset account password time T 预 The difference between 差 , when T 差 When it is less than the preset value, the verification is passed.
[0055] The editing habit collection module is used to collect the number of times and parameter information of each function used by the user each time the user performs video editing, and the number of types of functions marked as G is marked, and the number of parameter information is marked as Y. When the number of times any function and parameter is used is greater than a preset value, the function is extracted and marked as Gi and Yi, i=1...n, and all functions and parameters with a number of uses greater than the preset value are integrated to obtain the user editing habit information;
[0056] The automatic editing model is an instruction generated by integrating the user's editing habit information;
[0057] Through the above process, the user's usage habit information can be better collected, so that the edited usage model can better meet the user's expectations.
[0058] The specific process of distinguishing new users from old users is as follows: when the number of times a user uses the system is less than a preset value, he is a new user, otherwise he is an old user.
[0059] In summary, when the present invention is used, the user login module collects real-time login information when the user logs into the system, and the real-time login information includes face image information and account password information. The identity information of the user allowed to log in is stored in the identity authentication module. The real-time login information is sent to the identity authentication module. The identity authentication module verifies the real-time login information. After the verification, the user is allowed to use the video upload module to upload the video. The user uploads the video to be edited in the video upload module. The user analysis module analyzes the historical information of the number of times the user edits, and divides the user into new information users and old users. When the user is a new user, the video to be edited imported by the user is sent to the manual editing module. The user in the manual editing module performs manual video editing processing, and the editing habits The acquisition module collects the user's editing habit information and sends the editing habit information to the model generation module to generate automatic editing model information. After the user uses manual editing of videos for a preset number of times, the automatic editing model is updated. When the user information is an old user, automatic editing recommendation information is generated and sent to the user. After the user replies to confirm, the video to be edited is sent to the automatic editing module. The automatic editing module edits the video according to the automatic editing model generated by the model generation module. The videos edited by the automatic editing module and the manual editing module are exported through the video export module. The video export module imports the video into the video storage module for export. Authenticated users are allowed to extract videos from the video storage module.
[0060] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0061] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0062] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A video editing system based on deep learning, characterized in that: It includes user login module, identity authentication module, video upload module, user analysis module, automatic editing module, manual editing module, editing habit collection module, model generation module, video export module and video storage module; The user login module is used to collect real-time login information when the user logs into the system, and the real-time login information includes face image information and account password information; The identity information of the user who is allowed to log in is stored in the identity authentication module, and the real-time login information is sent to the identity authentication module, which verifies the real-time login information. After the verification is passed, the user is allowed to upload the video using the video upload module; The video upload module is used for users to upload videos to be edited, and the user analysis module is used to analyze the historical information of the number of times users edit, and divide users into new information users and old users; When the user is a new user, the video to be edited imported by the user is sent to the manual editing module, and the manual editing module is used for the user to manually edit the video. The editing habit collection module is used to collect the user's editing habit information and send the editing habit information to the model generation module to generate automatic editing model information. After the user uses the manual editing video for a preset number of times, the automatic editing model is updated; When the user information is an old user, automatic editing recommendation information is generated and sent to the user. After the user replies to confirm, the video to be edited is sent to the automatic editing module, and the automatic editing module edits the video according to the automatic editing model generated by the model generation module; The videos edited by the automatic editing module and the manual editing module are exported through the video export module, and the video export module imports the videos into the video storage module for storage. The authenticated user is allowed to extract the videos in the video storage module; The authentication module includes face information authentication and account password authentication. When either the face information authentication or the account password authentication is passed, the user is allowed to log in to the system to extract and edit videos. The specific process of face information verification is as follows: Step 1: extracting the real-time face image information collected when the user logs in, extracting features from it to obtain the first feature area and the second feature area; Step 2: After obtaining the first feature region and the second feature region, the areas of the first feature region and the second feature region are calculated to obtain the first verification parameter M1 and the second verification parameter M2; Step 3: Use the formula (M1+M2) / (M1-M2) / (M1 / M2)=M 总 , get the real-time verification parameter M 总 ; Step 4: Extract the pre-stored user verification parameter M 预 , calculate the real-time verification parameter M 总 With user authentication parameter M 预 The difference between them is M 差 , when M 差 When it is 0 or less than the preset value, the verification is passed; The extraction process of the first feature area and the second feature area is as follows: Step (1): extracting the collected real-time facial image information, and extracting a photo with the highest definition including facial features; Step (2): mark the outer corners of the two eyes as points A1 and A2, mark the two corners of the mouth as points A3 and A4 respectively, mark the tip of the nose as point A5, and mark the lowest points of the two earlobes as points A6 and A7, where point A1 and point A6 are on the same side, and point A2 and point A7 are on the same side; Step (3): connect A1 and point A2 to obtain line segment L1, connect point A1 and point A6 to obtain line segment L2, connect point A6 and point A7 to obtain line segment L3, connect point A7 and point A2 to obtain line segment L4. Line segments L1, L2, L3 and L4 form a trapezoid Mm1, i.e., the first feature area; Step (4), connecting point A3, point A4, and point A5 in order to obtain line segments W1, W2, and W3, and the line segments W1, W2, and W3 form a triangle Mm2, i.e., the second feature area Mm2; Step (5): After measuring the length of line segment L1, the length of line segment L3, and the distance between line segment L1 and line segment L3, mark line segment L1 as H, and calculate the first verification parameter M1 by the formula (L3+L2)*H / 2=M1; Step (6): Draw a line segment W4 perpendicular to line segment W2 with point A3 as the endpoint, measure the length of line segment W4 and the length of line segment W2, and then calculate the second verification parameter M2 using the formula (W4+W2) / 2=M2; The specific process of the account and password verification is as follows: extract the account and password entered by the user, and while the user is entering his account and password, the system records the total time of entering the account and password, marking it as T 实 , when the total time length of the real-time account and password is T 实 The preset account password time T 预 The difference between 差 , when T 差 When it is less than the preset value, the verification is passed.
2. A deep learning-based video editing system according to claim 1, characterized in that: The editing habit collection module is used to collect the number of times the user uses each function and parameter information each time the user performs video editing, and the number of types of functions is marked as G, and the number of parameter information is marked as Y. When the number of times any function and parameter is used is greater than a preset value, the function and parameter are marked as Gi and Yi respectively, i=1...n, and all functions and parameters whose number of uses is greater than the preset value are integrated to obtain the user editing habit information; The automatic editing model is an instruction generated after integrating the user's editing habit information.
3. The deep learning-based video editing system according to claim 1, characterized in that: The specific process of distinguishing new users from old users is as follows: when the number of times a user uses the system is less than a preset value, he is a new user, otherwise he is an old user.
