[go: up one dir, main page]

CN115103227B - Video material marking method, identification method and its device, equipment and storage medium - Google Patents

Video material marking method, identification method and its device, equipment and storage medium Download PDF

Info

Publication number
CN115103227B
CN115103227B CN202210707241.4A CN202210707241A CN115103227B CN 115103227 B CN115103227 B CN 115103227B CN 202210707241 A CN202210707241 A CN 202210707241A CN 115103227 B CN115103227 B CN 115103227B
Authority
CN
China
Prior art keywords
marking
character string
video
target
video material
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.)
Active
Application number
CN202210707241.4A
Other languages
Chinese (zh)
Other versions
CN115103227A (en
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.)
Guangzhou Junbo Network Technology Co ltd
Original Assignee
Guangzhou Junbo 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 Guangzhou Junbo Network Technology Co ltd filed Critical Guangzhou Junbo Network Technology Co ltd
Priority to CN202210707241.4A priority Critical patent/CN115103227B/en
Publication of CN115103227A publication Critical patent/CN115103227A/en
Application granted granted Critical
Publication of CN115103227B publication Critical patent/CN115103227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

本发明适用于计算机技术领域,提供了一种视频素材打标方法、识别方法及其装置、设备和存储介质。所述视频素材打标方法包括:获取目标素材及所述目标素材对应目标信息;根据所述目标信息确定打标字符串;在所述目标素材上生成所述打标字符串水印。本方案通过获取目标素材以及目标素材对应的目标信息,可以将目标素材对应的目标信息以打标字符串水印的形式添加到目标素材上,从而可以根据视频中目标素材上的打标字符串获取目标素材的信息,避免了人工打标,提高打标效率,降低人工成本。

The present invention is applicable to the field of computer technology, and provides a video material marking method, an identification method, and a device, equipment, and storage medium. The video material marking method comprises: obtaining a target material and target information corresponding to the target material; determining a marking string according to the target information; and generating a marking string watermark on the target material. By obtaining the target material and the target information corresponding to the target material, the present solution can add the target information corresponding to the target material to the target material in the form of a marking string watermark, so that the information of the target material can be obtained according to the marking string on the target material in the video, thereby avoiding manual marking, improving marking efficiency, and reducing labor costs.

Description

