Video clip screening method, device, equipment and storage medium

By applying face recognition technology in the video player, it responds to user operations to mark and filter the faces to be selected on the video interface, solving the problem of inefficiency for users to manually filter video clips, realizing the function of quickly screening video clips of specific people, and improving improve operational efficiency.

CN112801004BActive Publication Date: 2024-09-06NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110164986.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-05
Publication Date
2024-09-06
Estimated Expiration
2041-02-05

AI Technical Summary

Technical Problem

In the existing technology, it is inefficient and cumbersome for users to manually filter video clips, and it is impossible to quickly filter out video clips of specific people.

Method used

Use face recognition technology to perform face recognition on the video interface, mark the face to be selected in response to the user's touch operation, determine the target face through the second touch, filter out the corresponding video clips from the video, and display them in the video in the interface.

Benefits of technology

It realizes the rapid screening of video clips of specific people, reduces operating costs, saves time and effort, and meets the user's needs for specific people or screen editing of specific people.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112801004B
    Figure CN112801004B
Patent Text Reader

Abstract

The present application provides a method, device, equipment and storage medium for screening video clips, wherein the method includes: responding to a first touch operation on a video interface, performing face recognition on a current frame image of the video interface, marking at least one face to be selected in the current frame image, responding to a second touch operation on at least one face to be selected, determining a target face from the faces to be selected, and screening out at least one video clip including the target face from the video corresponding to the video interface, and displaying at least one video clip. The present application uses face recognition technology to perform face recognition on a video interface, quickly screening out video clips of specific characters, solving the user's need to watch specific characters or specific character screen clips, with low operating costs, saving time and effort.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method, device, equipment and storage medium for screening video clips. Background Art

[0002] With the rapid development of video network technology, video playback has become the choice of more and more users. Users download and install video software to play various types of videos, such as TV series, movies, crosstalk, etc.

[0003] At present, when watching videos through video software, some users only want to watch video clips of a certain person, or quickly filter out video clips of a certain person. Users can manually adjust the video progress bar and filter out video clips of a certain person according to the video screen content.

[0004] However, the method of users manually screening video clips is time-consuming and labor-intensive, resulting in low efficiency and cumbersome operations. Summary of the invention

[0005] The purpose of the present application is to provide a method, device, equipment and storage medium for screening video clips in view of the deficiencies in the above-mentioned prior art, so as to solve the problem that manual screening of video clips in the prior art is inefficient and cumbersome.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for screening video clips, the method comprising:

[0008] In response to a first touch operation on the video interface, performing face recognition on a current frame image of the video interface, and marking at least one face to be selected in the current frame image;

[0009] In response to a second touch operation on at least one of the faces to be selected, determining a target face from the faces to be selected, and selecting at least one video clip including the target face from the video corresponding to the video interface;

[0010] The at least one video clip is displayed.

[0011] Optionally, the first touch operation on the video interface includes: the first touch operation acting on the face recognition control in the video interface, the first touch operation acting on the video display area in the video interface, or the first touch operation acting on the pause control in the video interface.

[0012] Optionally, the first touch operation is any one of the following operations: a long press operation, a sliding operation, a double-click operation, a click operation or a hard press operation.

[0013] Optionally, in response to the first touch operation on the video interface, performing face recognition on the current frame image of the video interface and marking at least one face to be selected in the current frame image includes:

[0014] In response to the first touch operation, pausing the video, performing face recognition on the current frame image of the video interface, and acquiring at least one face;

[0015] Determine each of the to-be-selected human faces from the at least one human face according to a preset rule;

[0016] Mark each face to be selected.

[0017] Optionally, marking the face to be selected includes:

[0018] The faces to be selected are displayed in a preset style.

[0019] Optionally, displaying each of the to-be-selected faces in a preset style includes:

[0020] Display the face recognition frames corresponding to the faces to be selected in the current frame image; or

[0021] The area in the current frame image except the faces to be selected is displayed in a page masking manner.

[0022] Optionally, before responding to the second touch operation on at least one of the faces to be selected, determining a target face from the faces to be selected, and screening out at least one video segment including the target face from the video corresponding to the video interface, the method further includes:

[0023] Displays an operation guide for indicating face recognition.

[0024] Optionally, displaying the at least one video clip includes:

[0025] Each of the video clips is displayed in a preset area of ​​the video interface.

[0026] Optionally, displaying each of the video clips in a preset area of ​​the video interface includes:

[0027] The first frame of each of the video clips is displayed in a preset area of ​​the video interface in the form of a playlist.

[0028] Optionally, after displaying the segment selection control in the preset area of ​​the video interface, the method further includes:

[0029] In response to an editing operation on the target video segment, the target video segment is edited.

