Patent attributes
Embodiments of the present disclosure disclose a method and apparatus for adding a digital watermark in a video. A specific embodiment of the method includes: performing target detection on each frame of image in a target video; determining, based on a target detection result, whether the target video includes at least one carrier, the carrier referring to an object for adding a digital watermark in the each frame of image; and determining a target carrier from the at least one carrier, and adding the digital watermark to an area of the target carrier in the each frame of image including the target carrier in the target video, in response to determining the target video including the at least one carrier.