mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-15 22:19:18 +00:00
Fix: Lower item threshold to 10
This commit is contained in:
parent
4ef3dd26e2
commit
0c5a1e1f42
@ -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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user