Ball Detection Using OpenCV in Python
13:23
Пікірлер
@TigranAivazian
@TigranAivazian 2 ай бұрын
You calculate len(lst) three times -- it would be more efficient to save it in a local variable like n = len(lst) and use it instead.
@thirumalaisriram8623
@thirumalaisriram8623 4 ай бұрын
This is subsequence and not subarray. Correct me if I am wrong.
@yinkaiqi8127
@yinkaiqi8127 9 ай бұрын
this is extremly helpful and i think i just learned a new skill😄
@sivakumarkolli
@sivakumarkolli 9 ай бұрын
pranav amesh
@gamengoaituyen4432
@gamengoaituyen4432 Жыл бұрын
very hepful, I am finding a solution like this
@kjulink
@kjulink Жыл бұрын
i cant belive im a profissional scratcher and im looking for how to make wall colisions
@voidyplays7105
@voidyplays7105 Жыл бұрын
help me a LOT with my new scratch game "The Killer Cat[BETA]"
@myromlondono
@myromlondono Жыл бұрын
Makes no sense - hard to understand
@elements8630
@elements8630 Жыл бұрын
great video. Thanks for making this
@charity2419
@charity2419 Жыл бұрын
why did you not generate sum upto the second range? I do not see the need to continue generating after our second range coz we seem not to need them
@stefaniealfonso1944
@stefaniealfonso1944 2 жыл бұрын
THANK YOU SO MUCH BEST ONE YET
@randomlol472
@randomlol472 2 жыл бұрын
Thank you kid that probaly now is a man! <3 Really helpful and clear tutorial!
@lilyh4573
@lilyh4573 2 жыл бұрын
Super helpful! I'm slow, why do we minus 1? (From 14 to 13 instead?) Is it because of the 0 we added? What's so great about adding a 0 in the start? Is it customary to add it in real world code? Thanks!! :)
@CodeSavant
@CodeSavant 2 жыл бұрын
You are correct, it's because of the 0 we added. We added the 0 at the beginning of the sums list because the element at that 0th index in the sums list indicates the sum of elements from index 0 (inclusive) to index 0 (exclusive), but the index interval [0,0) in the original list consists of no elements. The sum of nothing is just 0, so that's what we put in that 0th index.
@vigneshwaranr3608
@vigneshwaranr3608 2 жыл бұрын
Thats an great way of doing it!
@mikono2022
@mikono2022 2 жыл бұрын
omg so popular already
@PitersChannel
@PitersChannel 2 жыл бұрын
Thanks bro, finally understand it lol
@liammccarthy7354
@liammccarthy7354 2 жыл бұрын
Thank you for explaining this to me!
@user-uu2xk4ow9u
@user-uu2xk4ow9u 2 жыл бұрын
can u make a tutorial on how to walk on walls with collision? (if u hold a while walking against a wall you glide up until u let go)
@keshavramesh1
@keshavramesh1 2 жыл бұрын
Wow this was really useful, thanks!
@azura_stuff
@azura_stuff 2 жыл бұрын
This is pretty simple and cool, it works perfectly, but if you have a walking animation for the player, it bugs out a bit and you can't get out of the wall, anyone know how to fix this?
@danyuandelosreyes7056
@danyuandelosreyes7056 2 жыл бұрын
Dude thanks a lot
@chaitu2037
@chaitu2037 2 жыл бұрын
In the end it's mentioned that the number of subsets are 24, that's wrong, it's 16. Since the number of subsets of a given set is 2^n, here 2^4 = 16. Other than that it's good explanation.
@KrishnaSharma-fx6kb
@KrishnaSharma-fx6kb 2 жыл бұрын
very good tutorial boy
@prafulparashar9849
@prafulparashar9849 2 жыл бұрын
Is there a resolve to do this without using even a single loop.
@justbrine
@justbrine 2 жыл бұрын
finally i can make a game
@AcyclicMoth
@AcyclicMoth 2 жыл бұрын
This helped me SOOOOOOOO mush!
@dragonsgamingadventures8867
@dragonsgamingadventures8867 2 жыл бұрын
Thanks a lot
@mancubi6891
@mancubi6891 2 жыл бұрын
im on scratch 3.0 and it isnt workingking
@dibot4133
@dibot4133 3 жыл бұрын
Thanks dude I've been trying to do this for days u really helped me
@nebulisnoobis102
@nebulisnoobis102 3 жыл бұрын
still the best way to make walls even 7 years later.
@funsizeguy8133
@funsizeguy8133 3 жыл бұрын
Nervermind my partner is an idiit
@funsizeguy8133
@funsizeguy8133 3 жыл бұрын
Tutorial did not work im mad
@noura-rc2bt
@noura-rc2bt 3 жыл бұрын
this didnt work
@noura-rc2bt
@noura-rc2bt 3 жыл бұрын
nvm
@BasilTeaLeaves
@BasilTeaLeaves 3 жыл бұрын
it works, except it won tlet me move on floors ;-;
@siren_gameing851
@siren_gameing851 3 жыл бұрын
thank you kid for 2014 this helped a girl in coding class in 2021
@RiceSolid
@RiceSolid 3 жыл бұрын
yo thank you so much now i can make my adventure game
@cloves2072
@cloves2072 3 жыл бұрын
Have you finished your adventure game?
@RiceSolid
@RiceSolid 3 жыл бұрын
@@cloves2072 I have completed the game, but I won’t publish
@cloves2072
@cloves2072 3 жыл бұрын
@@RiceSolid Sad to hear :( great job on finishing it though :D
@01iv13
@01iv13 3 жыл бұрын
I have been finding this for ages
@fumblingcowssecondacount877
@fumblingcowssecondacount877 3 жыл бұрын
This works
@Envisii
@Envisii 3 жыл бұрын
subscribed
@vultrexz
@vultrexz 3 жыл бұрын
Came from your 2014 scratch video and your voice changed so much.
@theupside5091
@theupside5091 3 жыл бұрын
Yeah XD
@blueisatitan6592
@blueisatitan6592 3 жыл бұрын
This seems newbie... BUT ITS BIG BRAIN!
@peter.rosete28
@peter.rosete28 3 жыл бұрын
My favorite part is, "Looks nice...no it doesn't actually"
@FEARCUTS
@FEARCUTS 3 жыл бұрын
2020 anybody
@aryansharma7514
@aryansharma7514 3 жыл бұрын
thanks
@GreenCreepsSnoosh
@GreenCreepsSnoosh 3 жыл бұрын
thank you so much now i can make my game good!
@captahmadradzihashim7897
@captahmadradzihashim7897 3 жыл бұрын
cool mahn
@seleldjdfmn221
@seleldjdfmn221 4 жыл бұрын
Awesome content. Heart me. oh, and happy Water a Flower day! :3
@KyrusR
@KyrusR 4 жыл бұрын
For a 2014 tutorial done by a kid, this is actually really good.
@maseyeet313
@maseyeet313 4 жыл бұрын
who watching in 2020?
@Baldiplayz
@Baldiplayz 4 жыл бұрын
me
@davidhoving6540
@davidhoving6540 4 жыл бұрын
it doesnt work on my game