SMEDjs / ow-vision

✅ An Overwatch 2 triggerbot using detection AI !
19 stars 9 forks source link

hi bro, I run it successfully, but he doesn't do anything in the game, do you know what's going on? A model I trained myself. #1

Closed yoloaim closed 1 year ago

yoloaim commented 1 year ago

hi bro, I run it successfully, but he doesn't do anything in the game, do you know what's going on? A model I trained myself. 136001#0354 Can you tell me at your convenience? Thank you,

SMEDjs commented 1 year ago

Hey, do you mean the triggerbot, did you toggle it? it has a keybind for it and it should have a green square in the corner of the GUI (instead of red), let me know

yoloaim commented 1 year ago

Yes! I activated it! He turned green! Can also identify the target! But he didn't...triggerbot, game I play!Cross Fire,Thank you for your answer! brother

yoloaim commented 1 year ago

https://i.imgtg.com/2023/05/21/OOJQMC.png

SMEDjs commented 1 year ago

I see. Well, since you are using another model, maybe it doesn't detect heads? By default, it clicks only on the head. You could try changing the settings -> detect in Detection.py to "detect": [0, 1], and you can try printing something to see if the if statement works on line 77; if it works, it probably comes from pyautogui , goodluck and let me know

yoloaim commented 1 year ago

I have modified it. But still, no, thanks for your answer. https://i.imgtg.com/2023/05/21/OOH6OI.png

yoloaim commented 1 year ago

model.conf = 0.45 I modified it to this as well.

yoloaim commented 1 year ago

https://i.imgtg.com/2023/05/21/OOHXEF.png I don't know where I am going wrong.It can run normally, but it will not trigger the BOT

SMEDjs commented 1 year ago

Add a print("something") above pyautogui.click() around line 78 see if it triggers the click

yoloaim commented 1 year ago

OK BRO

yoloaim commented 1 year ago

still the same result

krytoi945 commented 1 year ago

I launched it, it works, but I didn’t train it, probably that’s why it works slowly, explain how to train it?

Midgxt78 commented 1 year ago

You use yolov8?

Midgxt78 commented 1 year ago

does this still work for current version of overwatch?

SMEDjs commented 1 year ago

yes this uses YOLOv8 and it works for any version of overwatch , it just watch the screen