From 8537fb62c18b8252049d5d6d85b0585287a72a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Mon, 25 Nov 2024 01:37:38 +0800 Subject: [PATCH] requirements --- requirements.txt | 9 +++++++++ test/homework4/main.py | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 requirements.txt create mode 100644 test/homework4/main.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..15e8805 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +tqdm +opencv-contrib-python +numpy +pandas +matplotlib +pillow +scikit-learn==1.3 +jupyterlab +jupyterlab-language-pack-zh-CN \ No newline at end of file diff --git a/test/homework4/main.py b/test/homework4/main.py new file mode 100644 index 0000000..f16052c --- /dev/null +++ b/test/homework4/main.py @@ -0,0 +1,4 @@ +# 对图片分别使用Roberts、Sobel和Prewitt三种边缘检测方式,完成边缘检测并使用matplotlib展示结果 + +import cv2 as cv +