{"id":19321212,"url":"https://github.com/djdefrag/realscaler","last_synced_at":"2025-04-12T16:35:49.568Z","repository":{"id":63690416,"uuid":"568061728","full_name":"Djdefrag/RealScaler","owner":"Djdefrag","description":"RealScaler - image/video AI upscaler app  (Real-ESRGAN)","archived":false,"fork":false,"pushed_at":"2025-03-28T10:34:14.000Z","size":16380,"stargazers_count":327,"open_issues_count":13,"forks_count":22,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-03T17:11:37.078Z","etag":null,"topics":["amd","anime","compression-artifact-reduction","deep-learning","directx-12","gpu","gui-application","intel","manga","noise-reduction","nvidia","opencv","python","pytorch","pytorch-directml","super-resolution","video","video-processing","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Djdefrag.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-19T10:31:03.000Z","updated_at":"2025-04-02T16:53:22.000Z","dependencies_parsed_at":"2024-02-11T13:43:11.014Z","dependency_job_id":"fed12a32-1411-4791-a9b8-865d0c0ec776","html_url":"https://github.com/Djdefrag/RealScaler","commit_stats":{"total_commits":95,"total_committers":1,"mean_commits":95.0,"dds":0.0,"last_synced_commit":"cce62f4f39bba58ace3e60f83ba3e1db326c672b"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdefrag%2FRealScaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdefrag%2FRealScaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdefrag%2FRealScaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Djdefrag%2FRealScaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Djdefrag","download_url":"https://codeload.github.com/Djdefrag/RealScaler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248597236,"owners_count":21130840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amd","anime","compression-artifact-reduction","deep-learning","directx-12","gpu","gui-application","intel","manga","noise-reduction","nvidia","opencv","python","pytorch","pytorch-directml","super-resolution","video","video-processing","windows"],"created_at":"2024-11-10T01:36:06.374Z","updated_at":"2025-04-12T16:35:49.538Z","avatar_url":"https://github.com/Djdefrag.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cbr\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/32263112/202846672-027bc15c-8db1-424c-b241-5b466e66c66e.png\" width=\"175\"\u003e \u003c/a\u003e \n    \u003cbr\u003e\u003cbr\u003e RealScaler - image/video AI upscaler app (Real-ESRGAN) \u003cbr\u003e\u003cbr\u003e\n    \u003ca href=\"https://jangystudio.itch.io/realesrscaler\"\u003e\n        \u003cbutton\u003e\n            \u003cimg src=\"https://static.itch.io/images/badge-color.svg\" width=\"225\" height=\"70\"\u003e\n        \u003c/button\u003e     \n    \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/a9c8e060-c20d-4c57-978d-5cd92b988f62\"\u003e \u003c/a\u003e \n\u003c/div\u003e\n\n## What is RealScaler?\nRealScaler is a Windows app powered by RealESRGAN AI to enhance, upscale and de-noise photos and videos.\n\n## Other AI projects.🤓\n- https://github.com/Djdefrag/QualityScaler / QualityScaler - image/video AI upscaler app\n- https://github.com/Djdefrag/FluidFrames.RIFE / FluidFrames.RIFE - video AI interpolation app (RIFE-HDv3)\n\n## Credits.\nReal-ESRGAN - https://github.com/xinntao/Real-ESRGAN\n\n## How is made. 🛠\nRealScaler is completely written in Python, from backend to frontend. \n- [x] pytorch (https://github.com/pytorch/pytorch)\n- [x] onnx (https://github.com/onnx/onnx)\n- [x] onnxconverter-common (https://github.com/microsoft/onnxconverter-common)\n- [x] onnxruntime-directml (https://github.com/microsoft/onnxruntime)\n- [x] customtkinter (https://github.com/TomSchimansky/CustomTkinter)\n- [x] openCV (https://github.com/opencv/opencv)\n- [x] moviepy (https://github.com/Zulko/moviepy)\n- [x] pyInstaller (https://github.com/pyinstaller/pyinstaller)\n\n## Make it work by yourself. 👨‍💻\nPrerequisites.\n- Python installed on your pc (https://www.python.org/downloads/release/python-3119/)\n- VSCode installed on your pc (https://code.visualstudio.com/)\n- AI models downloaded (https://gofile.io/d/yaMlZO)\n- FFMPEG.exe downloaded (https://www.gyan.dev/ffmpeg/builds/) RELEASE BUILD \u003e ffmpeg-release-essentials.7z\n\nGetting started.\n- Download the project on your PC (Green button Code \u003e Download ZIP)\n- Extract the project from the .zip\n- Extract the AI models files in /AI-onnx folder\n- Extract FFMPEG.exe in /Assets folder\n- Open the project with VSCode (Drag\u0026Drop the project directory on VSCode)\n- Click RealScaler.py from left bar (VSCode will ask to install Python plugins)\n- Install dependencies. In VSCode there is the \"Terminal\" panel, click there and execute the command \"pip install -r requirements.txt\"\n- Close VSCode and re-open it (this will refresh all the dependecies installed)\n- Click on the \"Play button\" in the upper right corner of VSCode\n\n## Requirements. 🤓\n- Windows 11 / Windows 10\n- RAM \u003e= 8Gb\n- Any Directx12 compatible GPU with \u003e= 4GB VRAM\n\n## Features.\n- [x] Elegant and easy to use GUI\n- [x] Image and Video upscale\n- [x] Multiple GPUs support\n- [x] Compatible images - jpg, png, tif, bmp, webp, heic\n- [x] Compatible video - mp4, wemb, mkv, flv, gif, avi, mov, mpg, qt, 3gp\n- [x] Automatic image tilling to avoid gpu VRAM limitation\n- [x] Resize image/video before upscaling\n- [x] Interpolation beetween original file and upscaled file\n- [x] Video upscaling STOP\u0026RESUME\n- [x] PRIVACY FOCUSED - no internet connection required / everything is on your PC\n\n## Next steps. 🤫\n- [x] 1.X versions\n    - [x] Switch to Pytorch-directml to support all Directx12 compatible gpu (AMD, Intel, Nvidia)\n    - [x] New GUI with Windows 11 style\n    - [x] Include audio for upscaled video\n    - [x] Optimizing video frame resize and extraction speed\n    - [x] Multi GPU support (for pc with double GPU, integrated + dedicated)\n    - [x] Python 3.10 (expecting ~10% more performance)\n- [x] 2.X versions\n    - [x] New, completely redesigned graphical interface based on @customtkinter\n    - [x] Upscaling images and videos at once (currently it is possible to upscale images or single video)\n    - [x] Upscale multiple videos at once\n    - [x] Choose upscaled video extension\n    - [x] Interpolation between the original and upscaled image/video\n    - [x] More Interpolation levels (Low, Medium, High)\n    - [x] Show the remaining time to complete video upscaling\n    - [x] Support for SRVGGNetCompact AI architecture\n    - [x] Metadata extraction and application from original file to upscaled file (via exiftool)\n- [ ] 3.X versions\n    - [x] New AI engine powered by onnxruntime-directml (https://github.com/microsoft/onnxruntime))\n    - [x] Python 3.11 (performance improvements)\n    - [x] Python 3.12 (performance improvements)\n    - [x] Display images/videos upscaled resolution in the GUI\n    - [x] Updated FFMPEG to version 7.x (latest release)\n    - [x] Saving user settings (AI model, GPU, CPU  etc.)\n    - [x] Video multi-threading AI upscale \n    - [x] Video upscaling STOP\u0026RESUME\n\n### Some Examples.\n#### Videos\n- Original\n\n![boku-no-hero-my-hero-academia](https://user-images.githubusercontent.com/32263112/209639439-94c8774d-354e-4d56-9123-e1aa4af95e08.gif)\n\n- RealESRGANx4 - upscaled in 3 minutes and 23 seconds\n\nhttps://user-images.githubusercontent.com/32263112/209639499-83eb4609-a842-43f9-b8a2-9fffd23e1d2c.mp4\n\n- RealESR_Gx4 - upscaled in 57 seconds\n\nhttps://user-images.githubusercontent.com/32263112/209639569-c201a965-c6bf-4b7c-9904-61114b5bf4d5.mp4\n\n\n#### Images!\n\n![test1](https://user-images.githubusercontent.com/32263112/223775329-2400f251-d6a3-45bb-ae94-09e40c55a6e1.png)\n\n![test2](https://user-images.githubusercontent.com/32263112/223775065-2c304b76-ca1b-4efc-83d5-16c091be0cd1.png)\n\n![test5](https://user-images.githubusercontent.com/32263112/203338133-0d0945f1-0129-4b36-8801-1510cf8892b8.png)\n\n![a](https://user-images.githubusercontent.com/32263112/206723952-3f3110c9-9328-4bcc-94e0-8aaec0279eeb.png)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdefrag%2Frealscaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjdefrag%2Frealscaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdefrag%2Frealscaler/lists"}