This project aims to colorize SAR (Synthetic Aperture Radar) images using a deep learning model. The backend processes the image and returns a colorized output.
- client/: React frontend for uploading images.
- server/: Node.js backend for processing the image.
- model/: Model-related files.
- PowerShell scripts:
setup.ps1: Sets up the project.run.ps1: Runs the project.clear.ps1: Clears setup.
Make sure the following are installed on your system:
- Git
- Node.js
- MongoDB
- Python
To run the project locally follow the steps:
-
Clone the repository:
git clone https://github.com/Yubi09/SAR-Image-Colorization.git
-
Run the setup script:
./setup.ps1
-
Update the environment variables: Edit the
.env.examplefile in theserver/directory and set:MONGODB_URL: Your MongoDB connection string.PORT: Server port.JWT_TOKEN: Your JWT token.
-
Download the model file: Download the
generator_final.pthfile from Google Drive and place it in theserver/directory. -
Download and place the required .dll file: Download the .dll file from Google Drive and move it to:
C:\Windows\System32
-
Run the project:
./run.ps1
Once the project is running, access the frontend to upload SAR images for colorization. The backend will process and return the colorized image.