Project Inferno is a miniature project designed to simply predict the brightness temperature / Intensity of a land surface via it's longitude and latitude coordinates with the aid of Feed forward Network in Deep learning.
The primary aim of this project is to contribute to the open source community and enlighten fellow developer who are new on how machine learning models are interfaced with the webapps. The Secondary aim is to enable the prediction of possible wildfire hotspots around the globe
The model is a network of fully connected layers implimented with pytorch, It was trained on the fire_archive_M6_154706 dataset.
The trained model takes in the coordinates (longitude and latitude) of a location and outputs a brightness Intensity value in kelvins which is then converted to celcius
The trained model is saved as a .tar file and hosted on a flask application as a micro service
The flask app is interfaced with a laravel application which serves the user interface as a standalone webapp.
The laravel webapp sends location coordinates data as GET request to the flask micro service endpoint and the flask api responds with the corresponding brightness Intensity of that land location Some other APIs were used for getting the other data pertaining to the location, like the humidity, wind speed, atmospheric temperature, etc...
Clone this repository to get started. Ensure all dependencies are installed:
Laravel Installation guide with composer
Run the 'activate_interface_server.bat' file to fire up the laravel webapp.
Next open your terminal on your working directory and run the following commands:
- cd model_host_(flask-app)
- pip install -r requirement.txt
- python app.py