CodingLikeMad
CodingLikeMad
  • 39
  • 421 696
Reading Webcams In Python [Python OpenCV Tutorial]
Video shows how to collect webcam data in python for image processing and machine learning work. Python basics tutorial covering how to connect to a webcam in python, how to configure a webcam in python and how to make a basic openCV video interface. Perfect for people doing image processing using python, or getting started with the basics of image processing, or just wanting to do an easy timelapse. For more ideas on how to use your python webcam or on how to get started in python image processing, consider checking out our other videos.
Github link for the code used in this tutorial:
github.com/codinglikemad/pyCamTut
Переглядів: 3 256

Відео

Reading Video Files With Python - Image Processing In OpenCV
Переглядів 5 тис.2 роки тому
This python tutorial video shows how to load video files in python using the videoCapture object for image processing. Covers things like reading movie files in python, and extracting and analyzing a movie frame in the openCV API. This is critical to get started doing python video processing. You can also look at our previous video on writing data to movie files with python here: ua-cam.com/vid...
Why Eval And Exec Are The WORST Python Functions [Tech Rants]
Переглядів 1,9 тис.2 роки тому
In this video we go over the Eval and exec functions in python, and discuss what it's for and why it's really insecure. The video is intended for educational purposes only - please be kind to each others code! You can checkout my live stream content on twitch at: twitch.tv/spshkyros
Animating Plots In Python Using MatplotLib [Python Tutorial]
Переглядів 72 тис.2 роки тому
This video shows how to make mp4 and gif (movie) files out of figures in python using matplotlib. Maximize your data visualization impact using matplotlib animation when doing data science. FFMpeg can be downloaded here if you need it: www.ffmpeg.org/download.html The github repo can be found here for all the examples mentioned: github.com/codinglikemad/pyAnimTutorial
Making Your First Neural Net In Python, Part 1: Regression [Tensorflow Tutorial]
Переглядів 1,6 тис.2 роки тому
In this python tutorial we introduce how to define and train a 1 dimensional regression machine learning model using keras, tensorflow, and google colab. This tensorflow tutorial will get you started with machine learning with python, without overdoing the math. Colab Notebook: colab.research.google.com/drive/1e3sc4YbpOgBAWaEv3rIQQzui0sxf7pRO?usp=sharing Image credits: MultipolarNeuron: By Bruc...
This Might Be The Best* Game Of Tetris Ever Recorded On Real Hardware - AI Plays NES On Live Stream
Переглядів 8223 роки тому
This video has what I believe to be the best (Non-TAS/RNG Maniped) game ever recorded on real hardware. Last year I created a tetris AI that demolishes Tetris 1989 in real time on an actual Nintendo Entertainment System from the 1980s. No random number manipulation, pre-programmed TAS moves, or emulation was used for the game play itself. Since my last video I've added a reinforcement learning ...
MineSweeper Big Board AI Solves [60 Minutes]
Переглядів 4763 роки тому
By popular request: 1 hour of my minesweeper AI obliterating a full screen board :) I created an AI that demolishes Minesweeper in real time using Neural Networks. The AI taught itself how to play through trial and error, taking many thousands of games to master minesweeper - but now it's better than the typical human by a wide margin! This project originally dates from April of 2018, but it's ...
AI Neural Network Beats Minesweeper
Переглядів 7 тис.3 роки тому
I created an AI that demolishes Minesweeper in real time using Neural Networks. The AI taught itself how to play through trial and error, taking many thousands of games to master minesweeper - but now it's better than the typical human by a wide margin! This project originally dates from April of 2018, but it's taken forever to get out, so I'm proud to finally be done! If you want to watch me m...
AI Destroys NES Tetris On A REAL Nintendo!
Переглядів 5 тис.3 роки тому
I created an AI that demolishes Tetris 1989 in real time on an actual Nintendo Entertainment System from the 1980s. No random number manipulation, pre-programmed TAS moves, or emulation was used for the game play itself. This project originally dates from September of 2019, but it's taken forever to get out, so I'm proud to finally be done! If you want to watch me make this stuff live, checkout...
Convolutional Neural Network in Matlab For Object Recognition - Matlab Tutorial
Переглядів 14 тис.3 роки тому
Convolutional Neural Network in Matlab For Object Recognition - Matlab Tutorial
This Could Be Matlab's Worst Feature [Matlab Rants]
Переглядів 3773 роки тому
This Could Be Matlab's Worst Feature [Matlab Rants]
Anonymous Function Handles In Matlab - Advanced Matlab Tutorial
Переглядів 5 тис.3 роки тому
Anonymous Function Handles In Matlab - Advanced Matlab Tutorial
Using Webcams In Matlab And Howto Do A Webcam Timelapse [Matlab Tutorial]
Переглядів 1,3 тис.4 роки тому
Using Webcams In Matlab And Howto Do A Webcam Timelapse [Matlab Tutorial]
How To Fix Missing Data In Matlab [Machine Learning]
Переглядів 4,5 тис.4 роки тому
How To Fix Missing Data In Matlab [Machine Learning]
Introduction To Matlab Arrays And Matrices [matlab tutorial]
Переглядів 4114 роки тому
Introduction To Matlab Arrays And Matrices [matlab tutorial]
Controlling The Mouse And Keyboard From Matlab [Advanced Matlab]
Переглядів 3,2 тис.5 років тому
Controlling The Mouse And Keyboard From Matlab [Advanced Matlab]
Neural Networks - How to Create a Classification Network In Matlab
Переглядів 11 тис.5 років тому
Neural Networks - How to Create a Classification Network In Matlab
Extracting Sensor Data From Videos In matlab (Analyzing A CodysLab Video)
Переглядів 1,7 тис.5 років тому
Extracting Sensor Data From Videos In matlab (Analyzing A CodysLab Video)
Taking Screenshots With Matlab [Advanced Matlab]
Переглядів 8 тис.5 років тому
Taking Screenshots With Matlab [Advanced Matlab]
Reading Video Files With Matlab For Image Processing
Переглядів 17 тис.5 років тому
Reading Video Files With Matlab For Image Processing
One Matlab Command You Should Never Use - Why The Eval Command Is Awful [Matlab Rants]
Переглядів 6 тис.5 років тому
One Matlab Command You Should Never Use - Why The Eval Command Is Awful [Matlab Rants]
Getting Started With Matlab 2018: The User Interface
Переглядів 8935 років тому
Getting Started With Matlab 2018: The User Interface
Matlab Tutorial: Introduction to Logical Indexing
Переглядів 2,1 тис.5 років тому
Matlab Tutorial: Introduction to Logical Indexing
Matlab Basics: Histograms
Переглядів 51 тис.6 років тому
Matlab Basics: Histograms
Matlab Tutorial: Introduction to Fitting Lines and Polynomials
Переглядів 6856 років тому
Matlab Tutorial: Introduction to Fitting Lines and Polynomials
Making Videos From Figures In Matlab
Переглядів 30 тис.6 років тому
Making Videos From Figures In Matlab
Neural Networks in Matlab: Part 1 - Training Regression Networks
Переглядів 50 тис.6 років тому
Neural Networks in Matlab: Part 1 - Training Regression Networks
Matlab Basics: Converting Tables To Arrays Or Matrices
Переглядів 21 тис.6 років тому
Matlab Basics: Converting Tables To Arrays Or Matrices
Matlab Basics: Tables Part 2 - Grouping and Splitting Tables
Переглядів 6 тис.6 років тому
Matlab Basics: Tables Part 2 - Grouping and Splitting Tables
Matlab Tutorial: Introduction To 3D Figures
Переглядів 2,2 тис.6 років тому
Matlab Tutorial: Introduction To 3D Figures