[0030] Optionally, the editing operation includes a deletion operation and a move operation, and the responding to the editing operation on the target video segment to edit the target video segment includes:

[0031] In response to a deletion operation on a target video segment, displaying a deletion operation area on the video interface;

[0032] In response to a move operation on the target video segment, the target video segment is moved to the deletion operation area, and the target video segment is deleted.

[0033] Optionally, after editing the target video segment, the method further includes:

[0034] In response to a save operation, the edited video clip is saved.

[0035] Optionally, before displaying the first frame of each of the video clips in the form of a playlist in the preset area of ​​the video interface, the method further includes:

[0036] Obtaining the playback duration of each of the video clips;

[0037] Filter out the video segments whose playing time is less than or equal to the preset time, and obtain the remaining video segments;

[0038] The displaying the first frame of each video clip in the form of a playlist in a preset area of ​​the video interface includes:

[0039] The first frames of the remaining video clips are displayed in the preset area in the form of a playlist.

[0040] In a second aspect, another embodiment of the present application provides a device for screening video clips, the device comprising:

[0041] A recognition module, configured to respond to a first touch operation on a video interface, perform face recognition on a current frame image of the video interface, and mark at least one face to be selected in the current frame image;

[0042] a determination module, configured to respond to a second touch operation on at least one of the faces to be selected, determine a target face from the faces to be selected, and select at least one video clip including the target face from the video corresponding to the video interface;

[0043] The display module is configured to display the at least one video clip.

[0044] Optionally, the first touch operation on the video interface includes: the first touch operation acting on the face recognition control in the video interface, the first touch operation acting on the video display area in the video interface, or the first touch operation acting on the pause control in the video interface.

[0045] Optionally, the first touch operation is any one of the following operations: a long press operation, a sliding operation, a double-click operation, a click operation or a hard press operation.

[0046] Optionally, the identification module is specifically used to:

[0047] In response to the first touch operation, pausing the video, performing face recognition on the current frame image of the video interface, and acquiring at least one face;

[0048] Determine each of the to-be-selected human faces from the at least one human face according to a preset rule;

[0049] Mark each face to be selected.

[0050] Optionally, the identification module is specifically used to:

[0051] The faces to be selected are displayed in a preset style.

[0052] Optionally, the identification module is specifically used to:

[0053] Display the face recognition frames corresponding to the faces to be selected in the current frame image; or

[0054] The area in the current frame image except the faces to be selected is displayed in a page masking manner.

[0055] Optionally, the display module is further used for:

[0056] Displays an operation guide for indicating face recognition.

[0057] Optionally, the display module is specifically used for:

[0058] Each of the video clips is displayed in a preset area of ​​the video interface.

[0059] Optionally, the display module is specifically used for:

[0060] The first frame of each of the video clips is displayed in a preset area of ​​the video interface in the form of a playlist.

[0061] Optionally, the device further comprises:

[0062] The editing module is used to edit the target video segment in response to the editing operation on the target video segment.

[0063] Optionally, the editing operation includes a deletion operation and a move operation, and the editing module is specifically used to:

[0064] In response to a deletion operation on a target video segment, displaying a deletion operation area on the video interface;

[0065] In response to a move operation on the target video segment, the target video segment is moved to the deletion operation area, and the target video segment is deleted.

[0066] Optionally, the device further comprises:

[0067] The saving module is used to respond to the saving operation and save the edited video clip.

[0068] Optionally, the device further comprises:

[0069] An acquisition module, used to acquire the playing time of each of the video segments, filter out the video segments whose playing time is less than or equal to a preset time, and acquire the remaining video segments;

[0070] The display module is specifically used for:

[0071] The first frames of the remaining video clips are displayed in the preset area in the form of a playlist.

[0072] In the third aspect, another embodiment of the present application provides a device for screening video clips, comprising: a processor, a memory and a bus, the memory storing a computer program executable by the processor, when the device for screening video clips is running, the processor communicates with the memory through the bus, and the processor executes the computer program to perform the method described in any one of the first aspects above.

[0073] In a fourth aspect, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the above-mentioned first aspects is executed.

[0074] The present application provides a method, device, equipment and storage medium for screening video clips, wherein the method includes: responding to a first touch operation on a video interface, performing face recognition on a current frame image of the video interface, marking at least one face to be selected in the current frame image, responding to a second touch operation on at least one face to be selected, determining a target face from the faces to be selected, and screening out at least one video clip including the target face from the video corresponding to the video interface, and displaying at least one video clip. The present application uses face recognition technology to perform face recognition on a video interface, quickly screening out video clips of specific characters, solving the user's need to watch specific characters or specific character screen clips, with low operating costs, saving time and effort. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0076] Figure 1 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 1 ;

[0077] Figure 2 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 1 ;

