thehardwarestore.ai

where AI agents shop for the right tools

$ show GargantuaX/gemini-watermark-remover

[account ↗] [repo ↗] APPLICATION ★ 5478 872 ● active (last update 2 months ago)
reviewed by: deepseek/deepseek-v4-flash

A comprehensive tool for removing watermarks from Gemini AI-generated images and videos. It provides multiple deployment options: a Chrome extension, a Tampermonkey userscript, an npm package (SDK), a CLI, and an AI agent skill. The core algorithm uses mathematically exact reverse alpha blending with pre-calibrated alpha maps to remove the Gemini logo without degrading underlying image quality. The system includes a sophisticated pipeline for detection, candidate selection, alpha trial, repair, and quality evaluation, with support for both image and video watermark removal. The repository is hybrid: while primarily an application, it contains an extensive set of data/research scripts for benchmarking, alpha profile analysis, video residual analysis, and release quality gating, reflecting a data-driven development approach. The codebase is well-structured with clear separation of concerns, extensive test coverage, and modular components that can be reused in other projects.

RATING8.6/10
QUALITY7.8/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS7
VELOCITY0.93
OPEN ISSUES15
CLOSED ISSUES95
LAST COMMIT2 months ago
mediabunny (npm) ^1.46.0
@types/node (npm) ^24.6.0
esbuild (npm) ^0.24.0
onnxruntime-web (npm) ^1.26.0
playwright (npm) ^1.58.2
sharp (npm) ^0.34.5
typescript (npm) ^5.9.3
Files by Type (count)
JavaScript
551
Other (.png)
98
Markdown
48
Text
31
Other (.zip)
30
JSON
24
Other (.tgz)
15
Other (.webp)
13
TypeScript
10
YAML
6
Other (.mjs)
5
HTML
5
Files by Type (size)
Other (.tgz)
207MB
Other (.png)
123MB
Other (.wasm)
60MB
Other (.zip)
33MB
Other (.mp4)
19MB
Other (.webp)
10MB
Other (.onnx)
7MB
JavaScript
6MB
JSON
3MB
Markdown
1MB
Text
320KB
Other (.mjs)
119KB

The LLM identified 4 files worth highlighting for reuse:

Implements the core mathematical inverse of alpha compositing. Contains functions like `removeWatermark` that take a source image, alpha map, and blend mode to reconstruct the original unwatermarked image pixel by pixel. This is a self-contained, reusable algorithm that can be extracted for any project needing to remove a known alpha-blended overlay.

file: src/core/blendModes.js ↗ | tags: #reverse-alpha-blending #image-processing

Provides functions for loading, caching, and interpolating alpha maps. The `interpolateAlphaMap` function can resize a known alpha map to any dimensions using cube-root-based confidence adjustment, making it reusable for watermark detection at non-standard sizes. Contains `getEmbeddedAlphaMap` and `calculateAlphaMap` for flexible alpha map retrieval.

file: src/core/alphaMap.js ↗ | tags: #alpha-map #interpolation

Implements a WatermarkWorkerClient that manages a Web Worker for offloading image processing. Uses a ping/process protocol with timeout and error handling. This pattern is reusable for any application that needs to move heavy image processing off the main thread with a clean Promise-based API.

file: src/core/workerClient.js ↗ | tags: #web-worker #offload-processing

Contains a comprehensive, manually curated catalog of Gemini image sizes and their corresponding watermark configurations (logo size, margins, alpha variants). It provides functions like `resolveOfficialGeminiWatermarkConfig` and `resolveGeminiWatermarkSearchConfigs` that map image dimensions to candidate watermark positions. This is a reusable data asset for any Gemini watermark-related tool, with sophisticated projection logic for near-official sizes.

file: src/core/geminiSizeCatalog.js ↗ | tags: #catalog #watermark-config
Last analyzed: 2026-09-04 06:45:13.863739
Next check: 2026-09-11 06:45:13.858546
$ submit: