---
title: Fire_Detection
canonical_url: "https://www.modelscope.cn/models/IoT-Edge/Fire_Detection"
md_url: "https://www.modelscope.cn/models/IoT-Edge/Fire_Detection.md"
repository: IoT-Edge/Fire_Detection
chinese_name: "火焰检测"
last_updated: 2023-11-28
license: "Apache License 2.0"
pipeline_tag: image-object-detection
tasks:
  - image-object-detection
model_type:
  - my-custom-model
library_name:
  - pytorch
frameworks:
  - Pytorch
domain:
  - cv
downloads: 495934
stars: 23
---

# Fire_Detection

> Fire_Detection - IoT-Edge 在 ModelScope 开源的模型。检测各类通用场景中出现的火焰，最佳使用场景：安防摄像头、交通摄像头视角。暂不支持红外模式下的火焰检测。

IoT-Edge/Fire_Detection 是 ModelScope 魔搭社区上的image-object-detection模型，采用 Apache License 2.0 许可。

- **Repository**: IoT-Edge/Fire_Detection
- **License**: Apache License 2.0
- **Tasks**: image-object-detection
- **Downloads**: 495934
- **Stars**: 23
- **Last updated**: 2023-11-28

Source: https://www.modelscope.cn/models/IoT-Edge/Fire_Detection

---

# 火焰检测模型

[视觉模型边缘+端侧部署指南](https://modelscope.cn/brand/view/ai_porting_kit)  

[阿里云免费0代码开发10+种主流芯片的c++硬件加速SDK/性能评估/寒武纪/瑞芯微/Sigmastar/算能/君正/清微/Nvidia/等其他主流芯片](https://iotedge.console.aliyun.com/algorithm/modelManage)  

部署问题加算法开发平台开发者联盟群钉钉：49280002751

## 期望模型使用方式以及适用范围
该模型适用于检测各类通用场景中出现的火焰，最佳使用场景：安防摄像头、交通摄像头视角。暂不支持红外模式下的火焰检测。
| 类别ID | 类别名称 |
| ------------ | ------------ |
| 1 | fire |

#### 推理代码范例
```python
# numpy >= 1.20
from modelscope.pipelines import pipeline

fire_detection = pipeline('image-object-detection', 'IoT-Edge/Fire_Detection', model_revision='v1.1.20')
output = fire_detection('./fire.jpg')

# the output contains boxes, scores and labels
print(output)
```
#### Clone with HTTP
```bash
 git clone https://www.modelscope.cn/IoT-Edge/Fire_Detection.git
```