[0078] Figure 3 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 2 ;

[0079] Figure 4 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 3 ;

[0080] Figure 5 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 2 ;

[0081] Figure 6 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 5 ;

[0082] Figure 7 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 3 ;

[0083] Figure 8 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 6 ;

[0084] Fig. 9 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 4 ;

[0085] Fig.10 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 7 ;

[0086] Fig.11 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 6 ;

[0087] Fig.12 A schematic diagram showing the structure of a device for screening video clips provided in an embodiment of the present application is shown;

[0088] Fig.13 A schematic diagram of the structure of a video clip screening device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0089] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0090] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0091] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0092] For users who have a particular favorite actor / role or are engaged in video editing and moving, they only want to watch the video part of a certain character or quickly filter out all the clips of a certain character in the video. Currently, through the existing video player function, users can only filter according to the video content by manually adjusting the video progress bar. They cannot quickly filter out the part of a certain character they want to watch, which has a high operation cost and consumes a lot of time and energy.

[0093] Based on this, the present application provides a method for screening video clips, applies face recognition technology to the field of video playback, uses face recognition technology to perform face recognition on the video interface, and quickly screens out video clips of specific characters, solving the user's need to watch specific characters or specific character screen clips, with low operating costs, saving time and effort.

[0094] The following describes in detail the method for screening video clips of the present application in conjunction with several specific embodiments.

[0095] Figure 1 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 1 The execution subject of this embodiment may be a device for screening video clips, such as a smart device such as a mobile phone or a tablet computer that can play videos, and this embodiment does not specifically limit this.

[0096] like Figure 1 As shown, the method may include:

[0097] S101. In response to a first touch operation on a video interface, perform face recognition on a current frame image of the video interface, and mark at least one face to be selected in the current frame image.

[0098] The user can download and install any video player, run the video player on the processor of the video clip screening device, and render the video interface corresponding to any video on the display of the video clip screening device, and the video interface displays the current frame image of the video, and the current frame image may include at least one human face. The human face here can be the face of an actor in real shooting, or it can be a virtual face made by other technologies, such as animation, etc., which is not limited here.

[0099] The user can input a first touch operation on the video interface. In response to the first touch operation, the video clip screening device can perform face recognition on the current frame image of the video interface and mark at least one face to be selected in the current frame image, wherein at least one face to be selected can be marked in the form of a face recognition box.

[0100] Optionally, the first touch operation is any one of the following operations: a long press operation, a sliding operation, a double-click operation, a click operation, or a re-press operation.

[0101] Taking the first touch operation as a long press operation as an example, the user can trigger the face recognition mode by long pressing the video interface, and perform face recognition on the current frame image in the video interface to identify at least one face to be selected in the current frame image, and mark at least one face to be selected.

[0102] Optionally, the first touch operation on the video interface includes: a first touch operation on a face recognition control in the video interface, a first touch operation on a video display area in the video interface, or a first touch operation on a pause control in the video interface.

[0103] The following are combined Figure 2 , Figure 3 The first touch operation is described. Figure 2 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 1 ,like Figure 2 As shown, the video interface 10 of the video player displays the current frame image and a face recognition control 200. The user can input a first touch operation acting on the face recognition control 200 in the video interface 10. The video clip screening device responds to the first touch operation, can perform face recognition on the current frame image of the video interface 10, and mark at least one recognized face to be selected, wherein the at least one face to be selected is respectively recorded as: face 1, face 2, face 3, and at least one face to be selected is marked in the form of a face recognition box (represented as a dotted box in the figure).

[0104] Figure 3 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 2 ,like Figure 3 As shown, the video interface 10 of the video player includes a video display area 20 and an auxiliary function area 30, wherein the video display area 20 displays the current frame image, and the auxiliary function area 30 displays the play and pause controls 301, the progress bar 302, the video zoom control 303, and the video play time, etc. The user can input a first touch operation acting on the video display area 20, and the first touch operation can be a long press operation. In response to the first touch operation, the video clip screening device can perform face recognition on the current frame image of the video interface and mark at least one recognized face to be selected, wherein at least one face to be selected is respectively recorded as: face 1, face 2, face 3, and at least one face to be selected is marked in the form of a face recognition box (represented as a dotted box in the figure). It should be noted that after long pressing the video display area 20, the video is paused.

[0105] Also refer to Figure 3 The user can input a first touch operation acting on the play pause control 301 in the video interface to perform face recognition on the current frame image of the video interface and mark at least one face to be selected (represented as a dotted box in the figure).

[0106] S102: In response to a second touch operation on at least one face to be selected, determine a target face from the faces to be selected, and select at least one video clip including the target face from the video corresponding to the video interface.

[0107] S103: Display at least one video clip.

