Spaces:
Sleeping
Sleeping
| 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. | |