Real Time AI Face Landmark Detection in 20 Minutes with Tensorflow.JS and React

Поділитися
Вставка
  • Опубліковано 19 вер 2020
  • Ever wondered how snapchat filters work?
    Three words...facial landmark recognition!
    Facial landmark recognition allows you to detect a number of different points on your face that together make up your eyes, mouth, ears, nose and so on. From there you're able to apply overlays aka filters to get your snap! But there's so much more that it can be used for like emotion analysis and face tracking.
    Sounds a little difficult though, right? Well, in this video you'll learn how to build your own face landmark detector app in 20 minutes using Javascript and Tensorflow.JS.
    In this video you'll learn how to:
    1. Install the Tensorflow.JS facemesh model
    2. Build a Javascript React.JS face landmark detection app
    3. Detecting landmarks on your face in real time using your webcam
    Resources:
    Tensorflow.Js models: www.tensorflow.org/js/models
    HTML Canvas: developer.mozilla.org/en-US/d...
    Create React App: reactjs.org/docs/create-a-new...
    GitHub: github.com/nicknochnack/Facia...
    Oh, and don't forget to connect with me!
    LinkedIn: / nicholasrenotte
    Facebook: / nickrenotte
    GitHub: github.com/nicknochnack
    Happy coding!
    Nick
    P.s. Let me know how you go and drop a comment if you need a hand!
    Music by Epidemic Sounds
  • Наука та технологія

