We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be4841f commit 2fa6374Copy full SHA for 2fa6374
src/detect/detect.py
@@ -59,7 +59,7 @@ def detector(picture, cls=''):
59
except:
60
return None
61
62
- if False and width>=4992:
+ if width>=4992:
63
# detect again at higher resolution for smaller objects
64
try:
65
results = model.predict(source=tmp, conf=0.05, imgsz=min(int(width) >> 5 << 5,6144), half=True, verbose=False)
0 commit comments