From 7c5e71424c3978701915cd5af673190f67e1ef7e Mon Sep 17 00:00:00 2001 From: qq_44861695 Date: Mon, 4 Sep 2023 12:54:01 +0800 Subject: [PATCH] Mon Sep 4 12:54:01 CST 2023 inscode --- .inscode | 6 +++++- main.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.inscode b/.inscode index 7d17616..3a001eb 100644 --- a/.inscode +++ b/.inscode @@ -1,4 +1,5 @@ run = "pip install -r requirements.txt;python main.py" +language = "python" [packager] AUTO_PIP = true @@ -9,4 +10,7 @@ PATH = "${VIRTUAL_ENV}/bin:${PATH}" PYTHONPATH = "$PYTHONHOME/lib/python3.10:${VIRTUAL_ENV}/lib/python3.10/site-packages" REPLIT_POETRY_PYPI_REPOSITORY = "http://mirrors.csdn.net.cn/repository/csdn-pypi-mirrors/simple" MPLBACKEND = "TkAgg" -POETRY_CACHE_DIR = "/root/${PROJECT_DIR}/.cache/pypoetry" \ No newline at end of file +POETRY_CACHE_DIR = "/root/${PROJECT_DIR}/.cache/pypoetry" + +[debugger] +program = "main.py" diff --git a/main.py b/main.py index cf6f9be..4e5426b 100644 --- a/main.py +++ b/main.py @@ -15,5 +15,5 @@ def hough_detect(image_path): gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) edges = canny_detect(image_path, False) lines = cv2.HoughLines(edges, 1, np.pi/180, 200) - for line in lines: - rho, theta = line123 \ No newline at end of file + # for line in lines: + # rho, theta = line123 \ No newline at end of file -- GitLab