CN113947513A - Video watermark processing method, system, electronic device and storage medium - Google Patents

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

Info

Publication number
CN113947513A
CN113947513A CN202111131598.4A CN202111131598A CN113947513A CN 113947513 A CN113947513 A CN 113947513A CN 202111131598 A CN202111131598 A CN 202111131598A CN 113947513 A CN113947513 A CN 113947513A
Authority
CN
China
Prior art keywords
watermark
target object
video
picture scene
video frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111131598.4A
Other languages
Chinese (zh)
Inventor
王传鹏
符芳捷
孙尔威
林依婷
周惠存
陈春梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Shangquwan Network Technology Co ltd
Original Assignee
Anhui Shangquwan Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Shangquwan Network Technology Co ltd filed Critical Anhui Shangquwan Network Technology Co ltd
Priority to CN202111131598.4A priority Critical patent/CN113947513A/en
Publication of CN113947513A publication Critical patent/CN113947513A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking

Abstract

The invention provides a video watermark processing method and a system, wherein the method comprises the following steps: identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed, and analyzing a picture scene of the video frame; according to the watermark adding scheme corresponding to the matching of the target object and the picture scene, the watermark adding scheme comprises watermark content adaptive to the target object and a watermark content display strategy matched with the picture scene; and adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy. According to the invention, not only can a proper watermark be automatically added to the video frame as required, but also the display effect of the watermark can be more consistent with the picture scene of the current video frame, such as adding a character name watermark to the video picture in which a character appears or adding a content introduction watermark to a scene video segment.

Description

