"If the pixels can dream, they can be made to forget."
NeuralBleach is a proof-of-concept utility for bypassing frequency-domain watermarking. NeuralBleach leverages a generative diffusion pipeline to overwrite hidden signatures by regenerating high-frequency noise. Unlike standard denoising tools, it employs edge-detection (ControlNet) to maintain semantic integrity during the reconstruction process.
Uses Realistic Vision V5.1 (a photorealistic finetune of Stable Diffusion) to "re-dream" the image pixels.
- Why: Robust watermarks rely on specific pixel-grid coherence. By regenerating the image with a
strengthof 0.20 - 0.25, we force a new noise distribution that overwrites the original hidden signal without the "potato face" distortion of older models.
Standard AI tools destroy text and small details. NeuralBleach uses ControlNet (Canny Edge Detection) to create a "wireframe" of your image before processing.
- Result: The AI is forced to paint inside the lines. Text remains readable, logos stay sharp, and faces maintain their identity, even while the invisible pixel data is scrubbed.
Detectors don't just look for code; they look for "digital perfection." This module injects physical camera imperfections:
- Chromatic Aberration: Micro-shifts Red/Blue channels at the edges to simulate lens light refraction.
- Film Grain Simulation: Adds ISO-400 equivalent luminance noise to break the "AI smoothness."
Automatically strips all EXIF, XMP, and C2PA (Content Credentials) headers, ensuring no digital signature remains in the file container.
Don't have a GPU? Run Neural-Bleach in the cloud for free.
- Open Google Colab.
- Change Runtime to T4 GPU.
- Copy/Paste the script from
neural_bleach.colab. - Run and upload your image.
If you have a GPU (NVIDIA RTX 3060 or better recommended), you can run this locally.
pip install -r requirements.txt
# Basic Usage (Default Strength 0.20)
python neural_bleach.py image.png
# Aggressive Mode (If watermark persists)
python neural_bleach.py image.png --strength 0.25 --out output_image.jpg| Stage | Process | Technical Goal |
|---|---|---|
| 0. Pre-Processing | LANCZOS Upscale (1.2x) |
Increase pixel density for better facial reconstruction. |
| 1. Wireframing | OpenCV Canny |
Create a structural map to lock text & edges. |
| 2. Laundering | Realistic Vision + ControlNet |
Overwrite frequency-domain watermarks while respecting the wireframe. |
| 3. Humanization | np.roll + Gaussian Noise |
Defeat visual "smoothness" classifiers. |
| 4. Sterilization | Image.save(quality=95) |
Strip C2PA/Metadata & Header signatures. |
Educational Purposes Only. This tool is intended for cybersecurity research, CTF (Capture The Flag) competitions, and studying the robustness of digital watermarking technologies. The author is not responsible for misuse of this tool to bypass copyright protection or violate Terms of Service of generative AI platforms.
| NanoBanana Pro | NeuralBleach |
|---|---|
![]() |
![]() |
![]() |
![]() |
bleacher.mp4
Distributed under the MIT License.



