mirror of
https://github.com/Sneed-Group/RobloxPotatoes
synced 2024-12-23 19:32:38 -06:00
'comment'
This commit is contained in:
parent
1df2271308
commit
d0c32c4d9a
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ while True:
|
||||||
min = dist
|
min = dist
|
||||||
at = i
|
at = i
|
||||||
|
|
||||||
|
# Pixel difference between crosshair(center) and the closest object
|
||||||
x = centers[at][0] - img_w/2
|
x = centers[at][0] - img_w/2
|
||||||
y = centers[at][1] - img_h/2 - (detected_boxes[at][3] - detected_boxes[at][2]) * 0.45
|
y = centers[at][1] - img_h/2 - (detected_boxes[at][3] - detected_boxes[at][2]) * 0.45
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue