File size: 634 Bytes
d1a4273
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""CtrlRegen watermark removal via controllable regeneration.

Implements the pipeline from "Image Watermarks Are Removable Using
Controllable Regeneration from Clean Noise" (ICLR 2025) by Liu et al.

This sub-package uses a ControlNet for spatial guidance (canny edges)
and a DINOv2-based IP Adapter for semantic guidance to regenerate
watermarked images from partially noised latents.

Attribution:
    Based on https://github.com/yepengliu/CtrlRegen (Apache-2.0).
"""

from __future__ import annotations

from ctrlregen.engine import CtrlRegenEngine, is_ctrlregen_available

__all__ = ["CtrlRegenEngine", "is_ctrlregen_available"]