Fix: Lower item threshold to 10

This commit is contained in:
LmeSzinc 2023-11-20 01:48:30 +08:00
parent 4ef3dd26e2
commit 0c5a1e1f42

View File

@ -233,7 +233,7 @@ class Aim:
self.draw_item = cv2.multiply(draw, 4) self.draw_item = cv2.multiply(draw, 4)
# Find peaks # Find peaks
points = inrange(draw, lower=12) points = inrange(draw, lower=10)
points = Points(points).group(threshold=10) points = Points(points).group(threshold=10)
if points.shape[0] > 3: if points.shape[0] > 3:
logger.warning(f'AimDetector.predict_item() too many peaks: {points.shape}') logger.warning(f'AimDetector.predict_item() too many peaks: {points.shape}')