Anime4K Meets WebGPU
Video Upscaling for WebGPU
Ruijun(Daniel) Zhong Yuanqi Wang
Tong Hu
12/11/2023�
Our team
Ruijun(Daniel) Zhong
CGGT 1st Year
GitHub: DanielZhong
LinkedIn: Daniel Zhong
email: dzhong@seas.upenn.edu
Live Demo: https://bit.ly/aniwgpu
Why Important?
Problems with Anime Upscaling
Benefits of Anime4K-WebGPU
Fig 1. Anime4K CNN x2 Upscale [10].
Live Demo: https://bit.ly/aniwgpu
Implementation
Pipelines
WGSL Shader Auto Generation
Package https://bit.ly/ani4kpkg (Github)
Real-Time Live Demo https://bit.ly/ani4kdemo (Github)
WEBGPU
Live Demo: https://bit.ly/aniwgpu
Different Effects
Live Demo: https://bit.ly/aniwgpu
Fig 2. Showcase of Anime4K Denoise, Deblur, Restore, and Upscale Effects [9].
Performance Analysis - Image Quality
Fig 3. Anime4K Upscale+Restore Combination vs. Real-ESRGAN x4 [8].
Live Demo: https://bit.ly/aniwgpu
Anime4K runs 800-1000x faster
Large Buffer Needed (Max 400 x 400px Resolution)
VS
Performance Analysis - GPUs
Live Demo: https://bit.ly/aniwgpu
Fig 4a. Performance Analysis - GPU Time with 720p input video [7] on RTX 3070Ti and 4090
Real-ESRGAN takes 737 ms to render a 200 x 133 image (RTX 3070Ti)
Performance Analysis - Input Video Size
Live Demo: https://bit.ly/aniwgpu
Fig 4b. Performance Analysis - GPU Time with 360p, 720p, and 1080p input video [7].
Too Heavy for Real-Time 1080p Upscale
Live Demo - https://bit.ly/aniwgpu
Live Demo: https://bit.ly/aniwgpu
Fig 5. Live Demo Web App.
References & Base Code
Live Demo: https://bit.ly/aniwgpu
Acknowledgement
Live Demo: https://bit.ly/aniwgpu
Thank You!
Ruijun(Daniel) Zhong
danielzhong2000@gmail.com
Yuanqi Wang
wangyuanqi1996@gmail.com
Tong Hu
tonghu218@gmail.com
Contact us!