Spaces:
Sleeping
Sleeping
Update wpodnet/lib_detection.py
Browse files- wpodnet/lib_detection.py +1 -1
wpodnet/lib_detection.py
CHANGED
@@ -229,7 +229,7 @@ def reconstruct(I, Iresized, Yr, lp_threshold):
|
|
229 |
else:
|
230 |
return None,[], None,None
|
231 |
def detect_lp(model, I, lp_threshold):
|
232 |
-
Dmax =
|
233 |
Dmin = 288
|
234 |
|
235 |
# Lấy tỷ lệ giữa W và H của ảnh và tìm ra chiều nhỏ nhất
|
|
|
229 |
else:
|
230 |
return None,[], None,None
|
231 |
def detect_lp(model, I, lp_threshold):
|
232 |
+
Dmax = 608
|
233 |
Dmin = 288
|
234 |
|
235 |
# Lấy tỷ lệ giữa W và H của ảnh và tìm ra chiều nhỏ nhất
|