mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Revert "feat: replace AI matting with chroma-based checkerboard detection"
This reverts commit f1a4c94375.
This commit is contained in:
@@ -250,18 +250,18 @@ export const TOOLS: Tool[] = [
|
||||
route: "/content-aware-resize",
|
||||
},
|
||||
{
|
||||
id: "ai-canvas-expand",
|
||||
name: "AI Canvas Expand",
|
||||
description: "Expand canvas beyond image bounds with AI-powered fill",
|
||||
id: "content-aware-crop",
|
||||
name: "Content-Aware Crop",
|
||||
description: "Extend canvas beyond image bounds with AI-powered fill",
|
||||
category: "ai",
|
||||
icon: "Expand",
|
||||
route: "/ai-canvas-expand",
|
||||
route: "/content-aware-crop",
|
||||
},
|
||||
{
|
||||
id: "transparency-fixer",
|
||||
name: "PNG Transparency Fixer",
|
||||
description: "Fix fake transparent PNGs in one click",
|
||||
category: "utilities",
|
||||
category: "ai",
|
||||
icon: "ShieldCheck",
|
||||
route: "/transparency-fixer",
|
||||
},
|
||||
@@ -1247,5 +1247,6 @@ export const PYTHON_SIDECAR_TOOLS = [
|
||||
"red-eye-removal",
|
||||
"restore-photo",
|
||||
"passport-photo",
|
||||
"ai-canvas-expand",
|
||||
"transparency-fixer",
|
||||
"content-aware-crop",
|
||||
] as const;
|
||||
|
||||
@@ -26,7 +26,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
|
||||
name: "Background Removal",
|
||||
description: "Remove image backgrounds with AI",
|
||||
estimatedSize: "4-5 GB",
|
||||
enablesTools: ["remove-background", "passport-photo"],
|
||||
enablesTools: ["remove-background", "passport-photo", "transparency-fixer"],
|
||||
},
|
||||
"face-detection": {
|
||||
id: "face-detection",
|
||||
@@ -40,7 +40,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
|
||||
name: "Object Eraser & Colorize",
|
||||
description: "Erase objects from photos and colorize B&W images",
|
||||
estimatedSize: "1-2 GB",
|
||||
enablesTools: ["erase-object", "colorize", "ai-canvas-expand"],
|
||||
enablesTools: ["erase-object", "colorize", "content-aware-crop"],
|
||||
},
|
||||
"upscale-enhance": {
|
||||
id: "upscale-enhance",
|
||||
|
||||
Reference in New Issue
Block a user