КОМЕНТАРІ

  • @SuperDominicS
    @SuperDominicS 15 днів тому

    Took me too long to realize he's not actually playing it himself

    • @CodingLikeMad
      @CodingLikeMad 15 днів тому

      I DID try and convince people I was playing with my feet for a bit. ... people did not buy it :p

  • @BetterMedia
    @BetterMedia 19 днів тому

    Amazing

  • @tofumakesvideos
    @tofumakesvideos 22 дні тому

    Hello, is it possible to feed live data to the program and plot it with your method sir? Thank you.

    • @CodingLikeMad
      @CodingLikeMad 15 днів тому

      With sufficient work, yes. But itd be pretty round about I think.

  • @user-uq1dc6bs8s
    @user-uq1dc6bs8s 27 днів тому

    The last level is level 255 its really hard to get the goal try it your self or just set it. Completing level 255 is a rebirth. Try it this person done it or somebody was first to rebirth.

  • @electron46
    @electron46 Місяць тому

    Thank you for the excellent video content. I would suggest that you use a larger font and one with greater contrast.

  • @Harvester433
    @Harvester433 Місяць тому

    That’s called “the rebirth” where you start back from the beginning.

  • @baila_fuerte
    @baila_fuerte Місяць тому

    You are amazing! One of the best channels out there! :) This video was great. Thank you!

  • @p0kepengin592
    @p0kepengin592 2 місяці тому

    great video!

  • @my-love404
    @my-love404 2 місяці тому

    you deserve more subscribers ☺ ☺ ☺ ☺ 👏 👏 👏 👏

    • @my-love404
      @my-love404 2 місяці тому

      I want to learn sir please tell me the process, I want to see mathematical equation and theorem, moving and visualization like a pro.... What to learn first and where ?

  • @ZackDominickAlipio
    @ZackDominickAlipio 3 місяці тому

    Indian crash there is no level 256 loop back to level one

  • @tab2do
    @tab2do 3 місяці тому

    Thanks a lot! You explain it very clearly and I like the notes for potential contexts to keep in mind

  • @frd85
    @frd85 3 місяці тому

    very helpful video. thanks!

  • @srikrishnaniti6006
    @srikrishnaniti6006 3 місяці тому

    too much bla bla🙂

  • @The_Dude81
    @The_Dude81 4 місяці тому

    Level 256 is a secret level of Tetris that has a color palette that’s completely made of Dark Red Level 256 nickname: RED+

  • @PretzelBS
    @PretzelBS 4 місяці тому

    We love the confetti bugs

  • @randyyates9837
    @randyyates9837 4 місяці тому

    First, excellent tutorial, thank you. Question: How would you add an audio track to the generated .mp4?

  • @gustavojuantorena
    @gustavojuantorena 5 місяців тому

    Best tutorial for this topic on internet

  • @asterlofts1565
    @asterlofts1565 5 місяців тому

    Now, a human BREAK TETRIS.

  • @davidmurphy563
    @davidmurphy563 6 місяців тому

    As simple as that. Nice explanation. Question, Mad... Is your full name Madison?

  • @GoCoding-vd9k
    @GoCoding-vd9k 6 місяців тому

    nice matplotlib 🙂

  • @alexthompson353
    @alexthompson353 6 місяців тому

    hey, I'm trying to use this software for a science project, to read the data from a pulse oximiter and output it to a graph, to measure and graph a persons heartrate over 15 minutes, do you think this would work? I would need to fix the camera and pulse oximiter in place and have constant lighting over the 15 minutes, but other than that I would appreciate any advice on anything to watch out for

  • @christianburgos7961
    @christianburgos7961 6 місяців тому

    This is fantastic. Thank you sir! I'll use it on my projects :)

  • @thebuggser2752
    @thebuggser2752 6 місяців тому

    Very neat!! Thanks!!

  • @dvir-ross
    @dvir-ross 8 місяців тому

    Great video! Thanks

  • @smabedi
    @smabedi 8 місяців тому

    The best tutorial about animated graphs I've ever seen!

  • @fakhriddinostanakulov1628
    @fakhriddinostanakulov1628 8 місяців тому

    It doesn`t work in Jupyter Notebook

  • @denizural5390
    @denizural5390 8 місяців тому

    Great video 👏👏👏 subbed

  • @AliceShisori
    @AliceShisori 8 місяців тому

    thank you bro! just what I want to learn right now :D

  • @CodyGall
    @CodyGall 8 місяців тому

    Can you make an AI that feeds the hungry children of the world?

  • @QwDragon
    @QwDragon 9 місяців тому

    You should've use piece from the next box to determine moves and make ai send signals based on it.

  • @jucaandre
    @jucaandre 9 місяців тому

    thank you! very nice explanation

  • @shirosensei3565
    @shirosensei3565 10 місяців тому

    Hi! I did the same to get the surface levels for a 4D function (f(x,y,z)=x^2+y^2+z^2, here the gif plot a family of spheres of radius R), i wonder if is possible to plot a bar that moves with the variation of R.

  • @Kaassap
    @Kaassap 11 місяців тому

    You could have just used the linspace as xlist and ran np.sin(xlist) that would have given you the vectorized versions of xlist and ylist.

  • @youcefyahiaoui1465
    @youcefyahiaoui1465 11 місяців тому

    Truly outstanding tutorial! Thank you.

  • @risottoyagami4151
    @risottoyagami4151 11 місяців тому

    Then there's no point of buying Tableau or Power BI for data visualization; you truly are a genius.

  • @gedtoon6451
    @gedtoon6451 11 місяців тому

    Matplotlib FuncAnimation appears to use global variables. Is there a way to put the FuncAnimation code in a main() function and call it with : if _name_ == "__main__": main()

  • @mohamadarsyakaukabi3317
    @mohamadarsyakaukabi3317 11 місяців тому

    How do you calculate the Avg human win rate?

  • @corysechrest
    @corysechrest Рік тому

    Definitely going to be using this as the basis to animate/plot some MLB pitches. Thanks for the tutorial!

  • @Max-yd2js
    @Max-yd2js Рік тому

    As a newer programmer I was able to understand easily, but you still included some info on higher level concepts which was helpful. For example, the balance between learning rates, batch sizes, and overfitting. Two thumbs up!

  • @rubidi7624
    @rubidi7624 Рік тому

    All these problems are easily solved if you do a search through regular expressions and delete words such as os, import

    • @CodingLikeMad
      @CodingLikeMad Рік тому

      The point is that you need to think of EVERY such word. Solving one is easy. Good luck catching them all.

  • @sexyunlock
    @sexyunlock Рік тому

    Hello I very much enjoyed this tutorial. I'm wondering if you're able to produce more contents like this, especially coding in MATLAB to solve deep-learning problems? For example, the parameters that are useful when training a model, as well as other types of deepnets (e.g., Transformers)... thanks!

  • @adamcierpica9411
    @adamcierpica9411 Рік тому

    Hey, thank you for the tutorial, anyone has an idea why PyCharm might be returning a blank frame (no values/grid no nothing) .gif file? so seems it's not even generating a first frame. Generating a static Fig. works without any problems. thank you in advance

  • @tdworz
    @tdworz Рік тому

    You taught me a whole new way to think about data visualization animation. Fantastic vid! Thanks!

  • @hanskraut2018
    @hanskraut2018 Рік тому

    add more machine lerning and neural network techniques and make it generalize to other games. Find the simplest game in terms of simplicity for the strenght of the neural network not yourself as a human and then overcome what it cant do but only do the most simple things first. Add internal repersenations and diverent layers for different time horizons and a way say previous weights / brain states and intermesh them or "summarize or hybernate them to give more space to the current task etc. Also let it write internal represenations and let it edit a small part of the neural network (not all or disaser) like PFC in humans selfregulation speaking to yourself executive functions. Also longterm memory stuff. Just build on top of things. Would be fun to see how it evolves with fun challenges pictures and short conside vids like this. Can use stuff already existing. Try to solve a small thing that has never been done before (and if it did then do it wiht 100000000x less space/compute) :) fun

  • @AI_For_Scientists
    @AI_For_Scientists Рік тому

    loved it thank you

  • @knowledgelover2736
    @knowledgelover2736 Рік тому

    Question. Can this be done in real time? Or does it only collect all data and then render post? Also. This explanation was insanely clear. I never really understood matolotlib until seeing this.

    • @CodingLikeMad
      @CodingLikeMad Рік тому

      So the rendering itself is done as it goes. Basically what it does is render each frame of the graph and then drops it into a frame buffer. However I believe it does not encode until the end when it saves. From a practical perspective though, for 60 fps it will take longer to run the script than the final video is. If you wanted matching speeds you'd either need to further optimize or set a lower fps for the output I think. I havent timed it, but I believe for most graphs I would do this with, it will take longer than the 8 or 16 ms per frame I'd want to look real time.

  • @knowledgelover2736
    @knowledgelover2736 Рік тому

    This was awesome but when is the next Mistborn book coming out?

  • @hanzo52
    @hanzo52 Рік тому

    What if you have an xcel sheet with x and y values you want to animate with gif?

    • @CodingLikeMad
      @CodingLikeMad Рік тому

      Export it to a csv, then load it from python using something like readcsv()

  • @diaahanna8882
    @diaahanna8882 Рік тому

    very useful thank you

  • @AsmanaDoesVR
    @AsmanaDoesVR Рік тому

    Bro the bot had level 8D

    • @tiles2048
      @tiles2048 3 місяці тому

      Level 160 - Regular Christmas