Commit Graph
2 Commits
Author SHA1 Message Date
Stevan Freeborn e099144127 feat: improve background removal feathering
- replace hard binary thresholding with smooth
  linear alpha mapping to reduce halos around
  foreground edges especially in low
  resolution images
- normalize now uses a quadratic curve instead
  of hard binarization so that gradient info
  from the model output is preserved
- removebackgroundasync applies a configurable
  linear interpolation between the set min and
  max feathering thresholds so you have partial
  transparency at the edges
2026-07-15 10:52:35 -05:00
Stevan Freeborn 42435ad915 feat: refactor to proper app + write tests 2025-02-13 17:24:38 -06:00