Video material marking method, identification method, device, equipment and storage medium thereof
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a video material marking method, a video material identification device, video material identification equipment and a video material storage medium.
Background
The video watched by users is generally divided into three types, namely video formed by combining a plurality of pictures, commonly called as image-text flash long video, video formed by recording a plurality of short videos by a photographer and then combining the short videos, and video formed by directly recording.
In order to later identify which pictures or short videos are combined, relevant information of the video material is generally marked into the video material. In the prior art, however, the video material is marked by manual work, so that the labor cost is high and the working efficiency is low.
Disclosure of Invention
The embodiment of the invention aims to provide a video material marking method, which aims to solve the technical problems that in the prior art, marking of video materials is generally performed manually, the labor cost is high and the working efficiency is low.
The embodiment of the invention is realized in such a way that the video material marking method comprises the following steps:
Acquiring target materials and target information corresponding to the target materials;
Determining a marking character string according to the target information;
and generating the marking character string watermark on the target material.
Another object of an embodiment of the present invention is to provide a method for identifying video materials, where the method includes:
cutting the video material to obtain a picture set with the size of a watermark region of a marking character string;
identifying pictures in the picture set, and determining a character string set;
converting the character string set into a Long type id set;
And identifying the video material according to the Long type id set.
Another object of an embodiment of the present invention is to provide a video material marking apparatus, including:
the acquisition module is used for acquiring target materials and target information corresponding to the target materials;
The marking character string determining module is used for determining a marking character string according to the target information;
and the marking module is used for generating the marking character string watermark on the target material.
Another object of an embodiment of the present invention is to provide a video material identification apparatus, including:
the cutting module is used for cutting the video material to obtain a picture set with the size of the watermark area of the marking character string;
the first identification module is used for identifying pictures in the picture set and determining a character string set;
the conversion module is used for converting the character string set into a Long type id set;
And the second identification module is used for identifying the video material according to the Long type id set.
It is another object of an embodiment of the present invention to provide a computer apparatus, where the computer apparatus includes a memory and a processor, and the memory stores a computer program, where the computer program when executed by the processor causes the processor to perform the steps of the video material marking method or the steps of the video material identifying method.
It is another object of an embodiment of the present invention to provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor causes the processor to perform the steps of the video material marking method or the steps of the video material identifying method.
The video material marking method comprises the steps of obtaining target materials and target information corresponding to the target materials, determining marking character strings according to the target information, and generating marking character string watermarks on the target materials. According to the scheme, the target material and the target information corresponding to the target material are obtained, the target information corresponding to the target material can be added to the target material in the form of the marking character string watermark, so that the information of the target material can be obtained according to the marking character string on the target material in the video, manual marking is avoided, marking efficiency is improved, and labor cost is reduced.
Drawings
Fig. 1 is a flowchart of a video material marking method according to an embodiment of the present invention;
FIG. 2 is a flowchart for determining a marking string according to an embodiment of the present invention;
FIG. 3 is a flowchart of generating a marking string watermark on a target material according to an embodiment of the present invention;
Fig. 4 is a flowchart of a method for identifying video materials according to an embodiment of the present invention;
fig. 5 is a block diagram of a video material marking device according to an embodiment of the present invention;
fig. 6 is a block diagram of a video material recognition device according to an embodiment of the present invention;
FIG. 7 is a block diagram of the internal architecture of a computer device in one embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of this disclosure.
As shown in fig. 1, in one embodiment, a video material marking method is provided, and the video material marking method specifically may include the following steps:
Step S202, obtaining target materials and target information corresponding to the target materials.
In the embodiment of the application, the target material is a picture or a video clip forming a video. The target information corresponding to the target material may include, but is not limited to, information of a designer of the target material, a type of the target material, a size of the target material, a generation time of the target material, and the like. In the video production process, after the designer finishes the design of the target material of the video, the target material and the target information corresponding to the target material can be uploaded to a computer equipment database, so that the computer equipment can acquire the target material and the target information corresponding to the target material according to the input of a user. It should be noted that, in this embodiment, the specific classification manner of the type of the target material is not limited, for example, the type of the target material is generally classified into a picture type and a video type, where the picture includes a large picture, a screen flash, a graphics flash, etc., and the video includes a title, a mouth cast, a scenario, etc.
Step S204, determining a marking character string according to the target information;
in the embodiment of the application, the marking character string is a character string added to the target material. The specific method for determining the marking string according to the target information is not limited in this embodiment, for example, as shown in fig. 2, step S204 may include the following steps:
step S302, generating the Long type ID according to the target information.
In the embodiment of the application, the unique Long type ID is generated by the target information corresponding to the target material. The specific method for generating the Long type ID according to the target information is not limited in this embodiment, for example, after receiving a target information, the database of the computer device may randomly generate an ID of a self-increasing Long type, that is, a primary key ID, and for example, the generated Long type ID may be 15817. And each target material corresponds to a unique Long type ID.
Step S304, converting the Long type ID into a character string with a preset length to obtain the marking character string.
In the embodiment of the present application, the length of the marking string is not limited, for example, the string with the preset length may be a string formed by 4-bit characters. The marking string may be formed by concatenating 4 bits of "AaBbCDdEeFfGgHhiJjKLlMmNnOPpQqRrSTtUVWXYyZ 2346789. And the marking character string corresponding to each target material has uniqueness. The specific method for converting the Long type ID into the character string with the preset length is not limited in this embodiment, for example, when the character string with the preset length is a character string with the length of 4 bits, the Long type ID may be converted into the character string with the length of 4 bits by using an algorithm of converting 10 bits into 52 bits. For example, the Long type ID is 15817, which is converted into a 4-bit length string AdJK through a 10-ary to 52-ary algorithm.
In the embodiment of the application, when the generated Long type ID is 1 and the length of the converted character string is less than 4 bits, the character "a" can be used to supplement 4 bits in front, so that the Long type ID is 1 and the character string obtained by the algorithm from 10 system to 52 system is "AAAa". When the number of the character strings is less than 4, the character strings are complemented to 4, so that the unification of the algorithm can be facilitated, and the subsequent unification identification is facilitated.
And step S206, generating the marking character string watermark on the target material.
In the embodiment of the application, when the target material is a picture, the marking character string watermark is added to the picture. When the target material is video, a marking character string watermark can be added to the picture of the video frame. When the target material is video, video frame data of the video can be acquired before the marking character string watermark is generated.
In the embodiment of the present application, a specific method for generating the marking string watermark on the target material is not limited, and for example, a third party plug-in "FFMpeg" may be used.
In the embodiment of the application, in order to facilitate the identification of the marking character string watermark and avoid the influence of the character string watermark on the content of the target material, the color of the marking character string watermark is generally selected to be capable of obviously distinguishing the background of the target material, and the marking character string is added to the background area of the material. Therefore, as shown in fig. 3, step S206 may specifically include the steps of:
Step S402, identifying a background area and a background color of the target material.
In the embodiment of the application, the target in the target material can be identified by utilizing an image identification algorithm, and the area outside the target in the picture is the background area, so that the background area is obtained. RGB values of the pixel blocks of the background area of the picture are acquired, so that the background color can be acquired. The method of identifying the background area and the background color of the target material is not limited thereto.
And step S404, determining the color of the marking character string according to the background color.
In the embodiment of the application, the colors of the marking character strings corresponding to different background colors can be preset. For example, a dark background may be made to correspond to a light-colored marking string, whereas a light background corresponds to a dark-colored marking string. After the RGB value of the background of the target material is obtained, the color of the marking character string can be determined according to the preset colors of the marking character strings corresponding to different background colors.
Step S406, adding the marking string to the background area.
In the embodiment of the application, the number of the marking strings added in the background area is not limited, for example, only one marking string can be added, and the marking strings can be uniformly added in the background area according to a certain density.
In the embodiment of the application, the target materials with the marking character strings can be synthesized into the video later, so that release and delivery can be performed.
According to the video material marking method provided by the embodiment of the application, the target material and the target information corresponding to the target material are obtained, the marking character string is obtained according to the target information, and the watermark corresponding to the marking character string is generated on the target material, so that automatic marking of the target material can be realized, the manual marking is avoided, the marking efficiency is improved, and the labor cost is reduced. And the information of the video material can be obtained according to the marking character string watermark on the material in the video.
As shown in fig. 4, in another embodiment of the present application, there is further provided a method for identifying a video material, for identifying a material marked by the above-mentioned video material marking method, the method for identifying a video material comprising:
Step S502, cutting the video material to obtain a picture set with the size of the watermark area of the marking character string.
In the embodiment of the present application, the specific method for cutting the video material is not limited, for example, a region-based segmentation method may be adopted to cut according to the size of the watermark region of the marking string. The video material is a picture or video. When the video material is a picture, the video material can be directly cut. And cutting each picture in the video material into a plurality of pictures with the size of the watermark region of the marking character string by taking the size of the watermark region of each marking character string as a reference, thereby obtaining a picture set with the size of the watermark region of the marking character string. When the video material is video, video frame images of the video can be obtained first, and the video material is cut into a plurality of videos with the size of the watermark area of the marking character string by cutting each video frame image, so that a video set is obtained, and then specified frame pictures are intercepted from each preset unit time length of the video set, so that the picture set is obtained. For example, if the preset unit duration is 1 second and the designated frame picture is 2 frames of pictures, 2 frames of pictures are cut from each second of video of the video set, and finally the cut video frames of pictures form the picture set.
Step S504, identifying pictures in the picture set and determining a character string set.
In the embodiment of the application, the specific method for identifying the pictures in the picture set is not limited, for example, a third party identification tool easyocr can be used, and the third party tool provides an identification method, and only the picture address, the coordinates and the size need to be transmitted, so that the tool can automatically identify the character strings on the pictures.
Step S506, converting the character string set into a Long type id set.
In the embodiment of the application, the character string set can be converted into the Long type id set by using an algorithm of converting 52 system into 10 system. For example, a string set such as AdJa, adla, adJK is identified from the video, and the string set is converted into a Long type id set by the algorithm to obtain the string set such as 15801, 15951 and 15817.
In the embodiment of the present application, it should be noted that after the string set is obtained, the string set needs to be converted and filtered, for example, strings with a length other than 4 bits in the string set are screened out, and characters with similar lower case letters such as "o, u, c" and the like in the string set and capital letters are uniformly converted into uppercase. And then, de-duplicating the character string set after conversion and filtering, and finally converting the character string set after de-duplication into a Long type id set.
And step S508, identifying the video material according to the Long type id set.
In the embodiment of the application, the information of the video material can be identified by searching the target information corresponding to the Long type id in the database of the computer equipment through the Long type id in the Long type id set.
According to the video material identification method provided by the embodiment of the application, when the video material is generated by the video material marking method, the target information corresponding to the video material can be identified by the video material identification method. Therefore, video creation can be better protected, and video materials are prevented from being stolen.
As shown in fig. 5, in one embodiment, a video material marking apparatus is provided, which may be integrated in a computer device, and specifically may include an acquisition module 610, a marking string determining module 620, and a marking module 630.
The obtaining module 610 is configured to obtain a target material and target information corresponding to the target material.
The marking character string determining module 620 is configured to determine a marking character string according to the target information.
A marking module 630, configured to generate the marking string watermark on the target material.
The functions of the acquisition module 610, the marking character string determining module 620 and the marking module 630 provided in the embodiment of the present application are implemented in one-to-one correspondence with the step S202, the step S204 and the step S206 in the above video material marking method, and for the specific explanation in the video material marking device and the related detailed and optimized content, reference is made to the specific embodiment in the above video material marking method, which is not described herein again.
As shown in fig. 6, in one embodiment, a video material identifying apparatus is provided, where the video material identifying apparatus may also be integrated into a computer device, and specifically may include a cutting module 710, a first identifying module 720, a converting module 730, and a second identifying module 740.
And the cutting module 710 is configured to cut the video material to obtain a picture set with a size of the watermark region of the marking string.
The first identifying module 720 is configured to identify a picture in the picture set, and determine a character string set.
And a conversion module 730, configured to convert the string set into a Long type id set.
And a second identifying module 740, configured to identify the video material according to the Long type id set.
The functions of the cutting module 710, the first identifying module 720, the converting module 730, and the second identifying module 740 in the video material identifying device provided in the embodiment of the present application are in one-to-one correspondence with the step S502, the step S504, the step S506, and the step S508 in the above video material identifying method, and for the specific explanation in the video material identifying device, and the related detailed and optimized content refer to the specific embodiments in the above video material identifying method, which are not repeated herein.
FIG. 7 illustrates an internal block diagram of a computer device in one embodiment. The computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by the processor, causes the processor to implement a video material marking method or a video material identification method. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform the steps of a video material marking method or a video material recognition method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the video material marking apparatus provided by the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 7. The memory of the computer device may store various program modules that make up the video material marking apparatus, such as the acquisition module 610, the marking string determination module 620, and the marking module 630 shown in fig. 5. The computer program constituted by the respective program modules causes the processor to execute the steps in the video material marking method of the respective embodiments of the present application described in the present specification.
For example, the computer apparatus shown in fig. 7 may perform step S202 through the acquisition module 610 in the video material marking apparatus shown in fig. 5. The computer device may perform step S204 through the marking string determination module 620. The computer device may perform step S206 through the marking module 630.
In one embodiment, the video material recognition apparatus provided by the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 7. The memory of the computer device may store various program modules constituting the video material recognition apparatus, such as the cutting module 710, the first recognition module 720, the conversion module 730, and the second recognition module 740 shown in fig. 6. The computer program constituted by the respective program modules causes the processor to execute the steps in the video material recognition method of the respective embodiments of the present application described in the present specification.
For example, the computer apparatus shown in fig. 7 may perform step S502 by the cutting module 710 in the video material recognition apparatus as shown in fig. 6. The computer device may perform step S504 through the first recognition module 720. The computer apparatus may perform step S506 through the conversion module 730. The computer device may perform step S508 through the second recognition module 740.
In one embodiment, a computer device is presented, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
Step S202, acquiring target materials and target information corresponding to the target materials;
step S204, determining a marking character string according to the target information;
and step S206, generating the marking character string watermark on the target material.
Or the processor when executing the computer program performs the steps of:
step S502, cutting the video material to obtain a picture set with the size of a watermark region of a marking character string;
Step S504, identifying pictures in the picture set and determining a character string set;
Step S506, converting the character string set into a Long type id set;
and step S506, identifying the video material according to the Long type id set.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor causes the processor to perform the steps of:
Step S202, acquiring target materials and target information corresponding to the target materials;
step S204, determining a marking character string according to the target information;
and step S206, generating the marking character string watermark on the target material.
Or the processor when executing the computer program performs the steps of:
step S502, cutting the video material to obtain a picture set with the size of a watermark region of a marking character string;
Step S504, identifying pictures in the picture set and determining a character string set;
Step S506, converting the character string set into a Long type id set;
and step S506, identifying the video material according to the Long type id set.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in various embodiments may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (7)

