Video processing method and apparatus, and electronic device, storage medium and product

By receiving the input of the target object, determining its lock status and performing batch processing, the problem of low video processing efficiency in the existing technology is solved, and the effects of simplifying operations and improving efficiency are achieved.

WO2024179419A1PCT designated stage expired Publication Date: 2024-09-06VIVO MOBILE COMM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/078648
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2024-02-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Video processing efficiency in the existing technology is low, requiring manual search of video frames one by one to process specified objects, resulting in cumbersome operations and low efficiency.

Method used

By receiving the input of the target object, determining its locking status, and determining the video frame to be processed from the video to be processed, the target object is processed, batch processing and encryption are implemented, and the video processing efficiency is improved.

Benefits of technology

There is no need to search video frames one by one, which simplifies user operations, improves the efficiency and security of video processing, realizes batch processing and encryption of video frames, and protects private information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078648_06092024_PF_FP
    Figure CN2024078648_06092024_PF_FP
Patent Text Reader

Abstract

The present application belongs to the technical field of video processing. Disclosed are a video processing method and apparatus, and an electronic device, a storage medium and a product. The video processing method comprises: receiving a first input for a target object in a video to be processed; in response to the first input, determining the target object to be in a locked state; determining a video frame to be processed from the video to be processed, wherein the video frame to be processed is a video frame in which the target object is in the locked state; and processing the target object in the video frame to be processed, so as to obtain a target video.
Need to check novelty before this filing date? Find Prior Art

Description

Video processing method, device, electronic device, storage medium and product

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310196007.4 filed on March 2, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of video processing technology, and specifically relates to a video processing method, device, electronic device, storage medium and product. Background Art

[0004] In a video playback scenario, in order to meet certain requirements, it may be necessary to process a specified object in the video, for example, to perform processing such as hiding or mosaicing the specified object.

[0005] Currently, the designated objects in the video are mainly processed manually in the later stage. For example, when the designated object A in the video needs to be mosaicked, each video frame needs to be manually searched. When a certain video frame contains the designated object A, the designated object A is mosaicked, which results in low efficiency of video processing.

[0006] Summary of the Invention

[0007] The purpose of the embodiments of the present application is to provide a video processing method, device, electronic device, storage medium and product, which can effectively solve the problem of low efficiency when processing specified objects in a video.

[0008] In a first aspect, an embodiment of the present application provides a video processing method, including:

[0009] receiving a first input of a target object in a video to be processed;

[0010] In response to a first input, determining the target object to be in a locked state;

[0011] Determining a video frame to be processed from the video to be processed; the video frame to be processed is a video frame in which the target object is in a locked state;

[0012] The target object in the video frame to be processed is processed to obtain the target video.

[0013] In a second aspect, an embodiment of the present application provides a video processing device, comprising: a receiving module, a determining module, and a processing module;

[0014] A receiving module, configured to receive a first input of a target object in a video to be processed;

[0015] a determination module, configured to determine, in response to a first input, that the target object is in a locked state;

[0016] The determination module is further configured to determine a video frame to be processed from the video to be processed; the video frame to be processed is a video frame in which the target object is in a locked state;

[0017] The processing module is used to process the target object in the video frame to be processed to obtain the target video.

[0018] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the video processing method described in the first aspect are implemented.

[0019] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the video processing method described in the first aspect are implemented.

[0020] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the steps of the video processing method described in the first aspect.

[0021] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the video processing method described in the first aspect.

[0022] In response to a first input regarding a target object in a video to be processed, an embodiment of the present application determines that the target object is in a locked state, determines a video frame to be processed from the video to be processed, wherein the video frame to be processed is a video frame in which the target object is in a locked state, and processes the target object in the video frame to obtain a target video. That is, the embodiment of the present application only needs to determine that the target object is in a locked state through the first input to determine the video frame to be processed from the video to be processed, and then processes the target object in the video frame to be processed. This eliminates the need for the user to search for each video frame of the video to be processed one by one, thereby improving video processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG1 is a flow chart of a video processing method provided by an embodiment of the present application;

[0024] FIG2 is a schematic diagram of a target object locked according to an embodiment of the present application;

[0025] FIG3 is a schematic diagram of a contour line of a target object provided in an embodiment of the present application;

[0026] FIG4 is a schematic diagram of identification of each video frame provided in an embodiment of the present application;

[0027] FIG5 is a schematic diagram of a method for individually processing a video frame identifier according to an embodiment of the present application;

[0028] FIG6 is a schematic diagram of a method for batch processing video frame identifiers according to an embodiment of the present application;

[0029] FIG7 is a schematic diagram showing a processing effect provided by an embodiment of the present application;

[0030] FIG8 is a schematic diagram showing an encryption method provided in an embodiment of the present application;

[0031] FIG9 is a schematic diagram showing a first password according to an embodiment of the present application;

[0032] FIG10 is a schematic diagram showing a target object before decryption according to an embodiment of the present application;

[0033] FIG11 is a schematic diagram showing a target object after decryption provided by an embodiment of the present application;

[0034] FIG12 is a schematic diagram showing a display of a video directory provided in an embodiment of the present application;

[0035] FIG13 is a schematic diagram showing a display in which some target objects are unlocked and some target objects are not unlocked, provided by an embodiment of the present application;

[0036] FIG14 is a schematic structural diagram of a video processing device provided in an embodiment of the present application;

[0037] FIG15 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0038] FIG16 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0040] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0041] In video scenes, sometimes it is necessary to perform special processing on certain people or objects in the video, such as hiding or mosaicing certain people or objects.

