ForestVision is a web-based tool designed to analyze deforestation over a specified period using satellite imagery. This application allows users to select geographic coordinates and a time frame to visualize changes in forest cover and quantify the extent of deforestation.
- Geographic Selection: Select any location globally using latitude and longitude inputs.
- Time Frame Specification: Define the start and end dates to analyze deforestation within that period.
- Image Processing: Retrieve and process satellite images to identify and visualize forest cover changes.
- Interactive Map: Display the selected area on an interactive map with an overlay indicating the deforested area.
- Deforestation Metrics: Calculate and display key metrics, including the percentage of forest cover loss, total deforested area in hectares, and annual CO2 loss due to deforestation.
You can try ForestVision without installing anything by visiting our web app at ForestVision Web App. Explore deforestation trends and visualize forest cover changes directly in your browser 🌳
To run ForestVision locally, follow these steps:
-
Clone the repository:
git clone https://github.com/vikfalk/forestvision.git cd forestvision -
Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit application:
streamlit run ForestVision.py
-
Open the Application: After running the Streamlit command, a web browser should open with the ForestVision interface. If not, navigate to
http://localhost:8501in your browser. -
Select Location and Time Frame:
- Coordinates: Input the latitude and longitude for the area of interest.
- Time Frame: Choose the start and end dates for the analysis.
-
View and Analyze Results:
- View on Map: Click the "View on map" button to display the selected area on the map.
- Calculate: Click the "Calculate" button to start the image retrieval and processing. The results will include satellite images, forest overlays, and deforestation metrics.
ForestVision.py: Main application file containing the Streamlit interface and core logic.requirements.txt: List of Python dependencies required for the project.smooth_and_vectorize.py: Utility script for image processing (if applicable).example_images/: Directory containing example images used in the app.
This project utilizes various open-source libraries and APIs for satellite imagery and image processing. Special thanks to the developers and contributors of these tools.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
