model与部分图片移至static下

This commit is contained in:
zhbaor 2024-11-12 12:46:09 +08:00
parent 78e6cca458
commit 40dd9c1f32
108 changed files with 106 additions and 365 deletions

View file

@ -30,7 +30,7 @@ def keypoints(img: tp.GrayImage, mask: tp.GrayImage | None = None):
return ORB_no_pyramid.detectAndCompute(img, mask)
with lzma.open(f"{__rootdir__}/models/svm.model", "rb") as f:
with lzma.open(f"{__rootdir__}/static/svm.model", "rb") as f:
SVC = pickle.loads(f.read())