Video watermark processing method, system, electronic device and storage medium
Technical Field
The present invention relates to the field of watermark processing technologies, and in particular, to a video watermark processing method, system, electronic device, and storage medium.
Background
The video watermark is to add some characters, pictures or video marks in the video, and the marks do not obscure the main content of the video, but can indicate the source of the video and even can be added as the brief introduction of specific things in the video, and can also prevent the video from being embezzled by others.
In some specific cases, when the user needs to embed the profile of things appearing in the video, such as people, in addition to the way of pausing the video and popping up windows (dynamic text, and/or text broadcasting), the prior art can also adopt the way of adding watermarks. In the former, the manner that the video is forcibly paused to add dynamic characters and/or the characters are broadcasted enables the video to be broadcasted discontinuously, and the main content of the video is shielded, so that the viewing experience of a user is seriously influenced. In addition, the former and the latter need to manually identify whether video content needs to be added or manually added in the early stage or the later stage of video editing, even if current watermark adding software is utilized, a target video frame, a target object and a proper watermark need to be manually selected, and the operation process is complicated and low in efficiency.
Therefore, it is necessary to provide a method capable of not only improving the video watermarking processing efficiency, but also realizing automatic on-demand video watermarking according to video content.
Disclosure of Invention
In order to solve the above prior art problems, the present invention provides a video watermarking method, system, electronic device and storage medium, which can automatically add watermarks to a video as required.
The invention provides a video watermark processing method in a first aspect, which comprises the following steps:
identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed, and analyzing a picture scene of the video frame;
according to the watermark adding scheme corresponding to the matching of the target object and the picture scene, the watermark adding scheme comprises watermark content adaptive to the target object and a watermark content display strategy matched with the picture scene;
and adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.
Further, the watermark content comprises a brief mark of the target object and a video source;
the watermark content display strategy comprises the following steps: the watermark content display mode comprises a watermark content display mode and a watermark content display duration, wherein the watermark content display mode comprises a dynamic display mode and a static display mode.
Further, the matching of the target object and the picture scene according to the corresponding watermarking scheme includes:
analyzing feature labels of both the target object and the picture scene;
and acquiring a corresponding watermark adding scheme according to the preset mapping relation between the feature labels of the two and the watermark adding scheme and the feature labels of the two.
Further, the analyzing the picture scene of the video frame includes:
extracting each image feature of the video frame;
and inputting each image characteristic into a pre-trained neural network model for picture scene recognition to obtain a picture scene of the video frame.
A second aspect of the present invention provides a video watermarking system, including:
the system comprises a watermark requirement processing module, a watermark detection module and a watermark analysis module, wherein the watermark requirement processing module is used for identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed and analyzing a picture scene of the video frame;
the watermark adding scheme matching module is used for matching a corresponding watermark adding scheme according to the target object and the picture scene, and the watermark adding scheme comprises watermark content matched with the target object and a watermark content display strategy matched with the picture scene;
and the watermark adding module is used for adding the watermark content which is adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.
Further, the watermark content comprises a brief mark of the target object and a video source;
the watermark content display strategy comprises the following steps: the watermark content display mode comprises a watermark content display mode and a watermark content display duration, wherein the watermark content display mode comprises a dynamic display mode and a static display mode.
Further, the watermarking scheme matching module is further configured to:
analyzing feature labels of both the target object and the picture scene;
and acquiring a corresponding watermark adding scheme according to the preset mapping relation between the feature labels of the two and the watermark adding scheme and the feature labels of the two.
Further, the watermark requirement processing module is further configured to:
extracting each image feature of the video frame;
and inputting each image characteristic into a pre-trained neural network model for picture scene recognition to obtain a picture scene of the video frame.
A third aspect of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the video watermarking method according to any one of the first aspects.
A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the video watermarking method according to any one of the first aspects.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the invention provides a video watermark processing method and a system, wherein the method comprises the following steps: identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed, and analyzing a picture scene of the video frame; according to the watermark adding scheme corresponding to the matching of the target object and the picture scene, the watermark adding scheme comprises watermark content adaptive to the target object and a watermark content display strategy matched with the picture scene; and adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy. According to the invention, not only can a proper watermark be automatically added to the video frame as required, but also the display effect of the watermark can be more consistent with the picture scene of the current video frame, such as adding a watermark of a character name to the video picture of a character or adding a watermark introduced by the content to a scene video segment.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an application environment of a video watermarking method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an application environment of a video watermarking method according to another embodiment of the present invention;
fig. 3 is a flowchart of a video watermarking method according to an embodiment of the present invention;
fig. 4 is a device diagram of a video watermarking system according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the step numbers used herein are for convenience of description only and are not intended as limitations on the order in which the steps are performed.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
A first aspect.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment according to an embodiment of the present disclosure, and as shown in fig. 1, the application environment may include a service server 01, a video watermarking component 02, and a client 03.
In this embodiment of the present invention, the service server 01 may be configured to generate a video watermarking processing method, where the video watermarking processing method includes:
identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed, and analyzing a picture scene of the video frame;
according to the watermark adding scheme corresponding to the matching of the target object and the picture scene, the watermark adding scheme comprises watermark content adaptive to the target object and a watermark content display strategy matched with the picture scene;
and adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.
According to the invention, not only can a proper watermark be automatically added to the video frame as required, but also the display effect of the watermark can be more consistent with the picture scene of the current video frame, such as adding a watermark of a character name to the video picture of a character or adding a watermark introduced by the content to a scene video segment.
The server related to the application can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, safety service, Content Delivery Network (CDN), big data and an artificial intelligence platform. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a palm computer, a personal computer, a smart television, a smart watch, and the like. The terminal device and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein. The number of servers and terminal devices is not limited.
In this embodiment of the present invention, the video watermarking processing component 02 may be configured to execute the data processing method, the video watermarking processing component 02 may be located in the service server 01, or may be located in another service server, and when the video watermarking processing component 02 is located in another service server, the service server 01 may access the another service server through a network or the like, so as to obtain index data corresponding to the field generated by the video watermarking processing component 02 in the another service server.
Referring to fig. 2, fig. 2 is a schematic view of a scene application to which the video watermarking method according to the embodiment of the disclosure may be applied.
In the application scenario illustrated in fig. 2, first, the computer device 101 receives a video 102 to be processed; then, identifying a target object 103 needing to be added with a watermark and a video frame 104 corresponding to the target object from a video 102 to be processed, and analyzing a picture scene 105 of the video frame; then, according to the watermark adding scheme corresponding to the matching of the target object 103 and the picture scene 104, the watermark adding scheme comprises watermark content 106 adapted to the target object and a watermark content display strategy 107 matched with the picture scene; finally, according to the watermark content display policy 107, the watermark content 106 adapted to the target object is added to the video frame 104 corresponding to the target object, so as to obtain a video 108 containing a watermark.
Referring to fig. 3, fig. 3 is a flowchart of a video watermarking method according to embodiment 1, including:
s100, identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed, and analyzing a picture scene of the video frame.
It should be noted that the target object to be watermarked includes, but is not limited to, a person or a still, the video frame corresponding to the target object is a frame to be watermarked for the target object, and the picture scene of the video frame is an image in the video frame except for the target object, and the picture scene includes, but is not limited to, a color tone of the picture scene. The video frame is obtained by performing frame-cutting processing on the video to be processed, wherein the frame-cutting processing can be frame-by-frame cutting or cutting every certain number of frames.
S200, according to a watermark adding scheme corresponding to the target object and the picture scene matching, wherein the watermark adding scheme comprises watermark content adaptive to the target object and a watermark content display strategy matched with the picture scene.
Preferably, the watermark content comprises a brief mark of the target object and a video source; the watermark content display strategy comprises the following steps: the watermark content display mode comprises a watermark content display mode and a watermark content display duration, wherein the watermark content display mode comprises a dynamic display mode and a static display mode.
It should be noted that the watermarking scheme is a watermarking scheme configured by an engineer according to a watermarking requirement, and different target objects and picture scenes may be configured with different watermarking schemes. Matching corresponding watermark content for a target object through a preset mapping relation between the target object and the watermark content; and matching the corresponding watermark content display strategy for the picture scene through a preset mapping relation between the picture scene and the watermark content display strategy. The watermark content display strategy comprises a position for adding a watermark, watermark display duration, color and transparency of watermark content and the like, illustratively, if the tone of a picture scene in the picture scene is a dark tone (such as a black tone), the watermark color in the watermark content display strategy is a light color (such as a white color), and the transparency is greater than a certain threshold; if the tone of the picture scene in the picture scene is a light tone (for example, a light green tone), the watermark color in the watermark content display strategy is a dark color (for example, black), and the transparency is greater than a certain threshold; the watermark content display strategy is set according to the picture scene, and the purpose of the watermark content display strategy is to enable the watermark content display to be clear and visible.
S300, adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.
Illustratively, by using a video watermarking method provided in this embodiment 1, person introductions (including name, font size, and time) are added to all persons in a tv play set, and the person introductions can be understood as watermarks. For example, adding a person introduction to all pictures includes the following specific steps:
the method comprises the following steps: identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video introduced by a character to be added, and analyzing a picture scene of the video frame (for example, the tone of the picture scene is light color).
Step two: according to the watermark adding scheme corresponding to the matching of the target object and the picture scene, the watermark adding scheme comprises watermark content (character introduction and video source) matched with the target object and a watermark content display strategy matched with the picture scene (the watermark display time is 5 seconds, and the watermark color is dark brown).
Step three: and adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy to complete the addition of character introduction to all pictures in the television play set.
By the method provided by the embodiment 1, not only can a proper watermark be automatically added to the video frame as required, but also the display effect of the watermark can be more consistent with the picture scene of the current video frame, for example, the watermark of the name of a person is added to the video picture in which the person appears.
The video watermarking processing method provided in embodiment 2 of the present invention, wherein steps S100 to S300 are the same as those in embodiment 1, and preferably, the analyzing the picture scene of the video frame includes:
and extracting each image feature of the video frame.
And inputting each image characteristic into a pre-trained neural network model for picture scene recognition to obtain a picture scene of the video frame.
It should be noted that the pre-trained neural network model is already subjected to model building and model training before being used. And identifying the image characteristics through a neural network model to obtain the picture scene of the video frame.
It can be understood that the video frame corresponding to each video segment is used as input data, input to the neural network model, processed by the neural network model, and output the picture scene of the video frame.
By the method provided by the embodiment 2 of the invention, the content identification of the picture scene is realized, and the accuracy of the picture scene identification is improved by the neural network model.
The video watermarking processing method provided in embodiment 3 of the present invention, wherein steps S100 to S300 are the same as those in embodiment 1, and preferably, the watermarking scheme corresponding to the target object and the picture scene matching includes:
feature labels for both the target object and the picture scene are analyzed.
And acquiring a corresponding watermark adding scheme according to the preset mapping relation between the feature labels of the two and the watermark adding scheme and the feature labels of the two.
Methods of obtaining feature tags include, but are not limited to: the deep learning model extracts the characteristics (such as the characteristics of five sense organs) of the target object and the characteristics (such as the color tone) of the scene information, and obtains the characteristic labels of the target object and the scene type through operation. For example, after the features of the five sense organs of the character are extracted, the deep learning model can identify the features of the five sense organs of the current character and output a feature tag; the scene is then labeled by extracting the relevant information such as color, gradient value, etc. and identifying the scene in dark hue and rainy days.
It should be noted that the feature tag of the target object is a feature tag used for distinguishing a target object to be watermarked in a video to be processed from other interfering objects in the video to be processed; the feature tag of the picture scene is a feature tag used for distinguishing the picture scene of the current video frame of the target object from the picture scenes of the video frames of the target object at other moments. And the mapping relation is used for matching a corresponding watermark adding scheme according to the characteristic label.
It can be understood that the target object can be distinguished from other interfering objects by the characteristic label of the target object; illustratively, when watermark information of character introduction is added to all pictures of a television episode, a watermark adding scheme for adding the character introduction information is obtained according to the feature labels and the preset mapping relation.
By the method provided by the embodiment 3 of the invention, the characteristic label is obtained by carrying out characteristic identification on the target object and the picture scene, and the corresponding watermark adding scheme is matched, so that the self-adaptability of watermark adding is improved, and the automatic watermark adding for the video according to the requirement is realized.
A second aspect.
Referring to fig. 4, an embodiment 4 of the present invention provides a video watermarking system, including:
the watermark requirement processing module 100 is configured to 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 picture scene of the video frame.
It should be noted that the target object to be watermarked includes, but is not limited to, a person or a still, the video frame corresponding to the target object is a frame to be watermarked for the target object, and the picture scene of the video frame is an image in the video frame except for the target object, and the picture scene includes, but is not limited to, a color tone of the picture scene. The video frame is obtained by performing frame-cutting processing on the video to be processed, wherein the frame-cutting processing can be frame-by-frame cutting or cutting every certain number of frames.
A watermark adding scheme matching module 200, configured to match a corresponding watermark adding scheme according to the target object and the picture scene, where the watermark adding scheme includes watermark content adapted to the target object and a watermark content display policy matched to the picture scene.
Preferably, the watermark content comprises a brief mark of the target object and a video source; the watermark content display strategy comprises the following steps: the watermark content display mode comprises a watermark content display mode and a watermark content display duration, wherein the watermark content display mode comprises a dynamic display mode and a static display mode.
It should be noted that the watermarking scheme is a watermarking scheme configured by an engineer according to a watermarking requirement, and different target objects and picture scenes may be configured with different watermarking schemes. Matching corresponding watermark content for a target object through a preset mapping relation between the target object and the watermark content; and matching the corresponding watermark content display strategy for the picture scene through a preset mapping relation between the picture scene and the watermark content display strategy. The watermark content display strategy comprises a position for adding a watermark, watermark display duration, color and transparency of watermark content and the like, illustratively, if the tone of a picture scene in the picture scene is a dark tone (such as a black tone), the watermark color in the watermark content display strategy is a light color (such as a white color), and the transparency is greater than a certain threshold; if the tone of the picture scene in the picture scene is a light tone (for example, a light green tone), the watermark color in the watermark content display strategy is a dark color (for example, black), and the transparency is greater than a certain threshold; the watermark content display strategy is set according to the picture scene, and the purpose of the watermark content display strategy is to enable the watermark content display to be clear and visible.
And the watermark adding module 300 is configured 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 policy.
Illustratively, a video watermarking system provided by this embodiment 4 adds person introductions (including name, font time, etc.) to all persons in a tv play set, and the person introductions can be understood as watermarks. For example, adding a person introduction to all pictures specifically includes:
the watermark requirement processing module 100 is configured to identify a target object to be watermarked and a video frame corresponding to the target object from a video introduced by a character to be added, and analyze a picture scene of the video frame (for example, a color tone of the picture scene is a light color).
A watermark adding scheme matching module 200, configured to match a corresponding watermark adding scheme according to the target object and the picture scene, where the watermark adding scheme includes watermark content adapted to the target object (and a watermark content display policy matched with the picture scene (the watermark display time is 5 seconds, and the watermark color is dark brown).
And the watermark adding module 300 is configured 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 policy, so as to add character introductions to all pictures of the television episode.
By the system provided by the embodiment 4 provided by the invention, not only can a proper watermark be automatically added to the video frame as required, but also the display effect of the watermark can be more consistent with the picture scene of the current video frame, for example, a person name watermark is added to the video picture in which a person appears.
The video watermark processing system provided in embodiment 5 of the present invention, wherein the module 100-300 is the same as the module in embodiment 4, and preferably, the watermark requirement processing module 100 is further configured to:
and extracting each image feature of the video frame.
And inputting each image characteristic into a pre-trained neural network model for picture scene recognition to obtain a picture scene of the video frame.
It should be noted that the pre-trained neural network model is already subjected to model building and model training before being used. And identifying the image characteristics through a neural network model to obtain the picture scene of the video frame.
It can be understood that the video frame corresponding to each video segment is used as input data, input to the neural network model, processed by the neural network model, and output the picture scene of the video frame.
By the system provided by the embodiment 5 of the invention, the content identification of the picture scene is realized, and the accuracy of the picture scene identification is improved by the neural network model.
The video watermark processing system provided in embodiment 6 of the present invention, wherein the module 100 and 300 are the same as those in embodiment 4, and preferably, the watermark adding scheme matching module 200 is further configured to:
feature labels for both the target object and the picture scene are analyzed.
And acquiring a corresponding watermark adding scheme according to the preset mapping relation between the feature labels of the two and the watermark adding scheme and the feature labels of the two.
It should be noted that the feature tag of the target object is a feature tag used for distinguishing a target object to be watermarked in a video to be processed from other interfering objects in the video to be processed; the feature tag of the picture scene is a feature tag used for distinguishing the picture scene of the current video frame of the target object from the picture scenes of the video frames of the target object at other moments. And the mapping relation is used for matching a corresponding watermark adding scheme according to the characteristic label.
It can be understood that the target object can be distinguished from other interfering objects by the characteristic label of the target object; illustratively, when watermark information of character introduction is added to all pictures of a television episode, a watermark adding scheme of the character introduction information is obtained according to the feature labels and the preset mapping relation.
By the system provided by the embodiment 6 of the present invention, the feature tag is obtained by performing feature identification on the target object and the picture scene, and the corresponding watermark adding scheme is matched, so that the adaptability of watermark adding is improved, and automatic watermark adding for the video on demand is realized.
In a third aspect.
The present invention provides an electronic device, including:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to invoke the operation instruction, and the executable instruction causes the processor to execute an operation corresponding to the video watermarking processing method according to the first aspect of the present application.
In an alternative embodiment, an electronic device is provided, as shown in fig. 5, the electronic device 5000 shown in fig. 5 includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are coupled, such as via a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that the transceiver 5004 is not limited to one in practical application, and the structure of the electronic device 5000 is not limited to the embodiment of the present application.
The processor 5001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 5001 may also be a combination of processors implementing computing functionality, e.g., a combination comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
Bus 5002 can include a path that conveys information between the aforementioned components. The bus 5002 may be a PCI bus or EISA bus, etc. The bus 5002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The memory 5003 may be, but is not limited to, 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, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 5003 is used for storing application program codes for executing the present solution, and the execution is controlled by the processor 5001. The processor 5001 is configured to execute application program code stored in the memory 5003 to implement the teachings of any of the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
A fourth aspect.
The present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a video watermarking method as set forth in the first aspect of the present application.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments.

Claims (10)

1. A video watermarking method, comprising:
identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed, and analyzing a picture scene of the video frame;
according to the watermark adding scheme corresponding to the matching of the target object and the picture scene, the watermark adding scheme comprises watermark content adaptive to the target object and a watermark content display strategy matched with the picture scene;
and adding the watermark content adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.
2. A video watermarking method according to claim 1, wherein the watermark content includes a profile of the target object and a video source;
the watermark content display strategy comprises the following steps: the watermark content display mode comprises a watermark content display mode and a watermark content display duration, wherein the watermark content display mode comprises a dynamic display mode and a static display mode.
3. The video watermarking method of claim 1, wherein the matching of the corresponding watermarking schemes according to the target object and the picture scene comprises:
analyzing feature labels of both the target object and the picture scene;
and acquiring a corresponding watermark adding scheme according to the preset mapping relation between the feature labels of the two and the watermark adding scheme and the feature labels of the two.
4. A video watermarking method according to claim 1, wherein the analyzing the picture scene of the video frame comprises:
extracting each image feature of the video frame;
and inputting each image characteristic into a pre-trained neural network model for picture scene recognition to obtain a picture scene of the video frame.
5. A video watermarking system, comprising:
the system comprises a watermark requirement processing module, a watermark detection module and a watermark analysis module, wherein the watermark requirement processing module is used for identifying a target object needing to be added with a watermark and a video frame corresponding to the target object from a video to be processed and analyzing a picture scene of the video frame;
the watermark adding scheme matching module is used for matching a corresponding watermark adding scheme according to the target object and the picture scene, and the watermark adding scheme comprises watermark content matched with the target object and a watermark content display strategy matched with the picture scene;
and the watermark adding module is used for adding the watermark content which is adapted to the target object to the video frame corresponding to the target object according to the watermark content display strategy.
6. A video watermarking system as defined in claim 5 wherein the watermark content includes a profile of the target object and a video source;
the watermark content display strategy comprises the following steps: the watermark content display mode comprises a watermark content display mode and a watermark content display duration, wherein the watermark content display mode comprises a dynamic display mode and a static display mode.
7. A video watermarking system as defined in claim 5, wherein the watermarking scheme matching module is further configured to:
analyzing feature labels of both the target object and the picture scene;
and acquiring a corresponding watermark adding scheme according to the preset mapping relation between the feature labels of the two and the watermark adding scheme and the feature labels of the two.
8. The video watermarking system of claim 5, wherein the watermarking request processing module is further configured to:
extracting each image feature of the video frame;
and inputting each image characteristic into a pre-trained neural network model for picture scene recognition to obtain a picture scene of the video frame.
9. An electronic apparatus comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the video watermarking method according to any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the video watermarking method according to any one of claims 1 to 4.
CN202111131598.4A 2021-09-26 2021-09-26 Video watermark processing method, system, electronic device and storage medium Pending CN113947513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111131598.4A CN113947513A (en) 2021-09-26 2021-09-26 Video watermark processing method, system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111131598.4A CN113947513A (en) 2021-09-26 2021-09-26 Video watermark processing method, system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113947513A true CN113947513A (en) 2022-01-18

Family

ID=79329494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111131598.4A Pending CN113947513A (en) 2021-09-26 2021-09-26 Video watermark processing method, system, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113947513A (en)

Similar Documents

Publication Publication Date Title
CN110933490B (en) Automatic adjustment method for picture quality and tone quality, smart television and storage medium
US10282643B2 (en) Method and apparatus for obtaining semantic label of digital image
CN108830235B (en) Method and apparatus for generating information
CN110446063B (en) Video cover generation method and device and electronic equipment
CN109993150B (en) Method and device for identifying age
KR102002024B1 (en) Method for processing labeling of object and object management server
CN105095919A (en) Image recognition method and image recognition device
CN109919244B (en) Method and apparatus for generating a scene recognition model
CN112215171B (en) Target detection method, device, equipment and computer readable storage medium
CN110008997B (en) Image texture similarity recognition method, device and computer readable storage medium
CN110347866B (en) Information processing method, information processing device, storage medium and electronic equipment
CN112839223B (en) Image compression method, image compression device, storage medium and electronic equipment
US10769247B2 (en) System and method for interacting with information posted in the media
CN113569740B (en) Video recognition model training method and device, and video recognition method and device
CN105808630B (en) Android application auditing method and device
CN111738769A (en) Video processing method and device
CN111881900B (en) Corpus generation method, corpus translation model training method, corpus translation model translation method, corpus translation device, corpus translation equipment and corpus translation medium
CN111611505B (en) Method for accessing multimedia resources in electronic book, computing device and storage medium
CN110414625B (en) Method and device for determining similar data, electronic equipment and storage medium
CN112749696A (en) Text detection method and device
CN113947513A (en) Video watermark processing method, system, electronic device and storage medium
CN111339367B (en) Video processing method and device, electronic equipment and computer readable storage medium
CN110781345B (en) Video description generation model obtaining method, video description generation method and device
CN111353536B (en) Image labeling method and device, readable medium and electronic equipment
CN113905188A (en) Video stitching dynamic adjustment method and system, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination