Video watermark processing method, system, electronic device and storage medium

By identifying the target objects and picture scenes in the video, matching and applying a watermark addition solution, the problem of cumbersome and inefficient addition of video watermarks in the existing technology is solved, and the watermark is automatically added on demand is realized, improving the user experience.

CN113947513BActive Publication Date: 2025-03-14ANHUI SHANGQU PLAY NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111131598.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-26
Publication Date
2025-03-14
Estimated Expiration
2041-09-26

AI Technical Summary

Technical Problem

When the prior art automatically adds watermarks in videos, the operation process is cumbersome and inefficient, and it is impossible to automatically add watermarks on demand, affecting the user's visual experience.

Method used

By identifying the screen scene of the target object and the video frame from the video to be processed, the corresponding watermark addition scheme is matched, including the watermark content adapted to the target object and the watermark content display strategy matching the screen scene, and the watermark content display strategy is automatically added.

Benefits of technology

It realizes automatic addition of video watermarks on demand, improves processing efficiency, ensures that the watermark display effect is in line with the picture scenes of video frames, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113947513B_ABST
    Figure CN113947513B_ABST
Patent Text Reader

Abstract

The present invention provides a video watermark processing method and system, wherein the method comprises: identifying a target object to be watermarked and a video frame corresponding to the target object from a video to be processed, and analyzing the picture scene of the video frame; matching a corresponding watermark adding scheme according to the target object and the picture scene, the watermark adding scheme comprising a watermark content adapted to the target object and a watermark content display strategy matched to the picture scene; according to the watermark content display strategy, adding the watermark content adapted to the target object to the video frame corresponding to the target object. Through the present invention, not only can a suitable watermark be automatically added to a video frame as required, but also the display effect of the watermark can be made more consistent with the picture scene of the current video frame, such as adding a character name watermark to a video screen where a character appears, or adding a content introduction watermark to a scene video clip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of watermark processing, and in particular to a video watermark processing method, system, electronic device and storage medium. Background Art

[0002] Video watermark refers to adding some text, pictures or video marks to the video. The mark will not block the main content of the video, but it can indicate the source of the video and even be added as an introduction to specific things in the video. It can also prevent the video from being stolen by others.

[0003] In some specific cases, when it is necessary to embed a brief introduction to things that appear in the video, such as people, in addition to pausing the video and adding a pop-up window (dynamic text, and / or text broadcast) in the prior art, a watermark can also be used. In the former, the video is forced to pause and dynamic text and / or text broadcast is added, which makes the video playback incoherent and the main content of the video is blocked, which will seriously affect the user's viewing experience. In addition, both the former and the latter require manual identification of whether the video content needs to be added and manual addition in the early or late stages of video editing. Even if the current watermark adding software is used, it is necessary to manually select the target video frame, target object and appropriate watermark, and the operation process is cumbersome and inefficient.

[0004] Therefore, it is necessary to provide a method that can not only improve the efficiency of video watermark processing, but also realize automatic and on-demand addition of video watermarks according to video content. Summary of the invention

[0005] In order to solve the above problems in the prior art, the present invention provides a video watermark processing method, system, electronic device and storage medium, which can automatically add watermarks to videos on demand.

[0006] A first aspect of the present invention provides a video watermark processing method, comprising:

[0007] Identify the target object to be watermarked and the video frame corresponding to the target object from the video to be processed, and analyze the scene of the video frame;

[0008] According to the target object and the picture scene matching corresponding watermark adding scheme, the watermark adding scheme includes watermark content adapted to the target object and watermark content display strategy matching the picture scene;

[0009] According to the watermark content display strategy, the watermark content adapted to the target object is added to the video frame corresponding to the target object.

[0010] Furthermore, the watermark content includes a brief introduction mark of the target object and a video source;

[0011] The watermark content display strategy includes: watermark content display style and watermark content display duration, and the watermark content display style includes a dynamic display style and a static display style.

[0012] Furthermore, the watermark adding scheme corresponding to the target object and the picture scene matching includes:

[0013] Analyzing feature labels of both the target object and the picture scene;

[0014] Based on the preset mapping relationship between the characteristic labels of the two and the watermark adding scheme, and according to the characteristic labels of the two, the corresponding watermark adding scheme is obtained.

[0015] Further, the analyzing the scene of the video frame includes:

[0016] Extracting various image features of the video frame;

[0017] Each image feature is input into a pre-trained neural network model to perform picture scene recognition to obtain the picture scene of the video frame.

[0018] A second aspect of the present invention provides a video watermark processing system, comprising:

[0019] A watermark demand processing module is used to identify the target object to be watermarked and the video frame corresponding to the target object from the video to be processed, and analyze the picture scene of the video frame;

[0020] A watermark adding scheme matching module, used for matching a corresponding watermark adding scheme according to the target object and the picture scene, wherein the watermark adding scheme includes a watermark content adapted to the target object and a watermark content display strategy matched to the picture scene;

[0021] The watermark adding module is used to add the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.

[0022] Furthermore, the watermark content includes a brief introduction mark of the target object and a video source;

[0023] The watermark content display strategy includes: watermark content display style and watermark content display duration, and the watermark content display style includes a dynamic display style and a static display style.

[0024] Furthermore, the watermark adding scheme matching module is also used for:

[0025] Analyzing feature labels of both the target object and the picture scene;

[0026] Based on the preset mapping relationship between the characteristic labels of the two and the watermark adding scheme, and according to the characteristic labels of the two, the corresponding watermark adding scheme is obtained.

[0027] Furthermore, the watermark requirement processing module is also used to:

[0028] Extracting various image features of the video frame;

[0029] Each image feature is input into a pre-trained neural network model to perform picture scene recognition to obtain the picture scene of the video frame.

[0030] The third aspect of the present invention provides an electronic device, characterized in that it includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the video watermark processing method as described in any one of the first aspects above.

[0031] The third aspect of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the video watermark processing method as described in any one of the first aspects above.

[0032] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0033] The present invention provides a video watermark processing method and system, wherein the method comprises: identifying a target object to be watermarked and a video frame corresponding to the target object from a video to be processed, and analyzing the picture scene of the video frame; matching a corresponding watermark adding scheme according to the target object and the picture scene, the watermark adding scheme comprising a watermark content adapted to the target object and a watermark content display strategy matched to the picture scene; according to the watermark content display strategy, adding the watermark content adapted to the target object to the video frame corresponding to the target object. Through the present invention, not only can a suitable watermark be automatically added to a video frame as required, but also the display effect of the watermark can be made more consistent with the picture scene of the current video frame, such as adding a watermark of a person's name to a video picture in which a person appears, or adding a watermark of a content introduction to a scene video clip. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is a schematic diagram of an application environment of a video watermark processing method provided by a certain embodiment of the present invention;

[0036] Figure 2 is a schematic diagram of an application environment of a video watermark processing method provided by another embodiment of the present invention;

[0037] Figure 3 is a flow chart of a video watermark processing method provided by an embodiment of the present invention;

[0038] Figure 4 is a device diagram of a video watermark processing system provided by a certain embodiment of the present invention;

[0039] Figure 5 It is a structural diagram of an electronic device provided by a certain embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.

[0042] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0043] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0044] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0045] The first aspect.

[0046] See also Figure 1 , Figure 1 A schematic diagram of an application environment provided in an embodiment of the present application, such as Figure 1As shown, the application environment may include a service server 01 , a video watermark processing component 02 and a client 03 .

[0047] In the embodiment of the present invention, the service server 01 may be used to generate a video watermark processing method, and the video watermark processing method includes:

[0048] Identify the target object to be watermarked and the video frame corresponding to the target object from the video to be processed, and analyze the scene of the video frame;

[0049] According to the target object and the picture scene matching corresponding watermark adding scheme, the watermark adding scheme includes watermark content adapted to the target object and watermark content display strategy matching the picture scene;

[0050] According to the watermark content display strategy, the watermark content adapted to the target object is added to the video frame corresponding to the target object.

[0051] Through the present invention, not only can a suitable watermark be automatically added to a video frame as needed, but the display effect of the watermark can also be made more consistent with the picture scene of the current video frame, such as adding a watermark of a person's name to a video picture in which a person appears, or adding a watermark of a content introduction to a scene video clip.

