SARS (Synthetic Aperture Radar Analysis & Recognition System) is a comprehensive cross-platform application for processing and analyzing SAR imagery using state-of-the-art deep learning models. The system offers three main functionalities:
- SAR Image Colorization: Transform grayscale SAR imagery into natural-looking colorized representations using Pix2Pix GAN
- Crop Classification: Identify and classify agricultural areas using Vision Transformer (ViT) models
- Flood Detection: Accurately detect and map flood-affected areas using the UNTER architecture
This multi-functional toolkit bridges the gap between raw SAR data and actionable insights for environmental monitoring, disaster response, and agricultural management.
- Transform grayscale SAR images into natural color representations
- Pix2Pix GAN architecture for realistic image-to-image translation
- Customizable color palettes and enhancement options
- Agricultural crop type identification using Vision Transformer (ViT)
- Multi-temporal analysis for crop growth monitoring
- Pre-trained models for common crop types with fine-tuning capabilities
- Rapid flood extent mapping using the UNTER deep learning architecture
- Change detection between pre- and post-event imagery
- Water/land boundary delineation with polygon export
- Cross-platform support (Android, iOS, desktop)
- Batch processing capabilities
- Custom model training interfaces
- Export in various GIS-compatible formats
- Temporal analysis tools
- GPU acceleration for inference
- Frontend: Flutter/Dart for cross-platform UI (44.3%)
- Core Processing: C++ for efficient image processing and model inference (24.3%)
- Build System: CMake for native code compilation (19.5%)
- ML & Data Processing: Python with TensorFlow/PyTorch (6.4%)
- iOS Integration: Swift for iOS-specific functionality (2.1%)
- Additional C Libraries: For SAR data parsing (1.4%)
- Flutter SDK (v3.0.0 or higher)
- Android Studio / Xcode for mobile development
- CMake (v3.15 or higher)
- Python 3.8+ with TensorFlow 2.x or PyTorch
- CUDA-compatible GPU recommended for training and inference
git clone https://github.com/Reboot2004/SARS.git
cd SARSflutter pub get
cd scripts
pip install -r requirements.txtflutter run- Import SAR imagery through the "Colorize" tab
- Adjust colorization parameters if needed
- Process the image with the Pix2Pix model
- Compare original and colorized versions
- Export or share results
- Load multi-temporal SAR data in the "Crop Analysis" tab
- Select the region of interest
- Run the ViT classification model
- Review classification results and confidence scores
- Export classified maps and statistics
- Import pre- and post-event SAR imagery in the "Flood Detection" tab
- Configure detection sensitivity
- Process with the UNTER model
- Review flood extent mapping
- Export flood polygons for disaster response
SARS/
โโโ android/ # Android-specific code
โโโ ios/ # iOS-specific code
โโโ lib/ # Dart source code
โ โโโ models/ # Data models
โ โโโ auth/ # UI screens for different functionalities
โ โโโ utils/ # Utility functions
โ โโโ main.dart # Application entry point
โโโ assets/ # Sample images, models, and other resources
โโโ test/ # Test cases
- Generator: U-Net architecture that transforms SAR to color images
- Discriminator: PatchGAN classifier for realistic texture generation
- Loss: Combined adversarial and L1 loss for visual quality
- Adapted ViT architecture for SAR imagery analysis
- Self-attention mechanisms for capturing spatial relationships
- Multi-head attention blocks for feature extraction
- Custom classification head for agricultural crop types
- U-Net inspired architecture with transformer elements
- Encoder-decoder structure with skip connections
- Specialized for water/land boundary detection
- Change detection module for temporal comparison
- Earth API Integration: Live colorization using Earth observation API data
- Multi-sensor Fusion: Combine optical and SAR data for enhanced results
- Online Service: Deploy as a web service for remote processing
- Mobile-optimized Models: Lighter models for on-device inference
- Additional Classifications: Forest type, urban growth, and land degradation
- Time-series Analysis: Enhanced temporal processing for change detection
- Interactive Training: User-friendly interface for custom model training
| SAR Input | Colorized Output | Optical Reference |
|---|---|---|
![]() |
![]() |
![]() |
| Pre-event SAR | Post-event SAR | Flood Extent Map |
|---|---|---|
![]() |
![]() |
! |
| Model | Accuracy | F1 Score | Processing Time |
|---|---|---|---|
| Pix2Pix Colorization | N/A | PSNR: 28.5dB | 0.8s/image |
| ViT Crop Classifier | 92.7% | 0.91 | 1.2s/image |
| UNTER Flood Detector | 95.3% | 0.94 | 0.9s/image |
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: @Reboot2004
- Project Link: https://github.com/Reboot2004/SARS
Last updated: 2025-05-20
Made with โค๏ธ by Reboot2004


