增加几何校验

This commit is contained in:
Ukawka
2026-09-17 18:50:43 +08:00
parent 4a49fe14e9
commit 1a7b2f14a9
19 changed files with 662 additions and 88 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import sys
try:
import cv2
except ImportError as error:
raise SystemExit("缺少 OpenCV,请先执行:python3 -m pip install opencv-python") from error
raise SystemExit("缺少 OpenCV,请在 AI_spine 目录执行:conda run -n ai-spine python -m pip install -r requirements.txt") from error
def segment(atlas_path: str, output_dir: str, min_area: int, padding: int, bg_threshold: int):