Both of your codes are perfect. Easy to execute. Thank you very much Misbah
@19daredevill4 жыл бұрын
Thank you. I'm glad it worked for you.
@amysmith10243 жыл бұрын
Im trying to use this code but i'm getting the following error, can you please tell me why? I think I might ned to use an older version of dlib? RuntimeError Traceback (most recent call last) in () 3 hog_face_detector = dlib.get_frontal_face_detector() 4 ----> 5 dlib_facelandmark = dlib.shape_predictor(shape_predictor_68_face_landmarks.dat) RuntimeError: Unexpected version found while deserializing dlib::shape_predictor.
@mahmouds-nw6jz4 ай бұрын
I faced the same issue
@pratikjugantmohapatra183 жыл бұрын
SIR ,,THE DATA FILE (.DAT) IS NOT OPENING IN WINDOWS .PLEASE HELP????????????????????????????????????????????
@robertviragh6527 Жыл бұрын
unbelievably cool, worked perfectly first time. awesome!!!
@shashankdevadiga2646 Жыл бұрын
what to do with the dowloaded dat file?
@sulthan7207 Жыл бұрын
How do you do that? I already unzip the file but it doesn't works, also i tried give it a path, still it give me error
@hanumanthuanil17883 жыл бұрын
Runtime error:- unable to open" shape_predictor_68_face_landmark.dat"... getting like this. Then wt shd I do??
@paramkhurana55783 жыл бұрын
I am getting the same error issue? Were you able to resolve it? Thanks!
@youssefgamal19263 жыл бұрын
download this file and source code from my channel ..this is work
@muhammadsyafiq98 Жыл бұрын
i have issues with "unable to open shape_predictor_68_face_landmarks.dat". help me please
@deepthiacharya99919 ай бұрын
Same issue, Did you got the solution?
@RukmoddinPatel-bs2lq Жыл бұрын
On which IDE u r running the code
@shanlk366 Жыл бұрын
cant we di this to images ?
@pratikjugantmohapatra183 жыл бұрын
the data set id=s not avalable in github.....please fix it
@ahmadxrizvi9 ай бұрын
I want to classify face shape for a school project but no one in my team knows ml, can you please guide me?
@iamrrricardo2 жыл бұрын
I would like to know about the get front face detector and shape predictor. what is the face detection tenique that get front face detector use? thank you!
@saipraneeth90643 жыл бұрын
the data file is in binary we cant execute it..please send the raw file
@sefalumar4 жыл бұрын
Thanks for the tutorial it ist great for a quik overview!!
@tanmaybhikar3913 жыл бұрын
I am getting error in hogtoch front face line Can you please help in that
@devamdhingra6782 жыл бұрын
use of .dat file what does it contain?
@ibrahimcekirri37903 жыл бұрын
Thank you for the video! What do you suggest for masked faces ? To detect and get the distance between them ?
@youknowwho30 Жыл бұрын
Hey , I'm working on the same thing. Did you figure out how to get distance between two points?
@charlottehuynh13162 жыл бұрын
hey Misbah, thanks for your tutorial!! I'm running into an error of saying "module dlib has no attribute get_frontal_face_detector". I searched for solutions but still stuck. Any suggestion from your side?
@subramanyam2699 Жыл бұрын
Download the file from my comment bellow and place it in the same forlder where the python file exit. Bcz that file is reffered in the code as well.
@manzuree99042 жыл бұрын
thank you so much for the video ! but how can i run or open the . dat file ?
@eulamieraz43833 жыл бұрын
Hi, I'm just starting to learn python, where to find the command line that you mentioned?
@prabhum45023 жыл бұрын
Windows+R and type cmd then click ok command prompt will be opened
@pratyaypoddar30943 жыл бұрын
Can you say which software do you use
@shivambansal35604 жыл бұрын
Really appreciable work !! I'm troubling with dataset extension and type of dataset... Could you help me with this?
@19daredevill4 жыл бұрын
Sure, what's the error or issue
@shivambansal35604 жыл бұрын
@@19daredevill dlib_facelandmark = dlib.shape_predictor("/content/drive/MyDrive/Colab Notebooks/NN_dataset/shape_predictor_68_face_landmarks.dat") RuntimeError: Unexpected version found while deserializing dlib::shape_predictor.
@Arun_Kumar_x864 жыл бұрын
@@shivambansal3560 did u solve it? i have the same issue
@harjeetsinghgoldy14 жыл бұрын
@@shivambansal3560 you forgot to unzip the zip file... enjoy :P
@harjeetsinghgoldy14 жыл бұрын
Unzip the file first :)
@pritam62873 жыл бұрын
sir, first of all, thanks for the explanation. This video is helpful for me to understand the concept of the drowsiness detection system as well as the eye aspect ratio. But sir I got an error that unable to open shape_predictor_68_face_landmark.dat. what should I do sir?
@19daredevill3 жыл бұрын
Hi, you may be missing the model file. See if you are missing any steps from the video. Let me know at what step you ran into that issue. thanks.
@pritam62873 жыл бұрын
@@19daredevill no sir, i am not missing any step from the video. But still i got error that unable to open 'shape_predictor_68_face_landmarks.dat'
@@pritam6287 sir i too got the same problem does the path worked?
@aryamehta0070073 жыл бұрын
Can make a video on how i can use dlib in matlab ?
@sooryabalachandran4855 Жыл бұрын
Which IDE can be used?
@FauziNomad9 ай бұрын
VS Code/ PyCharm
@purnimayadav95093 жыл бұрын
Hey Misbah! Great video, it really helped me a lot. Quick question: Im getting error in this line: gray_images = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) it says error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' Can u help plz!? I'm using google colab and have uploaded the predictor file as well.
@harishchandra.medikonda2 жыл бұрын
same problem
@kevinlema60242 жыл бұрын
they found the solution?
@nitisarath2 жыл бұрын
any one know how to draw lines between the dots
@manzuree99042 жыл бұрын
did you find out how ? i really need this for my project
@nitisarath2 жыл бұрын
@@manzuree9904 Nope i ended up changing my project sorry man
@Mohseeeenx1113 жыл бұрын
(, RuntimeError('Unexpected version found while deserializing dlib::shape_predictor.'), ) im getting this error
@19daredevill3 жыл бұрын
Some library seems to be incompatible. Are you using the same setup as mine
@Mohseeeenx1113 жыл бұрын
@@19daredevill yes sir
@bhushamjayalakshmi55073 жыл бұрын
Bro can you write code in matlab
@deekshagupta37863 жыл бұрын
hey can u tell me where can i find the ppt on this becoj u said Matlab i got the online ppt in Matlab but since i m using his code so where can i found this?
@ferozmohammad77213 жыл бұрын
Landmark detection is not happening with all partss..only jaw line is happening