[0108] The second touch operation may be, for example, any one of a long press operation, a slide operation, a double-click operation, a click operation, or a re-press operation.

[0109] After performing face recognition on the current frame image and marking at least one face to be selected in the current frame image, the user can also input a second touch operation on the at least one face to be selected to determine the target face from the faces to be selected. That is, the video clip screening device determines the target face from at least one face to be selected in response to the second touch operation, and screens out at least one video clip including the target face from the video corresponding to the video interface by performing facial analysis on the target face, and displays at least one video clip in the video interface. For example, at least one video clip can be displayed in the form of a playlist at the bottom of the page in the video interface.

[0110] exist Figure 3 Based on the examples, Figure 4 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 3 ,like Figure 4 As shown, taking the second touch operation as a click operation as an example, the target face is face 2, and after marking the three faces to be selected in the current image frame, the user can click on face 2. In response to the user's click operation, at least one video clip including face 2 is screened out from the video corresponding to the video interface 10, and at least one video clip is displayed on the bottom page of the video interface 10 (represented as a box with a diagonal line in the figure). The at least one video clip of face 2 is respectively recorded as: 1, 2, 3, and 4. The video interface 10 can also provide a horizontal left and right sliding progress bar 40. The video content composed of all video clips can be viewed by sliding the progress bar 40 horizontally. The corresponding video clip can also be directly switched to the video clip for preview and playback.

[0111] Optionally, before step S102, the method may further include:

[0112] Displays an operation guide for indicating face recognition.

[0113] That is to say, when the user is watching a video, by inputting a first touch operation on the video interface, it can trigger the entry into the face recognition mode, perform face recognition on the current frame image of the video interface, mark at least one face to be selected in the current frame image, and may also display operation instructions for indicating face recognition in the video interface. The operation instructions are used to guide the user to determine the target face from at least one face to be selected. The operation instructions may, for example, be “click to filter videos of people that need to be identified”, and then the user can, according to the operation instructions, input a second touch operation on at least one face to be selected to determine the target face from at least one face to be selected.

[0114] It should be noted that the operation instruction can be displayed in the form of a toast. Toast is a lightweight feedback that appears in the form of a small pop-up box. It usually appears for 1 to 2 seconds and then disappears automatically. In addition, this embodiment does not specifically limit the display position of the operation instruction.

[0115] by Figure 3 On the basis of this, at least one face to be selected is marked in the form of a face recognition box (represented as a dotted box in the figure), and the operation instructions are displayed in the upper middle part of the video interface, such as "click to filter videos of people who need to be identified."

[0116] The video clip screening method of this embodiment responds to a first touch operation on the video interface, performs face recognition on the current frame image of the video interface, marks at least one face to be selected in the current frame image, responds to a second touch operation on at least one face to be selected, determines a target face from the faces to be selected, and screens out at least one video clip including the target face from the video corresponding to the video interface, and displays at least one video clip. In this embodiment, face recognition technology is used to perform face recognition on the video interface to quickly screen out video clips of specific characters, thereby solving the user's need to watch specific characters or specific character screen clips, with low operating costs, and saving time and effort.

[0117] Combine the following Figure 5 The embodiment describes a possible implementation of step S102. Figure 5 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 2 ,like Figure 5 As shown, step S102 may include:

[0118] S1021. In response to the first touch operation, pause the video, and perform face recognition on the current frame image of the video interface to obtain at least one face.

[0119] S1022: Determine faces to be selected from at least one face according to a preset rule.

[0120] S1023: Mark each face to be selected.

[0121] The preset rules are used to filter out faces to be selected from at least one face that can fully extract the facial features of the person. The faces to be selected may be faces that meet the preset rules. For example, faces that are in profile, motion blurred, faces that are blocked, faces that are too dark or overexposed, etc., need to be filtered out from at least one face. Specifically, facial parameters of each face are detected to determine whether each face meets the preset rules. If it does not meet the preset rules, it means that the face may be a face in profile, motion blurred, faces that are blocked, faces that are too dark or overexposed, etc., and the face needs to be filtered out.

[0122] The user inputs the first touch operation on the video interface, such as long pressing the video display area in the video interface, to pause the video, and perform face recognition on the paused current frame image to obtain at least one face, determine each face to be selected from the at least one face according to preset rules, and then mark each face to be selected, that is, only faces that meet the preset rules will be marked, and faces that do not meet the preset rules will not be marked.

[0123] It should be noted that if at least one of the faces is in profile, motion blurred, obscured, too dark or overexposed, then the face does not meet the preset rules and cannot be recognized. Therefore, the face will not be marked, that is, the face recognition box will not appear.

[0124] Optionally, mark the face to be selected, including:

[0125] The faces to be selected are displayed in a preset style.

