feat(red-eye-removal): SOTA red eye removal with MediaPipe Face Mesh + OpenCV LAB correction (#60)

Uses MediaPipe Face Mesh (refine_landmarks=True) for precise iris localization
and OpenCV LAB color space for accurate red-eye detection and luminance-preserving
correction. Zero new dependencies - leverages existing MediaPipe + OpenCV stack.

- Sensitivity slider (LAB 'a' channel threshold)
- Correction strength slider (pupil darkening factor)
- Output format selector (Original/PNG/JPEG/WebP)
- Before/after preview, progress stages, batch processing
- Pipeline support via Controls/Settings split

Co-authored-by: stirling-image <stirling-image@users.noreply.github.com>
This commit is contained in:
stirling-image
2026-04-13 20:22:30 +08:00
committed by GitHub
co-authored by stirling-image
parent dfffc0a8cc
commit 9ddeac92b6
9 changed files with 705 additions and 0 deletions
+4
View File
@@ -84,6 +84,10 @@ export const en = {
name: "Noise Removal",
description: "AI-powered noise and grain removal",
},
"red-eye-removal": {
name: "Red Eye Removal",
description: "AI-powered red eye detection and correction for flash photos",
},
"content-aware-resize": {
name: "Content-Aware Resize",
description: "Intelligently resize images while preserving important content",