mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
The luminance anomaly detection + LaMa inpainting approach failed because watermark signal on the matted foreground was too weak (10-15 units vs threshold of 25). Median filter with kernel=5 effectively removes semi-transparent watermark text while preserving the stamp structure. Pipeline is now: median filter (if toggle on) -> BiRefNet matting -> defringe. No longer requires object-eraser-colorize bundle for watermark removal.