The project that leverages the power of YOLOv8 model to classify weather conditions from images. The application is built with Flask and takes an image as input to classify the weather in the image into five categories(Cloudy, Foggy, Rainy, Shine, and Sunrise).
![](https://private-user-images.githubusercontent.com/62748359/250277635-1a554ffa-6abb-42d7-a5c4-5bf9f728fba2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMDI4NjQsIm5iZiI6MTcyNjAwMjU2NCwicGF0aCI6Ii82Mjc0ODM1OS8yNTAyNzc2MzUtMWE1NTRmZmEtNmFiYi00MmQ3LWE1YzQtNWJmOWY3MjhmYmEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDIxMDkyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRjZjBhZmYwNTYyYWNlNGE3ZTRiMGVhYjcxYjRlZGI4NzFhNjQzMWYwNzQzZmIxYTU5NjhlYzVlMzY5MjE3ZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0180JurP-KcLnmuftJKHD_wDQe8ge11evqVbax3zuVs)
![](https://private-user-images.githubusercontent.com/62748359/250277434-bb1b87e9-56bf-47a4-9d5a-c204e12e3b57.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLC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FfQXXgCsf8)
1. clone the repo
git clone https://github.com/prathmesh-yakkaldevi/Weather_Sense.git
2. install virtualenv package
install virtualenv package
3. create virtual environment for project to run
python -m venv <venv_name>
4. activate the virtual environment
<venv_name>\Scripts\activate
5. install flask and ultralytics package
pip install flask
pip install ultralytics
6. run the app
python app.py
Technologies used in the project:
- Python3
- HTML
- CSS
- Flask
- Weather Forecasting: This model could be used to improve weather forecasting by analyzing images from weather satellites or ground-based cameras. It could help in identifying weather patterns and predicting future weather conditions.
- Outdoor Event Planning: Event planners could use this model to check the weather conditions at their event location. This could help them for contingencies in case of adverse weather.
- Smart Home Automation: Your weather classification model could be integrated into smart home systems. By analyzing images from outdoor cameras, the system could automatically adjust settings such as temperature, lighting, or irrigation based on the detected weather conditions.
- Environmental Monitoring: Your model could be applied to monitor and analyze weather conditions in remote or inaccessible areas. By analyzing images captured by cameras or drones, it could provide valuable data for environmental research and monitoring.
- Social Media Analysis: Your weather classification model could be used to analyze images shared on social media platforms. This could help in understanding the weather conditions in different locations based on user-generated content.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Prathmesh Yakkaldevi - Mtech in SWE, DTU - Linkdin