Easy Face Recognition Tutorial With JavaScript

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

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

  • @WebDevSimplified
    @WebDevSimplified  5 лет назад +42

    A common issue many people are running into is a 404 error when loading the models folder. This is caused when you are not running your code inside a server that loads the models folder. For example just right clicking the file and opening in Chrome will not work. I use Live Server with VSCode to run the code and that works for me.

    • @LabhamJain
      @LabhamJain 5 лет назад

      compare celebs pic with there duplicates Let's See What Is Approx Percent Of Accuracy

    • @aitsidisaidhamza4451
      @aitsidisaidhamza4451 5 лет назад

      Absolutly wright

    • @ThePixelitomedia
      @ThePixelitomedia 5 лет назад

      which IDE do you use? Is that from microsoft?

    • @LabhamJain
      @LabhamJain 5 лет назад

      @@ThePixelitomedia There Is Only One Editor From Microsoft Named As Visual Studio Code

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@ThePixelitomedia It is Visual Studio Code from Microsoft

  • @marvhenzxx
    @marvhenzxx 5 лет назад +3

    Thank you for helping another poor soul! God bless you brother.

  • @avaria1036
    @avaria1036 5 лет назад +11

    Sir I'm 19 years Pakistani student and fond of learning ML and started following you .

  • @mohamed-alsharkawy
    @mohamed-alsharkawy 4 года назад +4

    First of all, Thank you for this awesome video.
    I've tried to implement this concept to an attendance application using automated snapshots from webcam(s) to record attendance through PHP .... It worked fine on small business but when I tried to apply it to an establishment of 34 thousand employees it took a lot of time to load and forever to reload after every detection.

    • @sergeyharchenko5116
      @sergeyharchenko5116 4 года назад +1

      Project from video (from github) have problem.
      Error: SsdMobilenetv1 - load model before inference.
      You havn`t same problem?

    • @coynicoy13
      @coynicoy13 2 года назад

      Hey, I am doing the same project now. Can you tell me how you got each face's details and stored it to the database?

    • @fabianalvarez2031
      @fabianalvarez2031 2 года назад

      hola podrías ayudarme con algo similar?

    • @mohamed-alsharkawy
      @mohamed-alsharkawy 2 года назад

      @@coynicoy13.
      Created a blob column where I stored the images.

    • @mohamed-alsharkawy
      @mohamed-alsharkawy 2 года назад

      @@fabianalvarez2031
      How can I help?

  • @vincentmuhler8915
    @vincentmuhler8915 5 лет назад +13

    Once again, very nice Tutorial! Thanks for uploading this video.
    Just want to clarify one thing: The second parameter passed to FaceMatcher is not the certainty, it is the distance threshold of two descriptors. The higher the distance the more unsimilar two faces are. If two descriptors have a lower distance than the threshold value we have a "match" and if none of the descriptors match, the face will be unknown.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      That is a good clarification. It is pretty much the opposite of certainty then. Thank you for letting m know.

    • @sathishsaminathan1347
      @sathishsaminathan1347 4 года назад +2

      can you please tell me is their any possibility of finding faces from cctv camera? or from the external video

    • @sathishsaminathan1347
      @sathishsaminathan1347 4 года назад +1

      can you tell me how to get the faces from the ip camera

    • @adamprogrammertech6116
      @adamprogrammertech6116 4 года назад

      you have a yt channel?

  • @redhood7105
    @redhood7105 4 года назад +2

    Always quality content! Always easy to watch. Thanks for your work

  • @samcode4589
    @samcode4589 5 лет назад +14

    Hey Man, you're doing great.
    I'm gonna include this in my college project

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +4

      I hope it goes well for you.

    • @a_h_m_e_d____
      @a_h_m_e_d____ 4 года назад

      @@nuwanmadushanka8501 Bro i really need help regarding a few things , i would be grateful if you provide me with your contact detail, anything , fb,insta, linkedin, gmail.

    • @nuwanmadushanka8501
      @nuwanmadushanka8501 4 года назад

      @@a_h_m_e_d____ contact my insta account nuwan_abeynayake anytime contact me

  • @gaurav_gandhi
    @gaurav_gandhi 5 лет назад +1

    I am using Face-api.js but was not able to find a way to pass multiple images training face recognition.Your code helped a lot, Thanks.

  • @jeantimex
    @jeantimex 5 лет назад +4

    Thanks a lot for the awesome tutorial! I wanted to learn ML and didn’t know where to start, but after watching your videos I am going to learn Tensorflow JS!

  • @vaibhavdashore9412
    @vaibhavdashore9412 4 года назад +5

    Thank you man I'm definitely gonna include this in my college project.

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

    great tutorial. work prefectly. gonna build real time face recognition

  • @rkbelajar2774
    @rkbelajar2774 3 года назад +2

    i'm glad found your channel and subscribed it, Kyle.. extremely helpful..

  • @AnnieTaylorChen
    @AnnieTaylorChen 5 лет назад +10

    As someone who used to mix X-men and Avengers (don't laugh) I might need this very well. :) I look forward to playing with this soon ~~~ ^^

  • @Dev-Coder
    @Dev-Coder 5 лет назад +2

    Thank you so much. I've waited for this.♥️

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      You're welcome!

    • @nuwanmadushanka8501
      @nuwanmadushanka8501 4 года назад +1

      I developed a site to detect faces, drawa face landmarks, detect facial expressions, and age
      Goto face-api-js-demo.netlify.app
      from your computer
      Share this if you can

  • @dannydevito8986
    @dannydevito8986 3 года назад

    Great video. I mean, I could barely wrap my head around what you were saying but the video was still good.

  • @eddiejaoude
    @eddiejaoude 5 лет назад

    Very cool! Nice work :). 14.3k subs, you are really racing ahead

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      Thanks. The channel has really taken off these past few weeks. It is exciting.

  • @IsmailMKgs
    @IsmailMKgs 4 года назад

    Thanks a bunch for this great tutorial dude ... two thumbs up !!

  • @digigoliath
    @digigoliath 5 лет назад

    Awesome. This will be such a fun AI project. Thanks!!!

  • @underbedmonstersmusic
    @underbedmonstersmusic 3 года назад

    Great content and nice T-Shirt!

  • @muhammadalfian4933
    @muhammadalfian4933 4 года назад +14

    can you make a tutorial face recognition with realtime video from your webcam?

    • @AlexGrigorie
      @AlexGrigorie 3 года назад +1

      did you found something ?

    • @sayed1821
      @sayed1821 3 года назад +1

      Capture the first frame and detect from that image.

    • @30secondsEmotions
      @30secondsEmotions 3 года назад

      Already made by him

    • @tekandroid207
      @tekandroid207 3 года назад

      @@30secondsEmotions where is the vidro tutorial bro ?? Anf thank you

    • @nehalprasad7458
      @nehalprasad7458 2 года назад

      I had done it

  • @sokoyaadedolapo9572
    @sokoyaadedolapo9572 4 года назад +1

    Just a suggestion I think you should make the tutorial stage by stage so that people can understand what everything does (e.g Part 1, Part 2)

  • @jannusdomingo5681
    @jannusdomingo5681 3 года назад +6

    Is there any way to achieve this but detecting it via browser camera? It's kinda match the uploaded images to the camera? Thanks great tuts!

  • @splitlang
    @splitlang 5 лет назад +2

    Thank you I hope to become a programming professional someday 🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂🙂

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +3

      I'm sure you will. It just takes time and dedication, and before you know it you will be a full time software developer.

  • @kantyDarius
    @kantyDarius 5 лет назад

    This is so helpful! Thanks man.. Cheers from Argentina 🇦🇷 😊

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      I'm glad you enjoyed it.

    • @saidsinf1180
      @saidsinf1180 5 лет назад

      hi dear what you did to make it run on your laptop please if you have some tips help me am stack

  •  4 года назад +5

    Can We use it to Recognize faces in a video rather than an image ? Any help would be appreciated. By the way, thanks for the awesome tutorial.

  • @SpiritualFacts
    @SpiritualFacts 5 лет назад

    Man, you are rocking!

  • @Rohit-gw8tk
    @Rohit-gw8tk 3 года назад +2

    Thanks for your video & code. Its really helpful.
    Can you post real time face Recognition tutorial?
    I mean to say recognition using webcam for attendance.
    Thanks

    • @nehalprasad7458
      @nehalprasad7458 2 года назад

      I had done this .. if you need help ,I can help

    • @nysazaharim3445
      @nysazaharim3445 2 года назад

      @@nehalprasad7458 hi, how can I contact you?

  • @jacaraba
    @jacaraba 5 лет назад +1

    was fantastic, easy to learning with you, tks

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

    Hello. Thanks for the tutorials, it was a great content. Please also teach about liveness and identity of the image in real time

  • @sangtran-ox6gc
    @sangtran-ox6gc 5 лет назад +1

    From Viet Nam with love 🇻🇳

  • @kwameoteng9610
    @kwameoteng9610 5 лет назад +1

    Great tutorial this is cool. Thanks man

  • @michalshk
    @michalshk 4 года назад

    Thank you for tutorial, great job!

  • @jrbcrypted6642
    @jrbcrypted6642 5 лет назад +1

    Just amazing..finally found it

    • @saidsinf1180
      @saidsinf1180 5 лет назад

      hi dear what you did to make it run on your laptop please if you have some tips help me am stack

  • @rakeshsagar9510
    @rakeshsagar9510 2 года назад

    Thanks for the tutorial. It worked perfectly.

    • @thinagarant8945
      @thinagarant8945 2 года назад

      Bro could you able to share the working code...?? Please

  • @moiraleon8744
    @moiraleon8744 2 года назад

    Can you make a video of walking us through finding good apis and where to get them and the process of how to add them and invoke them in our projects?

  • @manojisaac
    @manojisaac 4 года назад

    Amazing clarity..

  • @CodingIsLife13
    @CodingIsLife13 5 лет назад

    I love your tut man. Hope that you will have real time face recognition tutorial. So that i can use in creating attendance system with face recognition. Thanks a lot. New subscriber here

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      Thank you. If you combine my webcam face detection video with this one you can create real time face recognition yourself.

    • @mwatakasanga
      @mwatakasanga 2 года назад

      @@WebDevSimplified this is what i am trying to do but to no avail. I am a newbee 😅. How did you do this? Do you have a video/article/github you can recommend?

  • @alvaromanuico8459
    @alvaromanuico8459 5 лет назад +6

    Excellent tutorial! :)
    How can I combine this with the webcam for face recognition?

  • @darrylwest3106
    @darrylwest3106 5 лет назад

    Haven't watched yet but awesome brother 😊😀😁

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      Thanks. I hope you enjoy it when you watch

    • @darrylwest3106
      @darrylwest3106 5 лет назад

      Web Dev Simplified yes I really enjoy it. Please can you give your email

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@darrylwest3106 If you want my email it is available on the about page of my channel.

  • @Dylo_tech
    @Dylo_tech 4 года назад

    Good Job man !! How did you find the models pls ?

  • @musubirebashir5276
    @musubirebashir5276 4 года назад

    Thank you very much, it works perfectly.

  • @danielmvumo2117
    @danielmvumo2117 5 лет назад +2

    Thats cool, But what about whole body gesture estimation detection.

  • @aifelsesann4106
    @aifelsesann4106 2 года назад +2

    Hi sir, I was wondering if you could do a live recognition system using both the videos you made with faceapi.js? Thank you sir. Much appreciated

  • @cannyclever3973
    @cannyclever3973 2 года назад

    Great video! Could this method be used for identifying plants and bugs for example?

  • @jayneshdesai5213
    @jayneshdesai5213 4 года назад +1

    Hey, Great Work..
    Can you Show me how to Recognize any person from Webcam?
    For my online examination project on face login
    Hope, You upload in your next part...

    • @ruthvikravikumar8814
      @ruthvikravikumar8814 4 года назад

      Even I'm searching for it. I tried and I'm kinda stuck. Lemme know if you got it??

  • @qwertykeypad789
    @qwertykeypad789 5 лет назад

    Great...video again😀...
    Please create a guide video on project ideas and project necessity for jobs(fresher)

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      That is a good idea. I generally have a hard time recommending specific projects since I think it is important to work on what you enjoy, but I think a basic video on what are some good topics is a good idea.

    • @qwertykeypad789
      @qwertykeypad789 5 лет назад

      @@WebDevSimplified Yes please, it will be great if you will make a sort video on importance & type of projects required for non experience guy or basically student before applying for a job(specially in web and app development)
      By the way thanks for replying.
      You are doing great and unique work.
      I always get highly motivated by you.

    • @AnnieTaylorChen
      @AnnieTaylorChen 5 лет назад +1

      @@qwertykeypad789 I also think making your own projects is the best way to go. I would try to make the project as close as possible as the real life apps. It should have a top level plan, from UI to UX, clean code, good performance etc. So you also need to think whether you should cram everything you've learnt into that(such as multiple animation on one page), or how people would enjoy use your stuff as user. After all company hires programmers to make final products for users, the more understanding you have about the final product, the more chance company will like you. That's my two cents.

    • @qwertykeypad789
      @qwertykeypad789 5 лет назад

      @@AnnieTaylorChen thanks Annie

  • @estilomaniaco
    @estilomaniaco 5 лет назад +9

    Another video on the same but in real time? :o

    • @warodomwerapun616
      @warodomwerapun616 4 года назад +1

      @@CassioLeodegario Great work. You save my days!! Thank you very much, :-)

    • @Kasalop
      @Kasalop 4 года назад +1

      @@CassioLeodegario Hint: you should move the lines `const labeledFaceDescriptors = await loadLabeledImages()
      const faceMatcher = new faceapi.FaceMatcher(labeledFaceDescriptors, 0.6)` outside of the setInterval function. In your code you load every image in every callback of setInterval and train the net again and again. You only have to do this one time at the beginning :)

    • @CassioLeodegario
      @CassioLeodegario 4 года назад

      @@Kasalop I just saw a pull request it was yours? Well, thank you anyway

    • @Kasalop
      @Kasalop 4 года назад

      @@CassioLeodegario No, it's not mine. Shell I review it or create one? Will you maintain this repo? So does it make sense?

    • @CassioLeodegario
      @CassioLeodegario 4 года назад

      ​@@Kasalop I don't know if it is going to be useful for someone but I would be grateful if you take a look :)

  • @carlosamarilla7791
    @carlosamarilla7791 5 лет назад

    my first video play, and only code, is very good video !!!

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      Thank you

    • @saidsinf1180
      @saidsinf1180 5 лет назад

      hi dear what you did to make it run on your laptop please if you have some tips help me am stack

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@saidsinf1180 I use live server with VSCode to make it run.

    • @carlosamarilla7791
      @carlosamarilla7791 5 лет назад

      @@WebDevSimplified hello, excuse me, could you send me an example of the files you have in the models folder please, I would like to see the json format that it has, thank you very much

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@carlosamarilla7791 These files are available in the face-api repository on GitHub as well as on my GitHub linked in the description.

  • @ahmadabubakar6780
    @ahmadabubakar6780 3 года назад

    Thanks for sharing this.

  • @elvisbokonga2811
    @elvisbokonga2811 5 лет назад

    Thanks a lot. It's a good job, guy

  • @ritambhra
    @ritambhra 5 лет назад +1

    Thank you so so much 🌻

  • @copeen4608
    @copeen4608 4 года назад +1

    Hello brother, I would like to know if we can do it with other people for example, a simple face of my friend. Thanks so much for the video, amazing!

  • @jakub7048
    @jakub7048 4 года назад

    Hi! Where did you get that models folder from? btw awesome video :D
    edit: okay, I've found it, it's weights folder on the repo of face api right?

  • @motorazr777
    @motorazr777 5 лет назад

    Youre an amazing developer !!! I wonder how have you learned how to code , I mean reding books or watching tutorials?. Greetings from Nicaragua

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +5

      I learned the basics of coding at college and then taught myself web development by watching tutorials and creating lots of my own projects.

    • @ROHITGUPTA-ui5bf
      @ROHITGUPTA-ui5bf 5 лет назад +1

      @@WebDevSimplified you are really amazing..

    • @motorazr777
      @motorazr777 5 лет назад

      @@WebDevSimplified Thanks for your reply ! And I have heard that before, Doing projects to help people, it helps , youre doing it great. Thanks again !!!

  • @TheFancysDaySpa
    @TheFancysDaySpa 2 года назад

    Your amazing! I would love to use that technology for our students where they could use their phones or camera to verification to proceed to a course! I wonder if that's a option!!

  • @codeaspie2397
    @codeaspie2397 5 лет назад

    Fantastic bro

  • @vinayhinukale7509
    @vinayhinukale7509 4 года назад

    Very awesome

  • @MohammadAbdulHyeShaon
    @MohammadAbdulHyeShaon 4 года назад

    Awesome.......................................

  • @sbdigi
    @sbdigi 4 года назад +1

    Hey man, nice work and really good explanation.
    I just have one question, is it possible instead of pictures in the folder in our computer, to connect the face recognition program with our for example pictures in the MySQL database?

    • @salaeventos1101
      @salaeventos1101 4 года назад +1

      I know the question is not directed to me, but that guy must have so many question to answer. Yes, it's possible. I did that following the step below:
      1) First I downloaded the picture from the database (I don't like to keep it on mysql, but the client keeps) to a folder in the server or local machine. I'm doing that with php script.
      2) Then I labeled the folder with username login.
      3) I've sent the picture that I want to compare and find the faces.
      4) In last step I used faceapi.faceMatcher to find people I want from the Picture, right after parse every folder with faceapi.detectSingleFace. The same ideia was provided in the video and the source code script.js, avaliable in github. Remember to change the local directory to absolute path.
      const URI = 'YOUR FULL PATH';
      Promise.all([
      faceapi.nets.faceRecognitionNet.loadFromUri(URI+'/models'),
      faceapi.nets.faceLandmark68Net.loadFromUri(URI+'/models'),
      faceapi.nets.ssdMobilenetv1.loadFromUri(URI+'/models')
      ]).then(start)

    • @sbdigi
      @sbdigi 4 года назад

      @@salaeventos1101 Wow dude, your answer is awesome! I just got everything from it! Thank you so much!!!

    • @horsemanOfApocalypse
      @horsemanOfApocalypse 2 года назад

      @@sbdigi can I ask why the models are not loading twice? The first time I use it, it would work but on the second time, the word 'Loaded' won't appear.

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

    Estaria buenisimo un video sobre liveness detection javascript

  • @nu2883
    @nu2883 5 лет назад +1

    Thank u, this is cool :)

  • @tervancovan
    @tervancovan 5 лет назад +2

    To run in webstorm builtin server please replace this like from "faceapi.nets.tinyFaceDetector.loadFromUri('models')" to faceapi.nets.tinyFaceDetector.loadFromUri('./models'),

  • @vaibhavmavani1071
    @vaibhavmavani1071 4 года назад +1

    What is a name of Model(AI MODEL for recognize faces) you have used?

  • @borysshcherbyna3577
    @borysshcherbyna3577 2 года назад +1

    When I run it, "Loaded" won't appear, and when I chose a picture it only displays the name but the image itself won't appear. What could be the problem and what should I do to fix it?

  • @departamentocomercialareum5648
    @departamentocomercialareum5648 4 года назад

    Grateful for the work, brother! How do I use the google image base instead of a folder with images?

  • @hearthtofrank8202
    @hearthtofrank8202 5 лет назад

    thank you for the tutorial. I downloaded the sample, it works in chrome, but not in edge, fails to create the D3D shaders. I'll be messing around with it never the less, my favorite face recognition sample so far.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      I'm really glad you are enjoying it. I am not sure if this will work in edge because of the libraries used.

  • @khushnud_eshtemirov
    @khushnud_eshtemirov 3 года назад

    Best bro

  • @ikramikky2838
    @ikramikky2838 5 лет назад

    the best🔥

  • @muhilio669
    @muhilio669 4 года назад +1

    Can you record tutorial, how to make real time face recognition? please)

  • @md.fakweruddinmazumder9063
    @md.fakweruddinmazumder9063 2 года назад

    Thank you .

  • @mkshev
    @mkshev 5 лет назад

    hi! thanks for the video, it's fantastic.
    sorry for bothering but i've got one question and i'll be very glad if you could answer on it 🙄 you did the detection of all faces quantity in the upload pic by this:
    document.body.append(detections.length) (line 22 on the time 10:14 of the video)
    the question is about how could we detect the number of known faces in the picture or that's impossible? 😕 thanks again for the video!

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      All you need to do is create a counter that you increment whenever the faceMatcher finds a match.

    • @mkshev
      @mkshev 5 лет назад

      thanks a lot 😌

  • @trongayaucogi9545
    @trongayaucogi9545 4 года назад +1

    Smart + handsome guy =))

  • @byronospino1402
    @byronospino1402 5 лет назад

    Hi man great vid, I am working on an app using express and i got some problems to implement the face detector, this only works on live server? and other question, can I compare a face descriptor from an image with the face descriptor obtained from my webcam? like save my face and when I put my face in my webcam do something? thanks for reading my comment and have a nice day :)

  • @pytiot65
    @pytiot65 4 года назад

    Great tutorial. thanks. Are there limitations on the number of labeled images *if we define up to 10 will this impact the performance ? is there a way to make the browser using gpu to deal with these functions ?

  • @todo7907
    @todo7907 5 лет назад +3

    Can I combine this with the real-time face detection you made? Btw greetings from Germany 🇩🇪

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      Definitley. I think that is a great idea of a project to work on and is very doable.

    • @saidsinf1180
      @saidsinf1180 5 лет назад

      @@WebDevSimplified thank you for the much value in this video but you didn't covered the environnement setup if you can please clarify this for us thank you

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      @@saidsinf1180 What do you mean? All you need is VSCode and live server to run the code. You can use any server of your choice if you really want.

    • @saidsinf1180
      @saidsinf1180 5 лет назад

      @@WebDevSimplified i tried to run the code with nodejs it's doens't work what do i need to make it work ????? thank you

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@saidsinf1180 You need to read the docs for faceapi. It describes how to run the code with Node.js. My best guess is the images need to be local to your server.

  • @lucasnonatto
    @lucasnonatto 5 лет назад

    Hey, pretty cool video, I have a question, do you think I can use this api with a canvas(webcam) instead images?

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      I have a video already doing this exact same thing with a webcam for face detection, which can be used for face recognition just as easily.

    • @lucasnonatto
      @lucasnonatto 5 лет назад

      @@WebDevSimplified oh, great to know, I think I watched this video that you are talking about, thanks!!

    • @giljeremyditablan2657
      @giljeremyditablan2657 3 года назад

      @@WebDevSimplified So it means we can just implement that with this tut . TIA

  • @kareenasingh2660
    @kareenasingh2660 4 года назад +1

    Hi, thank you for the tutorial.
    I have a doubt, what is the difference between 'label' that you declared first with the result and 'labels' where you stored the name of your characters? Thank you.

    • @IceMetalPunk
      @IceMetalPunk 2 года назад

      I know this reply is very late, but in case you're still wondering: "labels" is the list of all the *possible* labels, indicating the folder names of the training data. "label" (without the "s") is the actual label used on each specific detection to draw onto the box.

  • @krzusiekniwazne
    @krzusiekniwazne 5 лет назад

    Thank you very much.

  • @Rohit-gw8tk
    @Rohit-gw8tk 5 лет назад

    Thanks for your video & code? Can you post real time face Recognition tutorial? Thanks

    • @Rohit-gw8tk
      @Rohit-gw8tk 3 года назад

      @Eklavya Jain Where is it? This video shows recognition using image. I mean to say recognition using webcam.

  • @giddsec
    @giddsec 5 лет назад +2

    Hello, is this possible with Face Recognition with webcam just like your other tutorial. Like real time that recognize who's in the webcam.

    • @dw1s
      @dw1s 5 лет назад

      Up

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      This would require you to combine the code from the previous face detection video I created with this videos code on face recognition.

    • @mactech9702
      @mactech9702 5 лет назад

      @@WebDevSimplified hello pls am getting this error face-api.min.js:1 Uncaught (in promise) Error: Failed to link vertex and fragment shaders.
      at Wr (face-api.min.js:1),
      the error makes the rectangular canvas not to show when tested in video one

  • @jordirhoden300
    @jordirhoden300 5 лет назад +2

    Thanks dude. You're making our lives better.
    First comment🤣

  • @amarnathmanikandan
    @amarnathmanikandan 5 лет назад

    hey its amazing man, great explanation so is it possible to use the same concept on web cams
    like on live recognizing who the person is

    • @icarobernard4355
      @icarobernard4355 5 лет назад

      ruclips.net/video/CVClHLwv-4I/видео.html here

  • @disismoyoutube
    @disismoyoutube 5 лет назад +1

    My question is "Why not NPM?"
    And it would be great if you talk about how to teach the app to validate faces! like make a login system using the library

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      I decided not to use NPM because I didn't want to add extra complexity to the codebase. You are more than welcome to use NPM though. I also like your login idea.

    • @disismoyoutube
      @disismoyoutube 5 лет назад +1

      @@WebDevSimplified And I forgot to say "Great video". it was so helpful, Thanks

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

      Hello, great video!! I agree, would love to see this implemented in npm!!! Could you make the exact same one in react or next?

  • @Kelleymuro
    @Kelleymuro 4 года назад

    Do you have to loop through a labled image folder in order for this to work? What if you just had 1 folder with lots of different images? And the images were labeled the names of the people.

  • @xushengou348
    @xushengou348 4 года назад +1

    TYSM

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

    Thanks again for this video. I've taked your example code and added to a wordpress page and it works, well almost. However, I cannot debug the problem because I get this error when opening the Sources tabe in the Chrome Dev Tools "Request content was evicted from inspector cache". I've spent hours trying to find out what is stopping me degugging this. Do you have any ideas? Many thanks BTW, I cannot find the first video you mention which I thin is just about face detection not recognition

  • @ThePentavia
    @ThePentavia 4 года назад +1

    detections is undefined when i load live url image location into fetchImage method

  • @muttahhidjomeer4071
    @muttahhidjomeer4071 5 лет назад +1

    Can you please make a video on this topic where the image are received from a real time webcam just as the other video and compare to existing photos

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      I do not plan to make a video on this since I have a video doing facial detection with a webcam and that can be combined with this video to do exactly what you are trying to do.

    • @takeshiambiru5722
      @takeshiambiru5722 5 лет назад

      Yes, I want this too.

  • @edelciojunior3917
    @edelciojunior3917 4 года назад

    I challenge you to create a photoshop-style app (online in javascript), where we can do small manipulations on images and save them.

    • @WebDevSimplified
      @WebDevSimplified  4 года назад +1

      This is actually going to be one of my next videos. I already have it recorded.

  • @musubirebashir5276
    @musubirebashir5276 4 года назад +1

    I followed you and every thing worked but failed at fetching images, how can overcome this please need your help.

  • @hayethadjar3388
    @hayethadjar3388 5 лет назад +1

    Thanks for video, just a question: how to store emotions results in db mysql?

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      You would need to setup a server with a DB and then in the frontend you would need to hit an API on that server to store the emotion.

  • @zhengphyto2161
    @zhengphyto2161 5 лет назад

    thanks sir...

  • @khushnud_eshtemirov
    @khushnud_eshtemirov 3 года назад

  • @athulyav7944
    @athulyav7944 3 года назад +1

    Is it possible to make this using webcam instead of images?

  • @sriharshithakaruturi3084
    @sriharshithakaruturi3084 4 года назад

    How to run the file?
    If I am simply clicking on the index.html it's asking for the image input and after that showing a blank screen. How should I run the code?

  • @kareenasingh2660
    @kareenasingh2660 4 года назад +1

    Hi, thank you so much for this! I have a question. How can I get the images from a database for eg mysql instead of getting it from the internet? Thank you again!

  • @htetwaiyanaung6082
    @htetwaiyanaung6082 4 года назад

    Great! could I get the flow chart of this system?

  • @Thesuperdanilo1
    @Thesuperdanilo1 3 года назад +1

    Can we do the same but with a webcam ?

  • @ammarjunejo3194
    @ammarjunejo3194 3 года назад

    Hi @Web Dev ..the resizeddetecctions object does not have a descriptor inside it. not sure if it changed or what?

  • @kingstanley7709
    @kingstanley7709 2 года назад

    Hello Thank you for the great tutorial. can I use image from webcam to recognize image from the labelled image saved of users of a system? I tried doing this but it keeps getting zero detections.