[0042] Currently, this is mainly done manually, for example, users are required to search each video frame one by one, find the people or objects that need special processing, and then process them one by one. The operation is cumbersome and inefficient.

[0043] To this end, embodiments of the present application provide a video processing method, device, electronic device, storage medium, and product, which can effectively solve the problem of low efficiency when processing specified objects in a video.

[0044] The video processing method provided by the embodiment of the present application is described in detail below with reference to specific embodiments. Figure 1 is a flow chart of a video processing method provided by the embodiment of the present application. The method can be applied to an electronic device, which can be a device with data processing and display functions, such as a mobile phone, a laptop, a desktop computer, etc.

[0045] As shown in FIG1 , the video processing method may include the following steps:

[0046] S110: Receive a first input of a target object in a video to be processed.

[0047] S120: In response to the first input, determine that the target object is in a locked state.

[0048] S130: Determine a video frame to be processed from the video to be processed.

[0049] The video frame to be processed is a video frame in which the target object is in a locked state.

[0050] S140: Process the target object in the video frame to be processed to obtain a target video.

[0051] In response to a first input regarding a target object in a video to be processed, an embodiment of the present application determines that the target object is in a locked state, determines a video frame to be processed from the video to be processed, wherein the video frame to be processed is a video frame in which the target object is in a locked state, and processes the target object in the video frame to obtain a target video. That is, the embodiment of the present application only needs to determine that the target object is in a locked state through the first input to determine the video frame to be processed from the video to be processed, and then processes the target object in the video frame to be processed. This eliminates the need for the user to search for each video frame of the video to be processed one by one, thereby improving video processing efficiency.

[0052] The above steps are explained in detail below:

[0053] In S110, the video to be processed can be a video in a recording scenario, that is, a video being recorded, or a video in a playback scenario, wherein the played video can be, for example, a pre-recorded video, a locally cached video, or a video obtained from the Internet.

[0054] The first input may be an input for determining a target object. This application does not limit the form of the first input, and it may be in the form of clicking, double-clicking, dragging a lock mark, and the like.

[0055] The target object may be an object included in the video to be processed. Exemplarily, the target object may include one or more objects, that is, one or more objects in the video to be processed may be determined as the target object.

[0056] Taking the video to be processed as a video in a playback scenario as an example, illustratively, before S110, the video processing method may further include the following steps:

[0057] Display the video playback interface of the video to be processed;

[0058] Accordingly, the above S110 may include the following steps:

[0059] A first input to a target object in a video playback interface is received.

[0060] The video playback interface is an interface for playing the video to be processed. For example, when the user clicks the play button of the video to be processed, the video playback interface of the video to be processed can be displayed and the processed video can be played.

[0061] When playing the video to be processed, a first input may be performed on a target object in the video playback interface.

[0062] Taking the video to be processed as a video in a recording scene as an example, illustratively, before S110, the video processing method may include the following steps:

[0063] Display a video capture preview interface for capturing the video to be processed;

[0064] Accordingly, the above S110 may include the following steps:

[0065] A first input of a target object in the video shooting preview interface is received.

[0066] The video shooting preview interface is a recording interface for recording a video to be processed. When recording a video, a first input may be performed on a target object in the video shooting preview interface.

[0067] The video processing method provided in the embodiment of the present application can be applied to scenarios such as video playback or video recording to meet the video processing requirements of different scenarios.

[0068] In S120, the target object is determined to be in a locked state, that is, the target object is locked. In the embodiment of the present application, when a first input to the target object is received, the target object can be determined to be in a locked state to facilitate subsequent video processing.

[0069] Taking the first input as an example of dragging the lock mark, the lock mark can be dragged to an area associated with the target object to lock the target object. The area associated with the target object can be, for example, an area on the target object, or an area associated with the target object that is outside the target object in the video frame to be processed.

[0070] Exemplarily, referring to FIG2 , when a drag input (ie, a first input) to the lock mark 210 is received, the lock mark 210 can be dragged onto the character shown in FIG2 in response to the drag input to put the character in a locked state.

[0071] For example, when there are multiple target objects, each target object may be locked one by one, and the locking methods of each target object may be the same or different.

[0072] In some embodiments, after locking onto a target object, the contour points of the target object can be identified using recognition technology, and a contour line of the target object can be drawn based on the identified contour points. In this way, when subsequently processing the target object, the area within the contour line can be processed. Taking the target object shown in FIG2 as an example, the contour line of the drawn target object can be referred to FIG3.

[0073] The embodiments of the present application do not limit specific recognition technologies, and any technology that can recognize the outlines of people and objects can be applied to the embodiments of the present application.

[0074] In S130, the video frame to be processed is a video frame in which the target object in the video to be processed is in a locked state. When the target object is determined to be in a locked state, the video frame in which the target object in the video to be processed is in a locked state can be determined as the video frame to be processed, so as to facilitate subsequent processing of the video frame to be processed.

[0075] In S140, the embodiment of the present application does not limit the processing method of the target object, for example, it may include but is not limited to hiding, replacing, mosaic, mapping, etc.

[0076] The processing methods for each target object can be the same or different. The same target object can also be processed differently in different time periods. For example, in time period 1, a texture processing method can be used, and in time period 2, a mosaic processing method can be used. This can meet the personalized needs of users.

[0077] The embodiment of the present application only needs to determine the target object as a locked state through a first input, and then the video frame to be processed can be determined from the video to be processed and processed, without having to search for each video frame one by one. This simplifies the user's operation and improves the video processing efficiency.

[0078] To facilitate user operation, illustratively, before S140, the video processing method may further include the following steps:

