diff --git a/.inscode b/.inscode index 7d17616b58c3588c83483b4d2f306c1a69c1904f..3a001eb88671424594301483eb8665b81f6f4826 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 cf6f9bef0eee789397d8dfe30d41d6e9d0710e12..4e5426b3ffdd47b92cfc7b9873b5357e7cbbdcb6 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