[0126] The preset style may be, for example, a face recognition frame, that is, a face recognition frame is displayed around each face to be selected, for example Figure 2 , Figure 3 As shown, the preset style may also be highlight display, that is, each face to be selected is highlighted, so that the user can focus his / her sight on the area where the face to be selected is located.

[0127] Optionally, each face to be selected is displayed in a preset style, including:

[0128] Display the face recognition frame corresponding to each face to be selected in the current frame image; or,

[0129] The area other than the faces to be selected in the current frame image is displayed in the form of a page mask.

[0130] Among them, the face recognition frame corresponding to each face to be selected in the current frame image is displayed, that is, each face to be selected in the face recognition frame is circled, such as Figure 2 , Figure 3The face recognition box shown.

[0131] Page masking refers to a layer of gray semi-transparent mask covering the video screen, which weakens the original video content information. Only the area in the face circle is without mask, so that users can focus their attention on the face area. In other words, the display content of the area other than the faces to be selected in the current frame image is weakened, and only the area where the faces to be selected are located is without mask, so that users can focus their attention on the area where the faces to be selected are located.

[0132] The method for screening video clips of this embodiment responds to the first touch operation, pauses the video, and performs face recognition on the current frame image of the video interface to obtain at least one face, determines each face to be selected from the at least one face according to a preset rule, and marks each face to be selected. In this embodiment, the system screens out each face to be selected according to the preset rule, meeting the user's need for finely screening out specific character clips in the video.

[0133] Optionally, step S103 may include:

[0134] Each video clip is displayed in a preset area of ​​the video interface.

[0135] Among them, the preset area of ​​the video interface can be the top area, the middle area, and the bottom area of ​​the page of the video interface, which is not particularly limited in this embodiment.

[0136] In response to the second touch operation on at least one face to be selected, a target face is determined from the faces to be selected, and a facial analysis is performed on the target face using any facial recognition algorithm, and at least one video clip including the target face is screened out from the video corresponding to the video interface, and then each video clip can be displayed in a preset area of ​​the video interface. It should be noted that when displaying each video clip, continuous frames of each video clip can be displayed, that is, each video clip is displayed in a dynamic form, or the first frame of each video clip can be displayed, that is, each video clip is displayed in a static form.

[0137] Optionally, each video clip is displayed in a preset area of ​​the video interface, including:

[0138] The first frame of each video clip is displayed in the form of a playlist in a preset area of ​​the video interface.

[0139] refer to Figure 6 , Figure 6 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 5 ,like Figure 6As shown, the preset area of ​​the video interface 10 can be the bottom area of ​​the page, and the first frame of each video clip is displayed in the preset area in the form of a play list, that is, the first frame of each video clip is displayed in a horizontal manner (represented as a box with a diagonal line in the figure), which are respectively recorded as: 1, 2, 3, 4, wherein the video interface 10 also displays a play and pause control 301, and the number of at least one video clip includes but is not limited to one, and the video content composed of all the video clips can be viewed by sliding the progress bar left and right horizontally, or directly clicking the corresponding video clip to switch to the video clip for preview playback.

[0140] It should be noted that the video interface 10 may also display indication information indicating the number of video clips of the target face, for example Figure 6 Of course, a save control 50 can also be displayed in the video interface for saving each video clip of the selected target face. The save control 50 is displayed in the video interface. Figure 6 In the video, it is represented as "Save as Video", which solves the user's need to watch specific people or edit specific people's pictures, and the screened video can be saved locally, which is convenient for users to watch and edit later.

[0141] For example, after each video clip is displayed in the preset area of ​​the video interface, the target video clip in each video clip can be edited according to actual needs. Figure 7 The examples are described below.

[0142] Figure 7 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 3 ,like Figure 7 As shown, after displaying each video clip in the preset area of ​​the video interface, the method further includes:

[0143] S201: In response to an editing operation on a target video segment, edit the target video segment.

[0144] The editing operation may be a deletion operation, an adjustment order operation, a beautification operation, etc. The beautification operation may include adding a filter, adding a texture, etc.

[0145] The target video segment is any video segment in at least one video segment of the target face, and the number of the target video segments includes but is not limited to one. The user can input an editing operation for the target video segment to edit the target video segment. Taking the editing operation as an adjustment sequence operation as an example, the adjustment sequence operation can be a click and drag operation, and the user can click on the target video segment to drag the target video segment before or after other video segments.