[0079] Displaying video frame identifiers corresponding to at least one target video frame; the at least one target video frame is determined from the video frames to be processed, and each target video frame is associated with at least one video frame to be processed;

[0080] A second input of a first video frame identifier of at least one video frame identifier is received.

[0081] Accordingly, the above S140 may include the following steps:

[0082] In response to the second input, the target object in the first associated video frame is processed to obtain a target video; the first associated video frame includes the target video frame corresponding to the first video frame identifier and the video frame to be processed associated with the target video frame corresponding to the first video frame identifier.

[0083] The target video frame is at least one video frame in the video frames in which the target object is in a locked state. The video frame identifier is used to identify each target video frame. Exemplarily, the target object in the target video frame can be used as the video frame identifier to identify the target video frame.

[0084] For example, referring to Figure 4, the video frame identifiers shown in Figure 4 correspond to two target objects ("person" and "butterfly") as an example. For the target object "person", 4 video frame identifiers are displayed, and they correspond to 4 target video frames respectively. Similar operations are performed for the target object "butterfly".

[0085] Illustratively, after S130 , a video frame identifier corresponding to at least one target video frame may be displayed.

[0086] The first video frame identifier may be one or more video frame identifiers among the at least one video frame identifier, and the second input may be an operation such as single-clicking, double-clicking, long pressing, or touching the first video frame identifier.

[0087] It should be understood that the video frame identifier shown in Figure 4 may be associated with multiple video frames in the video frames to be processed. For example, the first "person" in Figure 4 may be included in multiple video frames to be processed. Therefore, when the second input of the first video frame identifier is received, the target video frame corresponding to the first video frame identifier and other video frames to be processed that contain the "person" can be processed.

[0088] For example, for the first "person" in Figure 4, the target video frame corresponding to the "person" is the fifth frame of the video frame to be processed, and the sixth and seventh frames also contain the "person". According to the above embodiment, the target objects in the fifth, sixth and seventh frames can be processed.

[0089] The embodiment of the present application can process all video frames corresponding to and associated with the video frame identifier in the video frame to be processed based on the video frame identifier of the displayed partial video frame, thereby realizing batch processing without the need to search and operate one by one, thereby improving processing efficiency.

[0090] In some embodiments, after “displaying the video frame identifiers corresponding to at least one target video frame”, the video processing method may further include the following steps:

[0091] receiving a third input of a second video frame identifier among the at least one video frame identifier;

[0092] In response to the third input, the second video frame identifier is canceled from being displayed.

[0093] The second video frame identifier may be the same as or different from the first video frame identifier. The third input is used to cancel the display of the second video frame identifier. For example, the third input may be a single click, double click, long press, or touch operation on the second video frame identifier.

[0094] Exemplarily, canceling the display of the second video frame identifier may be deleting the second video frame identifier. For example, when a third input to a second video frame identifier among at least one video frame identifier is received, the second video frame identifier corresponding to the third input may be deleted.

[0095] For example, when determining the second video frame identifier, an adjacent video frame identifier adjacent to the second video frame identifier in the at least one video frame identifier may be determined. When deleting the second video frame identifier, the video frames between the second video frame and the adjacent video frame may remain unchanged, that is, the video frames between the second video frame and the adjacent video frame are not processed, that is, the video frames between the second video frame and the adjacent video frame are maintained as original video frames. The second video frame is the video frame corresponding to the second video frame identifier, and the adjacent video frame is the video frame corresponding to the adjacent video frame identifier.

[0096] In this way, the processing operations of each video frame can be canceled in batches to obtain the original video frames without having to cancel them one by one, thereby improving the processing efficiency of the video.

[0097] For example, referring to Figure 4, "Character" contains four video frame identifiers. Assuming that the second video frame identifier is the second video frame identifier from left to right, when the second video frame identifier is deleted, the processing operations of the video frames between the second video frame (the video frame corresponding to the second video frame identifier) ​​and the adjacent video frame (the video frame corresponding to the third video frame identifier) ​​can be canceled in batches.

[0098] The embodiment of the present application can delete the corresponding video frame identifier according to needs in a personalized manner, and keep the video frames between the deleted video frame and the video frames corresponding to the video frame identifiers adjacent to the deleted video frame identifier as original video frames.

[0099] In some embodiments, the above “processing the target object in the first associated video frame in response to the second input to obtain the target video” may include the following steps:

[0100] In response to a second input, displaying video processing options;

[0101] receiving a fourth input for a first option among the video processing options;

[0102] In response to the fourth input, the target object in the first associated video frame is processed according to the video processing strategy corresponding to the first option to obtain a target video.

[0103] The video processing options may include but are not limited to option one, option two, option three, option four and option five. Different options may correspond to different video processing strategies. For example, the video processing strategy corresponding to option one is "mosaic", the video processing strategy corresponding to option two is "texture", the video processing strategy corresponding to option three is "skin change", the video processing strategy corresponding to option four is "hide", and the video processing strategy corresponding to option five is "other".

[0104] The first option may be any one of the above-mentioned video processing options. The fourth input may be an operation such as clicking or touching the first option.

[0105] When a second input is received for the first video frame identifier, a video processing option corresponding to the first video frame identifier can be displayed. When a fourth input is received for the first option, the target object in the first associated video frame can be processed according to the video processing strategy corresponding to the first option to obtain the target video.

[0106] Exemplarily, referring to Figure 5, when the second input of the second video frame label "butterfly" is received, the video processing strategies corresponding to mosaic, mapping, skinning, hiding and other five options can be displayed. Exemplarily, when the fourth input of mapping is received, the "butterflies" in the first associated video frame can be batch mapped. In this way, there is no need to operate on each video frame one by one, which simplifies the user's operation and improves the video processing efficiency.