1. The video material marking method is characterized by comprising the following steps of:
acquiring target materials and target information corresponding to the target materials, wherein the target materials are pictures or video clips forming a video, the target information comprises designer information of the target materials and types of the target materials, and the types of the target materials comprise picture types and video types;
Determining a marking character string according to the target information;
Generating the marking character string watermark on the target material;
wherein the determining the marking character string according to the target information includes:
Generating a Long type ID according to the target information;
converting the Long type ID into a character string with a preset length to obtain the marking character string, wherein the marking character string consists of 4-bit characters in the preset character string, and the converting the Long type ID into the character string with the preset length comprises the following steps:
converting the Long type ID into a character string with the length of 4 bits by using a 10-to-52-system algorithm;
wherein the generating the marking string watermark on the target material includes:
Identifying a background area and a background color of the target material;
Determining the color of the marking character string according to the background color;
The marking string is added to the background area.
2. A video material identification method for identifying a material marked by the video material marking method according to claim 1, characterized in that the video material identification method comprises:
cutting the video material to obtain a picture set with the size of a watermark region of a marking character string;
identifying pictures in the picture set, and determining a character string set;
converting the character string set into a Long type id set;
And identifying the video material according to the Long type id set.
3. The method for identifying video material according to claim 2, wherein when the video material is video, the step of cutting the video material to obtain a picture set with a size of a watermark region of a marking string includes:
Cutting the video material into a plurality of videos with the size of the watermark area of the marking character string to obtain a video set;
And intercepting the specified frame picture from each preset unit time length of the video set to obtain the picture set.
4.A video material marking device, wherein the video material marking device comprises:
The system comprises an acquisition module, a video processing module and a storage module, wherein the acquisition module is used for acquiring target materials and target information corresponding to the target materials, the target materials are pictures or video clips forming a video, the target information comprises designer information of the target materials and types of the target materials, and the types of the target materials comprise picture types and video types;
The marking character string determining module is configured to determine a marking character string according to the target information, where the determining the marking character string according to the target information includes:
Generating a Long type ID according to the target information;
converting the Long type ID into a character string with a preset length to obtain the marking character string, wherein the marking character string consists of 4-bit characters in the preset character string, and the converting the Long type ID into the character string with the preset length comprises the following steps:
converting the Long type ID into a character string with the length of 4 bits by using a 10-to-52-system algorithm;
the marking module is configured to generate the marking string watermark on the target material, and the generating the marking string watermark on the target material includes:
Identifying a background area and a background color of the target material;
Determining the color of the marking character string according to the background color;
The marking string is added to the background area.
5. A video material recognition apparatus for recognizing a material marked by the video material marking apparatus of claim 4, the video material recognition apparatus comprising:
the cutting module is used for cutting the video material to obtain a picture set with the size of the watermark area of the marking character string;
the first identification module is used for identifying pictures in the picture set and determining a character string set;
the conversion module is used for converting the character string set into a Long type id set;
And the second identification module is used for identifying the video material according to the Long type id set.
6. A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the video material marking method of claim 1 or the steps of the video material identification method of any one of claims 2 to 3.
7. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, which when executed by a processor causes the processor to perform the steps of the video material marking method of claim 1 or the steps of the video material identification method of any one of claims 2-3.
CN202210707241.4A 2022-06-21 2022-06-21 Video material marking method, identification method and its device, equipment and storage medium Active CN115103227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210707241.4A CN115103227B (en) 2022-06-21 2022-06-21 Video material marking method, identification method and its device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210707241.4A CN115103227B (en) 2022-06-21 2022-06-21 Video material marking method, identification method and its device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115103227A CN115103227A (en) 2022-09-23
CN115103227B true CN115103227B (en) 2025-01-14