[0146] refer to Figure 8 ,exist Figure 6 Based on the examples, Figure 8 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 6 ,like Figure 8 As shown, the preset area of ​​the video interface 10 can be the bottom area of ​​the page, and the first frame of each video clip is displayed in the preset area in the form of a playlist. The video clips are respectively recorded as: 1, 2, 3, 4, and the target video clip is video clip 3. The arrangement order of the video clips is 1, 2, 3, 4; if the user can click and drag video clip 3, drag video clip 3 to the front of video clip 1, that is, adjust the order of video clip 3, the arrangement order of the video clips is 3, 1, 2, 4, and then click the "Save as Video" control 50, that is, integrate video clips 3, 1, 2, 4 into a video, and automatically save it. The playback order of the video clips in the saved video is 3, 1, 2, 4.

[0147] Taking the beautification operation as an example of the editing operation, the user can click on the target video clip to display the video beautification window. The video beautification window provides multiple filters and multiple textures. The user can select the corresponding filters and / or textures to beautify the target video clip according to needs. After clicking Save, the video beautification window will be automatically closed.

[0148] Optionally, after editing the target video segment, the method may further include:

[0149] S202: In response to a save operation, save the edited video clip.

[0150] After editing the video interface clip, the edited target video clip and other video clips can be saved to integrate into a new video. A save control can also be provided in the video interface, and the user can input a save operation for the save control. The video clip screening device responds to the save operation to save the edited video clip.

[0151] The video clip screening method of this embodiment responds to the editing operation on the target video clip, edits the target video clip, and responds to the saving operation to save the edited video clip. In this embodiment, the system screening is combined with manual screening to further optimize the screening function, meeting the user's needs for finely screening specific character clips in the video. The screened video supports saving to the local computer, which is convenient for the user to watch and edit later.

[0152] Optionally, the editing operation includes a delete operation and a move operation. Fig. 9 The examples are described below. Fig. 9 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 4 ,like Fig. 9 As shown, step S201 includes:

[0153] S2011. In response to a deletion operation on a target video segment, a deletion operation area is displayed on a video interface.

[0154] S2012: In response to the move operation on the target video segment, the target video segment is moved to a deletion operation area, and the target video segment is deleted.

[0155] In some cases, after the system has screened out at least one video clip of the target face, the user may further screen the at least one video clip again and delete unnecessary video clips. Specifically, the user may input a delete operation for the target video clip, and the video clip screening device responds to the delete operation by displaying a delete operation area in the video interface, wherein the delete operation may include, for example: a long press operation, a slide operation, a double-click operation, a click operation, or a re-press operation.

[0156] It should be noted that the deletion operation area can be located at the top, bottom, etc. of the video interface, and this embodiment does not specifically limit this.

[0157] The user can also input a move operation for the target video clip, move the target video clip to the deletion operation area to delete the target video clip, wherein the move operation can be a drag operation, for example, a drag-up operation continuous with the deletion operation, and the end point of the drag-up operation is located in the deletion operation area.

[0158] It should be noted that after the target video clip is moved to the deletion operation area, the deletion operation area can be cancelled and the save control can be displayed.

[0159] refer to Fig.10 ,exist Figure 8 Based on the examples, Fig.10 The schematic diagram of the video interface provided by the embodiment of the present application is shown Figure 7 ,like Fig.10 As shown, the target video clip is video clip 3. The user can long press to select video clip 3, and a deletion operation area 60 will be displayed in the video interface 10. The deletion operation area 60 can also display instruction information of the deletion operation area 60, such as "drag to this area to delete the clip". Long press the video clip 3 and drag it up to the deletion operation area 60 to delete the video clip 3. That is, the video clips displayed in the form of a playlist in the preset area are respectively recorded as: 1, 2, 4, and then the save control 50 can be displayed on the video interface 10. By clicking the save control 50 in the video interface 10, the video clips 1, 2, and 4 can be integrated into one video and automatically saved.

[0160] The video clip screening method of this embodiment responds to the deletion operation on the target video clip by displaying the deletion operation area on the video interface, responds to the move operation on the target video clip by moving the target video clip to the deletion operation area, and deletes the target video clip. In this embodiment, the system screening is combined with the manual screening to meet the user's needs for finely screening out specific character clips in the video, and the screened video supports saving to the local computer, which is convenient for the user to watch and edit later.

[0161] For example, considering that the face may be blurred in the video clips with shorter playing time, it is not meaningful for the user to filter out the video clips with shorter playing time. Therefore, the video clips with shorter playing time can be filtered out. Fig.11 Provide explanation.

[0162] Fig.11 The process diagram of the video clip screening method provided in the embodiment of the present application is shown as follows Figure 6 ,like Fig.11 As shown, before the first frame of each video clip is displayed in the form of a playlist in the preset area of ​​the video interface, the method may further include:

[0163] S301: Obtain the playback duration of each video segment.

[0164] S302: Filter out video segments whose playing duration is less than or equal to a preset duration, and obtain remaining video segments.