[0107] Different video processing strategies can be used for different video frame identifiers, thus meeting the personalized needs of users.

[0108] In some embodiments, while displaying the video frame identifiers corresponding to at least one target video frame, processing controls can also be displayed. Taking the video frame identifier shown in Figure 4 as an example, for example, referring to Figure 6, the video frame identifier "person" can display processing controls 610, and for the video frame identifier "butterfly", processing controls 620 can be displayed.

[0109] Each processing control can correspond to multiple processing options, and each processing option can correspond to a different video processing strategy. For example, when receiving input to the processing control 620, the video processing strategies corresponding to mosaic, mapping, skinning, hiding and other five processing options can be displayed. When receiving input to a certain processing option, the target objects in the video frames associated with the various video frame identifiers corresponding to the processing control can be batch processed.

[0110] For example, when the map corresponding to the processing control 620 is clicked, batch map processing can be performed on the "butterflies" in each video frame associated with the four video frame identifiers "butterfly".

[0111] In some embodiments, after the video frame identifier is processed using a corresponding processing method, the processing effect can be displayed, as shown in Figure 7. For example, when the sticker corresponding to the processing control 610 is clicked, the sticker will be displayed on the "characters" in the four video frame identifiers, and the processing control 610 will also display the corresponding video processing strategy "sticker"; for example, when the mosaic corresponding to the processing control 620 is clicked, mosaics will appear on the "butterflies" in the four video frame identifiers, and the processing control 620 will also display the corresponding video processing strategy "mosaic".

[0112] The embodiment of the present application can implement batch processing of video frames through simple control input, without the need to search for videos one by one and process them one by one, thus saving manpower and improving video processing efficiency.

[0113] In some embodiments, the processed video frames may be encrypted to better protect some private information.

[0114] Based on this, after "displaying the video frame identifiers corresponding to at least one target video frame", the video processing method may further include the following steps:

[0115] receiving a fifth input of a third video frame identifier among the at least one video frame identifier;

[0116] In response to the fifth input, encryption information is added to the second associated video frame; the second associated video frame includes the target video frame corresponding to the third video frame identifier and the to-be-processed video frame associated with the target video frame corresponding to the third video frame identifier.

[0117] The fifth input is used to add encryption information to the second associated video frame. For example, the fifth input can be an operation such as clicking or touching the third video frame identifier, and the third video frame identifier is one or more of at least one video frame identifier, so as to meet the user's personalized encryption needs.

[0118] When a fifth input of the third video frame identifier is received, encryption information may be added to the target video frame corresponding to the third video frame identifier and the to-be-processed video frame associated with the target video frame.

[0119] The embodiments of the present application do not limit the encryption method. For example, traditional password encryption can be used; encryption can also be performed based on the number of video frame identifiers, for example, the number of video frame identifiers can be used as a password for encryption; encryption can also be performed based on the video processing strategy adopted by each video frame identifier.

[0120] Taking encryption based on the video processing strategy adopted by each video frame identifier as an example, illustratively, when the fifth input of the third video identifier is received, the first keyword can be obtained based on the number of video processing strategies adopted by the video frame identifier and the serial number corresponding to each video processing strategy, and the first keyword can be used as a password to encrypt the target video frame corresponding to the third video frame identifier, as well as the video frame to be processed associated with the target video frame.

[0121] For example, assuming that there are currently three video processing strategies, namely ① mosaic, ② sticker, and ③ skin change, the third video frame is marked as "butterfly", and the four "butterflies" use a total of two video processing strategies, namely "mosaic" and "sticker", then the value of the first keyword X can be determined as: 1 (video processing strategy ①) * 2 (number of times video processing strategy ① is used) + 3 (video processing strategy ③) * 1 (number of times video processing strategy ③ is used) = 5.

[0122] Different video frame identifiers may use the same encryption method or different encryption methods.

[0123] When each video identifier uses the same encryption method, in order to simplify the user's operation, for example, when displaying the video frame identifier corresponding to at least one target video frame, as shown in Figure 4, a confirmation control 410 can also be displayed. When an input to the confirmation control 410 is received, the encryption method shown in Figure 8 can be displayed. Figure 8 takes four encryption methods as an example.

[0124] Taking encryption method 1 as an example, in which encryption is performed based on the video processing strategy adopted by each video frame identifier, illustratively, when input to encryption method 1 is received, the first password shown in Figure 9 can be displayed. The first password includes a first keyword, and the process of determining the first keyword can refer to the above embodiment.

[0125] Among them, a list can correspond to a first password, for example, list 1-password: 1-X-10 (the number of video frame identifiers corresponding to the same target object), list 2-password: 2-X-6 (the number of video frame identifiers corresponding to the same target object), batch encryption-password: all-X-16 (the total number of video frame identifiers corresponding to each target object).

[0126] List 1 can indicate encryption of video frames corresponding to a video frame identifier, such as a person, while List 2 can indicate encryption of video frames corresponding to a video frame identifier, such as a butterfly. Batch encryption means encrypting video frames corresponding to individual video frame identifiers, such as a person and a butterfly. This enables batch encryption, eliminating the need to perform repeated operations for each video frame identifier, thus improving video processing efficiency.

[0127] The embodiment of the present application determines the value of the first keyword based on the video processing strategy adopted by each video frame identifier, obtains the first password, and encrypts the corresponding video frame based on the first password, so that privacy information leakage can be avoided during the video transmission process, thereby improving the security of information transmission.

