Finalist
Green Goblins
Upscale any photo with any zoom captured on the Samsung Galaxy S25 to a DSLR level quality
Core trick
Runs Real-ESRGAN x4plus as an ExecuTorch model on the Hexagon DSP through the QNN backend to upscale photos 4x on-device.
Tags
Description
Upscale any photo with any zoom captured on the Samsung Galaxy S25 to a DSLR level quality
NishantJoshi00/image-compress★ 00 forksKotlinNOASSERTIONCreated Oct 20, 2025 · last push Oct 20, 2025
README excerpt
# Image Improver - AI-Powered Image Upscaler for Android An Android app that uses Real-ESRGAN x4plus model running on Qualcomm's Hexagon DSP via ExecuTorch to upscale images by 4x. ## Features - Simple share-to interface - no complex UI - Real-ESRGAN x4plus for high-quality upscaling - Runs on-device using Qualcomm's QNN backend (Hexagon DSP) - Automatic gallery save with proper Android 15 support - Memory-efficient processing with automatic downsampling for large images ## Requirements ### For Development - Android Studio Ladybug or newer - Android SDK API 35 (Android 15) - Android NDK 26c - Gradle 8.7+ - Device with Qualcomm SoC (Snapdragon 8 Gen 1+, or similar with Hexagon DSP) ### For Model Conversion - Python 3.8+ - PyTorch 2.0+ - ExecuTorch 0.6+ - Qualcomm AI Engine Direct SDK (QNN) 2.37+ - Linux (Ubuntu 22.04 LTS recommended) or WSL2 ## Project Structure ``` image-improver/ ├── app/ │ ├── src/main/ │ │ ├── java/com/imageimprover/ │ │ │ ├── MainActivity.kt # Main entry point │ │ │ ├── ModelInference.kt # ExecuTorch model loader │ │ │ ├── ImageProcessor.kt # Pre/post processing │ │ │ ├── ImageSaver.kt # Gallery save logic │ │ │ └── PermissionManager.kt # Runtime permissions │ │ ├── res/ # Resources │ │ ├── assets/ │ │ │ └── real_esrgan_x4plus_qnn.pte # Model file (you need to generate this) │ │ └── AndroidManifest.xml │ └─