Game Automation with YOLOv8: Python Bot Tutorial

  Рет қаралды 10,907

ClarityCoders

ClarityCoders

Күн бұрын

Learn how to automate gameplay using YOLOv8 object detection in Python. This tutorial guides you through the process of coding a game bot using YOLOv8, a powerful deep learning model, to detect and interact with game elements.
Watch step-by-step as we demonstrate how to implement YOLOv8 for game automation, providing insights and tips along the way. Enhance your programming skills and gaming experience with this comprehensive guide!
✌️Want to see our new courses first for free?
www.claritycoders.com/
⌨️ All the code in the video!
github.com/ClarityCoders/Torn...
👊 You got something to say to me?? Join our discord!✌️
/ discord
00:00 - Intro
00:15 - Get Image Data
04:20 - Annotate Images
09:40 - Train Model
12:03 - Create Bot
16:38 - First Bot Attempt
18:00 - Final Run!

Пікірлер: 46
@csg301
@csg301 Ай бұрын
lets go! Waiting every day for a new upload and it finally happened! Keep up the content bro you're the best!
@ClarityCoders
@ClarityCoders Ай бұрын
Really appreciate this comment. Thanks for sticking with me! More soon.
@nopainnullgain3405
@nopainnullgain3405 Ай бұрын
Please do more AI bot stuff! you are my favorit content creator for bot stuff, you are so good at explaning and making it easy to understand.
@ClarityCoders
@ClarityCoders Ай бұрын
Thanks! I hope to have a ton of stuff coming out this year. Stay tuned.
@ontoshere
@ontoshere Ай бұрын
This couldn't have come at a better time. Thanks! Can't wait to mess with this.
@ClarityCoders
@ClarityCoders Ай бұрын
It's a pretty cool process! Thanks for watching/commenting.
@JosephShapiroTech
@JosephShapiroTech Ай бұрын
Great video. Thanks! You mention in the video that you will share the colab link, but it isn't in the description or on the Github. Do you still plan to share it?
@leonardobradley3261
@leonardobradley3261 Ай бұрын
You are back? Man Ive been missing your guides.
@ClarityCoders
@ClarityCoders Ай бұрын
Back! Hopefully, more is coming soon. Thanks for watching/commenting.
@TheDevilzAngelz
@TheDevilzAngelz Ай бұрын
Greetings. Welcome back! Overall the process seems fairly well explained, and code seems decent. Is A few comments. Might be worth mentioning that roboflow is only free for a trial. 6:10 - you should not include the price in the annotations, as it might try and match the exact picture. Pre-submission edit: looks like you caught this. Good job! 12:45 - screen width and height can be calculated. Even for multi-monitor setups. No need to have those as variables for us to modify. 13:41 - all the `descion["buy"] = True` redundancies can be simplified down to `decision[name] = True. Similarly, you can use f-strings to do `decision[f"{name}_location"] = (center_x, center_y)`. This removes almost all of the conditionals (except the special cases such as "tree" and "building" scenarios - but again those could maybe be improved) I took a quick look at your code on Github. Why is the requirements file so large? Surely not all that is required for this. Maybe you did a pip freeze without being in your venv?
@ClarityCoders
@ClarityCoders Ай бұрын
Great comment I really appreciate the feedback. I will review tomorrow thanks for watching and commenting means a lot.
@BuLLGotcha
@BuLLGotcha Ай бұрын
You’re an amazing teacher, thank you. Have you considered taking on an FPS game?
@Frombull
@Frombull Ай бұрын
Awesome vid!
@ClarityCoders
@ClarityCoders Ай бұрын
Thank you! Means a lot that you guys take the time to watch and comment. More soon.
@NemPressaNemPreguica
@NemPressaNemPreguica 18 күн бұрын
Very nice! So while the bot is working it still keeps takign screenshots, right? Do you add lines of code to delete them as you go? How many ss did it take in 13 hours?
@masolhebem
@masolhebem Ай бұрын
Good Video, Brazil to the world :D
@user-ed4yp6eq5k
@user-ed4yp6eq5k Ай бұрын
Im talking to chatgpt rn about some like that but i need to farm in a small game area theres trees but you can only cut the one with the white circle RED marker in the middle of it
@cahyakomara1468
@cahyakomara1468 Ай бұрын
is there a way that we can run bots in games for multi tab games using yolo and python?
@AchieveAplenty
@AchieveAplenty Ай бұрын
Hey bro you did really great job, so i have for you idea for your next content, lets make together video where you will help me to write my first ever bot😁
@rulofmg
@rulofmg Ай бұрын
waiting for you to make another game automation series with SIMA when its released😆😆
@snefden
@snefden 13 күн бұрын
You could colect more training data while letting the bot play
@dragonfish-du5iu
@dragonfish-du5iu Ай бұрын
Will it self-learn?
@cejayalejandro1695
@cejayalejandro1695 Ай бұрын
letz gooooo
@sixthsense844
@sixthsense844 Ай бұрын
Try making a bot or AI for Clash of Clans to really test your botting skills, I've done it but haven't finished the project
@lightsploit
@lightsploit Ай бұрын
Amazing video could you also make a python bot for crossy road?
@ClarityCoders
@ClarityCoders Ай бұрын
I don't hate that idea. I'll look into it!
@academyonnet
@academyonnet 29 күн бұрын
Please reply make a course with NexJS and Python pandas with Excel/CSV file uploading for input data and then presenting the output as tables and downloadable Excel/CSV files and pdf pages. There are already beginner level here on youtube but something advanced is needed. I have bought your course on Udemy and I will buy this one too.
@mankopooh67778
@mankopooh67778 12 күн бұрын
how to contact you ?
@Das_Unterstrich
@Das_Unterstrich Ай бұрын
Nice
@ClarityCoders
@ClarityCoders Ай бұрын
Thanks! Appreciate the view.
@Wikinger18
@Wikinger18 Ай бұрын
nice vid
@ClarityCoders
@ClarityCoders Ай бұрын
Thanks. Appreciate the comment. More soon.
@Wikinger18
@Wikinger18 Ай бұрын
​@@ClarityCoders yeah 😊😊
@nunogomes6058
@nunogomes6058 21 күн бұрын
where is the colab stuff?
@abdullahmehmood4945
@abdullahmehmood4945 Ай бұрын
please please please bro write a program that automate free fire game
@mankifg
@mankifg Ай бұрын
nice video, automating roblox games?
@ClarityCoders
@ClarityCoders Ай бұрын
I like.... What games would be a good fit do you think. I haven't really got into roblox.
@mankifg
@mankifg Ай бұрын
@@ClarityCoders well i think there a lot of grindy games like treasure hunt simulator and a lot of tycoons
@BillyGamerTH
@BillyGamerTH Ай бұрын
sir What's the name of this game.
@ClarityCoders
@ClarityCoders Ай бұрын
You would think I would have remembered to say the game name. Tornado Madness!
@JS-Lab
@JS-Lab 13 күн бұрын
Any help from ur side 😐
@shitpost_xxx
@shitpost_xxx 23 күн бұрын
Please make Carrieverse Fishing Bot please
@_plsubscribe_
@_plsubscribe_ Ай бұрын
first
@ClarityCoders
@ClarityCoders Ай бұрын
About time! Thank you for watching and commenting. I appreciate it.
Build an Object Detector for Any Game Using YOLO
22:40
Moises de Paulo Dias
Рет қаралды 29 М.
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1 МЛН
蜘蛛侠这操作也太坏了吧#蜘蛛侠#超人#超凡蜘蛛
00:47
超凡蜘蛛
Рет қаралды 48 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 17 МЛН
How I make bots using python (educational)
17:12
Kian Brose
Рет қаралды 515 М.
Training an unbeatable AI in Trackmania
20:41
Yosh
Рет қаралды 12 МЛН
STOP Watching Programming TUTORIALS!
1:53
Practical Coding
Рет қаралды 7 М.
AI Plays Toadled! YOLOV7 Bot Better than Human?
20:04
ClarityCoders
Рет қаралды 9 М.
GPT-4o Deep Dive: the AI that CRUSHES everything
28:11
AI Search
Рет қаралды 38 М.
Your First PyAutoGUI Game Bot: PyAutoGUI Video Game Bot Tutorial 2/4
46:41
Learn Code By Gaming
Рет қаралды 78 М.
Beating a Pay to Win game with a bot
5:09
Kian Brose
Рет қаралды 1,8 МЛН
ChatGPT’s Amazing New Model Feels Human (and it's Free)
25:02
Matt Wolfe
Рет қаралды 180 М.
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 458 М.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11
❌УШЛА ЭПОХА!🍏
0:37
Demin's Lounge
Рет қаралды 339 М.
Best Gun Stock for VR gaming. #vr #vrgaming  #glistco
0:15
Glistco
Рет қаралды 2,1 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 427 М.