[0128] In the case of encryption, the target video can be decrypted using the decryption information that matches the encryption information to obtain the original video, i.e., the video to be processed. Based on this, in some embodiments, the video processing method may further include the following steps:

[0129] In the case of playing the target video, receiving a sixth input;

[0130] When the decryption information corresponding to the sixth input matches the encryption information, the video to be processed is played.

[0131] Taking the mosaic processing of the "character" as an example, without decryption, the "character" can be displayed in the form shown in Figure 10, and an encryption mark 101 will be displayed in the lower right corner to indicate that the "character" is in an encrypted state.

[0132] The sixth input may be an operation of inputting decryption information. For example, the sixth input may be performed on the encryption tag 101 to input the corresponding decryption information. If the decryption information matches the encryption information, as shown in FIG11 , the video to be processed may be played, with the encryption tag 101 in the decrypted state. If the decryption information does not match the encryption information, the user may be prompted that the decryption failed, and the target video, i.e., the processed video, may be displayed.

[0133] For example, if certain video frames are encrypted, decryption can be achieved by clicking on the target object corresponding to the encrypted video frame within a preset time period before or after the encrypted video frame in sequence. The preset time period can be set according to actual needs, for example, it can be set to 1 second.

[0134] In some embodiments, if the target object locking function is activated, a lock mark can be displayed for the locked videos in the video directory. As shown in Figure 12, if video 1 locks certain objects, a lock mark can be displayed in the area associated with video 1. This makes it easier for users to understand which videos are locked and which are unlocked.

[0135] It should be understood that for an unplayed video, before clicking the play button, a video frame is generally displayed as a video cover. In the embodiment of the present application, a video frame identifier can be selected from the displayed video frame identifiers, and the video frame corresponding to the video frame identifier can be used as the video cover of the target video. Based on this, in some embodiments, after "displaying the video frame identifier corresponding to at least one target video frame", the video processing method can also include the following steps:

[0136] receiving a seventh input of a fourth video frame identifier among the at least one video frame identifier;

[0137] In response to the seventh input, the target video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

[0138] The seventh input may be an operation such as clicking or touching the fourth video frame identifier. The fourth video frame identifier may be any one of the video frame identifiers shown in FIG4 . Generally, the video frame identifier of the video frame at the front of the target video may be used as the fourth video frame identifier, and the target video frame corresponding to the fourth video frame identifier may be used as the video cover of the target video. Of course, the video frame corresponding to the video frame identifier may also be used as the video cover of the target video. The target video frame may be a processed video frame or a video frame to be processed.

[0139] Compared with the traditional solution of searching each video frame one by one to process the target object, the embodiment of the present application can quickly select the target video frame as the video cover from the displayed video frame identifier. It is simple and convenient, and there is no need to search each video frame one by one. Especially when the video cover needs to be changed, it can greatly save the user's time.

[0140] For example, when the fourth video frame identifier is selected, the target video frame corresponding to the selected fourth video frame identifier may be indicated as the video cover by adding an outer border, filling in color, etc., to facilitate user understanding.

[0141] For the video cover, the above video processing process can be performed, or the original image can be kept, that is, no processing is performed. The embodiment of the present application does not limit the method of selecting the processed target video frame as the video cover.

[0142] For example, after selecting the fourth video frame logo, you can click or long press to indicate that the processed target video frame is used as the video cover, and you can paint the selected fourth video frame logo to indicate that the original image is used as the video cover.

[0143] For example, the video cover of the target video can also be set using the cover setting policy corresponding to the cover setting option. Based on this, in some embodiments, the above-mentioned "in response to the seventh input, using the target video frame corresponding to the fourth video frame identifier as the video cover of the target video" can include the following steps:

[0144] In response to a seventh input, displaying cover setting options;

[0145] receiving an eighth input for a second option in the cover setting options;

[0146] In response to the eighth input, according to the cover setting strategy corresponding to the second option, the target video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

[0147] For example, referring to FIG4 , when the seventh input of the fourth video frame identifier is received, a cover setting option 420 may be displayed. The cover setting option 420 may include a first option and a second option. Different options may correspond to different cover setting strategies. For example, the cover setting strategy corresponding to the first option may be “yes”, that is, the original video frame corresponding to the fourth video frame identifier, that is, the video frame to be processed, is used as the video cover of the target video. The cover setting strategy corresponding to the second option may be “no”, that is, the processed video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

[0148] The eighth input may be an operation such as a click or touch on the second option. When the eighth input on the second option is received, the processed video frame corresponding to the fourth video frame identifier may be used as the video cover of the target video.

[0149] For example, if no input to the cover setting option 420 is received within the set time, the unprocessed video frame, ie, the original image, is used as the video cover of the target video by default.

[0150] Compared with the traditional solution of processing the target object by searching each video frame one by one, the embodiment of the present application can flexibly process the video cover through the cover setting option, that is, the video cover can be processed or not, achieving the purpose of reversibility and meeting the user's personalized needs.

[0151] In some embodiments, the target object in the video frame to be processed can be locked as needed to facilitate subsequent processing of the locked target object. The locked state of the target object can also be canceled as needed. Based on this, in some embodiments, after S120, the video processing method can further include the following steps:

[0152] receiving a ninth input of a target object in the video to be processed;

[0153] In response to a ninth input, the locked state of the target object is canceled.

[0154] The ninth input is used to cancel the lock state of the target object. Specifically, the ninth input can be a single click, double click, long press, or touch operation on the target object. When the ninth input is received on the target object, the lock state of the target object can be canceled, and the processing of the target object can be canceled, thus achieving reversibility of the operation.

