Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,40 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Pyronear YOLOv8s for Early Wildfire Detection
|
2 |
+
|
3 |
+
This repository contains the custom YOLOv8s model trained by Pyronear for early wildfire detection. Our model leverages the powerful capabilities of the Ultralytics YOLOv8 framework to accurately identify potential wildfire hotspots in real-time.
|
4 |
+
|
5 |
+
## Installation
|
6 |
+
|
7 |
+
Install the ultralytics package including all requirements in a Python>=3.8 environment with PyTorch>=1.8.
|
8 |
+
|
9 |
+
```bash
|
10 |
+
pip install ultralytics
|
11 |
+
```
|
12 |
+
|
13 |
+
For alternative installation methods including Conda, Docker, and Git, please refer to the [Ultralytics Quickstart Guide](https://docs.ultralytics.com/quickstart).
|
14 |
+
|
15 |
+
## Usage
|
16 |
+
|
17 |
+
### Python
|
18 |
+
|
19 |
+
You can also use the YOLOv8 model in a Python environment:
|
20 |
+
|
21 |
+
```python
|
22 |
+
from ultralytics import YOLO
|
23 |
+
from PIL import Image
|
24 |
+
|
25 |
+
# Load the model
|
26 |
+
model = YOLO('pyronear/yolov8s.pt')
|
27 |
+
|
28 |
+
# Run inference
|
29 |
+
results = model('path/to/your/image.jpg', conf=0.2, iou=0.1)
|
30 |
+
|
31 |
+
# Display results
|
32 |
+
results.show()
|
33 |
+
```
|
34 |
+
|
35 |
+
For more examples and detailed usage, see the [YOLOv8 Python Docs](https://docs.ultralytics.com/usage/python).
|
36 |
+
|
37 |
+
## Acknowledgements
|
38 |
+
|
39 |
+
This project utilizes the [Ultralytics YOLOv8 framework](https://ultralytics.com/yolov8). Special thanks to the Ultralytics team for their support and contributions to the open-source community.
|
40 |
+
|