My gallery app places a DWT (Discrete Wavelet Transform) watermark on displayed images.
I spent the past couple days with "Claude" refining the detection process. Here is an image screenshotted from the gallery including a big streak of gray background, detected perfectly.
It's working very well!