[0155] For example, if the target object is locked via a lock mark, the ninth input may also be applied to the lock mark corresponding to the target object. That is, upon receiving the ninth input to the lock mark, the lock state of the target object may be canceled, and the lock mark may continue to be displayed, making it convenient for the user to re-lock the target object.

[0156] It should be understood that a same to-be-processed video frame may contain multiple target objects. In actual application, the locking status of some target objects may be canceled while the locking status of other target objects remains unchanged.

[0157] For example, referring to FIG13 , the video frame contains both a “person” and a “butterfly”. Assuming that both target objects are in a locked state, when the lock mark of the “person” is clicked, the locked state of the “person” can be canceled, while the “butterfly” remains in a locked state.

[0158] Exemplarily, after unlocking, the lock mark is in an unlocked state and continues to be displayed, so that the user can easily re-lock the portion of the first object.

[0159] It should be noted that the video processing method provided in the embodiments of the present application can be executed by a video processing device or a processing module in the video processing device for executing the video processing method. In the embodiments of the present application, the video processing device provided in the embodiments of the present application is described by taking the video processing device executing the video processing method as an example.

[0160] FIG14 is a schematic structural diagram of a video device provided in an embodiment of the present application.

[0161] As shown in FIG14 , the video processing device 1400 may include: a receiving module 1401 , a determining module 1402 , and a processing module 1403 ;

[0162] Receiving module 1401, configured to receive a first input of a target object in a video to be processed;

[0163] A determination module 1402 is configured to determine, in response to a first input, that the target object is in a locked state;

[0164] The determination module 1402 is further configured to determine a to-be-processed video frame from the to-be-processed video; the to-be-processed video frame is a video frame in which the target object is in a locked state;

[0165] The processing module 1403 is configured to process the target object in the video frame to be processed to obtain a target video.

[0166] In response to a first input regarding a target object in a video to be processed, an embodiment of the present application determines that the target object is in a locked state, determines a video frame to be processed from the video to be processed, wherein the video frame to be processed is a video frame in which the target object is in a locked state, and processes the target object in the video frame to obtain a target video. That is, the embodiment of the present application only needs to determine that the target object is in a locked state through the first input to determine the video frame to be processed from the video to be processed, and then processes the target object in the video frame to be processed. This eliminates the need for the user to search for each video frame of the video to be processed one by one, thereby improving video processing efficiency.

[0167] In some possible implementations of the embodiments of the present application, the video processing device 1400 may further include:

[0168] A display module, configured to display video frame identifiers corresponding to at least one target video frame before the processing module 1403 processes the target object in the video frame to be processed to obtain the target video; the at least one target video frame is determined from the video frame to be processed, and each target video frame is associated with at least one video frame to be processed;

[0169] The receiving module 1401 is further configured to receive a second input of a first video frame identifier among the at least one video frame identifier;

[0170] The processing module 1403 is specifically used to process the target object in the first associated video frame in response to the second input to obtain the target video; the first associated video frame includes the target video frame corresponding to the first video frame identifier, and the video frame to be processed associated with the target video frame corresponding to the first video frame identifier.

[0171] In some possible implementations of the embodiment of the present application, the receiving module 1401 is further configured to receive a third input of a second video frame identifier in the at least one video frame identifier;

[0172] The processing module 1403 is further configured to cancel display of the second video frame identifier in response to a third input.

[0173] In some possible implementations of the embodiments of the present application, the processing module 1403 is specifically configured to display video processing options in response to the second input;

[0174] receiving a fourth input for a first option among the video processing options;

[0175] In response to the fourth input, the target object in the first associated video frame is processed according to the video processing strategy corresponding to the first option to obtain a target video.

[0176] In some possible implementations of the embodiment of the present application, the receiving module 1401 is further configured to receive a fifth input of a third video frame identifier among the at least one video frame identifier;

[0177] The processing module 1403 is further configured to add encryption information to the second associated video frame in response to the fifth input; the second associated video frame includes the target video frame corresponding to the third video frame identifier and the video frame to be processed associated with the target video frame corresponding to the third video frame identifier.

[0178] In some possible implementations of the embodiment of the present application, the receiving module 1401 is further configured to receive a sixth input when the target video is being played;

[0179] The video processing device 1400 may further include:

[0180] The playing module plays the video to be processed when the decryption information corresponding to the sixth input matches the encryption information.

[0181] In some possible implementations of the embodiment of the present application, the receiving module 1401 is further configured to receive a seventh input of a fourth video frame identifier among the at least one video frame identifier;

[0182] The determination module 1402 is further configured to, in response to the seventh input, use the target video frame corresponding to the fourth video frame identifier as the video cover of the target video.

[0183] In some possible implementations of the embodiments of the present application, the determining module is specifically configured to display a cover setting option in response to the seventh input;

[0184] receiving an eighth input for a second option in the cover setting options;

[0185] In response to the eighth input, according to the cover setting strategy corresponding to the second option, the target video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

[0186] In some possible implementations of the embodiment of the present application, the receiving module 1401 is further configured to receive a ninth input regarding a target object in the video to be processed;

[0187] The processing module 1403 is further configured to cancel the locked state of the target object in response to a ninth input.

[0188] In some possible implementations of the embodiments of the present application, the display module is further configured to display a video playback interface of the video to be processed before the receiving module 1401 receives the first input of the target object in the video to be processed;

[0189] The receiving module 1401 is specifically configured to receive a first input on a target object in the video playback interface.