[0052] The server involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal device can be a smart phone, tablet computer, laptop computer, PDA, personal computer, smart TV, smart watch, etc., but is not limited to this. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application. The number of servers and terminal devices is also not limited.

[0053] In an embodiment of the present invention, the video watermark processing component 02 can be used to execute the data processing method. The video watermark processing component 02 can be located in the business server 01 or in other business servers. When the video watermark processing component 02 is located in other business servers, the business server 01 can access the other business servers through the network or other means to obtain the index data corresponding to the field generated by the video watermark processing component 02 in the other business server.

[0054] See also Figure 2, Figure 2 The present invention is a schematic diagram of a scenario application in which the video watermark processing method provided by the embodiment disclosed in the present invention can be applied.

[0055] exist Figure 2 In the application scenario, first, the computer device 101 receives the video 102 to be processed; then, the target object 103 to be watermarked and the video frame 104 corresponding to the target object are identified from the video 102 to be processed, and the picture scene 105 of the video frame is analyzed; then, the corresponding watermark adding scheme is matched according to the target object 103 and the picture scene 104, and the watermark adding scheme includes watermark content 106 adapted to the target object and a watermark content display strategy 107 matching the picture scene; finally, according to the watermark content display strategy 107, the watermark content 106 adapted to the target object is added to the video frame 104 corresponding to the target object to obtain a video 108 containing a watermark.

[0056] The following is a detailed description of the video watermark processing method embodiment 1, please refer to Figure 3 , Figure 3 is a flow chart of a video watermark processing method provided by Embodiment 1 of the present invention, comprising:

[0057] S100: Identify a target object to be watermarked and a video frame corresponding to the target object from a video to be processed, and analyze a scene of the video frame.

[0058] It should be noted that the target object to be watermarked includes but is not limited to a person or a still object, the video frame corresponding to the target object is the frame to which the watermark is to be added, and the picture scene of the video frame is an image other than the target object in the video frame, and the picture scene includes but is not limited to the color tone of the picture scene. The video frame is obtained by performing frame capture processing on the video to be processed, and the frame capture processing can be frame-by-frame capture or frame capture at intervals of a certain number of frames.

[0059] S200: A watermark adding scheme corresponding to the target object and the picture scene is matched, wherein the watermark adding scheme includes watermark content adapted to the target object and a watermark content display strategy matching the picture scene.

[0060] Preferably, the watermark content includes the introduction mark and video source of the target object; the watermark content display strategy includes: watermark content display style and watermark content display duration, and the watermark content display style includes dynamic display style and static display style.

[0061] It should be noted that the watermark adding scheme is configured by engineers according to the watermark adding requirements, and different target objects and screen scenes will be configured with different watermark adding schemes. Through the preset mapping relationship between the target object and the watermark content, the corresponding watermark content is matched for the target object; through the preset mapping relationship between the screen scene and the watermark content display strategy, the corresponding watermark content display strategy is matched for the screen scene. The watermark content display strategy includes the location of adding the watermark, the watermark display duration, the color and transparency of the watermark content, etc. For example, if the color tone of the screen scene in the screen scene is a dark tone (such as black tone), the watermark color in the watermark content display strategy is a light color (such as white), and the transparency is greater than a certain threshold; if the color tone of the screen scene in the screen scene is a light tone (such as light green tone), the watermark color in the watermark content display strategy is a dark color (such as black), and the transparency is greater than a certain threshold; the watermark content display strategy is set according to the screen scene, and its purpose is to make the watermark content display clear and visible.

[0062] S300: According to the watermark content display strategy, add the watermark content adapted to the target object to the video frame corresponding to the target object.

[0063] For example, a video watermark processing method provided in Example 1 is used to add character introductions (including name, font size, date of birth and death, etc.) to all characters in a TV series. The character introductions can be understood as watermarks. For example, to add character introductions to all pictures, the specific steps include:

[0064] Step 1: Identify the target object to be watermarked and the video frame corresponding to the target object from the video to which the character introduction is to be added, and analyze the picture scene of the video frame (such as the picture scene tone is light color).

[0065] Step 2: According to the target object and the picture scene, a corresponding watermark adding scheme is matched, wherein the watermark adding scheme includes watermark content (character introduction and video source) adapted to the target object and a watermark content display strategy (watermark display duration is 5 seconds and watermark color is dark brown) matching the picture scene.

