Add sample smoke check and refine foreground despill

This commit is contained in:
Codex
2026-06-30 14:42:08 +08:00
parent 464a60c733
commit 923dbe9f09
6 changed files with 146 additions and 1 deletions
+12 -1
View File
@@ -94,7 +94,18 @@ edge pixels.
```powershell
D:\MiniConda\envs\lightML\python.exe -m bgfilter.quality_cli `
Outputs\TestImage_rgba.png `
--max-edge-green-excess-p95 0.55
--max-edge-green-excess-p95 0.50
```
Run the bundled sample smoke check:
```powershell
D:\MiniConda\envs\lightML\python.exe scripts\smoke_samples.py `
--samples-dir Samples `
--output-dir Outputs\smoke_samples `
--device cpu `
--fallback-to-chroma-alpha `
--max-edge-green-excess-p95 0.50
```
## Current Notes