model与部分图片移至static下
This commit is contained in:
parent
78e6cca458
commit
40dd9c1f32
108 changed files with 106 additions and 365 deletions
|
@ -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())
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue