Face landmarks detection - Opencv with Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2024

ความคิดเห็น • 103

  • @thedeveloper7677
    @thedeveloper7677 4 ปีที่แล้ว +18

    It's the best. I mean I have never seen a person that shows these things on a simple tutorial. You're the best :)

  • @ojkolsrud1
    @ojkolsrud1 3 ปีที่แล้ว

    So much better than doing this using Haar Cascades. It's virtually jitter free. I'm rewriting my code for dlib instead of haar now!

  • @BasitAli-wy2sq
    @BasitAli-wy2sq 3 ปีที่แล้ว

    you explain it all in a very simple and easy way. Its very helpful.. Thank You

  • @praveer82
    @praveer82 4 ปีที่แล้ว +1

    Became fan of you sir, your detailed explanation was awesome..want to learn more in computer vision from you..keep up the good work sir

  • @sumyab.3669
    @sumyab.3669 5 ปีที่แล้ว +1

    It is very clean to understand and follow. Keep it a good job

  • @mihirgupta3824
    @mihirgupta3824 5 ปีที่แล้ว +2

    Great tutorial!! Straightforward and easy to follow. Thanks!

  • @ingmario7
    @ingmario7 5 ปีที่แล้ว +1

    Excelentes tus videos. He aprendido mucho con usted, muchas gracias y saludos desde Venezuela.

  • @franciscolima278
    @franciscolima278 3 ปีที่แล้ว

    nice explanation! One suggestion - reduce text size to allow for a more compact view of your script. The column on the right looks microscopic by comparison

  • @nabilaagnacelia
    @nabilaagnacelia ปีที่แล้ว

    Thank you so much sir, i understand with your explain

  • @bradasfaslinafharf5513
    @bradasfaslinafharf5513 5 ปีที่แล้ว +1

    Thank you very much! Very easy to understand and digestible!

  • @muselektroniks416
    @muselektroniks416 3 ปีที่แล้ว

    awesome tutorial, been looking for this for a long time now.

  • @sayaccayas4101
    @sayaccayas4101 3 ปีที่แล้ว

    thanks man! you are the only guy explaining everything clearly and giving the source code. thanks! but I cant get the source code via your website , I wanted to download source though it is 20-30 lines of code :)

  • @ranjithkumar539
    @ranjithkumar539 4 ปีที่แล้ว +2

    Great video tutorial that I've ever seen.
    Such a wonderful

  • @z1pppyyyy
    @z1pppyyyy 4 ปีที่แล้ว +1

    The best tutorial. Thank you very much.

  • @keyo3945
    @keyo3945 5 ปีที่แล้ว +6

    Great
    thank you soooo much
    keep up good work

  • @TurkishiOSGaming
    @TurkishiOSGaming 4 ปีที่แล้ว

    You're awesome man! I learn it because of you.

  • @filmneri
    @filmneri 5 ปีที่แล้ว

    Thanks! Simple and straightforward

  • @samardhiman4365
    @samardhiman4365 3 ปีที่แล้ว

    Great job sir ...good explanation.

  • @MahediHasan-un9to
    @MahediHasan-un9to 4 ปีที่แล้ว

    Thank you man, it was very helpful and I am looking forward to watch your other videos .............

  • @ahmedhbaieb1973
    @ahmedhbaieb1973 4 ปีที่แล้ว +2

    Sooooo underrated sir thank you

  • @surabhinalamwar6264
    @surabhinalamwar6264 4 ปีที่แล้ว

    Thank you very much sir. Your video helped me a lot.

  • @jesusmtz29
    @jesusmtz29 2 ปีที่แล้ว

    i really like your tutorial style. I'm curious if you've talked about working with much longer and higher resulution video. I've had trouble before using the naive opencv way of reading frames and processing at the same time. My program will crash. Imutils seems to be a popular approach but i dont see many yt videos about this

  • @jonatapaulino
    @jonatapaulino 2 ปีที่แล้ว

    Thanks for the video, it's one of the best I've ever seen. There is a way to save these milestones in a database or in a csv file and then do a classification with a neural network. Do you have any videos you want? Thanks.

  • @emilytse8572
    @emilytse8572 5 ปีที่แล้ว +1

    Thank you for the tutorial.
    Please do a face effect filter.
    Thank you.

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว +1

      That was already in my plan :) I'm going to make it soon

  • @SoulscapeJourneys
    @SoulscapeJourneys 4 ปีที่แล้ว

    It was really helpful! Thank You!

  • @AbdelhakimOuafi
    @AbdelhakimOuafi 5 ปีที่แล้ว +2

    Great Tutorial

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว +1

      thanks

    • @AbdelhakimOuafi
      @AbdelhakimOuafi 5 ปีที่แล้ว

      @@pysource-com Just Don't Stop on this opencv Tutorial it's soooo Usefull for me Thank's a lot

  • @nikhilrana8800
    @nikhilrana8800 5 ปีที่แล้ว +1

    I am not able to get that file shape_predictor_68_face_landmarks.dat?? Please Help

  • @arunaluweersooriya9699
    @arunaluweersooriya9699 4 ปีที่แล้ว +1

    superb. very simple and understandable. (Y)

  • @Joel-if2bg
    @Joel-if2bg 3 ปีที่แล้ว

    Thanks so much man!!

  • @MrArdo-branch-main
    @MrArdo-branch-main 4 ปีที่แล้ว +1

    can you make a tutorial of the face orientation?

  • @MuhannadGhazal
    @MuhannadGhazal 3 ปีที่แล้ว

    many thanks.

  • @bernardfavre4411
    @bernardfavre4411 3 ปีที่แล้ว

    Great tutorial , thank :

  • @jamo4545
    @jamo4545 4 ปีที่แล้ว

    thank you soooooo much you are a life saver

  • @ganeshkumarm9510
    @ganeshkumarm9510 ปีที่แล้ว

    Sir!!what content is present in shape_predictor_68_face_landmarks.dat file...

  • @liliput9994
    @liliput9994 4 ปีที่แล้ว

    Good work

  • @saikumar-gc2yh
    @saikumar-gc2yh 5 ปีที่แล้ว

    hi sir ur videos are too good these are helped me so much thanks for that.sir my point is every face is unique face and have unique facial
    coordinates points so y dont we have to store them points and used to recognise faces .if possible please doo a video sir.thank you in advance from sai kumar

  • @softwarekinga2z995
    @softwarekinga2z995 2 ปีที่แล้ว

    Super sir...

  • @ubaidahmed8004
    @ubaidahmed8004 4 ปีที่แล้ว

    very nice video thank you

  • @alihossini6292
    @alihossini6292 4 ปีที่แล้ว +1

    Hi
    How can create bone and animation character in blender with opencv motion capture

  • @N7aziz
    @N7aziz 4 ปีที่แล้ว

    thank you good sir

  • @jayalthr9081
    @jayalthr9081 4 ปีที่แล้ว

    great content!

  • @wuttisakphettongduang5672
    @wuttisakphettongduang5672 4 ปีที่แล้ว

    Teach you to use the detected value. About how to do it

  • @shibinliu5210
    @shibinliu5210 5 ปีที่แล้ว

    I compiled and ran the same face recognition in the C++ environment, but when I recognized it under the camera, those points are always not stable enough. I tried cmake to compile the SSE4 command and published it as relaase, but I still see it clearly. The feature points jump, what is the reason for this? By the way, I am using a dell notebook.

  • @acrux2061
    @acrux2061 2 ปีที่แล้ว

    Hi there... Currently, I'm working on my thesis and I want to ask something. Can I create a custom landmark predictor? If I can create my own, how to create it? because I'll be using it for my thesis. Then who create "shape_predictor_68_face_landmarks.dat" file? Is it from Python it self or who?
    Thanks btw 😁

  • @karthiixk
    @karthiixk 3 ปีที่แล้ว

    thanks man:)

  • @akshatahipparkar2176
    @akshatahipparkar2176 2 ปีที่แล้ว

    which platform are you using to run this code

  • @vinsmokearifka
    @vinsmokearifka 5 ปีที่แล้ว +1

    God blessed you

  • @kalikalil9517
    @kalikalil9517 4 ปีที่แล้ว

    great job bro thx :)

  • @saurabhpal6039
    @saurabhpal6039 4 ปีที่แล้ว +2

    Where is the link to download .dat file

  • @hzlin6655
    @hzlin6655 5 ปีที่แล้ว +2

    how does it looks like, when you wearing a mask?

  • @danieladama8105
    @danieladama8105 3 ปีที่แล้ว

    Thanks Bro

  • @nidhishetty3396
    @nidhishetty3396 4 ปีที่แล้ว

    Thank You!!

  • @emo10001
    @emo10001 4 ปีที่แล้ว

    This is great! I really appreciate your video. Is there a way to output this data to Blender, or to a file that Blender can read like fbx?

  • @yusrashaikh1259
    @yusrashaikh1259 5 ปีที่แล้ว

    hi! i ran the program and it works, but not as consistently as yours. the landmarks dont stay on my face when i move it around. I wanted to know if poor video quality is causing this? any suggestions for this? also, the detection does not work if i wrap a scarf around my head. Is there any way to detect the face in this condition? thanks a lot!!!

  • @AI_CANISTER
    @AI_CANISTER 4 ปีที่แล้ว

    please can i do this to get the points
    left_top_pts, right_buttom_pts = face[0] , face[1] ?

  • @prathyushaguduru8622
    @prathyushaguduru8622 4 ปีที่แล้ว +1

    Where can I get that .dat file?

  • @rohitdas6005
    @rohitdas6005 4 ปีที่แล้ว

    After faces = detector(gray) there is no array in the output it's just showing a blank rectangle object

  • @nadhif_nasrul
    @nadhif_nasrul 3 ปีที่แล้ว

    How we Apply this face landmark on real time capture?

  • @gunabalang9543
    @gunabalang9543 4 ปีที่แล้ว

    where is the link for the shape predictor file

  • @luisjaviercrespo3208
    @luisjaviercrespo3208 3 ปีที่แล้ว

    Hello good day .
    where do you write all the commands?

  • @milenastan1326
    @milenastan1326 5 ปีที่แล้ว

    Tank youu

  • @ramakrishnachivukula9266
    @ramakrishnachivukula9266 4 ปีที่แล้ว

    Awesome tutorial.... I am getting an error "RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat" this python 2.7 and dlib installed ....where can i find that .dat file

    • @pysource-com
      @pysource-com  4 ปีที่แล้ว +2

      hi, you need to download this file: github.com/AKSHAYUBHAT/TensorFace/blob/master/openface/models/dlib/shape_predictor_68_face_landmarks.dat
      and put it on the same folder where you have your python file

  • @tahaanwar5224
    @tahaanwar5224 5 ปีที่แล้ว

    hey Pysource , were'nt you gonna post a tutorial on connecting opencv with Ip cam....did you abondoned that project or is it coming soon...btw i managed to connect the ip cam of android with opencv but only with the same network... i cant figure out how to do it when networks are different.

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว

      Hi, I didn't abandon that! I will do that soon as well

    • @tahaanwar5224
      @tahaanwar5224 5 ปีที่แล้ว

      @@pysource-com looking forward to it

  • @wajdibrahem7617
    @wajdibrahem7617 4 ปีที่แล้ว

    how can i get dlib library in pycharm pleaze

  • @technomancer6554
    @technomancer6554 5 ปีที่แล้ว

    please tell how to stop landmarks from shaking?

  • @ryansupit7038
    @ryansupit7038 3 ปีที่แล้ว

    is it posibble to measure distance between 2 facial landmark? im learning it for my project :)

    • @pysource-com
      @pysource-com  3 ปีที่แล้ว

      Yes, it's possible to measure the distance in pixels. you need to treat that as basic geometry and calculate the distance between two points: (x1, y1) and (x2, y2)

  • @zainabziani1136
    @zainabziani1136 4 ปีที่แล้ว

    i followed your tutorial about how to install dlib, I downgraded my python version from 3.7.1 to 3.6.8 but it seems that it is not supported by opencv because i'm getting an error trying to install it. I would be thankful if you can suggest some solution

    • @arturcs2365
      @arturcs2365 4 ปีที่แล้ว

      I have compiled python 3.7 version using cmake and vs 2019 . Search python packaging , sdist --wheel part .

  • @anmolsingh4147
    @anmolsingh4147 3 ปีที่แล้ว

    getting an attribute error that dlib has no attribute 'get_frontal_face_detector'

  • @realgamer8497
    @realgamer8497 2 ปีที่แล้ว

    I am getting error as dlib has no attribute get_frontal_face_detector()

  • @jawadhassan6954
    @jawadhassan6954 4 ปีที่แล้ว

    how to get landmarks in numeric values using dlib

  • @ngodingsakti4204
    @ngodingsakti4204 4 ปีที่แล้ว

    detector is not defined.. why ??? please help me guys

  • @davideraffo3721
    @davideraffo3721 3 ปีที่แล้ว

    Is it possible to integrate this code with face recognition with neural networks?

    • @pysource-com
      @pysource-com  3 ปีที่แล้ว +1

      It's possible, though this currently is outdated as there are better methods out there, now in 2021.
      see this one among my latest videos th-cam.com/video/LF7Lgz4_lus/w-d-xo.html

  • @kylemcmullan6481
    @kylemcmullan6481 4 ปีที่แล้ว

    This is really good
    But how did you create that .dat file?

    • @abdechafineji8782
      @abdechafineji8782 4 ปีที่แล้ว

      github.com/AKSHAYUBHAT/TensorFace/blob/master/openface/models/dlib/shape_predictor_68_face_landmarks.dat

  • @bhuvneshsaini93
    @bhuvneshsaini93 4 ปีที่แล้ว

    Hi, how to hover one image on another image so that we can find coordinates of second image on first image and save that .

  • @welidbenyahmed8941
    @welidbenyahmed8941 3 ปีที่แล้ว

    How to deal with this error: "module 'dlib' has no attribute 'get_frontal_face_detector' " ?

    • @118_freyashah7
      @118_freyashah7 2 ปีที่แล้ว

      have you find any solution for this ? I am also getting same error.

  • @Hitesh-Salgotra
    @Hitesh-Salgotra 4 ปีที่แล้ว

    Traceback (most recent call last):
    File "C:/Users/hitesh/PycharmProjects/DriverDrowiseness/faceDetectionSample2.py", line 12, in
    faces = detector(gray)
    TypeError: 'NoneType' object is not callable
    [ WARN:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap_msmf.cpp (674) SourceReaderCB::~SourceReaderCB terminating async callback
    hey pysource plz help me out

  • @giosicat2272
    @giosicat2272 4 ปีที่แล้ว

    how to create those landmarks tho?

  • @hzlin6655
    @hzlin6655 5 ปีที่แล้ว

    is it same as openface?

  • @balkrishnashah1574
    @balkrishnashah1574 5 ปีที่แล้ว

    How i can create training model in this dlib???

    • @gekacrazy
      @gekacrazy 5 ปีที่แล้ว

      dlib.net/ml.html#shape_predictor_trainer

  • @shakibahmed8698
    @shakibahmed8698 4 ปีที่แล้ว

    In windows 10 why dlib module installed

  • @jpalepu-q8s
    @jpalepu-q8s 5 ปีที่แล้ว

    how to install dlib?

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว +1

      check here th-cam.com/video/HqjcqpCNiZg/w-d-xo.html

  • @alokkr029
    @alokkr029 ปีที่แล้ว

    play at 1.5 speed thanks me later

  • @gurveersingh656
    @gurveersingh656 3 ปีที่แล้ว

    github.com/davisking/dlib-models/blob/master/shape_predictor_68_face_landmarks.dat.bz2 (link for the .dat file)

  • @1viewer700
    @1viewer700 5 ปีที่แล้ว

    Windows ~> pip install dlib : Error

    • @pysource-com
      @pysource-com  5 ปีที่แล้ว

      you can see here how to install dlib th-cam.com/video/HqjcqpCNiZg/w-d-xo.html

    • @ApPillon
      @ApPillon 4 ปีที่แล้ว

      Just don't have python version greater than 3.6 and you'll be alright

  • @marcroallen2450
    @marcroallen2450 5 ปีที่แล้ว

    为什么我运行后打开视频特别卡顿?