ViTeX-Bench commited on
Commit
78af9f2
·
1 Parent(s): 4932bf3

Add ViTeX-14B (Corp): training-free locality-preserving post-processing wrapper

Browse files

`make_corp_baseline.py` composes a raw ViTeX-14B prediction's text region back
onto the source video with two per-frame operations:

1. Reinhard mean-variance LAB color matching on a 20-px band just outside
the mask, so the predicted glyphs match the source's local lighting.
2. Signed-distance feathered alpha compositing (4-px feather centered on
the mask boundary), so the boundary has no visible seam.

Inside the mask the result is the predicted glyphs (color-matched); outside
the feather the result is byte-identical to the source. SeqAcc / CharAcc /
TTS are within ~0.01 of raw ViTeX-14B (the predicted text region is
unchanged), while PSNR / SSIM / LPIPS / DreamSim jump to near-Identity.

CPU-only, ~5 min on 8 workers for the 157-clip evaluation split. Reference:
appendix G of the ViTeX-Bench paper.

2 files changed +213 -1
Files changed (2)
README.md+26-1
make_corp_baseline.pyAdded+187