Тёмный

Game Automation with YOLOv8: Python Bot Tutorial 

ClarityCoders
Подписаться 49 тыс.
Просмотров 18 тыс.
50% 1

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!

Наука

Опубликовано:

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@csg301
@csg301 3 месяца назад
lets go! Waiting every day for a new upload and it finally happened! Keep up the content bro you're the best!
@ClarityCoders
@ClarityCoders 3 месяца назад
Really appreciate this comment. Thanks for sticking with me! More soon.
@ontoshere
@ontoshere 2 месяца назад
This couldn't have come at a better time. Thanks! Can't wait to mess with this.
@ClarityCoders
@ClarityCoders 2 месяца назад
It's a pretty cool process! Thanks for watching/commenting.
@JosephShapiroTech
@JosephShapiroTech 2 месяца назад
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?
@nopainnullgain3405
@nopainnullgain3405 3 месяца назад
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 2 месяца назад
Thanks! I hope to have a ton of stuff coming out this year. Stay tuned.
@TheDevilzAngelz
@TheDevilzAngelz 3 месяца назад
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 3 месяца назад
Great comment I really appreciate the feedback. I will review tomorrow thanks for watching and commenting means a lot.
@leonardobradley3261
@leonardobradley3261 3 месяца назад
You are back? Man Ive been missing your guides.
@ClarityCoders
@ClarityCoders 3 месяца назад
Back! Hopefully, more is coming soon. Thanks for watching/commenting.
@BuLLGotcha
@BuLLGotcha 2 месяца назад
You’re an amazing teacher, thank you. Have you considered taking on an FPS game?
@NemPressaNemPreguica
@NemPressaNemPreguica Месяц назад
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?
@Frombull
@Frombull 3 месяца назад
Awesome vid!
@ClarityCoders
@ClarityCoders 3 месяца назад
Thank you! Means a lot that you guys take the time to watch and comment. More soon.
@masolhebem
@masolhebem 2 месяца назад
Good Video, Brazil to the world :D
@user-ed4yp6eq5k
@user-ed4yp6eq5k 3 месяца назад
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
@JanPeter56
@JanPeter56 24 дня назад
Do to need to retrain after you changed the locations of the buy buttons?
@cahyakomara1468
@cahyakomara1468 2 месяца назад
is there a way that we can run bots in games for multi tab games using yolo and python?
@AchieveAplenty
@AchieveAplenty 2 месяца назад
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 2 месяца назад
waiting for you to make another game automation series with SIMA when its released😆😆
@oneupparty
@oneupparty 29 дней назад
I approve this, BUT you can take this one step further and install PYENV, this will allow you to set any python version you require for your specific project with out changing your system python. YOUR WELCOME > : )
@snefden
@snefden Месяц назад
You could colect more training data while letting the bot play
@dragonfish-du5iu
@dragonfish-du5iu 2 месяца назад
Will it self-learn?
@sixthsense844
@sixthsense844 2 месяца назад
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
@varaxh
@varaxh 20 дней назад
its saying whoops when i try to join , i want to join so that i can find answers for some topic please help me
@lightsploit
@lightsploit 3 месяца назад
Amazing video could you also make a python bot for crossy road?
@ClarityCoders
@ClarityCoders 2 месяца назад
I don't hate that idea. I'll look into it!
@nunogomes6058
@nunogomes6058 Месяц назад
where is the colab stuff?
@academyonnet
@academyonnet 2 месяца назад
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.
@Das_Unterstrich
@Das_Unterstrich 3 месяца назад
Nice
@ClarityCoders
@ClarityCoders 3 месяца назад
Thanks! Appreciate the view.
@mankopooh67778
@mankopooh67778 Месяц назад
how to contact you ?
@cejayalejandro1695
@cejayalejandro1695 2 месяца назад
letz gooooo
@Wikinger18
@Wikinger18 3 месяца назад
nice vid
@ClarityCoders
@ClarityCoders 3 месяца назад
Thanks. Appreciate the comment. More soon.
@Wikinger18
@Wikinger18 2 месяца назад
​@@ClarityCoders yeah 😊😊
@frostytvss
@frostytvss 22 дня назад
so its like a form of aim somewhat
@abdullahmehmood4945
@abdullahmehmood4945 2 месяца назад
please please please bro write a program that automate free fire game
@JS-Lab
@JS-Lab Месяц назад
Any help from ur side 😐
@mankifg
@mankifg 3 месяца назад
nice video, automating roblox games?
@ClarityCoders
@ClarityCoders 2 месяца назад
I like.... What games would be a good fit do you think. I haven't really got into roblox.
@mankifg
@mankifg 2 месяца назад
@@ClarityCoders well i think there a lot of grindy games like treasure hunt simulator and a lot of tycoons
@BillyGamerTH
@BillyGamerTH 2 месяца назад
sir What's the name of this game.
@ClarityCoders
@ClarityCoders 2 месяца назад
You would think I would have remembered to say the game name. Tornado Madness!
@bobr4211
@bobr4211 13 дней назад
Sorry, but i didnt like the video.
@shitpost_xxx
@shitpost_xxx Месяц назад
Please make Carrieverse Fishing Bot please
@_plsubscribe_
@_plsubscribe_ 3 месяца назад
first
@ClarityCoders
@ClarityCoders 3 месяца назад
About time! Thank you for watching and commenting. I appreciate it.
Далее
Learning Rust! | Writing a 16bit Virtual Machine
1:37:34
Beating a Pay to Win game with a bot
5:09
Просмотров 1,8 млн
Build an Object Detector for Any Game Using YOLO
22:40
I made Games with Python for 10 Years...
28:52
Просмотров 254 тыс.
Tryolabs | Automated soccer ball possession using AI
0:59
Automating Android Games with Python: Stick Hero
15:22
Просмотров 381 тыс.
Automate your job with Python
6:07
Просмотров 358 тыс.
AI Plays Toadled! YOLOV7 Bot Better than Human?
20:04
Making a Game in Python with No Experience
5:57
Просмотров 1,6 млн
Эпоха Intel и AMD заканчивается?!
0:46
wireless switch without wires part 6
0:49
Просмотров 3,9 млн
Ноутбук без экрана
0:22
Просмотров 16 тыс.
Main filter..
0:15
Просмотров 5 млн