Family

ID=83293145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210707241.4A Active CN115103227B (en) 2022-06-21 2022-06-21 Video material marking method, identification method and its device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115103227B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477464A (en) * 2009-02-10 2009-07-08 腾讯科技(深圳)有限公司 Interface identification method and apparatus
CN108513037A (en) * 2018-04-03 2018-09-07 优视科技有限公司 Multi-media processing method and its device, storage medium, electronic product
CN110072110A (en) * 2019-05-08 2019-07-30 浙江传媒学院 Video display watermark insertion, video display watermark extracting and recognition methods and device
CN111669476A (en) * 2020-06-23 2020-09-15 北京字节跳动网络技术有限公司 Watermark processing method, device, electronic equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3511502B2 (en) * 2000-09-05 2004-03-29 インターナショナル・ビジネス・マシーンズ・コーポレーション Data processing detection system, additional information embedding device, additional information detection device, digital content, music content processing device, additional data embedding method, content processing detection method, storage medium, and program transmission device
CN107911753B (en) * 2017-11-28 2021-01-22 百度在线网络技术(北京)有限公司 Method and device for adding digital watermark in video
CN115866356B (en) * 2019-04-28 2025-04-22 腾讯科技(深圳)有限公司 A video watermarking method, device, equipment and storage medium
CN113781287B (en) * 2021-09-07 2024-03-01 北京达佳互联信息技术有限公司 Watermark image processing method, watermark image processing device, electronic equipment and computer readable storage medium
CN113901263B (en) * 2021-09-30 2022-08-19 宿迁硅基智能科技有限公司 Label generation method and device for video material
CN114155464B (en) * 2021-11-29 2022-11-25 北京中交兴路信息科技有限公司 Video data storage method and device, storage medium and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477464A (en) * 2009-02-10 2009-07-08 腾讯科技(深圳)有限公司 Interface identification method and apparatus
CN108513037A (en) * 2018-04-03 2018-09-07 优视科技有限公司 Multi-media processing method and its device, storage medium, electronic product
CN110072110A (en) * 2019-05-08 2019-07-30 浙江传媒学院 Video display watermark insertion, video display watermark extracting and recognition methods and device
CN111669476A (en) * 2020-06-23 2020-09-15 北京字节跳动网络技术有限公司 Watermark processing method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN115103227A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN101106623B (en) Image capturing apparatus, image capturing method, image processing apparatus, image processing method
KR100874561B1 (en) Image Processing Apparatus and Method
US10332262B2 (en) Removal of background information from digital images
CN108399052A (en) Picture compression method, apparatus, computer equipment and storage medium
CN109118509B (en) Blackboard writing image processing method, device, equipment and storage medium
JP2015114828A (en) Information processing apparatus and information processing program
CN110189384B (en) Image compression method, device, computer equipment and storage medium based on Unity3D
CN109859142B (en) Image brightness adjustment method, device, computer equipment and storage medium
Afifi et al. Semi-supervised raw-to-raw mapping
CN111291741B (en) Receipt identification method and device, computer equipment and storage medium
US20180113849A1 (en) System and method for cheque image data masking
CN112150586B (en) Animation processing method, device, computer readable storage medium and computer equipment
CN115103227B (en) Video material marking method, identification method and its device, equipment and storage medium
US11113780B2 (en) Watermarking digital content
JP7159582B2 (en) Method and apparatus for extending data in surveillance video
US20050018918A1 (en) Image enhancement employing partial template matching
CN114067004A (en) Image processing method, apparatus, computer equipment and storage medium
CN107993246A (en) Image processing equipment and connected component labeling method, system, device, storage medium
CN116257868A (en) Data protection method and device based on image steganography, storage medium and terminal
CN110955889A (en) Electronic document tracing method based on digital fingerprints
CN111161328B (en) Screen image acquisition method based on two-dimensional code
CN113468981A (en) Image processing method, image processing device, computer equipment and storage medium
JP2002236921A (en) Document image recognition method, document image recognition device, and recording medium
CN119848955B (en) A display method and device for preventing camera data leakage
CN110941589A (en) Picture exporting method and device, electronic equipment and readable 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
GR01 Patent grant
GR01 Patent grant