If you are facing "unsupported image type, must be 8bit gray or rgb" issue please install python 3.7. For more details connect over Instagram.
@bharaths65385 ай бұрын
Which 3.7 python version?
@project_guru5 ай бұрын
@@bharaths6538 any
@endstarcomedy5984 ай бұрын
Bhai iska pura setup per bhi video banao
@qwertykishore4 ай бұрын
This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.
@endstarcomedy5984 ай бұрын
@@qwertykishore ame apne school Kai liye ye project bana hai
@Jasleenkaur12317Ай бұрын
I am currently working on this project, this video is really helpful . Great work 👍
@refresh490Ай бұрын
is this work,did you finish this
@vivekkenjale6 ай бұрын
its working but make a video of how to integrate it in a car 🚗 and also discuss what upgradation we can make in existing system....😌
@mugishhh5 ай бұрын
Literally the best video and the best person that helped me with my project. THANK YOU SO MUCHHH !!!
@project_guru5 ай бұрын
Glad you liked it. All the best 💯
@NithinsTube2 ай бұрын
Bro urgent, I am doing a school project , and I have installed all libraries except dlib, I have installed vs code 2022 with c++ package, but still I get error , it says failed to build installable wheels, when I check for the cmake version it says it is not recognised , but when I install it with pip install cmake it says already satisfied, what should I do 😢
@project_guru2 ай бұрын
@@NithinsTube please install the cmake software as well.
@ZeelShah-t1yАй бұрын
@@project_guru same issue still not working
@aakanshakadam7085 Жыл бұрын
Can u please just help me with the visual studio thing from the start of the project means after installation what the steps or process
@project_guru Жыл бұрын
Once installed kindly run it and there you'll find an option to download multiple packages. Kindly choose desktop development with c++
@stevenzambrano0318 Жыл бұрын
Hi, Me again, how can I implement this project in a Jetson nano. Could you give me some advice of how can I use the dlib library on this harware architecture?
@BurraShiva25 Жыл бұрын
Please music is not inserting no file found in directory,it seems
@project_guru Жыл бұрын
please add a music file in the same directory.
@NithishReddy-d9h Жыл бұрын
I have installed the imutils even its showing module not found .. Iam executing the code in IDLE
@project_guru Жыл бұрын
Kindly check if you have added python to the path or not.
@destinbrav4903Ай бұрын
can we integrate this in web app, where the police is getting the alarms and tracing the particular car in which the driver is dosing?
@nikitabhalke60145 ай бұрын
Failed to build installable wheels for some project.toml based projects (dlib)😭😭 plz help me
@project_guru5 ай бұрын
@@nikitabhalke6014 kindly install desktop development with C++ package using visual studios.
@tanushrikhandare1025 Жыл бұрын
Actually i have one question its showing error python exe. M pip install -- upgrade pip for update and run what should I do
@project_guru Жыл бұрын
It means a new version of pip is available, you can run the same command to upgrade it but isn't a necessity. There must be a different error message. Kindly check it.
@TGBBOSS-m3f Жыл бұрын
can you make the video on installation of dlib library because when i install then this type of error occure ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
@project_guru Жыл бұрын
Please install desktop development with C++ package using visual studios. Once done make sure to install cmake using command "pip install cmake" and then install dlib using "pip install dlib".
@AshwiniSapkale-q8k2 ай бұрын
@@project_guru i did the same process but still getting error, is there any alternative option for dlib
@AKASHUC-wl8pw9 ай бұрын
Which app we should run the program pycharm or virtual studio
@project_guru9 ай бұрын
Either would go.
@cisemayaz666211 ай бұрын
what if my head drops infront of me , it doesnt recognize the eyes so doesnt give the alert
@project_guru11 ай бұрын
Camera should be strategically placed in such a position that it anyhow capture the eyes but yeah in any scenario if the eyes aren't captured a condition for playing alarm can be implemented.
@Sandeepkumar-et3os5 ай бұрын
Sir ,it's not running in Python 3.12.4 .Its showing the error Error in detection: Unsupported image type, must be 8bit gray or RGB image.Please help
@project_guru5 ай бұрын
@@Sandeepkumar-et3os please use python 3.17
@NithinsTube2 ай бұрын
Bro, I have installed the python 3.7.7 and dlibs older version 19.24.4, but now when i execute it says, hello from the pygame community,. Https…….., urgent for school project bro 😭
@project_guru2 ай бұрын
It means the code is running.
@JEEVAHARINIKB7 ай бұрын
I want to know the accuracy of the model is that possible?
@project_guru7 ай бұрын
You can test the model under various conditions (lightning, distance from camera, different face types, age) to calculate the final accuracy of the model.
@lovekeshjain5327 Жыл бұрын
hi i am getting this error (unable to open shape_predictor_68_face_landmarks.dat) what to do?
@project_guru Жыл бұрын
Which version of dlib are you using?
@room507910 ай бұрын
@@project_guru how to check i am also getting same error
@project_guru10 ай бұрын
@@room5079 which version of dlib are you on?
@room507910 ай бұрын
@@project_guru solved bro thanks for your reply😊
@Community-te6jf2 ай бұрын
Bro how to check the version me also same issue now
@yashneetkaur-rx4gw7 ай бұрын
heyy thank you for your help, my shape predictor file is not opening on pc , so error is occurring and it says syntaxError: (unicode error) 'unicodeescape' codec can't decode and moreover that the file cannot be opened so what should i do ?
@project_guru7 ай бұрын
I believe you are using single backsplash while specifying the path, kindly use double backslashes.
@sonamsahu48076 ай бұрын
Sir plz Rply face dector 68 wali file run ni ho rahi j@@project_gurumene use script folder me hi Raha h
@project_guru6 ай бұрын
@@sonamsahu4807 Please mention kya error a rha hai?
@TrayeeNayak5 ай бұрын
I am getting error as unsupported image type, must be 8bit gray or RGB image . And error is in the line "subjects = detect(gray, 0) " even if I have ran the same code . Kindly help
@project_guru5 ай бұрын
Please install python 3.7.
@emiryldz33711 ай бұрын
The project works very well, but neither the error message nor the music part works. I don't get any errors in the code either. Can you help me?
@project_guru11 ай бұрын
Did you checked if the frame count is exceeding the limit entered?
@emiryldz33711 ай бұрын
How can I check this for my laptop?@@project_guru
@snehadogganal8445 ай бұрын
Sir, plz help me to get rid of this error, it shows like: unable to open shape _predictor_68_face_landmarks.dat. And my dlib version is 19.24.99, and python version is 3.12.4
@@Computerscience-bd6qq have you passed the file path correctly?
@harshitasrivastava14637 ай бұрын
hi, can i get the project report for this?
@project_guru7 ай бұрын
Sure please drop me an email on akshaydhiman685@gmail.com
@keerthikolla9096 Жыл бұрын
I am not getting this and tomorrow is my review in my college can u help me with the errors
@project_guru Жыл бұрын
Please tell me the errors you are facing.
@AshuAshu-ne7yh Жыл бұрын
Sir couldn't open shape predictior landmark datasets please help me sir
@project_guru Жыл бұрын
Please share the exact error message you are getting.
@AshuAshu-ne7yh Жыл бұрын
Dlib.shape_predictor("model/shape_predictor_68_face_landmarks.dat Error unable to open model/shape prictor
@AshuAshu-ne7yh Жыл бұрын
Shape predictior Can't open sir plz help me sir
@project_guru Жыл бұрын
kindly check the path of the shape prediction file.
@bhanutejacherupally2797 Жыл бұрын
Dlib not installing bro please help me getting legacy-install-failure error
@project_guru Жыл бұрын
Kindly install the dependencies required to install dlib. Download and install Visual studios, run it and install Desktop development using c++ package after that install 'cmake' using 'pip install cmake' and finally 'dlib' using 'pip install dlib'.
@project_guru Жыл бұрын
Try upgrading your pip as well.
@KhushiJain-xx2yk8 ай бұрын
I'm getting error in installing dlib.I have installed desktop development with C++ package using visual studios and then run the commands you mentioned for cmake and dlib,still same error comes. Please help me out
@project_guru7 ай бұрын
Please make sure that the 10Gb+ Desktop development with C++ package is properly installed. If the error continues please reinstall python and while installing make sure to build path.
@phatannaziya65115 ай бұрын
If We excute this code using python-3. 12 ??
@project_guru5 ай бұрын
@@phatannaziya6511 python 3.12 will use newer version of dlib which doesn't have some of the required functions.
@phatannaziya65115 ай бұрын
We install modules in any version or specific version is there for this project
@harisandy3 ай бұрын
Module cv2 has no attribute 'cvtcolor' error
@project_guru2 ай бұрын
@@harisandy please share your source code on akshaydhiman685@gmail.com
@AchmadArif-m5q5 ай бұрын
Sorry sir, my program error here line 33, in subjects = detect(gray, 0) ^^^^^^^^^^^^^^^ RuntimeError: Unsupported image type, must be 8bit gray or RGB image. Please help me out
@project_guru5 ай бұрын
@@AchmadArif-m5q kindly share your code.
@KPriyanka-js9qj8 ай бұрын
I have installed cmake even though I am getting error in installing dlib library can you please help and can you tell where can i get shape predictor face landmarks file
@project_guru8 ай бұрын
What kind of an error are you getting? Link to download landmark file is attached in the description of the video.
@Studio-gs7ye Жыл бұрын
Do we have to use multi threading , while playing the music.
@project_guru Жыл бұрын
No
@hemadasari1573 Жыл бұрын
While installing dlib package in pip im getting an error. Plz help me out of this. I tried many times but still encountered the same error
@project_guru Жыл бұрын
Could you please specify the error?
@OmanshuGupta Жыл бұрын
Thank you, sir, in advance. But i face some problem in my code , it didn't show the alert massage and the music when i run the code.
@OmanshuGupta Жыл бұрын
import cv2 import imutils from imutils import face_utils import dlib from scipy.spatial import distance from pygame import mixer mixer.init() mixer.music.load("music.wav") def eye_aspect_ratio(eye): A=distance.euclidean(eye[1],eye[5]) B=distance.euclidean(eye[2],eye[4]) C=distance.euclidean(eye[0],eye[3]) ear=(A + B) / (2.0)*C return ear thresh=0.25 flag=0 frame_check=20 (lStart,lEnd)=face_utils.FACIAL_LANDMARKS_68_IDXS['left_eye'] (rStart,rEnd)=face_utils.FACIAL_LANDMARKS_68_IDXS['right_eye'] detect =dlib.get_frontal_face_detector() predict=dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") cap=cv2.VideoCapture(0) while True: ret,frame=cap.read() frame=imutils.resize(frame, width=450) gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) subjects = detect(gray,0) for subject in subjects: shape=predict(gray,subject) shape=face_utils.shape_to_np(shape) leftEye=shape[lStart:lEnd] rightEye=shape[rStart:rEnd] leftEar=eye_aspect_ratio(leftEye) rightEar=eye_aspect_ratio(rightEye) ear=(leftEar+rightEar)/2.0 leftEyeHull=cv2.convexHull(leftEye) rightEyeHull=cv2.convexHull(rightEye) cv2.drawContours(frame,[leftEyeHull],-1,(0,255,0),1) cv2.drawContours(frame,[rightEyeHull],-1,(0,255,0),1) if ear=frame_check: cv2.putText(frame,"*****ALERT*****",(10,30),cv2.FONT_HERSHEY_SIMPLEX,0.7,(0,0,255),2) cv2.putText(frame,"*****ALERT*****",(10,325),cv2.FONT_HERSHEY_SIMPLEX,0.7,(0,0,255),2) mixer.music.play() else: flag=0 cv2.imshow("Frame",frame) key=cv2.waitKey(1) & 0xFF if key==ord("q"): break cv2.destroyAllWindows() cap.release()
@OmanshuGupta Жыл бұрын
can you help me out from this
@project_guru Жыл бұрын
@@OmanshuGupta kindly share your source code.
@amruthgowda2750 Жыл бұрын
Can you please tell which ide u used for this project
@project_guru Жыл бұрын
I am not using any IDE. I am using python Idle for this.
@omarabusaeed53964 ай бұрын
Does it incluse oops, data science,data structure in it
@project_guru4 ай бұрын
@@omarabusaeed5396 No
@vedantnaikwadi53948 ай бұрын
how to yawn detection also in it and also a message system if driver eyes is closed till=5 sec my professor told be to this plz guide
@project_guru7 ай бұрын
Please drop me an email and I will send you the code that includes yawn detection as well.
@avignesh566 Жыл бұрын
Hi after installing visual studio with C++ i'am getting error i'am unable to install dlib can you help me out pls
@project_guru Жыл бұрын
Kindly brief me about the error you are getting.
@nehaayesha1623 Жыл бұрын
sir i am getting dlib not defined error even though i installed dlib successfully
@project_guru Жыл бұрын
Which code editor/IDE are you using?
@saakshishetty24485 ай бұрын
Error Unsupported image type ,8bit gray or rgb image
@project_guru5 ай бұрын
which version are you working on?
@saakshishetty24485 ай бұрын
@@project_guru python 3.12.4
@saakshishetty24485 ай бұрын
@@project_guru python version 3.12
@tuhinkumar4397 Жыл бұрын
While running the alert messeage is not showing nor the alarm is ringing... please help me out . Thank you in advance. It was a great project. can you provide some links for driver face detection while driving ?
@project_guru Жыл бұрын
kindly share your code. I can't understand which link are you talking about.
@130_sreetomamukherjee48 ай бұрын
can you please tell on which platform you are doing the code like jupyter , visual studio code etc
@project_guru8 ай бұрын
I am using Python IDLE but you can use any IDE.
@130_sreetomamukherjee48 ай бұрын
@@project_guru Thank you sir. The program is running properly. Thanks alot sir.
@project_guru8 ай бұрын
@@130_sreetomamukherjee4 Welcome!
@growbottofficial5 ай бұрын
I have an error :" unsupported image type ,it must be gray or 8bit RGB "
@project_guru5 ай бұрын
@@growbottofficial kindly install an older version of dlib.
@omkar13705 ай бұрын
@@project_guru i am getting the same error. if tried to install dlib version 19.24.4 am getting this error ERROR: Failed building wheel for dlib Failed to build dlib ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (dlib)
@growbottofficial5 ай бұрын
@@project_guru can't install
@project_guru5 ай бұрын
@@omkar1370 let's connect via Anydesk this weekend and I'll install it.
@project_guru5 ай бұрын
@@growbottofficial what error are you getting?
@rockingrockgaming6293 Жыл бұрын
Sir this .dat file is not working now except that everything is fine kindly please provide me the working .dat file
@rockingrockgaming6293 Жыл бұрын
I have properly download it and provide each and every step but at end it shows "exception has occurred:runtime error ""unable to open shape_director_68_phase_landmarks.dat"
@rockingrockgaming6293 Жыл бұрын
It's show error at Time of execution exception error file is unable to open
@project_guru Жыл бұрын
@@rockingrockgaming6293 which version of dlib are you using?
@rockingrockgaming6293 Жыл бұрын
Latest one
@rockingrockgaming6293 Жыл бұрын
@@project_guru latest one ,I tried everyone version of this project but all of them show that this .dat file is unable to open and all my college friend are facing same problems, .dat file having some problem
@tusharkhajuria-e2m9 ай бұрын
when i close my eyes i dont get alert message and alarm doesn ring'
@project_guru9 ай бұрын
Kindly share your source code.
@jayashreeramesh6990 Жыл бұрын
It's not working Where's the mistake not able to find out...after running it's not showing even the error it just displays hello from the pygame community...can plz help
@project_guru Жыл бұрын
If it is displaying "Hello from Pygame community" it means the code is running. Kindly check if your primary webcam is working properly or please change the value of VideoCapture(0) to VideoCapture(1) if you are using any additional camera.
@hassaan1661Ай бұрын
Which editor you are using
@saishreer.narendra64468 ай бұрын
Where are you writing the codes? Which app? How to run it? It does not run on the python command prompt! How to run it?
@project_guru8 ай бұрын
I am using Idle but you can run on any IDE.
@mohamedyusufcse47547 ай бұрын
Can I get report pdf for this
@project_guru7 ай бұрын
Sure, please drop me an email at akshaydhiman685@gmail.com
@bikashsasmal1156 Жыл бұрын
sir in our college we have this project is using AI ML how can i do please suggest me
@project_guru Жыл бұрын
I have done that project as well. Kindly share your email and I'll revert back with the source code.
@zaherabegum18088 ай бұрын
Please share me the source code too using ai/ml
@vasika002610 ай бұрын
Excellent it's working 👍
@project_guru10 ай бұрын
Glad you like it!
@anshulghanghoria5767 Жыл бұрын
can we use jupyter notebook?? @Project Guru
@project_guru Жыл бұрын
Yes you can.
@Aditya-cn8pd Жыл бұрын
Unable to open shape_predictor_68_face_landmarks.dat file Error please helpp
@project_guru Жыл бұрын
Please mention the dlib version you are working with.
@ayushbhanja76408 ай бұрын
i dont know why imutil is not getting install in my cmd
@project_guru7 ай бұрын
Please specify the error you are getting.
@JAYYASRIS Жыл бұрын
Sir, the output is showing as 1 constantly and it is not changing. If I close the eyes, the alert sound is not heard. Please do help to rectify this error
@project_guru Жыл бұрын
Kindly increment flag value by 1 with every frame. Check your code. if ear < thresh: flag+=1 . . .
@JAYYASRIS Жыл бұрын
@@project_guru I checked the code but still it is showing the same as 1
@project_guru Жыл бұрын
@@JAYYASRIS Kindly share the code.
@JAYYASRIS Жыл бұрын
@@project_guru Here is the code Sir import cv2 import imutils import dlib from scipy.spatial import distance from imutils import face_utils from imutils import resize from pygame import mixer mixer.init() mixer.music.load("music.wav") def eye_aspect_ratio(eye): A = distance.euclidean(eye[1], eye[5]) B = distance.euclidean(eye[2], eye[4]) C = distance.euclidean(eye[0], eye[3]) ear = (A + B) / (2.0 * C) return ear thresh = 0.25 frame_check = 20 flag=0 (lStart, lEnd) = face_utils.FACIAL_LANDMARKS_68_IDXS["left_eye"] (rStart, rEnd) = face_utils.FACIAL_LANDMARKS_68_IDXS["right_eye"] detect = dlib.get_frontal_face_detector() predict = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") cap=cv2.VideoCapture(0) while True: ret, frame=cap.read() frame = imutils.resize(frame, width=450) gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) subjects = detect(gray, 0) for subject in subjects: shape = predict(gray, subject) shape = face_utils.shape_to_np(shape) leftEye = shape[lStart:lEnd] rightEye = shape[rStart:rEnd] leftEAR = eye_aspect_ratio(leftEye) rightEAR = eye_aspect_ratio(rightEye) ear = (leftEAR + rightEAR) / 2.0 leftEyeHull = cv2.convexHull(leftEye) rightEyeHull = cv2.convexHull(rightEye) cv2.drawContours(frame, [leftEyeHull], -1, (0, 255, 0), 1) cv2.drawContours(frame, [rightEyeHull], -1, (0, 255, 0), 1) if ear < thresh: flag += 1 print (flag) if flag >= frame_check: cv2.putText(frame, "****************ALERT!****************", (10, 30),cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 0, 255), 2) cv2.putText(frame, "****************ALERT!****************", (10,325),cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 0, 255), 2) mixer.music.play() else: flag = 0 cv2.imshow("Frame", frame) if cv2.waitKey(1) & 0xFF == ord("q"): break cv2.destroyAllWindows() cap.release()
@JAYYASRIS Жыл бұрын
@@project_guru Here is the code Sir. import cv2 import imutils import dlib from scipy.spatial import distance from imutils import face_utils from imutils import resize from pygame import mixer mixer.init() mixer.music.load("music.wav") def eye_aspect_ratio(eye): A = distance.euclidean(eye[1], eye[5]) B = distance.euclidean(eye[2], eye[4]) C = distance.euclidean(eye[0], eye[3]) ear = (A + B) / (2.0 * C) return ear thresh = 0.25 frame_check = 20 flag=0 (lStart, lEnd) = face_utils.FACIAL_LANDMARKS_68_IDXS["left_eye"] (rStart, rEnd) = face_utils.FACIAL_LANDMARKS_68_IDXS["right_eye"] detect = dlib.get_frontal_face_detector() predict = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") cap=cv2.VideoCapture(0) while True: ret, frame=cap.read() frame = imutils.resize(frame, width=450) gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) subjects = detect(gray, 0) for subject in subjects: shape = predict(gray, subject) shape = face_utils.shape_to_np(shape) leftEye = shape[lStart:lEnd] rightEye = shape[rStart:rEnd] leftEAR = eye_aspect_ratio(leftEye) rightEAR = eye_aspect_ratio(rightEye) ear = (leftEAR + rightEAR) / 2.0 leftEyeHull = cv2.convexHull(leftEye) rightEyeHull = cv2.convexHull(rightEye) cv2.drawContours(frame, [leftEyeHull], -1, (0, 255, 0), 1) cv2.drawContours(frame, [rightEyeHull], -1, (0, 255, 0), 1) if ear < thresh: flag += 1 print (flag) if flag >= frame_check: cv2.putText(frame, "****************ALERT!****************", (10, 30),cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 0, 255), 2) cv2.putText(frame, "****************ALERT!****************", (10,325),cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 0, 255), 2) mixer.music.play() else: flag = 0 cv2.imshow("Frame", frame) if cv2.waitKey(1) & 0xFF == ord("q"): break cv2.destroyAllWindows() cap.release()
@stevenzambrano0318 Жыл бұрын
What kind of training have you made for the *shape_predictor_68_face_landmarks.dat* ?
@project_guru Жыл бұрын
It's a pretrained model available over the web and is used to predict human face.
@RAMKUMAR-y9k5 ай бұрын
TypeError : shape = predict(gray, subjects) Pls help to get out from this error
@project_guru5 ай бұрын
@@RAMKUMAR-y9k kindly email me the source code at akshaydhiman685@gmail.com
@RishiKesavaReddy8 ай бұрын
Unable to open the shape predictor file run time error
@project_guru8 ай бұрын
Please make sure dlib is properly installed.
@t-rex443 Жыл бұрын
Sir. I got error. It says unable to open shape_predictor_68_face_ landmarks.dat file. How I should solve it.
@project_guru Жыл бұрын
Please install older version of dlib
@t-rex443 Жыл бұрын
@@project_guru and how should I download the old version of dlib. And specific process or steps for it?
@Garuda-sd3cp9 ай бұрын
im getting this command sir what do i do C:\Users\venka>pip install opencv-python 'pip' is not recognized as an internal or external command, operable program or batch file. please kindly help me i dont know how to process this
@project_guru9 ай бұрын
Kindly reinstall python
@tanushrikhandare1025 Жыл бұрын
But i am getting error Module not found error No module name scipy pls resolve this
@tanushrikhandare1025 Жыл бұрын
Plz reply fast as soon as possible
@project_guru Жыл бұрын
kindly install it using command "pip install scipy"
@tanushrikhandare1025 Жыл бұрын
I already installed still showing same issue
@project_guru Жыл бұрын
@@tanushrikhandare1025 which IDE are you using?
@tanushrikhandare1025 Жыл бұрын
@@project_guru 3.11
@karanpandey1349 Жыл бұрын
Hey, thanks for this project. But I am getting a error: Could not build wheels for dlib, which is required to install pyproject.toml-based project. Please help me out with this.
@project_guru Жыл бұрын
Have you installed desktop development with C++ package?
@karanpandey1349 Жыл бұрын
@@project_guru Yes I did that. But nevermind, the issue is resolved now. I manually downloaded it using the dlib binary file. 👍🏻
@project_guru Жыл бұрын
@@karanpandey1349 perfect!
@sahithiprathyusha1992 Жыл бұрын
How can i download the first two files and how to insert them
@project_guru Жыл бұрын
You can download the files from the link available in description box, simply copy paste them in your project folder in order to attach them.
@sahithiprathyusha1992 Жыл бұрын
I couldn't find them in description box can u comment them below
@project_guru Жыл бұрын
@@sahithiprathyusha1992 here it is drive.google.com/drive/mobile/folders/1uMQpBDky9NCcCgfmOpDiQr5p-xttdvPU?usp=sharing
@jeromshaji10 ай бұрын
sir ,how to find the accuracy of this model
@Aditya-cn8pd Жыл бұрын
Unable to open predictor file error please help sir
@project_guru Жыл бұрын
Which version of dlib are you working with?
@shaniyadav33 Жыл бұрын
while installing dlib i get an error error: legacy-install-failure
@project_guru Жыл бұрын
Did you installed cmake?
@shaniyadav33 Жыл бұрын
@@project_guru yes
@shaniyadav33 Жыл бұрын
But "CMake must be installed to build dlib" tab bhi dikha rha tha Error me
@shaniyadav33 Жыл бұрын
now those "import not resolved" and all other errors are resolved but there is some "inconsistent use of tabs and spaces in indentation" error in my python file. How to get rid of these errors?
@shaniyadav33 Жыл бұрын
Actually I got rid of that error... But now I am getting "runtime error: unable to open shape_predictor_68_face_landmarks.dat" error .
@incognitomato4 ай бұрын
which IDE are you using
@project_guru4 ай бұрын
Idle.
@incognitomato4 ай бұрын
@@project_guru can you give me the link for download...im unable to find it
@project_guru4 ай бұрын
@@incognitomato please download this version www.python.org/downloads/release/python-377/
@JyothiKommoju-z5d Жыл бұрын
sir,How to solve this error ERROR: Failed building wheel for dlib Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
@project_guru Жыл бұрын
Please install desktop development with C++ package.
@battulajagadeesh8895 Жыл бұрын
@project_guru sir even though i have installed c++ package in visual studio i am getting the same error that above one said can you please tell me a solution for this sir
@project_guru Жыл бұрын
@@battulajagadeesh8895 which version of python are you using?
@battulajagadeesh8895 Жыл бұрын
@@project_guru 3.11
@keldaalonso6226 Жыл бұрын
How can I deploy this on an AI camera sir?? Any tuto on that yet?? As in to make a live copy of this to test in a car?
@project_guru Жыл бұрын
You can use it via any microprocessor like Arduino and or raspberry pi
@devanciii Жыл бұрын
I am not able to open the shape predictor. (RuntimeError: Unable to open shape_predictor_68_face_landmarks.dat)
@project_guru Жыл бұрын
Which version of python and dlib are you working on?
@Pratyaksh_Singla Жыл бұрын
@@project_gurucan I use it on vscode?
@AafreenJehan8 ай бұрын
Hey i have the same error too. can you please tell me how you rectified it?
@AafreenJehan8 ай бұрын
@@project_guru i have the same error too. I'm using the latest version of python and dlib. Please help me out thanks
@project_guru8 ай бұрын
@@AafreenJehan Kindly try working with an older version
@Premalatha-h8u3 ай бұрын
🥳🥳 it's working thank you so much 🥳🥳
@project_guru2 ай бұрын
@@Premalatha-h8u Glad you liked it.
@refresh490Ай бұрын
can you help me for doing this project
@NayanaKN-po5ox5 ай бұрын
It showing error: unsupported image type ,must be 8bit gray or rgb pls give a solution sir
@project_guru5 ай бұрын
@@NayanaKN-po5ox please install older version of dlib.
@NayanaKN-po5ox5 ай бұрын
@@project_guru sir dlib version is matching to python 3.12.0 software (in which already I installed) if I install older version of dlib ,it shows installation error give a solution sir pls
@project_guru5 ай бұрын
@@NayanaKN-po5ox please connect over Instagram and share your Anydesk I'd, and I'll resolve the issue.
@NayanaKN-po5ox5 ай бұрын
@@project_guru ok sir
@HannansHaven Жыл бұрын
can you please tell the ide you've used
@project_guru Жыл бұрын
I'm using IDLE.
@HannansHaven Жыл бұрын
@@project_guru Can i do it on VScode
@project_guru Жыл бұрын
@@HannansHaven Yes you can
@HannansHaven Жыл бұрын
@@project_guru line 99, in cv2.imshow("Result of detector", face_frame) NameError: name 'face_frame' is not defined I am getting this error can you please help me?
@project_guru Жыл бұрын
@@HannansHaven I'm using frame as a variable so kindly update it, and if this is a different code kindly email it to me and I'll help you to resolve this error.
@mohammedsharfuddin1652 Жыл бұрын
Sir,How it is implemented in real time?..how can I demonstrate its working ?
@project_guru11 ай бұрын
You can demonstrate it's working the way it's shown here.
@durga.r87359 ай бұрын
Which algorithm is used in this project
@project_guru9 ай бұрын
HOG
@shining_shani Жыл бұрын
Ohh thanks done.....finally ..... what additional features can i add to this project.
@project_guru Жыл бұрын
It totally depends on you. You can add anything you want to.
@MuhammadUsama-fl8yv Жыл бұрын
@@project_gurusir can we add flutter for front end?
@birundhadevi543910 ай бұрын
Sir, i run the code but the camera could not open sir. What can i do
@project_guru9 ай бұрын
Is it displaying any error?
@VANISHRINM Жыл бұрын
May I know in which software you have done this project
@project_guru Жыл бұрын
I used IDLE but you can choose any editor/IDE.
@anshulghanghoria5767 Жыл бұрын
@@project_guru can we use jupyter notebook
@project_guru Жыл бұрын
@@anshulghanghoria5767 Yes you can.
@nitishsharma7545 Жыл бұрын
@@project_guru sir please provide you Facebook ID... Sir can you please provide documentation or report for this project.. please sir
@project_guru Жыл бұрын
@@nitishsharma7545 Here it is facebook.com/ak.kmr Yeah definitely I'll provide you the documentation.
@sivaselvi9447 Жыл бұрын
Sir ... firstly thank u for full explanation of this project...this is the first project I'm gonna do...but I'm not able to download shape_predictor_68...dat file from modules i don't know why can u please help me with this sir...
@project_guru Жыл бұрын
It could be a network issue on your end, Kindly try again and if you still face issue you can drop me a message on my email and i'll forward you the file.
@sivaselvi9447 Жыл бұрын
Sir i downloaded the file but i was unable to open it since it was in dat format...is that a problem...and I'm getting runtime error as unable to open the file models/shape_predictor_68.dat
@project_guru Жыл бұрын
@@sivaselvi9447 Kindly check if your code contains the correct path of the file.
@sivaselvi9447 Жыл бұрын
@@project_guru thank you so much sir now i got it fixed i redownloaded the dat file from other source and the problem got fixed up.... thankyou so much for replying for every queries sir....
@project_guru Жыл бұрын
@@sivaselvi9447 welcome
@selvalakshmi.a2405 Жыл бұрын
Great working project thank you soooo much
@project_guru Жыл бұрын
Glad you liked it!!!!
@sourabh.bisht.3 Жыл бұрын
open file error how to solve it?
@project_guru Жыл бұрын
Please share the exact error message.
@sourabh.bisht.3 Жыл бұрын
@@project_guru Sorry to disturb you bro...but i fixed that error...it was totally my fault😅😅...thanks for your video❣️
@project_guru Жыл бұрын
@@sourabh.bisht.3 ahhh okay!!!
@deepakmodi927 Жыл бұрын
Which datasets you are using for models
@project_guru Жыл бұрын
We are using a pre built landmark file. You can find the link to it from the description box.
@parthshub5164 Жыл бұрын
Hey where have you uploaded that landmark.dat file Plz reply ASAP I have to submit my prj within this week
@project_guru Жыл бұрын
I have attached the link in the description box.
@Arcgamerz273 ай бұрын
hii! can you please share project report on this?
@project_guru2 ай бұрын
@@Arcgamerz27 Sure, please drop me an email on akshaydhiman685@gmail.com
@ash_0408 ай бұрын
how to install dlib pip install dlib is not working for me please help
@project_guru8 ай бұрын
Please refer the video I have mentioned how to install dlib.
@ash_0408 ай бұрын
@@project_guru please tell me After installing cmake and dlib Dlib is also working Can I now uninstall the visual studio from my pc ? Does uninstalling visual studio affect cmake and dlib ?
@project_guru8 ай бұрын
@@ash_040 Yes you can uninstall but make sure to not to remove/delete any downloaded file in the process.
@Ajazahmad73172 ай бұрын
Hey bro can you make video to add some additional things like driver is drinking or using mobile phone
@project_guru2 ай бұрын
Sure!
@Ajazahmad7317Ай бұрын
Bro please make fast
@deepakdee41665 ай бұрын
Unsupported image type, must be 8bit gray or rgb image
@project_guru5 ай бұрын
Please install python 3.7
@SaulGoodman371 Жыл бұрын
I have a problem with compile with music.wav
@project_guru Жыл бұрын
Please specify the error
@sahithiprathyusha1992 Жыл бұрын
Can i Know which platform ur using for coding?
@project_guru Жыл бұрын
I am using IDLE but you can choose any IDE.
@prajwaljain2657 Жыл бұрын
no module named cv2 error
@project_guru Жыл бұрын
Kindly install OpenCV. Run Command 'pip install opencv-python' in cmd for the same.
@saikamalnukala8397 Жыл бұрын
How to install dlib...? Could you explain me a little bit plese sir
@project_guru Жыл бұрын
Kindly download and install visual studio. Once done install desktop devlopment with c++ package. The package is of about 10GB so it'll take a while to install. Once done install cmake using command "pip install cmake" and then dlib using command "pip install dlib".
@abhinayperam224111 ай бұрын
i did the same bro, iam getting error while installing in dlib,like note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dlib Failed to build dlib ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects @@project_guru
@project_guru11 ай бұрын
@@abhinayperam2241 Visual studio isn't properly installed
@Musab.Mohamed Жыл бұрын
Are you using pycham editor for dis project ?
@project_guru Жыл бұрын
I used IDLE here but you can prefer PyCharm as well.
@shining_shani Жыл бұрын
Sir, please make a video on how to reinstall python and all its libraries for this project. like starting from scratch
@project_guru Жыл бұрын
Sure!
@tanishdhangar3184 Жыл бұрын
@@project_guru Sir please make a video on how to build this project from scratch. From downloading python to downloading all the Libraries. Your help is needed sir 🙏🙏
@project_guru Жыл бұрын
@@tanishdhangar3184 This is from scratch bro...
@nikunjkhannawalia46298 ай бұрын
does it work with python 3.11?
@project_guru8 ай бұрын
Yes but would recommend python 3.7
@sonamsahu48076 ай бұрын
Dlib install ni ho gai what can I do
@balramray2225 Жыл бұрын
Thaks Sir. Can you please provide report on it .
@project_guru Жыл бұрын
Please share your Email I'd.
@itz_mikhael8 ай бұрын
@@project_guru please sir i would also like the report
@project_guru4 ай бұрын
@@itz_mikhael sure please share your e-mail I'd.
@project_guru4 ай бұрын
@Prakash0418 please share your e-mail I'd.
@deepthiacharya999110 ай бұрын
Can we do frontend for this?
@project_guru10 ай бұрын
Yes!
@deepthiacharya999110 ай бұрын
@@project_guru Can you suggest what we can use and how I may proceed. As I know only html,css JavaScript for frontend.
@project_guru10 ай бұрын
@@deepthiacharya9991 You can use Tkinter or PyQT5.
@deepthiacharya999110 ай бұрын
@@project_guru Ohh really thanks for taking ur time to reply me
@project_guru10 ай бұрын
@@deepthiacharya9991 Anything for the betterment!
@tech4tomorrow Жыл бұрын
good work bhaiya can you include yawning in this and how to release camera after showing alert message it is hanging some what
@project_guru Жыл бұрын
Definitely, I'll do this by this weekend.
@emiryldz3379 ай бұрын
How can ı count my pc frame how can ı check it?
@ammuzz59104 ай бұрын
Is web cam necessary
@project_guru4 ай бұрын
@@ammuzz5910 yes if you want to take live inputs, no if you want to test it on pre recorded videos.