A comprehensive guide on how to use Sharpify GUI - a PyQt6-based desktop app to upscale images and videos using Real-ESRGAN.
- Overview
- Quick Start
- Installation
- Running the Application
- User Interface Guide
- Supported File Types
- Upscaling Options
- Advanced Settings
- Troubleshooting
- Best Practices
- API Reference
- FAQ
Sharpify GUI is a professional-grade tool designed to upscale images and videos efficiently. Built with PyQt6, it provides an intuitive desktop interface for:
- Image Upscaling: Upscale JPG, PNG, BMP, TIFF, and WebP images by 4x.
- Video Upscaling: Upscale MP4, AVI, MKV, MOV, WMV, and FLV videos by 4x.
- Batch Processing: Enqueue multiple files for sequential processing with progress tracking.
- Model Selection: Choose between different Real-ESRGAN models optimized for various content types.
- GPU Acceleration: Leverage CUDA/OpenCL for significantly faster upscaling.
- Advanced Configuration: Fine-tune settings like tile size, output format, FPS, and quality.
- Comprehensive Logging: Keep track of the upscaling process with detailed, timestamped logs.
- Windows Operating System
- A modern GPU with support for Vulkan.
- Git (for cloning the repository)
# Clone the repository
git clone https://github.com/uikraft-hub/sharpify-gui.git
# Navigate to the project directory
cd sharpify-gui
# Install required dependencies
pip install -r requirements.txt- Navigate to the
srcdirectory:cd src - Run the application:
python main.py
The application window will open, and you can start using it.
- Input Files: Add files and folders to the processing queue. You can also drag and drop files here.
- Output Settings: Select the folder where the upscaled files will be saved.
- Quick Settings: Quickly select the upscaling model.
- Controls: Start/stop the upscaling process and access advanced settings.
- Progress: View the progress of the current file and the overall batch.
- Processing Log: See detailed, timestamped logs of the upscaling process.
- JPG
- JPEG
- PNG
- BMP
- TIFF
- WebP
- MP4
- AVI
- MKV
- MOV
- WMV
- FLV
You can choose from the following Real-ESRGAN models:
- Anime Image/Video 4x: Optimized for upscaling anime-style images and videos.
- General Image/Video 4x: A general-purpose model for all other types of images and videos.
- Anime Photos 4x: A model specifically for anime-style photos.
For images, you can choose the output format:
- JPG: Good for photos, smaller file size.
- PNG: Lossless format, good for graphics.
- WebP: Modern format with good compression.
Videos are output in the same format as the input file.
You can access the advanced settings by clicking the "Advanced Settings" button.
- Model: Select the Real-ESRGAN model to use.
- Use GPU Acceleration: Enable or disable GPU usage.
- Tile Size: Controls GPU memory usage. Lower values use less memory but are slower.
- Output FPS: Set the frames per second for the output video.
- Video Quality (CRF): Control the quality of the output video. Lower values mean higher quality and larger file sizes.
- Image Format: Choose the output format for upscaled images.
Possible Causes:
- Missing dependencies.
- Python is not installed correctly.
Solutions:
- Make sure you have installed all the dependencies from
requirements.txt. - Ensure you are using a supported version of Python.
Possible Causes:
- The input file is corrupted.
- The selected model is not compatible with the input file.
- Insufficient GPU memory.
Solutions:
- Try a different input file.
- Try a different upscaling model.
- If using GPU, try reducing the tile size in the advanced settings.
- Use GPU acceleration for the best performance.
- Adjust the tile size based on your GPU's memory.
- Process files in batches to save time.
- Organize your input and output files in separate folders.
- Use the "Clear All" button to clear the file queue before starting a new batch.
The application is not designed to be used as a library, but the core logic is contained in the following classes:
The main application window.
Handles the upscaling process in a separate thread.
Q: Is this application free to use? A: Yes, this is an open-source project under the MIT license.
Q: Do I need a powerful computer to run this application? A: A modern GPU is recommended for the best performance, but the application can also run on the CPU.
Q: Can I use my own Real-ESRGAN models? A: Currently, you can only use the models included with the application.
Q: Where are the upscaled files saved? A: You can select the output folder using the "Select Output Folder" button.
- 📧 Email: ujjwalkrai@gmail.com
- 🐛 Issues: Repository Issues
- 🔓 Security: Repository Security
- ⛏ Pull Requests: Repository Pull Requests
- 📖 Documentation: Repository Documentation