[0066] Step three: according to the watermark content display strategy, the watermark content adapted to the target object is added to the video frame corresponding to the target object, and character introductions are added to all the pictures in the TV series.

[0067] Through the method provided in Example 1 of the present invention, not only can a suitable watermark be automatically added to a video frame as needed, but the display effect of the watermark can also be made more consistent with the picture scene of the current video frame, such as adding a watermark of a person's name to a video picture in which a person appears.

[0068] Embodiment 2 of the present invention provides a video watermark processing method, wherein steps S100-S300 are the same as the steps in embodiment 1. Preferably, the analyzing the scene of the video frame includes:

[0069] Extracting various image features of the video frame.

[0070] Each image feature is input into a pre-trained neural network model to perform picture scene recognition to obtain the picture scene of the video frame.

[0071] It should be noted that the pre-trained neural network model has been established and trained before use. The image features are identified through the neural network model to obtain the picture scene of the video frame.

[0072] It can be understood that the video frame corresponding to each video segment is used as input data, input into the neural network model, and processed by the neural network model to output the picture scene of the video frame.

[0073] By using the method provided in Example 2 of the present invention, content recognition of picture scenes is achieved, and the accuracy of picture scene recognition is improved through a neural network model.

[0074] Embodiment 3 of the present invention provides a video watermark processing method, wherein steps S100-S300 are the same as the steps in embodiment 1. Preferably, the watermark adding scheme corresponding to the target object and the picture scene matching includes:

[0075] Analyze the feature labels of both the target object and the picture scene.

[0076] Based on the preset mapping relationship between the characteristic labels of the two and the watermark adding scheme, and according to the characteristic labels of the two, the corresponding watermark adding scheme is obtained.

[0077] Methods for obtaining feature labels include but are not limited to: the deep learning model extracts the features of the target object (facial features, etc.) and the features of the scene information (color tone, etc.), and obtains the feature labels of the target object and scene type after calculation. For example, after extracting the facial features of a person, the deep learning model can identify the facial features of the current person and output feature labels; for scenes, it extracts relevant information such as color and gradient values, and identifies scene labels such as dark tones and rainy days.

[0078] It should be noted that the characteristic label of the target object refers to the characteristic label used to distinguish the target object to be watermarked in the video to be processed from other interfering objects in the video to be processed; the characteristic label of the picture scene refers to the characteristic label used to distinguish the picture scene of the current video frame of the target object from the picture scene of the video frame of the target object at other times. The mapping relationship is used to match the corresponding watermark adding scheme according to the characteristic label.

[0079] It can be understood that the target object can be distinguished from other interference objects through the feature label of the target object; illustratively, when adding watermark information of character introduction to all the pictures of a TV series, a watermark adding scheme for adding character introduction information is obtained according to the feature label and the preset mapping relationship.

[0080] Through the method provided in Example 3 of the present invention, feature tags are obtained by performing feature recognition on target objects and picture scenes, and corresponding watermark adding schemes are matched, thereby improving the adaptability of watermark adding and realizing automatic watermarking for videos on demand.

[0081] The second aspect.

[0082] See also Figure 4 Embodiment 4 of the present invention provides a video watermark processing system, including:

[0083] The watermark requirement processing module 100 is used to identify the target object to be watermarked and the video frame corresponding to the target object from the video to be processed, and analyze the picture scene of the video frame.

[0084] It should be noted that the target object to be watermarked includes but is not limited to a person or a still object, the video frame corresponding to the target object is the frame to which the watermark is to be added, and the picture scene of the video frame is an image other than the target object in the video frame, and the picture scene includes but is not limited to the color tone of the picture scene. The video frame is obtained by performing frame capture processing on the video to be processed, and the frame capture processing can be frame-by-frame capture or frame capture at intervals of a certain number of frames.

[0085] The watermark adding scheme matching module 200 is used to match the corresponding watermark adding scheme according to the target object and the picture scene, and the watermark adding scheme includes the watermark content adapted to the target object and the watermark content display strategy matching the picture scene.