[0190] In some possible implementations of the embodiments of the present application, the display module is further configured to display a video shooting preview interface for shooting the video to be processed before the receiving module 1401 receives the first input of the target object in the video to be processed;

[0191] The receiving module 1401 is specifically configured to receive a first input on a target object in the video shooting preview interface.

[0192] The video processing device in the embodiments of the present application can be a device, or a component, integrated circuit, or chip in an electronic device. The electronic device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application do not specifically limit this.

[0193] The electronic device in the embodiment of the present application may be an electronic device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0194] The video processing device provided in the embodiment of the present application can implement each process in the video processing method embodiment of Figures 1 to 13. To avoid repetition, they are not described here.

[0195] As shown in Figure 15, an embodiment of the present application also provides an electronic device 1500, including a processor 1501, a memory 1502, and a program or instruction stored in the memory 1502 and executable on the processor 1502. When the program or instruction is executed by the processor 1501, the various processes of the above-mentioned video processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0196] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0197] In some possible implementations of the embodiments of the present application, the processor 1501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0198] In some possible implementations of the embodiments of the present application, the memory 1502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical, or other physical / tangible memory storage device. Therefore, generally, the memory 1502 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the video processing method according to the embodiments of the present application.

[0199] FIG16 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0200] The electronic device 1600 includes but is not limited to components such as a radio frequency unit 1601 , a network module 1602 , an audio output unit 1603 , an input unit 1604 , a sensor 1605 , a display unit 1606 , a user input unit 1607 , an interface unit 1608 , a memory 1609 , and a processor 1610 .

[0201] Those skilled in the art will appreciate that the electronic device 1600 may further include a power source (e.g., a battery) for powering various components. The power source may be logically connected to the processor 1610 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG16 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0202] The user input unit 1607 is used to: receive a first input of a target object in the video to be processed;

[0203] The processor 1610 is configured to: determine, in response to a first input, that the target object is in a locked state;

[0204] Determining a video frame to be processed from the video to be processed; the video frame to be processed is a video frame in which the target object is in a locked state;

[0205] The target object in the video frame to be processed is processed to obtain the target video.

[0206] In response to a first input regarding a target object in a video to be processed, an embodiment of the present application determines that the target object is in a locked state, determines a video frame to be processed from the video to be processed, wherein the video frame to be processed is a video frame in which the target object is in a locked state, and processes the target object in the video frame to obtain a target video. That is, the embodiment of the present application only needs to determine that the target object is in a locked state through the first input to determine the video frame to be processed from the video to be processed, and then processes the target object in the video frame to be processed. This eliminates the need for the user to search for each video frame of the video to be processed one by one, thereby improving video processing efficiency.

[0207] In some possible implementations of the embodiments of the present application, the display unit 1606 is configured to: before the processor 1610 processes the target object in the to-be-processed video frame to obtain the target video, display the video frame identifiers corresponding to the at least one target video frame; the at least one target video frame is determined from the to-be-processed video frame, and each target video frame is associated with at least one to-be-processed video frame;

[0208] The user input unit 1607 is configured to: receive a second input of a first video frame identifier among the at least one video frame identifier;

[0209] Processor 1610 is specifically used to: in response to the second input, process the target object in the first associated video frame to obtain the target video; the first associated video frame includes the target video frame corresponding to the first video frame identifier, and the video frame to be processed associated with the target video frame corresponding to the first video frame identifier.

[0210] In some possible implementations of the embodiment of the present application, the user input unit 1607 is further configured to: receive a third input of a second video frame identifier among the at least one video frame identifier;

[0211] The processor 1610 is further configured to: in response to a third input, cancel display of the second video frame identifier.

[0212] In some possible implementations of the embodiments of the present application, the processor 1610 is specifically configured to: display video processing options in response to the second input;

[0213] receiving a fourth input for a first option among the video processing options;

[0214] In response to the fourth input, the target object in the first associated video frame is processed according to the video processing strategy corresponding to the first option to obtain a target video.

[0215] In some possible implementations of the embodiment of the present application, the user input unit 1607 is further configured to: receive a fifth input of a third video frame identifier among the at least one video frame identifier;

[0216] Processor 1610 is further configured to: in response to a fifth input, add encryption information to a second associated video frame; the second associated video frame includes a target video frame corresponding to the third video frame identifier, and a to-be-processed video frame associated with the target video frame corresponding to the third video frame identifier.

[0217] In some possible implementations of the embodiment of the present application, the user input unit 1607 is further configured to: receive a sixth input when the target video is being played;

[0218] The processor 1610 is specifically configured to: play the video to be processed when the decryption information corresponding to the sixth input matches the encryption information.

[0219] In some possible implementations of the embodiment of the present application, the user input unit 1607 is further configured to: receive a seventh input of a fourth video frame identifier among the at least one video frame identifier;

[0220] The processor 1610 is further configured to: in response to the seventh input, use the target video frame corresponding to the fourth video frame identifier as the video cover of the target video.

[0221] In some possible implementations of the embodiments of the present application, the processor 1610 is specifically configured to:

[0222] In response to a seventh input, displaying cover setting options;

[0223] receiving an eighth input for a second option in the cover setting options;

[0224] In response to the eighth input, according to the cover setting strategy corresponding to the second option, the target video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

[0225] In some possible implementations of the embodiment of the present application, the user input unit 1607 is further configured to: receive a ninth input regarding a target object in the video to be processed;

[0226] The processor 1610 is specifically configured to: in response to a ninth input, cancel the locked state of the target object.

[0227] In some possible implementations of the embodiments of the present application, the display unit 1606 is further configured to: display a video playback interface of the video to be processed before the user input unit 1607 receives a first input of a target object in the video to be processed;

