feat: add Upscaler class for image and video upscaling with Web Workers

- Implemented methods for initializing the upscaling process, loading weights, and processing images and videos.
- Added support for real-time video upscaling using OffscreenCanvas and Web Workers.
- Included utility functions for loading image and video metadata, handling blob responses, and managing network configurations.
- Introduced methods for downloading upscaled content and managing GPU capabilities.
- Added error handling and progress tracking for the upscaling process.
This commit is contained in:
Harvey Zhao committed 2026-02-11 22:54:13 +08:00
1 parent 17042867fc
commit 210eb94b75
23 files changed
+136717 -929

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff