frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Removing the Gemini watermark: from OpenCV to LaMa to millisecond algorithm

https://geminiwatermarkcleaner.com/changelog.html
1•heftykoo•1h ago

Comments

heftykoo•1h ago
When Google Gemini started adding a watermark to generated images (including Nano Banana images), I wanted a way to download the original outputs without cropping or post-processing.

Over a few iterations I tried three approaches:

1) OpenCV heuristics Fixed-position detection + color estimation + inpainting. Fast, but fragile: works on flat backgrounds, fails on textured images.

https://geminiwatermarkcleaner.com/changelog/v1-1-0.html

2) LaMa inpainting High-quality reconstruction using a local LaMa model. Very accurate, but slow (~30s/image on CPU) and heavy to ship.

https://geminiwatermarkcleaner.com/changelog/v2-0-0.html

3) Lightweight watermark-specific algorithm Inspired by community implementations and optimized for Gemini’s logo pattern: geometry-aware detection + edge-preserving fill, no neural model. • Binary < 2MB • Millisecond latency • Runs fully locally in browser

https://geminiwatermarkcleaner.com/changelog/v3-0-0.html

I packaged this into a Chrome extension and a local web Gemini Watermark Remover tool: https://geminiwatermarkcleaner.com/gemini-watermark-remover....

Everything runs locally; images never leave the machine.

I also used this as a small experiment in building a paid micro-utility: payments, licensing, and basic marketing turned out harder than the algorithm itself.

Happy to answer questions about detection, inpainting tradeoffs, or browser-side image processing.

heftykoo•1h ago
For clarity: the final algorithm isn’t novel research — it’s inspired by watermark-removal implementations shared in the community, then adapted specifically to Gemini’s logo geometry and optimized for browser-side execution.

The main engineering challenge for me wasn’t detection quality, but finding a point that balanced:

• reliability on textured images • millisecond latency • small binary size • zero server-side processing

I also made the extension paid mostly as an experiment to understand pricing, payments, and distribution for small developer tools. Building the payment/licensing flow took more time than the algorithm itself.

If anyone is curious, I’m happy to share more details about the detection heuristics and fill strategy.

Reinforcement learning for humans – Quiz your understanding

https://cramsandwich.com
1•filepod•38s ago•0 comments

Building user interactivity on your website without a back end

https://nekomimi.leaflet.pub/3m6pcklmvt222
1•mefengl•2m ago•0 comments

Astrological CPU Scheduler

https://github.com/zampierilucas/scx_horoscope
1•fratellobigio•2m ago•0 comments

Show HN: Cuttlefish – 40ns causal consistency using algebra instead of consensus

https://github.com/abokhalill/cuttlefish
1•yousef06•3m ago•0 comments

Sheetsandbox: Use Google Sheets as a Database for MVPs

https://sheetsandbox.com/
1•aravindkumarv•5m ago•1 comments

Can AI companies become profitable?

https://epoch.ai/gradient-updates/can-ai-companies-become-profitable
2•todsacerdoti•8m ago•0 comments

Glymphatic system clears amyloid beta and tau from brain to plasma in humans

https://www.nature.com/articles/s41467-026-68374-8
1•jmount•8m ago•0 comments

Everyone Has Email. Nobody Uses It Right

https://kaplich.me/essays/email
1•skaplich•12m ago•1 comments

Fault Tolerant Linux

https://popcornlinux.org/fault-tolerant-linux/
1•doener•14m ago•0 comments

Live Lightning Map

https://map.blitzortung.org
1•kristianpaul•15m ago•0 comments

Providing 99.999% of Availability for Unmatched Server Uptime

https://www.penguinsolutions.com/en-us/products/stratus-ftserver
1•doener•17m ago•0 comments

Landholder vs. Stockholder

https://aeon.co/essays/why-hume-is-better-at-explaining-modern-capitalism-than-marx
2•bryanrasmussen•19m ago•0 comments

We can't send mail farther than 500 miles (2002)

https://web.mit.edu/jemorris/humor/500-miles
6•giancarlostoro•22m ago•3 comments

ESR on LLM Coding

https://twitter.com/esrtweet/status/2016713740658344301
1•tiahura•22m ago•0 comments

FOSDEM 2012 Schedule Chart

https://rgbcu.be/dump/fosdem/2012
1•RGBCube•24m ago•0 comments

AI Prompt to Write in Minimalist Style of Ernest Hemingway

https://tools.eq4c.com/ai-prompts/ai-prompt-to-write-in-minimalist-style-of-ernest-hemingway/
2•eq4c•24m ago•0 comments

Show HN: The Unix compress algorithm with approximate matches

1•keepamovin•25m ago•0 comments

Stratus VOS

https://en.wikipedia.org/wiki/Stratus_VOS
1•doener•25m ago•0 comments

Was serving GPT-5 profitable?

https://twitter.com/i/status/2016652644560097377
1•gradus_ad•31m ago•0 comments

Breaking the Spell of Vibe Coding

https://www.fast.ai/posts/2026-01-28-dark-flow/
2•gmays•32m ago•0 comments

The reason cancer immunotherapy often fails

https://www.sciencedaily.com/releases/2026/01/260128075323.htm
2•Jimmc414•34m ago•0 comments

Explore Cartoon Characters

https://acartooncharacters.com/
1•jokera•34m ago•0 comments

Putting Gemini to Work in Chrome

https://blog.google/products-and-platforms/products/chrome/gemini-3-auto-browse/
2•diwank•37m ago•0 comments

37signals Isn't Smarter Than You, but They Are Different

https://www.nateberkopec.com/blog/37signals-is-not-smarter-than-you/
1•doppp•37m ago•0 comments

Wasmer 7.0

https://github.com/wasmerio/wasmer/releases/tag/v7.0.0
3•shscs911•39m ago•0 comments

I built a tool that turns brain dumps into Mermaid.js flowcharts

https://chaosclarity.app/
2•marwanghazi•47m ago•1 comments

Clawdbot's Peter Steinberger Makes First Public Appearance Since Launch

https://www.youtube.com/watch?v=qyjTpzIAEkA
2•doppp•47m ago•0 comments

[dupe] Tesla Kills Models S and X

https://gizmodo.com/tesla-kills-models-s-and-x-2000715273
1•andsoitis•51m ago•2 comments

Another Bay Area resident dies from toxic wild mushrooms

https://www.kron4.com/news/bay-area/another-bay-area-resident-dies-from-toxic-wild-mushrooms/
1•tokyobreakfast•51m ago•0 comments

FOSDEM 2026 Schedule Chart

https://rgbcu.be/dump/fosdem/2026/
2•RGBCube•51m ago•0 comments