[0228] The user input unit 1607 is specifically configured to receive a first input on a target object in the video playback interface.

[0229] In some possible implementations of the embodiments of the present application, the display unit 1606 is further configured to: display a video shooting preview interface for shooting the video to be processed before the user input unit 1607 receives a first input of a target object in the video to be processed;

[0230] The user input unit 1607 is specifically configured to receive a first input on a target object in the video shooting preview interface.

[0231] It should be understood that in an embodiment of the present application, the input unit 1604 may include a graphics processing unit (GPU) 16041 and a microphone 16042, and the graphics processor 16041 processes image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1607 includes a touch panel 16071 and other input devices 16072. The touch panel 16071 is also called a touch screen. The touch panel 16071 may include two parts: a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understood that the modem processor may not be integrated into the processor 1610.

[0232] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned video processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0233] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as ROM, RAM, magnetic disk or optical disk.

[0234] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, which is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-mentioned video processing method embodiment applied to electronic devices, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0235] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0236] An embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the various processes of the above-mentioned video processing method embodiment applied to the electronic device and can achieve the same technical effect. To avoid repetition, they are not described here.

[0237] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0238] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0239] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A video processing method, comprising: Receiving a first input of a target object in a video to be processed; In response to the first input, determining the target object to be in a locked state; Determining a video frame to be processed from the video to be processed; the video frame to be processed is a video frame in which the target object is in a locked state; The target object in the to-be-processed video frame is processed to obtain a target video.

2. According to the method of claim 1, before the step of processing the target object in the to-be-processed video frame to obtain the target video, the method further comprises: Displaying video frame identifiers corresponding to at least one target video frame; the at least one target video frame is determined from the video frames to be processed, and each target video frame is associated with at least one video frame to be processed; receiving a second input of a first video frame identifier of at least one video frame identifier; The step of processing the target object in the to-be-processed video frame to obtain the target video includes: In response to the second input, processing the target object in the first associated video frame to obtain a target video; The first associated video frame includes a target video frame corresponding to the first video frame identifier and a to-be-processed video frame associated with the target video frame corresponding to the first video frame identifier.

3. The method according to claim 2, further comprising: receiving a third input of a second video frame identifier among the at least one video frame identifier; In response to the third input, the second video frame identifier is canceled from being displayed.

4. The method according to claim 2, wherein: The step of processing the target object in the first associated video frame in response to the second input to obtain the target video includes: In response to the second input, displaying video processing options; receiving a fourth input for a first option among the video processing options; In response to the fourth input, the target object in the first associated video frame is processed according to the video processing strategy corresponding to the first option to obtain the target video.

5. The method according to claim 2, further comprising: receiving a fifth input of a third video frame identifier among the at least one video frame identifier; In response to the fifth input, encryption information is added to a second associated video frame; the second associated video frame includes a target video frame corresponding to the third video frame identifier, and a to-be-processed video frame associated with the target video frame corresponding to the third video frame identifier.

6. The method according to claim 5, further comprising: While playing the target video, receiving a sixth input; When the decryption information corresponding to the sixth input matches the encryption information, the video to be processed is played.

7. The method according to claim 2, further comprising: receiving a seventh input of a fourth video frame identifier of the at least one video frame identifier; In response to the seventh input, the target video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

8. The method according to claim 7, wherein: In response to the seventh input, using the target video frame corresponding to the fourth video frame identifier as the video cover of the target video includes: In response to the seventh input, displaying cover setting options; receiving an eighth input for a second option in the cover setting options; In response to the eighth input, according to the cover setting strategy corresponding to the second option, the target video frame corresponding to the fourth video frame identifier is used as the video cover of the target video.

9. The method according to claim 1, further comprising: Receiving a ninth input of a target object in the video to be processed; In response to the ninth input, the locked state of the target object is canceled.

10. The method according to claim 1, before the step of receiving a first input of a target object in a video to be processed, the method further comprises: Display the video playback interface of the video to be processed; The receiving a first input of a target object in a video to be processed comprises: A first input to the target object in the video playback interface is received.

11. The method according to claim 1, before the step of receiving a first input of a target object in a video to be processed, the method further comprises: Displaying a video shooting preview interface for shooting the video to be processed; The receiving a first input of a target object in a video to be processed comprises: A first input to the target object in the video shooting preview interface is received.

12. A video processing device, comprising: A receiving module, a determining module and a processing module; The receiving module is used to receive a first input of a target object in a video to be processed; The determination module is configured to determine, in response to the first input, that the target object is in a locked state; The determination module is further used to determine a to-be-processed video frame from the to-be-processed video; the to-be-processed video frame is a video frame in which the target object is in a locked state; The processing module is used to process the target object in the video frame to be processed to obtain a target video.

13. An electronic device, comprising: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the video processing method according to any one of claims 1 to 11.

14. A computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the steps of the video processing method according to any one of claims 1 to 11.

15. A computer program product, wherein when instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the steps of the video processing method according to any one of claims 1 to 11.

16. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the video processing method according to any one of claims 1 to 11. 17 . An electronic device, configured to execute the steps of the video processing method according to claim 1 .

Citation Information

Patent Citations

  • Method to identify and see a person in a public security camera feed without been able to see the rest of the people or tags

    CA3057931A1

  • Video cover generation method, video cover generation device and storage medium

    CN108965922A

  • Video processing method, electronic equipment and mobile terminal

    CN110719527A

  • Image generation method and device and electronic equipment

    CN112887623A

  • Video processing method and device, electronic equipment and storage medium

    CN113067983A