Improve cap photo color extraction with circle masking

This commit is contained in:
gary
2026-02-21 20:54:34 +01:00
parent eb37322809
commit 448d9dc649
2 changed files with 237 additions and 44 deletions

View File

@@ -13,7 +13,8 @@ Prototype Flutter app for generating bottle-cap mosaics from imported images.
- survives app restarts
- Catalog management:
- add entries manually (name + hex/color picker + optional photo)
- **Deckel fotografieren**: capture a cap with camera, auto-detect dominant center color, store cropped thumbnail
- **Deckel fotografieren**: robust circular cap detection (edge-based circle search with fallback), color is computed only from masked cap interior pixels
- selectable extraction mode in photo review dialog: **Dominante Farbe** or **Durchschnitt**
- dedicated catalog browser with **list/grid** modes
- edit existing entry name/color
- delete entries (with thumbnail cleanup)