提交 7c5e7142 编写于 作者: Q qq_44861695

Mon Sep 4 12:54:01 CST 2023 inscode

上级 31eb9d36
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"
......@@ -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 = line<span class="em">1</span><span class="em">2</span><span class="em">3</span>
\ No newline at end of file
# for line in lines:
# rho, theta = line<span class="em">1</span><span class="em">2</span><span class="em">3</span>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册