๐ŸŽฌ AI Video Watermark Remover

Remove watermarks from videos using advanced computer vision techniques!

โšก Features:

  • Auto-detection of watermarks
  • Manual mask support
  • Temporal consistency for better results
  • Multiple inpainting algorithms

๐Ÿ“ค Input

๐ŸŽ›๏ธ Settings

Detection Method

Automatically find watermark regions

100 255

Processing Options

Inpainting Method

Telea = faster, NS = higher quality

Improves results by analyzing multiple frames

โœจ Output

How to Use:

  1. Upload Video: Click to upload or drag & drop your video
  2. Choose Method:
    • โœ… Auto-detect: For solid, bright watermarks (logos, timestamps)
    • ๐Ÿ“ Manual mask: For complex or semi-transparent watermarks
  3. Adjust Settings:
    • Increase threshold if detecting too much
    • Decrease threshold if missing watermark
  4. Process: Click the button and wait

Best Practices:

  • Solid watermarks: Use auto-detect with high threshold (200-240)
  • Faint watermarks: Lower threshold (150-180)
  • Complex watermarks: Create a manual mask in any image editor
  • Temporal consistency: Keep ON for videos with static watermarks

Inpainting Methods:

  • Telea: Fast, good for most cases
  • Navier-Stokes (NS): Slower but better quality for complex textures

Creating Manual Masks:

  1. Take a screenshot from your video
  2. Open in any image editor (Paint, Photoshop, GIMP)
  3. Paint the watermark area WHITE
  4. Keep everything else BLACK
  5. Save as PNG/JPG and upload

Limitations:

  • Moving watermarks are harder to remove
  • Very large watermarks may leave artifacts
  • Processing time increases with video length

Algorithm Details:

This app uses:

  • Edge detection: Finds watermark boundaries
  • Corner detection: Identifies logo corners
  • Brightness analysis: Detects bright/dark watermarks
  • OpenCV inpainting: Fills detected regions
  • Temporal analysis: Uses multiple frames for consistency

Algorithms Used:

  1. Watermark Detection:

    • Canny edge detection
    • Harris corner detection
    • Brightness thresholding
    • Morphological operations
  2. Inpainting:

    • Telea algorithm (Fast Marching Method)
    • Navier-Stokes based method
  3. Temporal Consistency:

    • Cross-frame mask refinement
    • Persistent region detection

For Better Results:

For production use, consider deep learning models:

  • ProPainter (ICCV 2023) - State-of-the-art
  • E2FGVI (CVPR 2022) - Fast and efficient
  • DiffuEraser (2025) - Diffusion-based

References:


Made with โค๏ธ using Gradio | Enhanced with OpenCV

โญ Star on ProPainter for ML-based watermark removal