Skip to main content

Blind Video Watermarking in Python

Project description

blind-video-watermark

Blind video watermarking in DT CWT domain.

PyPI License

Installation

pip install blind-video-watermark

For the latest in-development version:

git clone https://github.com/eluv-io/blind-video-watermark
cd blind-video-watermark
pip install .

Getting Started

Embed images

Check the example

import blind_video_watermark as bvw

wm_path = "wms/wm.jpg"
video_path = "videos/bbb-short.mp4"
output_path = "output/output.mp4"
extracted_folder = "output/extracted"
# Embed watermark
bvw.DtcwtImgEncoder().embed_video(wm_path, video_path, output_path)
# Extract watermark
bvw.DtcwtImgDecoder().extract_video(output_path, extracted_folder)

Concurrency

# Ensure "__name__" == "__main__"
bvw.DtcwtEncoder().embed_video_async(wm_path, video_path, output_path)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blind-video-watermark-0.1.2.tar.gz (8.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page