Add legal disclaimer, fix attribution, expand credits

- Add disclaimer section to README (research/education purposes)
- Remove incorrect Apache-2.0 license claim from ctrlregen docstrings
- Expand Credits with CtrlRegen and NeuralBleach attribution
- Add license info (MIT) for GeminiWatermarkTool and NeuralBleach
This commit is contained in:
test-user
2026-03-25 11:23:28 -07:00
parent e5d8970add
commit d7614a7b45
6 changed files with 21 additions and 7 deletions
+16 -2
View File
@@ -139,8 +139,22 @@ if has_ai_metadata(Path("image.png")):
## Credits
- [noai-watermark](https://github.com/mertizci/noai-watermark) by mertizci — invisible watermark removal
- [GeminiWatermarkTool](https://github.com/allenk/GeminiWatermarkTool) by Allen Kuo — visible watermark removal algorithm
- [noai-watermark](https://github.com/mertizci/noai-watermark) by mertizci — invisible watermark removal engine
- [GeminiWatermarkTool](https://github.com/allenk/GeminiWatermarkTool) by Allen Kuo (MIT) — visible watermark removal algorithm
- [CtrlRegen](https://github.com/yepengliu/CtrlRegen) by Liu et al. (ICLR 2025) — controllable regeneration pipeline
- [NeuralBleach](https://github.com/...) (MIT) — analog humanizer technique
## ⚠️ Disclaimer
This tool is provided for **educational and research purposes only**.
Removing AI watermarks to misrepresent AI-generated content as human-created
may violate applicable laws, including the U.S. Digital Millennium Copyright Act
(DMCA) and the COPIED Act. Users are solely responsible for ensuring their use
complies with all applicable laws and platform terms of service.
The authors do not condone the use of this tool for deception, fraud,
or any activity that violates applicable laws or regulations.
## License
@@ -8,7 +8,7 @@ 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).
Based on https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -5,7 +5,7 @@ color shifts. This module uses histogram-based color transfer to
align the regenerated image's color distribution back to the original.
Attribution:
Adapted from https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Adapted from https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -5,7 +5,7 @@ canny edges) and a DINOv2-based IP Adapter (semantic control), then
runs controllable regeneration with optional color matching.
Attribution:
Based on https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Based on https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -6,7 +6,7 @@ semantic features. This mixin provides ``load_ctrlregen_ip_adapter``
which handles the custom weight format and encoder swap.
Attribution:
Adapted from https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Adapted from https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations
@@ -12,7 +12,7 @@ default implementation then uses ``hidden_states[-2]`` from DINOv2,
which is exactly what the projection was trained on.
Attribution:
Adapted from https://github.com/yepengliu/CtrlRegen (Apache-2.0).
Adapted from https://github.com/yepengliu/CtrlRegen .
"""
from __future__ import annotations