Files
cDNA-image-processing/docs/依赖库清单.md
T
2026-05-08 16:30:32 +08:00

37 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 依赖库清单
## 核心运行时依赖
| 库名 | 版本 | 用途 | 哪些文件用到 |
|------|------|------|-------------|
| **numpy** | 1.26.4 | 数组运算、投影求和、统计 | 全部 .py |
| **scipy** | 1.15.3 | 连通域标记 `ndimage.label` | 全部 .py |
| **scikit-image** | 0.25.2 | `rgb2gray` 灰度转换、Otsu 阈值 | 全部 .py |
| **matplotlib** | 3.10.8 | 可视化绘图(投影曲线、直方图、结果图) | 全部 .py |
| **Pillow** | 12.1.1 | 读取图像文件(png/tif/jpg | 全部 .py |
| **Flask** | 3.1.2 | Web 后端 | web/app.py |
## 仅打包时需要的额外依赖
| 库名 | 用途 |
|------|------|
| **PyInstaller** | 将 Python 项目打包成独立 exe |
## 安装命令
```bash
pip install numpy scipy scikit-image matplotlib Pillow flask
```
如需打包:
```bash
pip install pyinstaller
python build_exe.py
```
## 版本兼容性
以上版本为当前开发环境(Python 3.10Anaconda `my_env`)实测版本。
其他相近版本通常兼容,无特殊版本锁定需求。