Pyronear Engine is a repository that aims at deploying pyronear
Project description
pyroengine: Deploy Pyronear wildfire detection
The increasing adoption of mobile phones have significantly shortened the time required for firefighting agents to be alerted of a starting wildfire. In less dense areas, limiting and minimizing this duration remains critical to preserve forest areas.
aims at providing the means to create a wildfire early detection system with state-of-the-art performances at minimal deployment costs.
pyroengine aims to deploy pyrovision wildfire detection system
Table of Contents
Getting started
Prerequisites
- Python 3.6 (or more recent)
- pip
Installation
You can install the package using pypi as follows:
pip install pyroengine
Environment files
The pyroengine/pi_utils/python.env
file must contain:
WEBSERVER_IP
: the IP address of the main rpi once it is installed on siteWEBSERVER_PORT
: the port exposed on the main rpi for the local webserver
Test Engine
You can test to run a prediction using our Pyronear Engine using the following:
from pyroengine.engine import PyronearEngine
from PIL import Image
engine = PyronearEngine()
im = Image.open("path/to/your/image.jpg").convert('RGB')
prediction = engine.predict(image)
This is a quick demo without api setup, so without sending the alert
Documentation
The full package documentation is available here for detailed specifications. The documentation was built with Sphinx using a theme provided by Read the Docs.
Contributing
Please refer to CONTRIBUTING
if you wish to contribute to this project.
Credits
This project is developed and maintained by the repo owner and volunteers from Data for Good.
License
Distributed under the Apache 2 License. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyroengine-0.1.1.tar.gz
.
File metadata
- Download URL: pyroengine-0.1.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54f602887acded61f145bc331d7437f22c7c94b1182c9e77b484cd7723b3501a |
|
MD5 | ef8cf6480a35a29b2ea8a52b9dbbb0fe |
|
BLAKE2b-256 | f84dd3c379a26f53601d92e691bcff27f3a56b2119ca2e091620073d9c650c45 |
File details
Details for the file pyroengine-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pyroengine-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81570fe8f32a9c0d1320da3ee19cb3c1277c5426419e59a0c7ec670b9dc8d2dd |
|
MD5 | df5339a332f279e8810bc670ade4bf0e |
|
BLAKE2b-256 | ae3f75ff913acd1e52083540cd530b82536a7df25c5ca98bb5284e552552feb5 |