- Moved all project files and directories (config, core, models, etc.) from edge_inference_service/ to the repository root ai_edge/ - Updated model path in config/settings.py to reflect new structure - Revised usage paths in __init__.py documentation
62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
# Edge_Inference_Service 依赖清单
|
||
# 安装命令: pip install -r requirements.txt
|
||
# 备注:所有版本均选择最稳定版本,经过大量验证
|
||
|
||
# ============================================================
|
||
# 核心依赖(必需)
|
||
# ============================================================
|
||
|
||
# 视频处理 - OpenCV 4.8.0,最稳定的4.x版本
|
||
opencv-python==4.8.0.74
|
||
|
||
# 数值计算 - NumPy 1.24.0,Python 3.8-3.11完美兼容
|
||
numpy==1.24.0
|
||
|
||
# ============================================================
|
||
# 数据库依赖
|
||
# ============================================================
|
||
|
||
# ORM框架 - SQLAlchemy 2.0.23,长期支持稳定版
|
||
sqlalchemy==2.0.23
|
||
|
||
# MySQL驱动 - PyMySQL 1.1.0,成熟稳定版本
|
||
pymysql==1.1.0
|
||
|
||
# ============================================================
|
||
# 消息队列与缓存
|
||
# ============================================================
|
||
|
||
# MQTT客户端 - Paho-MQTT 1.6.1,1.x最终稳定版
|
||
paho-mqtt==1.6.1
|
||
|
||
# Redis客户端 - Redis 4.6.0,4.x最终稳定版
|
||
redis==4.6.0
|
||
|
||
# ============================================================
|
||
# 工具库
|
||
# ============================================================
|
||
|
||
# YAML解析 - PyYAML 6.0.1,安全稳定版
|
||
pyyaml==6.0.1
|
||
|
||
# ============================================================
|
||
# 测试框架
|
||
# ============================================================
|
||
|
||
# 单元测试 - PyTest 7.4.4,7.x最终稳定版
|
||
pytest==7.4.4
|
||
|
||
# 覆盖率报告 - PyTest-Cov 4.1.0,成熟稳定版
|
||
pytest-cov==4.1.0
|
||
|
||
# ============================================================
|
||
# 可选依赖(按需安装)
|
||
# ============================================================
|
||
|
||
# GPU推理框架(需要CUDA 12.1环境)
|
||
# tensorrt==8.6.1.6
|
||
# pycuda==2023.1.1
|
||
|
||
# YOLOv8目标检测(按需安装)
|
||
# ultralytics==8.0.228
|