diff --git a/aimbot.py b/aimbot.py index a3d4af8..92f02b4 100644 --- a/aimbot.py +++ b/aimbot.py @@ -57,6 +57,7 @@ while True: min = dist at = i + # Pixel difference between crosshair(center) and the closest object x = centers[at][0] - img_w/2 y = centers[at][1] - img_h/2 - (detected_boxes[at][3] - detected_boxes[at][2]) * 0.45