添加README.md和requirements.txt文件,提供项目说明和依赖信息
This commit is contained in:
39
README.md
Executable file
39
README.md
Executable file
@@ -0,0 +1,39 @@
|
|||||||
|
# CV Experiment
|
||||||
|
|
||||||
|
这是一个计算机视觉实验项目,包含多个实验的Jupyter Notebook文件。
|
||||||
|
|
||||||
|
## 文件说明
|
||||||
|
|
||||||
|
- `1-5.ipynb`: 实验1-5的Notebook
|
||||||
|
- `3-3.ipynb`: 实验3-3的Notebook
|
||||||
|
- 图像文件: 包含一些测试图像,如Lena.bmp, rice.png等,用于实验处理
|
||||||
|
|
||||||
|
## 如何运行
|
||||||
|
|
||||||
|
1. 确保安装了Python和Jupyter Notebook
|
||||||
|
2. 打开终端,导航到项目目录
|
||||||
|
3. 运行 `jupyter notebook` 启动Jupyter服务器
|
||||||
|
4. 在浏览器中打开相应的.ipynb文件
|
||||||
|
|
||||||
|
## 依赖
|
||||||
|
|
||||||
|
请检查Notebook中的导入语句,通常需要:
|
||||||
|
- numpy
|
||||||
|
- matplotlib
|
||||||
|
- pillow
|
||||||
|
- scikit-image
|
||||||
|
|
||||||
|
可以使用以下命令安装依赖:
|
||||||
|
```
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
或手动安装:
|
||||||
|
```
|
||||||
|
pip install numpy matplotlib pillow scikit-image
|
||||||
|
```
|
||||||
|
|
||||||
|
## 注意事项
|
||||||
|
|
||||||
|
- 确保图像文件路径正确
|
||||||
|
- 实验结果可能因环境而异
|
||||||
4
requirements.txt
Executable file
4
requirements.txt
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
numpy
|
||||||
|
matplotlib
|
||||||
|
pillow
|
||||||
|
scikit-image
|
||||||
Reference in New Issue
Block a user