КОМЕНТАРІ • 446

  • @ThangNguyen-zi8bm
    @ThangNguyen-zi8bm 3 роки тому +6

    One of the best Facemesh tutorials I've seen so far online. Keep up the good work.

  • @Altanis1
    @Altanis1 3 роки тому +20

    why dont you have more subs/views? youre amazing at explaining your code and actually seem passionate unlike most coding tutorial creators. keep going!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +5

      Thanks soo much, I've only been going at it since May so we're only just getting started! But plenty more to come!!!

  • @yx5991
    @yx5991 3 роки тому +43

    I haven't even started watching and can already tell you deserve more views.

  • @PTAH612
    @PTAH612 3 роки тому +8

    WHOA YOU WILL RECEIVED ONE MILLIONS OF VIEWS THAT AMAZING CONTENT RIGHT HERE

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Hell yeah, that's the goal, thanks so much 😊!!

  • @froyect
    @froyect 3 роки тому +3

    Best 30 minutes spent in my life

  • @sufyan2317
    @sufyan2317 3 роки тому +2

    Absolutely great tutorial...And believe me, you will get dozens of subscriber soon..
    All the Best!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Heya @Sufyan Khan, thanks a million! More tutorials to come 👨‍💻!

  • @tkipkemboi
    @tkipkemboi 3 роки тому +2

    You are AWESOME!!! Your tutorials are easy to follow and I love how you break down the concepts as well.
    As a point of feedback, I would love if you could mention some possible applications for noobs.
    Thanks again,
    Subscriber!

  • @codelucky
    @codelucky 3 роки тому +2

    As a backend dev, it wasn't difficult to understand the front-end part.
    I like your teaching style. 👍

  • @dy6697
    @dy6697 2 роки тому +1

    Great content man, thank you !!!

  • @nicoleiva5498
    @nicoleiva5498 3 роки тому +3

    You deserve more subs dude. I'm on your team now

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

    This is an amazing video, what could make it even better, is possible applications for the landmarks, for example, detecting certain dots, and based on it's movements, detect micro-expressions, that could be interesting

  • @diversecontent788
    @diversecontent788 3 роки тому +1

    Thanks a lot man! looking for more quality content like these

  • @woutvandesompele8310
    @woutvandesompele8310 2 роки тому +1

    This was super helpful thank you very much

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

    Bro thanks very much for all these tutorials.

  • @mustafaashraf1340
    @mustafaashraf1340 3 роки тому +2

    best tutorial ever

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Thanks so much @mustafa! Definitely, in the works!

  • @TagenigmaLLC
    @TagenigmaLLC 3 роки тому +1

    Best Face Landmark Detection + Coding Tutorial that I've seen!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Thanks so much @Timothy! So glad you enjoyed it. Same Timothy from LinkedIn?

    • @TagenigmaLLC
      @TagenigmaLLC 3 роки тому +1

      @@NicholasRenotte Yes! :) It's me. I just sent you another epic video idea.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@TagenigmaLLC yesss, alrighty will check it out!

  • @CarlosMagno-hp2bo
    @CarlosMagno-hp2bo Рік тому

    Thank you friend for sharing the teachings learned here will be of great help for my projects

  • @diegocaumont5677
    @diegocaumont5677 3 роки тому +1

    Dope tutorial, keep it going :)

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Thanks so much @Diego Caumont! A bunch more coming. 😄

  • @amoshnin
    @amoshnin 3 роки тому +1

    Thanks so much for your effort!

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

    Thanks for sharing!

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

    Thank you to make me gradueated

  • @scottpuckett5403
    @scottpuckett5403 3 роки тому +1

    great stuff man!

  • @akshitdayal2689
    @akshitdayal2689 2 роки тому +1

    You're the bestt!!!!

  • @kayan_dev
    @kayan_dev 3 роки тому +1

    I try your GitHub repo and build in 1 command " npm i " and it's working so amazing :)

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Awesome!! Glad you got it running so easily, YESSS!

  • @Alexandre-vr4zl
    @Alexandre-vr4zl 3 роки тому +1

    wow sir, i love the Beginning ||||

  • @jerrylee1657
    @jerrylee1657 3 роки тому +1

    Amazing tutorials!

  • @waytosanathan
    @waytosanathan 3 роки тому +3

    The key points for me was to switch to video.videoWidth instead of video.offsetWidth & second one is resetting canvas width and height for each loop. Thanks for the simple learning

  • @reachinganwesha123
    @reachinganwesha123 3 роки тому +1

    Love from India.... Hoping one day I can also figure it out by myself...... Ur videos are awesome..... Explained well..

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Awesome! Let me know if you need anything along the way :)!

  • @lifeofaldodevv7375
    @lifeofaldodevv7375 2 роки тому +1

    nice, thanks for your videos, i will learn
    i from indonesia

  • @vijayshanker3059
    @vijayshanker3059 3 роки тому +1

    Really awesome video.

  • @keshav2136
    @keshav2136 3 роки тому +1

    Good tutorial! ❤️👍🏻

  • @coriariasgibert9945
    @coriariasgibert9945 2 роки тому +1

    Great !

  • @underlecht
    @underlecht 3 роки тому +1

    love your videos

  • @KriGeta
    @KriGeta 3 роки тому +3

    Is there any way to export this data into 3D software like blender?

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +2

      Not too sure about pushing out to blender but you could definitely export the x,y and z coords for use elsewhere? I've seen it used alongside three.js for 3d viz @KriGeta.

    • @dbsexclusive5283
      @dbsexclusive5283 3 роки тому +2

      @@NicholasRenotte sounds intresting

  • @lauraestupinan8245
    @lauraestupinan8245 3 роки тому +1

    Love it!

  • @abeechr
    @abeechr 3 роки тому +2

    I would love to see a continuation of this project. Maybe create a filters of your own? Rabbit ears, whiskers, etc...

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Yah, working on it as we speak. Trying to get the hang of 3d rendering for it!

    • @haibertbarfian6343
      @haibertbarfian6343 3 роки тому

      @@NicholasRenotte If you have a patreon, buy me coffee.. or any sort of donation links I will personally donate 100 dollars if you cover how to make a snapchat like camera experience in terms of putting filters on ones face.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Heya @@haibertbarfian6343, I have a Patreon but no need to donate for this particular use case. Got it on the list already, what types of filters are you thinking of? Background removal, adding sunglasses etc?

    • @haibertbarfian6343
      @haibertbarfian6343 3 роки тому

      @@NicholasRenotte You are a SAINT MY FRIEND!!!! I was thinking of a snapchat like experience where you can put sunglasses, and all sorts of fun filters on a face using react native. Many people have joined the RN community and we need to show the prowess that RN has obtained over the years.. if snapchat filters are possible in RN.. almost anything is! I know that currently there are SDKs that allow this functionality on WEB.. but no one has done it on RN for mobile apps... this is going to be bananas.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      @@haibertbarfian6343 hell yesss! Definitely, I'm going to get to work on it soon!

  • @yonakislinger6301
    @yonakislinger6301 3 роки тому +2

    Found your channel today! Great content!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      🙏 Thanks so much @Yona, anything you'd like to see?

    • @yonakislinger6301
      @yonakislinger6301 3 роки тому +1

      @@NicholasRenotte Yeah! I would love to be able to work with the detected landmark points and trigger certain areas (mouth, eyes). Something like gaze recognition or emotion detection.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      @@yonakislinger6301 awesome stuff, was just planning iris detection today!

    • @yonakislinger6301
      @yonakislinger6301 3 роки тому +1

      @@NicholasRenotte Amazing man! Really cool what and especially how you create!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@yonakislinger6301 thanks so much, honestly appreciate it a ton 🙏!

  • @libbylebyane3681
    @libbylebyane3681 3 роки тому +1

    Looking forward to converting this to Angular!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Yess, let me know when you do, would love to take a look at the code @Libby!

  • @isurucumaranathunga
    @isurucumaranathunga 2 роки тому

    Thank you so mush Nicholas, this is a great content, so much valuable. I have just one confusion that why the Triangulation matrix is used and how did it formed ?. Again thank you so much.

  • @pratyushpandey9126
    @pratyushpandey9126 2 роки тому +1

    Amazing thanks for such great videos, Can you please tell me how to just extract eyes coordinates

  • @haesuun
    @haesuun 3 роки тому +2

    Awesome! Great tutorial. Are you planning for more tutorials using Posenet and React JS? (Using Teachable Machine)

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Thanks so much @Haesun Shim, I sure am! I've done a Posenet basic video but have a few others planned with Tensorflow.JS as well: ua-cam.com/video/PyxsziqatFE/v-deo.html

  • @diegorafass
    @diegorafass 3 роки тому +2

    Canva has a delay in relation to the video component. Hide the video and add the camera image to the canva, along with the points on the face. Congratulations on the video!

  • @user-yv6tl2yx7r
    @user-yv6tl2yx7r 3 роки тому +5

    Your tutorial is very good and I understand it completely. Thank you so much for sharing.
    How to use landmark coordinate point to generate animation avatar?
    In other words, how to use landmark coordinates to compare with virtual components such as eyebrows, and then select a matching eyebrow for image assembly;

    • @NicholasRenotte
      @NicholasRenotte  2 роки тому +5

      Working on this atm :) will share a tutorial once I'm done!

    • @yevgeniybondar7509
      @yevgeniybondar7509 2 роки тому +2

      @@NicholasRenotte Is the tutorial out yet?

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

    Hello! I loved your video, it was very helpful and easy to understand. Sorry for the inconvenience but would there be some way to recognize the face of a specific person and allow only this person to log in? Like in the phone?? Thank you very much for everything

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

    hey Nicholas! this is so cool! do you think I can use this on a tiktok clone I already built using dart?

  • @gliong666
    @gliong666 2 роки тому

    Excelent tutorial as usual. Do you have a tip about how to implement liveness in face detection?

  • @steinroardahl9226
    @steinroardahl9226 3 роки тому +1

    Greate stuff :-)

  • @haibertbarfian6343
    @haibertbarfian6343 3 роки тому +3

    This is amazing! There is no video out there showing an actual implementation of face filters using react native. Do you think you would be able to pull this off? I believe that is a highly coveted topic and there are absolutely 0 videos on it out there.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +2

      😉 stay tuned!

    • @haibertbarfian6343
      @haibertbarfian6343 3 роки тому +1

      @@NicholasRenotte github.com/haibert/graphics-project I want to share my attempt at this with you incase it helps or gives you any ideas.. I have used the expo-face-detector to get a 2D X Y coordinate of the nose and map that to the rotation of this 3D box I have generated on top of the camera using the libraries mentioned below. It is by no means near what it needs to be.. because I only have 2D data using expo face detector... but with the face landmarks you should be able to do much more interesting things. I'M SO STOKED TO SEE YOUR VIDEO!
      "expo-gl": "~10.2.0",
      "expo-graphics": "^2.0.0",
      "expo-three": "5.4.0", (the package versions REALLY matter)
      github.com/haibert/graphics-project
      🥴

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

    Great video! You’re really great at explaining explaining everything but is it possible you could help me out? Because I’m getting stuck at the Load Facemesh part. After coding everything It’s throwing an error saying “load” is not a function…

  • @enzobuscaglia8010
    @enzobuscaglia8010 2 роки тому +1

    Is there a way to choose either to display or not the predictions based on a "confidence" level of the predicition? I mean, when I get off camera the model keeps trying to predict if there are any faces and draws over the objects in front of the camera.

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

    Very good trainer. I wanna make an easy reconigtion app, first I would load an image with the name on (text) from phone camera to the database. The name input as watermask or another way the image's file name. . then at another location, this app could detect this item (from camera) and output the name on the live image. React Native + Mongobase.

  • @GooseDave
    @GooseDave 3 роки тому +3

    Great work Nicholas. But, there is a typo on line 2673 of utilities.js: 'TRIANGULATION[i * 3 + 2],u' doesn't need the 'u', so guessing a typo. Really enjoyed though - thank you.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Thanks so much @David, ah i'll update the repo, I think I might have thrown it in just before committing to GH.

  • @alaeddineyacoub6225
    @alaeddineyacoub6225 3 роки тому +2

    Awesome work honestly you deserve much more recognition :D One question though when I cloned it and tried to run it it keeps crashing before the detection with an Unhandled Rejection (Error): method must be bilinear or nearest, but was undefined error :) thanks for your help

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Ah, baby steps, the channel is growing thanks to all the love from you guys 😍!! Can you share your code? Where exactly is the error happening in the trace?

    • @alaeddineyacoub6225
      @alaeddineyacoub6225 3 роки тому +1

      @@NicholasRenotte I just cloned the code from your repo and tried to start the react app :) (I installed all the prerequisites). Thank you fro your help

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@alaeddineyacoub6225 you cloned it directly and it's still crashing? Just checking is your webcam activating when you start the app?

  • @yevgeniybondar7509
    @yevgeniybondar7509 2 роки тому

    nice

  • @ganeshdhavale
    @ganeshdhavale 3 роки тому +1

    Wow

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

    Can you try with external usb connected camera plz?

  • @shhh826
    @shhh826 3 роки тому +3

    I was wondering if you can make a separate video on who to map the detected face landmarks on a 2D/ 3D avatar

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

    Thanks for sharing bro, btw how to get blink eye, node, turn head etc (gesture face)
    thanks before

  • @lk5776
    @lk5776 2 роки тому +2

    like video filter,is it possible to change image instead of drawing line ? in here only to show us how to detect face! to change line to image ! what is best way ? if y know , plz tell me know ㅠㅠ

  • @yashthakkar3453
    @yashthakkar3453 3 роки тому +1

    Great Tutorial! Can you please come up with react-native example of same tensor flow model using expo-gl?

  • @jonathantanhowann95
    @jonathantanhowann95 2 роки тому +1

    Hi, first of all, great job explaining. But i have a question, where do you get the triangulation data? Keep it up!

    • @NicholasRenotte
      @NicholasRenotte  2 роки тому +1

      The landmark map? I got it from the official TF Model repository. Need a link?

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

      @@NicholasRenotte Thanks for this video. I'm new the space but I also don't understand the triangulation data. It's hardcoded data. Why is there hard coded triangle data in there?

  • @ekonaldihutabarat4357
    @ekonaldihutabarat4357 3 роки тому +1

    nice video

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Thanks so much @Ekonaldi Hutabarat, glad you enjoyed it!

  • @jacobpiirsalu2862
    @jacobpiirsalu2862 3 роки тому +1

    Loved the video it was awesome - do you know how you might remove the flickering of the mask? I'm trying to expand on this project to make a snapchat-like filter application and the flickering gets in the way.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Heya @Jacob, I haven't had a chance to fix it yet, I believe it's because the drawing is staged in two parts the dots and the lines. I'm working on a fix in the coming weeks though!

    • @jacobpiirsalu2862
      @jacobpiirsalu2862 3 роки тому +1

      @@NicholasRenotte Thank you for the help!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@jacobpiirsalu2862 anytime, will let you know once it's updated!!

  • @tejaschoudhary3882
    @tejaschoudhary3882 3 роки тому +1

    Amazing Content man, spent a day trying to figure this out till I came across your video! Lastly, i was trying to use this model to use pre recorded videos. Do u have any resource/tips I could look into to change the input from webcam to pre recorded videos?

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Heya @Tejas, does it have to be with .Js or are you comfy with Python as well? TBH it'll probs be easier to do with Python if you're wanting to work with pre-recorded vids. LMK I can chase it up for you!

    • @tejaschoudhary3882
      @tejaschoudhary3882 3 роки тому +1

      Hey @@NicholasRenotte! Thank you for your response! I’m comfortable with Python but not sure how I would use it to implement this for pre recorded videos! And Yes! Can you please look into this/guide me?? Thanks a lot!!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@tejaschoudhary3882 will add it to the list of videos. You should be able to do it with Media Pipe: google.github.io/mediapipe/solutions/face_mesh.html

    • @tejaschoudhary3882
      @tejaschoudhary3882 3 роки тому

      @@NicholasRenotte Just had a look at it! The facemesh is implementable on Python but Iris tracking (separately on Media Pipe but included in the latest version of tensor flow) is unavailable on Python yet.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@tejaschoudhary3882 ah got it!

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

    Hi this project was very interesting I only have one doubt as to how are u getting the TRIANGULATION metric data since I can't wrap my head around it if you can help or explain

  • @vijaymeena8039
    @vijaymeena8039 3 роки тому +1

    this is awesome. i came here coz i have a digital image processing project and i was wondering how to do the same thing in python (_Coz i'm weak in python). now i'm wondering why tf use python when u can do the same in js.(coz my strong point is javaScript. xD).

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Hahahah, the beauty of those libraries is that you can do it in either right! Thanks for checking it out @Vijay!

  • @Sabin184
    @Sabin184 Рік тому +2

    I asked a question about this in your other video - but now that I looked at your latest push to your repo. Does the use of useEffect and RequestAnimationFrame prevent some of "lag" the previous implementation had? I used that with blaze pose in my code and it seems to have fixed any sense of lag which is great. I would love to know why this works if this is what fixed that issue. Thanks again for the content.

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

      I was wondering the same thing

  • @putriamaristya3243
    @putriamaristya3243 3 роки тому +2

    this is an amazing tutorial i just had to open my laptop and try it for myself! thank you so much. i have a question, i followed your tutorial, however the package @tensorflow-models/facemesh is no longer available. do you have any suggestions on how to resolve this issue? once again, thank you!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +3

      Heya @Putri, looks like the model name has changed from facemesh to face-landmarks-detection (github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection). Was looking into it over the last couple of days. There's three quick changes required to get it to work (plus I've updated the code here: github.com/nicknochnack/FacialLandmarkDetection):
      1. Install the new package
      // OLD Installation
      npm install @tensorflow-models/facemesh
      // NEW Installation
      npm install @tensorflow-models/face-landmarks-detection
      2. Change the import
      // OLD Import
      import * as facemesh from "@tensorflow-models/facemesh";
      // NEW Import
      import * as facemesh from "@tensorflow-models/face-landmarks-detection";
      3. Change the load
      // OLD Neural Network Load
      const net = await facemesh.load({
      inputResolution: { width: 640, height: 480 },
      scale: 0.8,
      });
      // NEW Neural Network Load
      const net = await facemesh.load(facemesh.SupportedPackages.mediapipeFacemesh);
      4. Last but not least update the detection function
      // OLD Detection
      const face = await net.estimateFaces(video);
      // NEW Detection
      const face = await net.estimateFaces({input:video});

    • @enzobuscaglia8010
      @enzobuscaglia8010 2 роки тому

      @@NicholasRenotte Thanks a lot for this update!

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

    Hi Nicolas, you are great, I have a big ask for your, can you help me to create a good app by React and Face Detection functionality in your video for my graduated work in university

  • @abhishek_maity
    @abhishek_maity 3 роки тому +2

    Hi Nick! I just completed your Media Pipe face mesh video and now i am here... one question is coming into my mind is ... can i build the same react app and integrate it with the MediaPipe one ?? please let me know if this is possible then i will try that integrating media pipe with this react app (I don't have much depth knowledge in react.js ). Also I feel media pipe is better than tf face mesh. Please let me know what are your answers/thoughts on this :)

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Heya @Abhishek, yes you can definitely use medipipe on React in place of TF.js. I believe they're actually based on the same model so I think it's all about using what's easiest. I haven't tested out the js version yet but it's definitely on the list!

  • @nixcampbell5399
    @nixcampbell5399 3 роки тому +2

    Hello! Thanks for the tutorial! What is your recommendation for the next steps to create a filter; such as distortion/displacement of the face or particles that attach to the mesh? I'm familiar with doing these things with a Kinect camera in Touchdesigner, but working in the browser is new territory for me. Thanks!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +4

      You could apply an viz overlay from the JS canvas inside of utilities.js! Where and how you adjust the canvas would be dependent on what points you want to attach the filter onto or from. Want me to make a video on this in the future?

    • @nixcampbell5399
      @nixcampbell5399 3 роки тому +3

      @@NicholasRenotte yes!

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +2

      @@nixcampbell5399 done, added to the list!

    • @apelibrian3968
      @apelibrian3968 2 роки тому +1

      @@NicholasRenotte kindly,,,

    • @dominicsavio7245
      @dominicsavio7245 2 роки тому

      @@NicholasRenotte Can you please share the link

  • @danielrotnemer2564
    @danielrotnemer2564 3 роки тому +1

    Hi, Thank you so much for this tutorial! Can you make a video explaining how to do this in Java and Android studio? thank you so much!

  • @rhenapalmarist9965
    @rhenapalmarist9965 3 роки тому +1

    awesome tutorial👍🏼 btw, do we have to use react webcam? how do we make it for phone user? I'm a junior student in IT department. I just figured out how to make phone app with unity (using C#).. and wonder how can I combine it with ai face detection

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Heya @Rhena thanks so much! Nope you don't! I just found it easy to work with. Oooooh Unity is something I'm super interested in. Have you checked out Unity ML?

  • @ZVEKOfficial
    @ZVEKOfficial 3 роки тому +1

    Is there any way to optimize the model ? My laptop has 8gb ram and 2Gb gfx card but is barely able to run this smoothly, always hangs when I try to reload the app. Can I run it on an AWS server or something

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Heya, it's all happening on the client-side so running it on a server won't boost performance. I'm working on tuning at the moment, should be out as part of the custom gesture vid 😊.

  • @stevenevenshow2790
    @stevenevenshow2790 2 роки тому

    Is it possible to use this for facial expression recognition, with data point used for data science /machine learning?

  • @omaraga152
    @omaraga152 3 роки тому +1

    Can you make something about body detection? I wanna make a virtual try on

  • @chrisjenkins5870
    @chrisjenkins5870 3 роки тому +1

    Great video Nicholas!
    I want to link this model to a react native based app. ( Hoping to determine whether a driver is drowsy or not) Can you refer me a direction to look for on how to do it? I'm kinda new for these environments. Thanks.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Heya @Chris, awesome use case. I'm actually working on a RN solution as we speak, will let you know as soon as it's out!

    • @chrisjenkins5870
      @chrisjenkins5870 3 роки тому +1

      @@NicholasRenotte Okay. looking forward to it. Cheers!

  • @shersim6217
    @shersim6217 2 роки тому +2

    I encounter error

  • @b843-sanchitashirur6
    @b843-sanchitashirur6 3 роки тому +1

    Hey, great video! couldn't stop myself from implementing this! React-webcam is not working on localhost, do you have a way out? 🤔

  • @nimeshkumar3663
    @nimeshkumar3663 2 роки тому +1

    Hi, can you help me with text detection in an image using tensorflow js or opencv js

  • @benjaminikwuagwu6469
    @benjaminikwuagwu6469 3 роки тому +1

    You're awesome man!👍👍👍
    Instead of using create-react-app, can I use react native instead for this code to work? And how do I add my face mask image on the detected area of my face?

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Sure can, but I think the webcam module is slightly different if you're doing it on RN. Working on the overlay code now, will share once I've got it up and running @Benjamin!

    • @benjaminikwuagwu6469
      @benjaminikwuagwu6469 3 роки тому +2

      @@NicholasRenotte Yes, I think instead of webcam, you'll use RNCamera. i will be waiting for the overlay video. Thanks for your kind response.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      @@benjaminikwuagwu6469 brilliant! Will let you know as soon as it's out!

    • @benjaminikwuagwu6469
      @benjaminikwuagwu6469 3 роки тому +1

      @@NicholasRenotte I really appreciate :)

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      @@benjaminikwuagwu6469 anytime!

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

    Which one is better py or javascript I am from the earth observation domain and I want to work on spatial using images for advanced applications in the Earth observation domain

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

    i am curious if you could make a facial recognition using this face mesh?? hmm just like loading or storing dataset as 3d???

  • @JonathanPohlner
    @JonathanPohlner 3 роки тому +1

    I'm trying to make an app where the user can try different shades of lipstick virtually.. I've found the annotations where it separates the lips out into 4 arrays, 3 of 11 and one of 10. Where I'm getting confused is how did you find the triangulation to draw the whole face mask? How would I map out drawing a texture for just the lips? Any advice or links to other tutorials would be greatly appreciated. It just doesn't seem to be well documented or I'm missing a keyword in my searches.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Yeah, I'm with you here, there isn't much out there on it. This isn't quite what you're looking for but it's a start: livecodestream.dev/post/detecting-face-features-and-applying-filters-with-javascript/ I've got some stuff planned for filters and textures planned!

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

    thank you for your tutorial its help me for my task, but i get some error on const face = await estimateFaces(video); and this error like this estimateFaces is not defined. Can you help me to fix it?

  • @thunderstack5365
    @thunderstack5365 3 роки тому +1

    Gg awesome stuff

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

    I can detect which face it is based on these points? Like save them in a database an use for face detection

  • @randycook6802
    @randycook6802 3 роки тому +1

    Awesome tutorial! btw, can you use the landmarks to get the actual measurement of your face? I'm trying to get the actual measurements of the eyes and nose something like that. its for my school project. TIA

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Ya, I believe you could, will add it to the upcoming tutorials @Randy!

    • @randycook6802
      @randycook6802 3 роки тому +1

      @@NicholasRenotte alright I will watch out for that, thanks for the response! thanks in advance for the tutorial

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@randycook6802 anytime, let me know if there's anything else you'd like to see. I'm always updating the video list!

    • @yevgeniybondar7509
      @yevgeniybondar7509 2 роки тому

      @@NicholasRenotte i think you need a special webcam for that with 2 cameras

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

    Hey ,using this can i able to detect which is live face which is image or photo by using only react or java script

  • @saboya_dev7947
    @saboya_dev7947 3 роки тому +1

    how did you get those triangulation metrics? did you calculate them or are those standard? I am completely new to this, I was able to follow all along till this point...

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      No problems, great question!! They're standard triangulation metrics for that specific facemesh model.

  • @mohammadzain7726
    @mohammadzain7726 2 роки тому +1

    how can we use this to make a blink detector/ face verification/ yawn detector

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

    Can u help me for make tutorial liveness detection with face gesture like blink, nod, turn head etc?

  • @deepakkarmaDK
    @deepakkarmaDK 2 дні тому

    Do u have same playlist with Angular?

  • @feruzastanov8451
    @feruzastanov8451 3 роки тому +1

    Amazing tutorial. Appreciate it. How can I use it for user login? I want to grant access to a certain page after positive face id. Any resources I can look up? I didn't find anything on that on UA-cam, nor was I able to google it. Appreciate it.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      Heya @Feruz Astanov, the technique that would allow you to do that is called Face Recognition. You can read more about it here: paperswithcode.com/task/face-recognition. Would you like me to do a video on it?

    • @feruzastanov8451
      @feruzastanov8451 3 роки тому

      @@NicholasRenotte oh definitely ! Lol. I have a project to finish in 2 weeks, hope you can drop a video before then. Thank you so so much !

  • @bhadfg
    @bhadfg 3 роки тому +4

    I love it the way you explained........ i have a query - ow do I overlay a 3D object using the TensorFlow "face-landmarks-detection" ML model?
    trying to overlay 3d object on face like glasses but unable to render glasses on facemesh. We also looked into mediapipe but did not find appropriate solution for java script (web).

    Any response will be highly appreciated.

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +2

      Heya @Sachin, I'll be working on this over the next few weeks! Stay tuned!

    • @bhadfg
      @bhadfg 3 роки тому +1

      @@NicholasRenotte thanks...I will be eagerly waiting for this.

    • @romanpulich16
      @romanpulich16 3 роки тому +1

      @@NicholasRenotte any updates on it?

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@romanpulich16 yah, about 50% of the way in the code. Had to knock off some other stuff first.

    • @romanpulich16
      @romanpulich16 3 роки тому +1

      @@NicholasRenotte can't wait for it to come

  • @user-yv6tl2yx7r
    @user-yv6tl2yx7r 3 роки тому +2

    How To Convert Your Photo To Avatar Though Tensorflow Face Landmark Detector?

  • @parsa264
    @parsa264 6 місяців тому +1

    the new version of tensorflowjs is different and i am fully confused now! it doesn't know the model and i don't know how and from where it's requesting to download about 4MB models for each request!! so setinterval can not be the best practice for me! is there anyone here that can help me?!

  • @noahrepublic
    @noahrepublic 2 роки тому

    Really good! Delayed but good, also I get this error "React Hook useEffect has a missing dependency: 'runFacemesh'. Either include it or remove the dependency array"

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

    Error:
    export 'load' (imported as 'facemesh') was not found in '@tensorflow-models/face-landmarks-detection' (possible exports: SupportedModels, createDetector, util)
    What should I do now ?

  • @fassoyangce1075
    @fassoyangce1075 3 роки тому

    Hey! Thank you for a great tutorial. Is there a way to save the facemash network alone as png or something we can use later on?

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому +1

      Yep, probably easier to do it with Python and cv2.imwrite ua-cam.com/video/pG4sUNDOZFg/v-deo.html

    • @fassoyangce1075
      @fassoyangce1075 3 роки тому

      @@NicholasRenotte Awesome. Thank you for reply. 😊

    • @NicholasRenotte
      @NicholasRenotte  3 роки тому

      @@fassoyangce1075 anytime!