Menu

Can a General Real-ESRGAN Model Handle Anime? Our 45-Case Browser Baseline
📰

Can a General Real-ESRGAN Model Handle Anime? Our 45-Case Browser Baseline

DEV Community: frontend·Umasou·1 day ago
#2NGmg0aN
#devtofrontend#devto#dev#model#anime
Reading 0:00
15s threshold

The answer is yes—with a qualification that matters more than the headline: ClearPix's current realesr-general-x4v3 pipeline produced usable anime enlargements, but it also softened faint lines, small accessories, and screentone. We are keeping that model for the first anime tool page. We are not calling it an anime-specific model, and we are not calling the output preservation-grade.

The suite contains 15 modern anime and illustration sources, each tested as clean, JPEG70, and JPEG40 input: 45 runs through the production ONNX Runtime Web pipeline. The average full-image PSNR was 23.581 dB and SSIM 0.867. Those numbers are useful for spotting regressions. They are not a quality verdict.

We had to fix the ruler first

Our first run produced impossible values, including NaN and extremely low PSNR on transparent JPEG cases. The model had not suddenly collapsed. The benchmark was wrong in two separate ways.

Some source dimensions were not divisible by four.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.