radar_image_quality / README.md
sergiev's picture
Upload folder using huggingface_hub
3b9ef3b verified
---
title: radar_image_quality
app_file: src/app_gradio.py
sdk: gradio
sdk_version: 5.25.2
---
# Radar Image Quality Gradio App
## Overview
The Radar Image Quality Gradio App is designed to evaluate the quality parameters of radar image generated by a bistatic radar system. This application provides an interactive interface for users to input various parameters and visualize the results.
## Project Structure
```
radar-image-quality
β”œβ”€β”€ src
β”‚ β”œβ”€β”€ app_backend.py # Backend logic for calculations
β”‚ β”œβ”€β”€ app_gradio.py # Gradio interface setup
β”‚ └── test_backend.py # Unit tests for backend functions
β”œβ”€β”€ img
β”‚ └──... # Frontend image files
β”œβ”€β”€ Dockerfile # Docker instructions for building the image
β”œβ”€β”€ requirements.txt # Python dependencies
└── README.md # Project documentation
```
## Setup Instructions
1. **Clone the repository:**
```bash
git clone <repository-url>
cd radar_image_quality
```
2. **Install dependencies:**
It is recommended to use a virtual environment. You can create one using:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
Then install the required packages:
```bash
pip install -r requirements.txt
```
3. **Run the application:**
You can run the Gradio app directly using:
```bash
python src/app_gradio.py
```
## Docker Instructions
To build and run the Docker container, use the following commands:
1. **Build the Docker image:**
```bash
source docker_build.sh
```
2. **Run the Docker container:**
```bash
source docker_run.sh
```
## Usage
Once the application is running, open your web browser and navigate to `http://localhost:7860` to access the Gradio interface. You can input various parameters related to the radar system and visualize the results.