Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eduardovegas/ira
Image Rescaling Application (IRA)
https://github.com/eduardovegas/ira
Last synced: 12 days ago
JSON representation
Image Rescaling Application (IRA)
- Host: GitHub
- URL: https://github.com/eduardovegas/ira
- Owner: eduardovegas
- Created: 2023-11-05T20:14:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T20:35:04.000Z (about 1 year ago)
- Last Synced: 2023-11-05T21:24:52.573Z (about 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Rescaling Application (IRA)
## Available modes
- [x] Downscale
- [x] Upscale## Available methods
- [x] Bilinear
- [x] Bicubic
- [x] Lanczos
- [x] GFPGAN
- [x] Real-ESRGAN## Authenticating with Replica
To utilize the GFPGAN and Real-ESRGAN upscaling, authentication with Replica's API is required. Instructions for exporting your Replica token can be found [here](https://replicate.com/docs/get-started/python#authenticate).## Usage
### Option 1: Run with Python
Ensure you have the required packages installed: Tkinter (Tk), OpenCV, Replicate, and Requests.
Run the Python script with the following command:
```
python rescaler.py
```### Option 2: Use the Standalone Executable
You can run the application without the need to install any additional packages. To download the latest version, simply visit the [executable release page](https://github.com/eduardovegas/IRA/releases/latest).Once downloaded, you can run the application by executing the following command:
```
.\rescaler.exe
```## Optional Flags
The application supports the following optional flags for specifying parameters before execution:
```
options:
-h, --help show this help message and exit
--mode {downscale,upscale}
Specify the mode (downscale or upscale)
--factor FACTOR Scaling factor for resizing
--method {bilinear,bicubic,lanczos,gfpgan,real-esrgan}
Resampling method
--root ROOT Root directory containing the images
```
For any unspecified parameters, the program will prompt the user for input during execution.