[0165] The preset duration may be, for example, 1 second, 1.5 seconds, 2 seconds, etc., which may be selected based on experience, and this embodiment does not impose any particular limitation on this.

[0166] The playing time of each video segment is obtained, and then the video segments whose playing time is less than or equal to the preset time are filtered out from the video segments to obtain the remaining video segments, that is, the faces in the remaining video segments will not be blurred.

[0167] Correspondingly, displaying the first frame of each video clip in the form of a playlist in a preset area of ​​the video interface may include S303.

[0168] S303: Display the first frames of the remaining video clips in a playlist in a preset area.

[0169] Among them, the playlist can be in the form of a horizontal playlist, and the first frame of the remaining video clips is displayed in the form of a playlist in the preset area in the video interface. Then you can click the save control to integrate the remaining video clips into one video. In this way, the user's needs for watching specific people or editing specific people's pictures are solved, and the screened videos can be saved locally, which is convenient for users to watch and edit later.

[0170] The video clip screening method of this embodiment obtains the playback time of each video clip, filters out the video clips whose playback time is less than or equal to the preset time, obtains the remaining video clips, and displays the first frame of the remaining video clips in the form of a playlist in a preset area. In this embodiment, when screening videos, the system automatically filters the video clips whose playback time is less than or equal to the preset time, and integrates the information of all the screened clips into one video, supports preview playback, and has high video operation flexibility.

[0171] Fig.12 FIG. 1 is a schematic diagram showing the structure of a video clip screening device provided in an embodiment of the present application. The video clip screening device can be integrated into a video clip screening device. Fig.12 As shown, the video clip screening device 400 includes:

[0172] The recognition module 401 is used to respond to the first touch operation on the video interface, perform face recognition on the current frame image of the video interface, and mark at least one face to be selected in the current frame image;

[0173] The determination module 402 is configured to respond to a second touch operation on at least one of the to-be-selected faces, determine a target face from the to-be-selected faces, and select at least one video segment including the target face from the video corresponding to the video interface;

[0174] The display module 403 is configured to display the at least one video segment.

[0175] Optionally, the first touch operation on the video interface includes: the first touch operation acting on the face recognition control in the video interface, the first touch operation acting on the video display area in the video interface, or the first touch operation acting on the pause control in the video interface.

[0176] Optionally, the first touch operation is any one of the following operations: a long press operation, a sliding operation, a double-click operation, a click operation or a hard press operation.

[0177] Optionally, the identification module 401 is specifically configured to:

[0178] In response to the first touch operation, pausing the video, performing face recognition on the current frame image of the video interface, and acquiring at least one face;

[0179] Determine each of the to-be-selected human faces from the at least one human face according to a preset rule;

[0180] Mark each face to be selected.

[0181] Optionally, the identification module 401 is specifically configured to:

[0182] The faces to be selected are displayed in a preset style.

[0183] Optionally, the identification module 401 is specifically configured to:

[0184] Display the face recognition frames corresponding to the faces to be selected in the current frame image; or

[0185] The area in the current frame image except the faces to be selected is displayed in a page masking manner.

[0186] Optionally, the display module 403 is further used for:

[0187] Displays an operation guide for indicating face recognition.

[0188] Optionally, the display module 403 is specifically used to:

[0189] Each of the video clips is displayed in a preset area of ​​the video interface.

[0190] Optionally, the display module 403 is specifically used to:

[0191] The first frame of each of the video clips is displayed in a preset area of ​​the video interface in the form of a playlist.

[0192] Optionally, the device further comprises:

[0193] The editing module 404 is configured to edit the target video segment in response to an editing operation on the target video segment.

[0194] Optionally, the editing operation includes a deletion operation and a move operation, and the editing module is specifically used to:

[0195] In response to a deletion operation on a target video segment, displaying a deletion operation area on the video interface;

[0196] In response to a move operation on the target video segment, the target video segment is moved to the deletion operation area, and the target video segment is deleted.

[0197] Optionally, the device further comprises:

[0198] The saving module 405 is used to respond to the saving operation and save the edited video clip.

[0199] Optionally, the device further comprises:

[0200] An acquisition module, used to acquire the playing time of each of the video segments, filter out the video segments whose playing time is less than or equal to a preset time, and acquire the remaining video segments;

[0201] The display module 403 is specifically used for:

[0202] The first frames of the remaining video clips are displayed in the preset area in the form of a playlist.

[0203] The video clip screening device of this embodiment, the implementation process and implementation principle can refer to the video clip screening method provided in the above method embodiment, and will not be repeated here.

