I tried to build a Machine Learning Python App in 15 Minutes | Coding Challenge

Поделиться
HTML-код
  • Опубликовано: 6 сен 2022
  • What's happening guys, welcome to the fourth episode of CodeThat!
    In this ep I try to build a machine learning app to track deadlifts all done using nothing but Python. In this case we used a Scikit-Learn model, mediapipe and Tkinter to get it all done.
    Get the Code: github.com/nicknochnack/mlapp
    Oh, and don't forget to connect with me!
    LinkedIn: bit.ly/324Epgo
    Facebook: bit.ly/3mB1sZD
    GitHub: bit.ly/3mDJllD
    Patreon: bit.ly/2OCn3UW
    Join the Discussion on Discord: bit.ly/3dQiZsV
    Happy coding!
    Nick
    P.s. Let me know how you go and drop a comment if you need a hand!
    #machinelearning #codingchallenge #tkintertutorial #python
  • НаукаНаука

Комментарии • 209

  • @pabloaubele1991
    @pabloaubele1991 Год назад +33

    And as a software developer myself... I gotta say I love your attitude: how can you keep such a good mood in the middle of a nearly-impossible deadline? Truly admirable

    • @NicholasRenotte
      @NicholasRenotte  Год назад +7

      Reading this made me smile, idk man, I have no idea how I stay sane during these 😂 but I’m super happy you’re enjoying them ✌🏽

  • @pabloaubele1991
    @pabloaubele1991 Год назад +5

    Love it. I've just discovered this channel by accident, and I'm watching one video after another. I suddenly feel like coding along.

  • @dilli4051
    @dilli4051 Год назад +9

    With your videos my learning curve will shrink drastically. Thank you.

  • @gabrielvalentim197
    @gabrielvalentim197 Год назад +3

    Fantastic!! Nicholas I Am a big fan of you. I love Machine Learning and your contents helps me to learn more and more in this beautiful area. Thank you so much for your videos!!

  • @tomiinai
    @tomiinai Год назад +22

    No doco, no stacko. Most Australian dev ever 😂

    • @NicholasRenotte
      @NicholasRenotte  Год назад +6

      😂😂😂😂 "And for the penalty it's $50 casho!"

  • @hc8957
    @hc8957 Год назад +3

    Thanks Nicholas! Following your video lessons makes me learn really really much on the detection machine learning skills~ May I suggest if you can come out with one teaching video on data augmentation on the Mediapipe keypoints (e.g. shift, rotate, zoom in/out etc.) so that we can have more comprehensive dataset to train~ Thank you! Hope u can see my comment from all ur notifications lol!

  • @sss240702
    @sss240702 Год назад +34

    Fantastic! It must be hard to code so fast and explain at the same time. And this trick with multiline editing looks really cool, i didnt think its possible to copy-paste using this

    • @NicholasRenotte
      @NicholasRenotte  Год назад +4

      How good is it right?! My new favourite VS Code hack

    • @varunahlawat9013
      @varunahlawat9013 Год назад +1

      @@NicholasRenotte Man something like this was needed so much, and I didn't find anywhere else, suddenly your video popped up! Thanks, it's realllyyy goooddd

    • @vipul8990
      @vipul8990 Год назад

      @@NicholasRenotte I tried to google it..but everytime the cursor doesn't come at the end of the line....what keys to use to get all the cursors at the end of the line

    • @Kwuasimoto
      @Kwuasimoto Год назад

      It is possible to copy/cut/paste multiple lines and have them land where you want. I know this works in Webstorm, idk about Visual Studio, but If you use 3 cursors to cut 3 lines, then elsewhere, put 3 cursors and paste, you should get the results you expect :)

    • @manifestasisanubari
      @manifestasisanubari 9 месяцев назад

      Doesn't that kinda defeat the DRY principle though?

  • @ummmarrrk
    @ummmarrrk Год назад +5

    I love itttt, you are really great at coding. Let me introduce myself, I am doing bachelors in computer science, currently in last year , and I am doing part time job as a data scientist, but I like to explore different perspectives.

  • @chrisv8341
    @chrisv8341 Год назад +1

    This was so fun to watch omg hahah , keep dem videos coming !!!

  • @mehrangharooni5553
    @mehrangharooni5553 Год назад +4

    you and your videos(knowledge) are amazing, I wish one day I can be like you in programming

  • @balanced-living
    @balanced-living Год назад

    Great! It's an exciting challenge that keeps the audience engaged and entertained. Keep up the fantastic work! :)

  • @ebenezeragbozo
    @ebenezeragbozo Год назад

    awesome stuff. ended up adding a beep feature after each successful move up!!

  • @archilin1
    @archilin1 Год назад +1

    You are amazing though. Learned a lot and got lots of encouragement from you. Thanks so much for your videos.

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Thank you so much for checking them out @林世奇!! Glad you're enjoying them.

  • @SimonLam2024
    @SimonLam2024 Год назад +1

    Amazing! Thank you for the great idea and video.

  • @bartoszhojnacki2233
    @bartoszhojnacki2233 Год назад +1

    This is awesome stuff!! Really looking forward to next video

  • @prakhars962
    @prakhars962 Год назад +6

    For the GUI I use QT designer. You don't need to Google the commands. The only problem is you need to design the whole GUI than code the backend.

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      Whhhaaat, that's actually sick. I was randomly trying to work out how to get it work when I first started. Tbh I want to start doing some more stuff in Js but thanks for the heads up!!

  • @aimanifest
    @aimanifest Год назад +1

    This was so amazing to watch! Thanks!

  • @swamikannan943
    @swamikannan943 Год назад +5

    Hi Nick...this was a brilliant video. Any chance you could make a long form video tutorial around this? I loved the RL tutorials with SB3

  • @ozkaninonlu2898
    @ozkaninonlu2898 Год назад

    omg awesome application bro keep doing apps like this

  • @sumitdey5082
    @sumitdey5082 26 дней назад

    Excellent brother...love from India ❤

  • @christopherreif3624
    @christopherreif3624 Год назад +1

    Absolutely amazing video! By any chance, do you have a video that goes through how you built the deadlifting model?

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      Check this out @Christopher: ruclips.net/video/PGsAsuwBdw0/видео.html I can't remember if I shared the code for the model building or not, if I didn't let me know!!

    • @christopherreif3624
      @christopherreif3624 Год назад

      @@NicholasRenotte I don't see it in your github or on the link for the video.

  • @gplgomes
    @gplgomes Год назад +2

    So few time and so many informations. Thanks guy.

  • @jagkrinolens
    @jagkrinolens Год назад

    Mannnn !!!!!... This is so adrenaline.... just like watching penalty shoot-out of a football match ....Thanks for making the process of learning engaging way ....

  • @wgalloPT
    @wgalloPT Год назад +1

    GOOD JOB !!!!! I KNOW I WOULD NEVER be able to even do something like that...

  • @HyperDogeGaming
    @HyperDogeGaming Год назад +1

    Really sickstuff man!

  • @gplgomes
    @gplgomes Год назад +17

    Project idea:
    Is it possible for the camera to locate the position of the eyes and move a mouse cursor? The right eye blink would be the right button and the left eye would be the other. It would be a great application for paraplegic people.

    • @NicholasRenotte
      @NicholasRenotte  Год назад +9

      Ooooooh, I like this. Let me see what I can do!

    • @mehmetsarsin
      @mehmetsarsin Год назад

      @@NicholasRenotte So did you mean " Yes. Possible" ? :)

    • @usamazahoor3148
      @usamazahoor3148 Год назад +1

      extremely marvelous idea ,hope that it will be possible to build.........

    • @shyamsundarmg1497
      @shyamsundarmg1497 Год назад

      @@mehmetsarsin This is available online in websites

    • @krishnaraj3989
      @krishnaraj3989 Год назад +2

      Funny enough it's what iv been working on!

  • @danio987
    @danio987 Год назад

    Damn, I was thinking about that yesterday app that could count calories and reps, series. Log data and monitor progress. This is amazing.

  • @arifadi6681
    @arifadi6681 Год назад

    Marvellous job boss ❤.

  • @senorita2776
    @senorita2776 Год назад +3

    Hi Nick, great work truly. I love watching your videos. It has helped me gain a huge heap of knowledge into building models for my assignments. I really look up to you as a mentor and you are just awesome.
    How about delving into autonomous navigation and reinforcement learning?

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Probs need more than 15 minutes for that but I plan to get back into it when I get a new PC, think i need a beefier GPU to handle it!

    • @senorita2776
      @senorita2776 Год назад

      @@NicholasRenotte Yes kinda hoping for a whole course on that. Cause you are so thorough with your videos it is so easy to gather concepts to go ahead and start building. Looking forward to your upcoming videos 😊

  • @moabd6013
    @moabd6013 Год назад +18

    Could you make another 5 hrs video explaining this 15 minutes? 😉
    You're amazing bro

  • @afshin6148
    @afshin6148 Год назад +1

    Bro, i love your character, keep goin

  • @fathanwira8211
    @fathanwira8211 Год назад +1

    Thanks for the help.

  • @pat2715
    @pat2715 8 месяцев назад

    Hi Nick, brilliant ideas and love your videos. Is there a resource to how the model itself ? I'm kind of a newb to ML to I'd like to learn that as well :)

  • @spider279
    @spider279 Год назад

    Nice video , i have a question for you : do you have strong maths background i mean did you understand at all the book deep learning of ian goddfellow and yoshua bengio ?

  • @kin_1997
    @kin_1997 Год назад +1

    awesome videos as usual

  • @forgeflarion8362
    @forgeflarion8362 Год назад +3

    Hey here is a project idea for you/anyone that wants to do it.
    Use the AI to check the form of different work outs thatway people can check to make certain they are doing it right if they happen to be lifting alone/for the first time or if they just want to get stronger.

    • @sirmor2009
      @sirmor2009 Год назад +1

      I always wanted but don't have coding skill

    • @dlouise64
      @dlouise64 2 месяца назад

      theres heaps of issues with this, one is bracing and the other muscle contraction. Can a video simply see those things? what if your core is covered by a tshirt, how can the camera see all angles. Need more than just one angle, when deadlifting, is the chest up, is the core braced etc but yes I pondered on this thought too

  • @iyadahmed3773
    @iyadahmed3773 Год назад +1

    Thanks a ton!

  • @FireFly969
    @FireFly969 Год назад +2

    it was really a good project, i tried on my first laptop, it show me a lot of errors, again i change to another laptop and it works, i finish it maybe less than 40minutes with the video,
    thank you

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      WOAH nice! Awesome work!! Most of the time it's mediapipe that can be a bit finicky

  • @pavithrabalaji
    @pavithrabalaji Месяц назад

    Loved it ❤

  • @ilikethatboulder.thatisani5496

    dude this is bad ass should i try it later?

  • @akeelabbas2051
    @akeelabbas2051 Год назад +1

    Hi nick, i am just starting my machine learning journey. I have my college project this year and i decided to work on sign language detection . I'm having a really hard time installing things in the anaconda prompt. What are all the packages i will have to install. And in what order should i watch your videos of sign language detection. Desperate for help.

  • @enasaref8888
    @enasaref8888 Год назад

    Thank you for the information and the video. I have few issues running the code. The most important one is : what is 'deadlift' ? is this a dataset on your device or part of the pickle module ?

    • @mammmapph5319
      @mammmapph5319 5 месяцев назад

      yeah me either , i stuck here ..

  • @chandrachoodR
    @chandrachoodR 2 месяца назад

    Thats impressive !!

  • @rverm1000
    @rverm1000 Год назад +2

    couldn't find the landmarks library instead i found landmark-detection so it is import as import landmark as LM . will that work?

  • @jhonnatanvargasrodas6194
    @jhonnatanvargasrodas6194 Год назад +1

    bro where chalk up u been, it is so cool

  • @htafer1
    @htafer1 Год назад

    this is truely amazing !

  • @mohdjunaid5206
    @mohdjunaid5206 Год назад

    can you please share the dataset that you used in landmarks, I'm having difficulty in it. Thanks for making this video.

  • @Boghost1430
    @Boghost1430 Год назад +1

    How did you imported all these libraries as easily at the beginning, I'm trying to learn computer vision however I can't follow 10 minute of my course before VS Code tells me that there is a problem. Could you please make a simple video about how to create a folder with all the stuff to follow a computer vision course with mediapipe and cv2 and how to make it works (i always have problems in the console and if not, when I try to run my webcams, my webcams appears to be black). Could you please make a short but complete video about it. 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @henkhbit5748
    @henkhbit5748 Год назад +1

    Great Nick, still waiting for an app where u can use an iPhone as a camera😉

  • @swoppydo3794
    @swoppydo3794 Год назад +1

    Vislibity is indeed an hell of a word

  • @mk_veee6511
    @mk_veee6511 Год назад +1

    if anyone of you are building with customtkinter 0.3 version, then you can directly use text parameter in CTkLabe like this CTkLabell(text=""), don't need .configure(text="").

    • @yaswanthvaddi4663
      @yaswanthvaddi4663 Год назад

      is it the reason why i am getting tcl text unknown option
      and how to solve this with last three lines of code where he used .configure

  • @wgalloPT
    @wgalloPT Год назад +1

    I wish you would also include making the menu and pages....but thats asking too much :)

  • @cherlim4568
    @cherlim4568 Год назад

    Thank you!!

  • @JamesChan-zp1eq
    @JamesChan-zp1eq Год назад

    Why is the image captured by the camera at an angle when I run this program? How can I adjust it?

  • @mrsecretstatus9999
    @mrsecretstatus9999 2 месяца назад

    What are pre requisites, I have done python and library (numpy , pandas ) can I directly start this tutorial

  • @hexazen5627
    @hexazen5627 Год назад +2

    Great Work! I appreciate the clean and clear videos you make explaining the process. Could you do a video about SLAM or PyTorch3D? I've been having difficulty finding good videos that implement the code that I can follow along. Thanks!

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Ooooh I've wanted to get into point cloud stuff, let me take a look!!

  • @RofaidaKhaled-ti8jl
    @RofaidaKhaled-ti8jl 8 дней назад

    Dose your projects need strong features of laptops i have i5 20 RAM

  • @_ifly
    @_ifly Год назад

    could you please make a video about the startup environment of this code I have your code and also downloaded all the libraries but still can not run it.

  • @hussainmukadam4925
    @hussainmukadam4925 Год назад +1

    Hi nick, can you share the jupyter notebook of code on how you actually built the deadlift.pkl model . Ty

    • @Dario-hz3bg
      @Dario-hz3bg Год назад +1

      I join to the request - would be nice to see how you built this module. Please share it. THX

  • @taeefnajib
    @taeefnajib Год назад +1

    Even if you give away a coupon I won't redeem it so you don't end up spending too much. I'm already indebted to you for all the things you did for learners like me. Thank you, Nicholas.

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      🙏 🙏 🙏 Thanks Taeef!!

    • @taeefnajib
      @taeefnajib Год назад

      @@NicholasRenotte You're welcome! and thank you very very much again

  • @arkaprabhachakraborty8553
    @arkaprabhachakraborty8553 Год назад +2

    Can you make this type of video for implementation in Android app... I am really excited to see that implement ml model with a simple Android app

  • @adnhaf
    @adnhaf Год назад +1

    An-mhaith (Well done) Pal, nice one.

  • @teaganblair4712
    @teaganblair4712 Год назад +1

    Why does the GMS tNice tutorialng doesn't soft sa way like it did in the video?

  • @syedaparas5420
    @syedaparas5420 Год назад

    If we are create sign language app using this model source code help what should changing in my project? Please quickly answer its very urgent.

  • @think7022
    @think7022 4 месяца назад

    hi , can some how i use this code for builting andriod app is this possible . plz reply .. i am excited

  • @h-s7218
    @h-s7218 Год назад

    what python version are you using, please ? (:

  • @wirarizaldy3527
    @wirarizaldy3527 11 месяцев назад

    error issue: i have download this code from your GitHub but i can't run it, the error said that i have problem with my "tkinter" and "customtkinter" library even though I have install it with pip in vscode

  • @pujakarmakar2134
    @pujakarmakar2134 Год назад

    Can you show something similar with your previous sign language model

  • @picklenickil
    @picklenickil Год назад +1

    Big up big Nic! That's how you supposed to code .

  • @yaso1034
    @yaso1034 7 месяцев назад

    what if i use hdf5 file to save my model? what should i use?

  • @shanno88
    @shanno88 Год назад +1

    this is your only project that close to commencial use.

  • @dragangligoric6569
    @dragangligoric6569 Год назад +1

    Hi Nick. App is very cool. Are you try app like this to do in unity engine?

    • @NicholasRenotte
      @NicholasRenotte  Год назад +2

      Honestly I'm up for anything these days. I'm looking at Flutter and Rust projects next, but will add on Unity. Cheers for the suggestion Dragan!

  • @mohammedzain9876
    @mohammedzain9876 Год назад +1

    could you make a video on identifying exterior car parts and then identify the damages

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Sure!! Got any datasets for me I can take a look at?

    • @mohammedzain9876
      @mohammedzain9876 Год назад

      @@NicholasRenotte i have been trying to post the links but im not sure if youre getting any

  • @hamoudi4u
    @hamoudi4u Год назад +1

    Yo nic, can we have a full project for TF ViT. Currently there is a lack of ViT tutorials everywhere.

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      You got it! I've got a full tutorial coded up but never released it!

    • @hamoudi4u
      @hamoudi4u Год назад

      @@NicholasRenotte cant wait 😍😍

  • @pranavvigneshaad5217
    @pranavvigneshaad5217 Год назад +1

    Hey Nick... It says "ModuleNotFoundError: No module named 'landmarks' .... I also tried doin "pip install landmark-detection". It doesn't work for me . help pls

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      Should be .landmark :) like so: results.pose_landmarks.landmark

  • @Abhishek-yl3wl
    @Abhishek-yl3wl 2 месяца назад +1

    please make video on
    how to integrate driver drowsiness ml project to andriod and ios app?

  • @mohammednoor1330
    @mohammednoor1330 Год назад

    Hey Nicholas, iam an engineering student
    iam trying to create sign language video calling application for my major project. can you help me out with it? For some knowledge how to stream the video
    Or to link it to a calling application
    It will be really grateful if you just give me some tips

  • @FunCodingwithRahul
    @FunCodingwithRahul Год назад

    Insane stuff... 🙂

  • @parinyasukphokha5022
    @parinyasukphokha5022 Год назад +1

    I would like you to teach me how to create pickle files for different exercise postures.

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      Heya @Parinya, check out the live stream I did on it!!

  • @DimensionPardo
    @DimensionPardo Год назад

    what webcam do you have?

  • @utpalchandradas328
    @utpalchandradas328 Год назад +1

    Exception has occurred: AttributeError
    partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline' (most likely due to a circular import)
    How can I solve this

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Haven't seen that one but looks like an opencv error, possibly try reinstalling?

  • @orhandag540
    @orhandag540 Год назад

    Dear Nicholas the video was great but I couldn't figure it out by importing landmarks , I have tried it thousend times but I got still nothing. The Error is: ModuleNotFoundError: No module named 'landmarks'. So I need your !!!!HELP!!!!

  • @bonvivant7398
    @bonvivant7398 Год назад +1

    I think you could have won if you didnt explain, but thank you very much as always!

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Thanks a mil @bonvivant, can't sacrifice explaining it though!!!

  • @alexeyprikhodko6990
    @alexeyprikhodko6990 Год назад +1

    Thank you for the interesting video and the Amazon gift card:)))

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      I saw your message via Amazon!! So glad you got it! Keep at it Alexey!

  • @viewview6687
    @viewview6687 Год назад

    How to create that deaflift.yml ? please

  • @SuperMyckie
    @SuperMyckie Год назад +1

    Yoh!... please how did you do the multiple cursors😮

    • @palgun.
      @palgun. Год назад +1

      Hold Alt and click where u want the cursor

    • @NicholasRenotte
      @NicholasRenotte  Год назад +2

      Sick right?! Also if you select a variable or value hit Alt + D multiple times to select multiple.

    • @SuperMyckie
      @SuperMyckie Год назад +1

      @@NicholasRenotte yay!! Worked..I'm so pumped up right now.. just like @palgun said, holding alt while clicking on any point does the magic.. pretty awesome.. thanks bro

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      YESSSSS! Lessssgoooo!!

  • @utpalchandradas4804
    @utpalchandradas4804 Год назад

    I tried your code but it shows [Errno 2] No such file or directory

  • @jakubkahoun8383
    @jakubkahoun8383 Год назад

    Is this python 3.11 or older? Since Mediia pipe not working for me in 3.11.

  • @krishnatagore5750
    @krishnatagore5750 9 месяцев назад

    can u please share other exercises pkl files....

  • @akintoyeonikoyi4361
    @akintoyeonikoyi4361 Год назад

    React native can this be done with that ?

  • @ritwiksarkar9017
    @ritwiksarkar9017 11 месяцев назад

    hello sir.... can you make makeup transfer model using neural style transfer

  • @bubblervr9362
    @bubblervr9362 Год назад

    Can this be done with react native

  • @harryfeng4199
    @harryfeng4199 Год назад +1

    Official surpassing Andrew ng in my heart in terms of respect

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      Woah woah woah....Harry....what?!? 😂 Thanks so much 🙏

    • @harryfeng4199
      @harryfeng4199 Год назад +1

      @@NicholasRenotte yea I’m learning so much from ur vids in terms of implementation and inspiration for some of my own project ideas that Andrew Ng’s lectures don’t provide

  • @saudansari4616
    @saudansari4616 11 месяцев назад

    'str' object has no attribute 'predict_proba' in pkl file

  • @cipherxen2
    @cipherxen2 Год назад +1

    It's ironic that the video related to computer "vision" has the problem with poor visibility at the word "visibility".

    • @NicholasRenotte
      @NicholasRenotte  Год назад +1

      LOL, yeah it kills be that I even called it out 🤦‍♂️

    • @cipherxen2
      @cipherxen2 Год назад

      @@NicholasRenotte you're doing great btw. Keep up the good work.

  • @user-en4ft8nn8b
    @user-en4ft8nn8b Год назад

    So cool

  • @insidemylenss6513
    @insidemylenss6513 Год назад

    I'm getting this error _tkinter.TclError: unknown option "-text"

  • @katu406
    @katu406 Год назад +1

    I'm new here so how can we use multiple models in this???

    • @NicholasRenotte
      @NicholasRenotte  Год назад

      You can bring more in where I added the pickle load. The implement the same (or similar logic) for form tracking. I showed it in action here: ruclips.net/video/H7cGq0xIHbc/видео.html

    • @katu406
      @katu406 Год назад

      @@NicholasRenotte Thank you for helping

  • @palgun.
    @palgun. Год назад +1

    Can we have EDA series?

  • @Li-nn9bg
    @Li-nn9bg 7 месяцев назад

    the pickle file doesnt work??