[0086] Preferably, the watermark content includes the introduction mark and video source of the target object; the watermark content display strategy includes: watermark content display style and watermark content display duration, and the watermark content display style includes dynamic display style and static display style.

[0087] It should be noted that the watermark adding scheme is configured by engineers according to the watermark adding requirements, and different target objects and screen scenes will be configured with different watermark adding schemes. Through the preset mapping relationship between the target object and the watermark content, the corresponding watermark content is matched for the target object; through the preset mapping relationship between the screen scene and the watermark content display strategy, the corresponding watermark content display strategy is matched for the screen scene. The watermark content display strategy includes the location of adding the watermark, the watermark display duration, the color and transparency of the watermark content, etc. For example, if the color tone of the screen scene in the screen scene is a dark tone (such as black tone), the watermark color in the watermark content display strategy is a light color (such as white), and the transparency is greater than a certain threshold; if the color tone of the screen scene in the screen scene is a light tone (such as light green tone), the watermark color in the watermark content display strategy is a dark color (such as black), and the transparency is greater than a certain threshold; the watermark content display strategy is set according to the screen scene, and its purpose is to make the watermark content display clear and visible.

[0088] The watermark adding module 300 is used to add the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.

[0089] For example, a video watermark processing system provided in Example 4 is used to add character introductions (including name, font size, date of birth and death, etc.) to all characters in a TV series. The character introductions can be understood as watermarks. For example, adding character introductions to all pictures specifically includes:

[0090] The watermark requirement processing module 100 is used to identify the target object to be watermarked and the video frame corresponding to the target object from the video to which the character introduction is to be added, and analyze the picture scene of the video frame (such as the picture scene tone is light color).

[0091] The watermark adding scheme matching module 200 is used to match the corresponding watermark adding scheme according to the target object and the picture scene, and the watermark adding scheme includes the watermark content adapted to the target object (and the watermark content display strategy matching the picture scene (the watermark display duration is 5 seconds and the watermark color is dark brown).

[0092] The watermark adding module 300 is used to add the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy, so as to complete the addition of character introductions to all the pictures of the TV series.

[0093] The system provided by Example 4 of the present invention can not only automatically add a suitable watermark to the video frame as needed, but also make the display effect of the watermark more consistent with the picture scene of the current video frame, such as adding a watermark of the character's name to the video picture where a character appears.

[0094] Embodiment 5 of the present invention provides a video watermark processing system, wherein modules 100-300 are the same as the modules in embodiment 4. Preferably, the watermark requirement processing module 100 is further used for:

[0095] Extracting various image features of the video frame.

[0096] Each image feature is input into a pre-trained neural network model to perform picture scene recognition to obtain the picture scene of the video frame.

[0097] It should be noted that the pre-trained neural network model has been established and trained before use. The image features are identified through the neural network model to obtain the picture scene of the video frame.

[0098] It can be understood that the video frame corresponding to each video segment is used as input data, input into the neural network model, and processed by the neural network model to output the picture scene of the video frame.

[0099] Through the system provided in Example 5 of the present invention, content recognition of picture scenes is achieved, and the accuracy of picture scene recognition is improved through the neural network model.

[0100] Embodiment 6 of the present invention provides a video watermark processing system, wherein modules 100-300 are the same as the modules in embodiment 4. Preferably, the watermark adding scheme matching module 200 is further used for:

[0101] Analyze the feature labels of both the target object and the picture scene.

[0102] Based on the preset mapping relationship between the characteristic labels of the two and the watermark adding scheme, and according to the characteristic labels of the two, the corresponding watermark adding scheme is obtained.

[0103] It should be noted that the characteristic label of the target object refers to the characteristic label used to distinguish the target object to be watermarked in the video to be processed from other interfering objects in the video to be processed; the characteristic label of the picture scene refers to the characteristic label used to distinguish the picture scene of the current video frame of the target object from the picture scene of the video frame of the target object at other times. The mapping relationship is used to match the corresponding watermark adding scheme according to the characteristic label.

[0104] It is understandable that the target object can be distinguished from other interference objects by the feature label of the target object; illustratively, when adding watermark information of character introduction to all the pictures of a TV series, a watermark adding scheme of the character introduction information is obtained according to the feature label and the preset mapping relationship.

[0105] Through the system provided in Example 6 of the present invention, feature tags are obtained by performing feature recognition on target objects and picture scenes, and corresponding watermark adding schemes are matched, thereby improving the adaptability of watermark adding and realizing automatic watermarking for videos on demand.

[0106] The third aspect.

[0107] The present invention provides an electronic device, the electronic device comprising:

[0108] processor, memory, and bus;

[0109] The bus is used to connect the processor and the memory;

[0110] The memory is used to store operation instructions;

[0111] The processor is used to call the operation instruction, and the executable instruction enables the processor to perform the operation corresponding to the video watermark processing method shown in the first aspect of the present application.

[0112] In an alternative embodiment, an electronic device is provided, such as Figure 5 As shown, Figure 5 The electronic device 5000 shown includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are connected, such as through a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that in actual applications, the transceiver 5004 is not limited to one, and the structure of the electronic device 5000 does not constitute a limitation on the embodiments of the present application.

[0113] Processor 5001 may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 5001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0114] The bus 5002 may include a path to transmit information between the above components. The bus 5002 may be a PCI bus or an EISA bus, etc. The bus 5002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0115] The memory 5003 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including a compressed optical disk, a laser disk, an optical disk, a digital versatile disk, a Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0116] The memory 5003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 5001. The processor 5001 is used to execute the application code stored in the memory 5003 to implement the content shown in any of the above method embodiments.

