OpenCV Object Detection in Games Python Tutorial #1

  Рет қаралды 284,184

Learn Code By Gaming

Learn Code By Gaming

Күн бұрын

Пікірлер: 333
@ilkayatil
@ilkayatil 4 жыл бұрын
I just found out your video and even as a senior python and opencv developer I enjoyed watching all of it. Learning image processing through games is an excellent idea. Your presentation is clear and precise, I disagree with comments which states it is a bit boring. Your explanation level is just right for the beginners, not overexplaining things and exploding beginner's minds :D I wanted to take my time and display my support with a comment because you clearly dedicate your time and enthusiasm to create a helpful content for the community. You just earned a subscriber, keep up the good work my friend. p.s. About the not so perfect matching score, it is probably due to using jpeg format's lossy compression. After you saved those images as jpeg, they will have very small differences invisible to eye but clearly visible to code as in this example. You might prefer using PNG for lossless image saving or even BMP to get faster image write/read times (high fps).
@ChinaChopper69
@ChinaChopper69 2 жыл бұрын
second this by far the best explanation i have came across, zoomed in code, well explained step by step
@E30Andy
@E30Andy Жыл бұрын
I went through this tutorial but deviated by using png files instead. ultimately this makes the tutorial not work as written because the data was no longer in the expected format of CV_8U or CV_32F for the matchTemplate function. Just a warning for those that like to experiment lol. My understanding is that you can easily convert to the proper structure, but me, being a noob, did not find success with this. I saved my files to .jpg and moved on with the tutorial instead of getting hung up and everything worked.
@mangojango3745
@mangojango3745 4 жыл бұрын
I was JUST looking up info on this. Who knew it would be from the guy I subbed to from a few days ago. Keep up the good work your putting out unique and great content
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Thanks means a lot!
@diegorivera_cr
@diegorivera_cr 4 жыл бұрын
Thanks alot for this video! Do you think you can cover how to find an object and also detect when it is gone in a video game?
@jamiestwrt
@jamiestwrt 4 жыл бұрын
Trueeee
@mangojango3745
@mangojango3745 3 жыл бұрын
@Carroll Horsely stop scamming people
@Tradie1
@Tradie1 3 жыл бұрын
Exact same here! What an underrated channel
@wingchangwow
@wingchangwow 4 жыл бұрын
Honestly, the quality of your videos and tutorials is simply astounding. I'm constantly amazed that you don't have hundreds of thousands of subscribers....yet!
@Charvin
@Charvin 4 жыл бұрын
This was something I was wondering about, Thank you. I don't think there are much interactive content like this out there. Glad to have found this channel. Thank you once again.
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Glad you like it!
@oswaldogerardino
@oswaldogerardino 11 ай бұрын
I'm from Latin America, and I understand your tutorials better than the ones in my language. You're great, thanks
@saint-jiub
@saint-jiub 4 жыл бұрын
I'm on part #3 of your series so far but wanted to revisit this to say - you've been helping me get out of tutorial hell. Thank you so much Ben! You have an amazing teaching style; The documentation and comments along the way in both video & blog posts provides more clarity than other tutorials. Your channel is one of the best out there, please don't stop. Peace.
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Thanks man!
@setokibah4476
@setokibah4476 4 жыл бұрын
Here I was wondering how i was going to pull of object detection, then my man presents the answer to me just like that! Always appreciate you, never fail to expedite my thought process!
@deusexpersona95
@deusexpersona95 4 жыл бұрын
This channel is God sent. Keep going and you'll grow very fast
@stevrgrs
@stevrgrs Ай бұрын
I know everyone has already said it, but you have done an AMAZING job on these videos. Really well done. Thanks for taking the time to make them :D
@Joshua-kr5fq
@Joshua-kr5fq 4 жыл бұрын
Nice to see you taking it to the next level
@pollos4157
@pollos4157 4 жыл бұрын
Whoever disliked this needs their head checking, this was one of the best programming tutorials I have seen yet.
@teslar735
@teslar735 4 жыл бұрын
this channel is so much underrated.Very good content bro,keep it up
@knightwithouthorse
@knightwithouthorse 3 жыл бұрын
Thanks for the video, I'm from Brazil and here we don't have many good videos about OpenCv and Python , the simple and objective way you speak is perfect for me who doesn't is a native and thanks for not using so many slangs
@eliotbicak8296
@eliotbicak8296 2 жыл бұрын
It took two years but I am very happy that I managed to find your channel! Thank you for the great tutorials and videos
@devpatel5597
@devpatel5597 4 жыл бұрын
Underrated KZbinr. Great content!
@thedeveloper643
@thedeveloper643 4 жыл бұрын
this guy should get more subscribers! thank you for the great contents
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Thanks!
@EvolMe
@EvolMe Жыл бұрын
hey i JUST found this channel today, MapleStory is my childhood favorite game so this has motivated me to learn to code and use maplestory as my game, my younger self is screaming right now lol love your content
@johannes-euquerofalaralema4374
@johannes-euquerofalaralema4374 4 жыл бұрын
Hi there, this is the best channel about this content. I have watched your Videos about Python at least 20 times each! I am a beginner and was able to follow your explanation and even to costumize the code for my needs! Really amazing!
@MrFox-uf7kv
@MrFox-uf7kv 2 жыл бұрын
why this guy don't have above 100k subs.. he explained it so good. +1
@hansenliu2000
@hansenliu2000 3 жыл бұрын
God I love you and this series, the quality content we all need but do not deserve
@iamrockstar2101
@iamrockstar2101 4 жыл бұрын
GOLD CONTENT thanks , i just needed something like this to complete my project you earned a new subscriber :D
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Glad you like it! Good luck on your project.
@alchercananea5975
@alchercananea5975 4 жыл бұрын
Hi there Ben! I stumbled upon your channel because I wanna learn how to code. I watched this video to see if it interests me though I don't have any knowledge yet. But boy! You explain things so well that I get the idea of what you are doing. I am glad I've found your channel. +1 sub!
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Awesome, always happy to see new people giving code a try! Thanks for subscribing.
@VersusBR
@VersusBR 2 жыл бұрын
print("Hello from Brazil") Thx bro
@raakapena
@raakapena 2 жыл бұрын
Your OpenCV videos inspired me so much, been learning constantly new things and doing some low profile botting too. Best channel I've stumbled upon in a long time :).
@dazealex
@dazealex Жыл бұрын
Brilliant channel. Enjoyed every bit of it. Love the short length. Subbed!
@valett5229
@valett5229 2 ай бұрын
Huge thanks for the guide! It was super easy to digest, the tutorial is amazing!
@darkferiousity
@darkferiousity 3 жыл бұрын
Wow dude been watching a lot of videos on open cv and yours is far the best I have seen. Just the way you teach is awesome.
@LordXavier79
@LordXavier79 4 жыл бұрын
Thx, People like you make the world a better place
@vromel4331
@vromel4331 3 жыл бұрын
Bruh ty so much! You save so much time for as !
@LearnCodeByGaming
@LearnCodeByGaming 3 жыл бұрын
You're welcome!
@shdwrzr07
@shdwrzr07 4 жыл бұрын
Hey man just want to let you know that I'm so happy right now as a gamer and python programmer :) You just earned a new subscriber!
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Glad other people like this stuff too!
@ae171092
@ae171092 3 жыл бұрын
great stuff. no idea why the views are not in millions. kudos
@angelsdemons8520
@angelsdemons8520 3 жыл бұрын
Open CV is great no denying but the library is just huge , it's full of functions to do all sorts of thing , this is a great advantage(keeps ur code short and neat) and disadvantage ( I really find it difficult to remember these lol) like think about it for a sec, there is function for like literally everything and parameters which makes no sense for newbies (like me myself), but nevertheless great video mate , really liked how u walked through the documentation (encouraging viewers to explore) and explained as much as possible while writing the code and made the video as short as it possibly could have been u certainly deserve more subs and recognition mate :)
@pcpardon
@pcpardon 5 ай бұрын
Thank you for your efforts to make this video. What a clear explanation !!!
@БелальДадах
@БелальДадах 2 жыл бұрын
I have started learning computer vision not long ago and basically you are the best. Thank you very much for your tutorials
@warpcode
@warpcode 4 жыл бұрын
I've just started getting into object detection in opencv along with tensorflow, yolov4 etc. Whilst I'm not using it for gaming, these tutorials have been great for real dynamic and practical applications and for that i want to say thank you :)
@shadowhuntzgaming3055
@shadowhuntzgaming3055 4 жыл бұрын
YOUR TUTORIALS ARE THE BEST IVE SEEN, THENK YOU SO MUUUCH!!!!!!!
@SquallHart05
@SquallHart05 2 жыл бұрын
You're an EXCELLENT teacher. Thank you!
@PythonHarry
@PythonHarry Жыл бұрын
love you so much, I love this course, you just got a Chinese Subscriber!!!
@JordhanRDZ
@JordhanRDZ 4 жыл бұрын
YES !! This is going to be very interesting ! =D
@mcleber100
@mcleber100 11 ай бұрын
Thank you for sharing your knowledge. Greetings from Brazil.
@ovipaw
@ovipaw 4 жыл бұрын
You are great bruh I'd literally crown u as king.
@onion9377
@onion9377 4 жыл бұрын
Wicked video! thank you for the tutorial. After fumbling around with a few other guides, it was yours that really got me into it.
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Awesome!
@zarakikenpachi1238
@zarakikenpachi1238 9 ай бұрын
Thank you for the video :) That s very interesting
@brednbudder
@brednbudder 4 жыл бұрын
I love your videos. they make it more fun to learn to code. thank you very much for taking the time to make these, especially into easily digestible chunks in a playlist. youre awesome!
@daltonrinck3617
@daltonrinck3617 Жыл бұрын
Thank u very much for this video. It was Informative and engaging. Makes me want to learn more about OpenCV!
@topkek239
@topkek239 4 жыл бұрын
This is my new favorite channel, thanks for good content ^_^
@theweebsamurai
@theweebsamurai 7 ай бұрын
Thanks a lot man , This Video really helped me start using openCV
@WhyNotProgram
@WhyNotProgram 2 жыл бұрын
Thank you, I love how you guide us through the documentation! This will help me start creating AI's to play games and automate tasks.
@jaski8143
@jaski8143 4 жыл бұрын
absolutely amazing content !
@n1guild
@n1guild 4 жыл бұрын
Great content as always!
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Thanks Shane!
@GoeieWoofer
@GoeieWoofer 2 жыл бұрын
Yooooo Ben i hope you are still Alive and coding! I honestly cant thank you enough for all your content! It has finally gotten me started with programming and coding, im studying to become a python developer and ive truly found my passion and calling in life now. The way you teach and explain things is amazing, wish i would have gotten help like this sooner in life! Much love for you
@fierce1340
@fierce1340 3 жыл бұрын
Just stumbled upon your channel! Love the style and format! Can't wait to check out more videos!
@x_Unknown93
@x_Unknown93 Жыл бұрын
hi i need some help! i got some errors trying to compile this here 7:51 and what else i need/program or anything that needs for this to work?? y got python with alot pip installed i got visual code and studio 2022, i got the img's in the same folder and everything but i got error everytime i cant get that black and white img
@redegs_
@redegs_ 3 жыл бұрын
You did a great job at making this easy to understand, I followed it all the way through and it worked, Thank you
@OsmioGonzalez
@OsmioGonzalez 4 жыл бұрын
(Español) Muy buen video, conciso pero detallado. Atiende a problemas pequeños de forma que permite aprender poco a poco y construir el código lentamente y de una forma muy natural. Mis felicitaciones sinceras, espero continúes con este trabajo de divulgación tan pulido. Solo me queda felicitarte de nuevo y seguir tu canal y aportes. Mucha suerte para el futuro. (English by google translate) Very good video, concise but detailed. It attends to small problems in a way that allows you to learn little by little and build the code slowly and in a very natural way. My sincere congratulations, I hope you continue with this polished disclosure work. I can only congratulate you again and follow your channel and contributions. Good luck for the future.
@Joshua-kr5fq
@Joshua-kr5fq 4 жыл бұрын
I just did the sentdex opencv tutorial so this is perfect
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Awesome hope it's helpful for you
@Joshua-kr5fq
@Joshua-kr5fq 4 жыл бұрын
@@LearnCodeByGaming Stardew valley is about to get more interesting.
@renaud6904
@renaud6904 3 жыл бұрын
thank you so much Ben ! I viewed your video, red your web site, and i have done my new project in few minutes !
@AskAKill99
@AskAKill99 Жыл бұрын
Amazing videos!thankyou so much sir!! Much praise for your work
@nolancao2878
@nolancao2878 Жыл бұрын
thanks for these 9 masterpiece videos
@MrBru96
@MrBru96 4 жыл бұрын
Thank you so much. Your explanations are so clear. I learn a lot from you. You are the best!
@redmenace5536
@redmenace5536 4 жыл бұрын
Thank you for your tutorials!Really appreciate it :)
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
You're welcome, glad you like them!
@rcpinto
@rcpinto Жыл бұрын
Wonderful video!
@shi-woonyi2605
@shi-woonyi2605 4 жыл бұрын
Thanks for the tutorials, I like all of them, it's much more fun to learn coding/new libraries if the examples are interesting topics too in this case, games! keep up the good work, looking forward to future tutorials, OpenCV looks awesome.
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Yes, that's the idea of my channel! Thanks!
@ramborambo5677
@ramborambo5677 4 жыл бұрын
Thank you for this. Keep em coming :)
@sangdilbiswal30
@sangdilbiswal30 8 ай бұрын
you are such a great teacher
@Siuulolñ
@Siuulolñ 2 жыл бұрын
Thank you so much for these videos, this is gold
@uzzifuzzi9884
@uzzifuzzi9884 4 жыл бұрын
Can't wait to see where this goes
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Same! I need to slow down on coding and catch up with making the videos.
@Гусьэкономит
@Гусьэкономит Жыл бұрын
It has been two years already, where is the continuation? Why did you abandon your channel? You explain better than all my teachers! You're the best! It has been 2 years already, perhaps you have improved object detection, bot performance, and their movement between points, or maybe there's something else interesting to see!
@FollyOx
@FollyOx 2 жыл бұрын
Thanks dude, I want to make a very simple bot to automate a PIA element for a really old game and this is a good excuse to learn Python a bit more
@kevinflynn4867
@kevinflynn4867 2 жыл бұрын
Thank you Ben , very interesting content !
@tower1990
@tower1990 3 жыл бұрын
Thanks Ben :). I really like your teaching style. Please do more if you’re available!
@dzdeparsio4676
@dzdeparsio4676 4 жыл бұрын
thanks i will watch ur vids and learn this library with u keep up the good work
@javagenbu7085
@javagenbu7085 3 жыл бұрын
Thanks for the video my man, very useful and well explained.
@lamvandinh789
@lamvandinh789 2 жыл бұрын
Thank you for the great tutorial!
@kaioshin9143
@kaioshin9143 4 жыл бұрын
Thanks for the video, I now learned what I needed. Cheers!
@lordraphi
@lordraphi 4 жыл бұрын
Nice video! Good for starting programming a mmorpg bot!
@SolusAU
@SolusAU 3 жыл бұрын
Your videos are super clear. Thankyou :)
@jesusyanez100
@jesusyanez100 3 жыл бұрын
ur the goat @code by gaming
@spadedaman4958
@spadedaman4958 3 жыл бұрын
good video and a writeup! You are doing a great job!
@situwang1831
@situwang1831 3 жыл бұрын
Thank you for your videos, you are very good, I have received a lot of inspiration
@bimamrth
@bimamrth 4 жыл бұрын
Nice this verry useful for me 👍
@Lucasbc
@Lucasbc Жыл бұрын
Amazing explanation!
@imperatoreTomas
@imperatoreTomas 4 жыл бұрын
Keep making videos. This is awesome!
@chrisj1947
@chrisj1947 4 жыл бұрын
I no joke just started researching this and already trained a model with yolov3 to recognize iron ore on Runescape in real-time with openCV.
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
That's awesome Chris!
@Ehxx
@Ehxx 4 жыл бұрын
Oh wow I'm trying to do the same exact thing haha.
@chrisj1947
@chrisj1947 4 жыл бұрын
@@Ehxx If you need any tips feel free to shoot me a message
@Ehxx
@Ehxx 4 жыл бұрын
@@chrisj1947 Mind adding me on discord? Executioner#4102
@calmius24
@calmius24 Жыл бұрын
Sup bro does Albion have any protection against emulated clicks? In other words do your have to use something like Arduino Leonardo to emulate a mouse or it works just as it is?
@gourisankarr8873
@gourisankarr8873 4 жыл бұрын
sooo gooood
@zeratonlaveur4211
@zeratonlaveur4211 2 жыл бұрын
Thank you very much, i'm a french student and your work is outstanding
@Googlrr
@Googlrr 3 жыл бұрын
hey this was insanely helpful, thank you very much
@Marsel-UA
@Marsel-UA Жыл бұрын
You're cool, thanks.
@platine141
@platine141 4 жыл бұрын
It would be great if you make a video about how to detect multiple objects and use the ai to recognise them while playing the game and it would be great to make it recognize the distances and range between objects
@LearnCodeByGaming
@LearnCodeByGaming 4 жыл бұрын
Yes I'll be doing that in the coming videos. I've got at least 4 more planned for this series.
@sanyamchaurasia1542
@sanyamchaurasia1542 3 жыл бұрын
LOVED IT! Please, please, please! I would love more tutorials like this! Can we also make basic games like tower defense, basic shooter, or something similar?
@vampirefox9981
@vampirefox9981 3 жыл бұрын
Thank you!
@AhmedKamel-ol6qv
@AhmedKamel-ol6qv 4 жыл бұрын
Great playlist
@billsultani8967
@billsultani8967 4 жыл бұрын
Your a legend mate thank you so much!!!!!!!
@RK-de3uu
@RK-de3uu 4 жыл бұрын
thanks for the clear explanation!
@OtjPlateo
@OtjPlateo 3 ай бұрын
9:45 - I believe the reason it is not a perfect match is because the pictures are in .jpg format. That is not a lossless format, if you want it to be pixelperfect, you need to use .png files instead.
@rohit_ec4498
@rohit_ec4498 4 жыл бұрын
U r gr8
@lightningcode7603
@lightningcode7603 4 жыл бұрын
Great video!
@damocles5047
@damocles5047 14 күн бұрын
is it possible to click the button in the game until our favorite build comes? it's like app will detect the screen and will press build until the texts appear in the game? is it too complex?
@bezdna7366
@bezdna7366 4 жыл бұрын
LOVE LOVE LOVE!!!!!
Thresholding with Match Template - OpenCV Object Detection in Games #2
14:04
Learn Code By Gaming
Рет қаралды 91 М.
OpenCV Course - Full Tutorial with Python
3:41:42
freeCodeCamp.org
Рет қаралды 4,1 МЛН
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
Making Beautiful Top-down Worlds | Devlog #5
13:02
Eastshade Studios
Рет қаралды 4,4 М.
I tried to make a Valorant AI using computer vision
19:23
River's Educational Channel
Рет қаралды 1,5 МЛН
Using Image Recognition to DESTROY Fruit Ninja
10:08
CodeNoodles
Рет қаралды 617 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 3,2 МЛН
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1,2 МЛН
I built a FLAP ENGINE (New Rotary Design)
18:58
Integza
Рет қаралды 1,9 МЛН
Dominating an Online Multiplayer Game using Python and OpenCV.
14:31
ClarityCoders
Рет қаралды 285 М.
How I make bots using python (educational)
17:12
Kian Brose
Рет қаралды 580 М.