[0204] Fig.13 The schematic diagram of the structure of the video clip screening device provided in the embodiment of the present application is shown as follows: Fig.13 As shown, the video clip screening device 500 includes: a processor 501, a memory 502, and a bus 503. The memory 502 stores a computer program executable by the processor 501. When the video clip screening device 500 is running, the processor 501 communicates with the memory 502 through the bus 503, and the computer program is executed by the processor 501 to execute the above method embodiment.

[0205] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above method embodiment is executed.

[0206] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0207] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or part of the technical solution that contributes to the prior art or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0208] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.

Claims

1. A method for screening video clips, characterized in that: The method comprises: In response to a first touch operation on the video interface, performing face recognition on a current frame image of the video interface, and marking at least one face to be selected in the current frame image; In response to a second touch operation on at least one of the faces to be selected, determining a target face from the faces to be selected, and selecting at least one video clip including the target face from the video corresponding to the video interface; Displaying each of the video clips in a preset area of ​​the video interface; In response to an editing operation on a target video segment, editing the target video segment; In response to the first touch operation on the video interface, performing face recognition on the current frame image of the video interface and marking at least one face to be selected in the current frame image includes: In response to the first touch operation, pausing the video, and performing face recognition on the current frame image of the video interface to obtain at least one face; Determine each of the to-be-selected human faces from the at least one human face according to a preset rule; Mark each face to be selected.

2. The method according to claim 1, characterized in that The first touch operation on the video interface includes: the first touch operation acting on the face recognition control in the video interface, the first touch operation acting on the video display area in the video interface, or the first touch operation acting on the pause control in the video interface.

3. The method according to claim 1, characterized in that The first touch operation is any one of the following operations: a long press operation, a slide operation, a double-click operation, a click operation, or a hard press operation.

4. The method according to claim 1, characterized in that: The step of marking the face to be selected includes: The faces to be selected are displayed in a preset style.

5. The method according to claim 1, characterized in that The displaying of each face to be selected in a preset style includes: Display the face recognition frames corresponding to the faces to be selected in the current frame image; or The area in the current frame image except the faces to be selected is displayed in a page masking manner.

6. The method according to claim 1, characterized in that Before responding to the second touch operation on at least one of the to-be-selected faces, determining a target face from the to-be-selected faces, and selecting at least one video segment including the target face from the video corresponding to the video interface, the method further includes: Displays an operation guide for indicating face recognition.

7. The method according to claim 1, characterized in that The displaying of each video clip in a preset area of ​​the video interface includes: The first frame of each of the video clips is displayed in a preset area of ​​the video interface in the form of a playlist.

8. The method according to claim 1, characterized in that The editing operation includes a deletion operation and a move operation, and the responding to the editing operation on the target video segment, editing the target video segment, includes: In response to a deletion operation on a target video segment, displaying a deletion operation area on the video interface; In response to a move operation on the target video segment, the target video segment is moved to the deletion operation area, and the target video segment is deleted.

9. The method according to claim 1 or 8, characterized in that: After editing the target video segment, the method further includes: In response to a save operation, the edited video clip is saved.

10. The method according to claim 7, characterized in that Before displaying the first frame of each video clip in the form of a playlist in the preset area of ​​the video interface, the method further includes: Obtaining the playback duration of each of the video clips; Filter out the video segments whose playing time is less than or equal to the preset time, and obtain the remaining video segments; The displaying the first frame of each video clip in the form of a playlist in a preset area of ​​the video interface includes: The first frames of the remaining video clips are displayed in the preset area in the form of a playlist.

11. A video clip screening device, characterized in that: include: A recognition module, configured to respond to a first touch operation on a video interface, perform face recognition on a current frame image of the video interface, and mark at least one face to be selected in the current frame image; a determination module, configured to respond to a second touch operation on at least one of the faces to be selected, determine a target face from the faces to be selected, and select at least one video clip including the target face from the video corresponding to the video interface; A display module, configured to display the at least one video clip; The display module is specifically used for: Displaying each of the video clips in a preset area of ​​the video interface; The device also includes: An editing module, configured to respond to an editing operation on a target video segment and edit the target video segment; The identification module is specifically used for: In response to the first touch operation, pausing the video, performing face recognition on the current frame image of the video interface, and acquiring at least one face; Determine each of the to-be-selected human faces from the at least one human face according to a preset rule; Mark each face to be selected.

12. A video clip screening device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores a computer program executable by the processor, and when the video clip screening device is running, the processor and the memory communicate through the bus, and the processor executes the computer program to perform the method described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is executed.

Citation Information

Patent Citations

  • Video playing device and method

    CN105100892A

  • Video processing device and method and mobile terminal

    CN105224925A

  • Method and apparatus for searching for target person in video

    CN106127106A

  • Video selection playing method, device and equipment and readable storage medium

    CN110225369A

  • Video-recording method and apparatus, and electronic device

    WO2018149175A1