From 27f25440551393520efa468bbb0ed6ebc8227deb Mon Sep 17 00:00:00 2001 From: carry Date: Tue, 14 Apr 2026 16:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0README.md=E5=92=8Crequirement?= =?UTF-8?q?s.txt=E6=96=87=E4=BB=B6=EF=BC=8C=E6=8F=90=E4=BE=9B=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E8=AF=B4=E6=98=8E=E5=92=8C=E4=BE=9D=E8=B5=96=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ requirements.txt | 4 ++++ 2 files changed, 43 insertions(+) create mode 100755 README.md create mode 100755 requirements.txt diff --git a/README.md b/README.md new file mode 100755 index 0000000..55c3a5e --- /dev/null +++ b/README.md @@ -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 +``` + +## 注意事项 + +- 确保图像文件路径正确 +- 实验结果可能因环境而异 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100755 index 0000000..09ad711 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +numpy +matplotlib +pillow +scikit-image \ No newline at end of file