[0117] Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0118] The fourth aspect.

[0119] The present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a video watermark processing method shown in the first aspect of the present application is implemented.

[0120] Another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

Claims

1. A video watermark processing method, characterized in that: include: Identify the target object to be watermarked and the video frame corresponding to the target object from the video to be processed, and analyze the scene of the video frame; According to the target object and the picture scene, a corresponding watermark adding scheme is matched, including analyzing feature labels of the target object and the picture scene, based on a preset mapping relationship between the feature labels of the two and the watermark adding scheme, and according to the feature labels of the two, a corresponding watermark adding scheme is obtained, wherein the watermark adding scheme includes watermark content adapted to the target object and a watermark content display strategy matched to the picture scene; According to the watermark content display strategy, the watermark content adapted to the target object is added to the video frame corresponding to the target object.

2. A video watermark processing method as claimed in claim 1, characterized in that: The watermark content includes the introduction mark of the target object and the video source; The watermark content display strategy includes: watermark content display style and watermark content display duration, and the watermark content display style includes a dynamic display style and a static display style.

3. A video watermark processing method as claimed in claim 1, characterized in that: The analyzing the scene of the video frame includes: Extracting various image features of the video frame; Each image feature is input into a pre-trained neural network model to perform picture scene recognition to obtain the picture scene of the video frame.

4. A video watermark processing system, characterized in that: include: A watermark demand processing module is used to identify the target object to be watermarked and the video frame corresponding to the target object from the video to be processed, and analyze the picture scene of the video frame; A watermark adding scheme matching module, used for matching a corresponding watermark adding scheme according to the target object and the picture scene, wherein the watermark adding scheme includes a watermark content adapted to the target object and a watermark content display strategy matched to the picture scene; The watermark adding module is used to add the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.

5. A video watermark processing system as claimed in claim 4, characterized in that: The watermark content includes the introduction mark of the target object and the video source; The watermark content display strategy includes: watermark content display style and watermark content display duration, and the watermark content display style includes a dynamic display style and a static display style.

6. A video watermark processing system as claimed in claim 4, characterized in that: The watermark adding scheme matching module is also used for: Analyzing feature labels of both the target object and the picture scene; Based on the preset mapping relationship between the characteristic labels of the two and the watermark adding scheme, and according to the characteristic labels of the two, the corresponding watermark adding scheme is obtained.

7. A video watermark processing system as claimed in claim 4, characterized in that: The watermark requirement processing module is further used for: Extracting various image features of the video frame; Each image feature is input into a pre-trained neural network model to perform picture scene recognition to obtain the picture scene of the video frame.

8. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the video watermark processing method according to any one of claims 1 to 3 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the video watermark processing method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Method and device for adding digital watermark into video

    CN107911753A

  • Watermark embedding method and terminal

    CN108198123A