Eyes Tracking Opencv python

  Рет қаралды 18,996

AiPhile

AiPhile

Күн бұрын

Пікірлер: 91
@AiPhile
@AiPhile 3 жыл бұрын
Change the color of RGB LED with eyes 👁️👁️, based on eyes Tracking project, here is link : kzbin.info/www/bejne/aYqnnXaIiJajm9U
@kacemichakdi3048
@kacemichakdi3048 2 жыл бұрын
thank you. u realy did a great workk
@informationDesigner
@informationDesigner 3 жыл бұрын
Thanks, that's a great job Is it possible to calculate the angle of direction of the horizontal and vertical gaze of the iris?
@AiPhile
@AiPhile 3 жыл бұрын
Here we are not tracking iris already mentioned in the tutorial, its future work
@informationDesigner
@informationDesigner 3 жыл бұрын
@@AiPhile Yes, I am expecting that soon I have a project on this and I have commented on estimating the angles of the iris Please help me in this regard
@AiPhile
@AiPhile 3 жыл бұрын
Check out mediapipe python module, you will get the iris tracking but it would be in c++, currently I am working on AR. Its take time to complete.
@informationDesigner
@informationDesigner 3 жыл бұрын
@@AiPhile Thanks for the advice
@aswathyps4967
@aswathyps4967 Жыл бұрын
Is it possible to access an external camera for eye detection than the system webcam
@yuluscesar5822
@yuluscesar5822 3 жыл бұрын
Very interesting work congratulation could I use it in raspberryPi4 thanks?
@AiPhile
@AiPhile 3 жыл бұрын
Yeah, I have test that out it will work out of the box, just you to decrease Frame size that you get more Frame rate
@pankhanafis818
@pankhanafis818 3 жыл бұрын
did it work for you?....was it fast enough? i am getting very low framerates....tried resizing the grayimage,but then it fails to detect faces
@ManjeetSingh-tc8fs
@ManjeetSingh-tc8fs 3 жыл бұрын
thanks a lot man.. u saved my life haha
@AiPhile
@AiPhile 3 жыл бұрын
You are welcome,
@kacemichakdi3048
@kacemichakdi3048 2 жыл бұрын
Hi sir, u realy did a grate job. I have one question , if we want to count the number of times that the eye see in the rigth and the number of time that the eye see in the left. thanks for this video.
@AiPhile
@AiPhile 2 жыл бұрын
You can add counter of eah position of eyes., i would recommend you to check out my New video on this topic iris position estimation mediapipe: kzbin.info/aero/PLJ958Ls6nowVBQxl_-wmtN-c8xSBPJjPC
@kacemichakdi3048
@kacemichakdi3048 2 жыл бұрын
Thank you a lot😀
@sofizr1183
@sofizr1183 Жыл бұрын
Good 👍
@AiPhile
@AiPhile Жыл бұрын
thank you!
@Actrl51
@Actrl51 Жыл бұрын
Could this be done dividing the eye in 9 boxes instead of three?
@AiPhile
@AiPhile Жыл бұрын
Yeah its possible
@aishwaryav3177
@aishwaryav3177 2 жыл бұрын
hey, i need some help! firstly where did you run this code? which platform
@AiPhile
@AiPhile 2 жыл бұрын
You will find the all the details on my GitHub repository, link in the description.
@aishwaryav3177
@aishwaryav3177 2 жыл бұрын
@@AiPhile i know..but where do i run it ? like pycharm, anaconda prompt
@aishwaryav3177
@aishwaryav3177 2 жыл бұрын
how can i connect with u? like mail id! got a couple of questions. please help it's important!
@AiPhile
@AiPhile 2 жыл бұрын
You need installed on machine, then you need few python module following the instructions on GitHub repository,
@aishwaryav3177
@aishwaryav3177 2 жыл бұрын
I'm new to this domain
@pankhanafis818
@pankhanafis818 3 жыл бұрын
good job bro....
@AiPhile
@AiPhile 3 жыл бұрын
Thanks
@pankhanafis818
@pankhanafis818 3 жыл бұрын
brother,i am trying to implement this in raspberry pi4 ,but the detection is too slow....i am getting 3.5 fps ....I have tried skipping every three frames in the main.py script while loop to get some extra frames.....I tried to resize the grayimage which is used as argument in the face detector method of the module script,but if i make it smaller,it seems like dlib doesnt look for faces in the whole image,and it skips most of the image parts,depending on how much i have made the frames smaller...can you please say the proper way of resizing images for dlib,so that it can detect images properly...thank you
@AiPhile
@AiPhile 3 жыл бұрын
@@pankhanafis818 check this out kzbin.info/www/bejne/j17QdKehq5lkqM0
@dyaa_unison5580
@dyaa_unison5580 2 жыл бұрын
could you use the tracked pupils and control the mouse with it, using autopy, pyinpt, pyautoGUI?
@AiPhile
@AiPhile 2 жыл бұрын
You can checkout Iris tracking video tutorial
@aswathyps4967
@aswathyps4967 Жыл бұрын
We are doing a project based on eye detection for paralysed person which is introduced as specs(glass)... so that by detecting theri iris position the message is sent to the users phone whether the patient require food,water etc.Could you plz help us in this about what are the components that can we use and how to code this...
@aswathyps4967
@aswathyps4967 Жыл бұрын
Could you plz help us in this
@SaimaKhan-gx8tj
@SaimaKhan-gx8tj 3 жыл бұрын
Hi.. Can this be done in google colab?
@AiPhile
@AiPhile 3 жыл бұрын
Yeah, you have to modify the code bit and its difficult to access webcam on colab.
@akcandlestick8948
@akcandlestick8948 3 жыл бұрын
hi sir ji do you know about Python GUI Printing if we make some Billing GUI Programme Which Librrary we use for Direct printing on paper ??
@AiPhile
@AiPhile 3 жыл бұрын
In future I will work on it, right now I am working on AR series.
@akcandlestick8948
@akcandlestick8948 3 жыл бұрын
@@AiPhile sir ji i am aware of this Printing library in Python if you know about pls reply msg
@AiPhile
@AiPhile 3 жыл бұрын
I haven't used. This module at all
@akashshetti3785
@akashshetti3785 2 жыл бұрын
There is a problem in installing dlib library using command prompt in windows 10 how to do it??
@AiPhile
@AiPhile 2 жыл бұрын
I have mentioned in video tutorials all the reference.
@akashshetti3785
@akashshetti3785 2 жыл бұрын
@@AiPhile while importing the packages like cv2 as cv it is showing error in visual studio
@AiPhile
@AiPhile 2 жыл бұрын
Send screenshot on Instagram Please if possible
@akashshetti3785
@akashshetti3785 2 жыл бұрын
@@AiPhile ok
@akashshetti3785
@akashshetti3785 2 жыл бұрын
@@AiPhile ModuleNotFound error is coming for cv2
@aswathyps4967
@aswathyps4967 Жыл бұрын
Is there any sensor that can detect iris position
@AiPhile
@AiPhile Жыл бұрын
Check out another video on channel about accurate iris tracking
@Beast_Gaming_99
@Beast_Gaming_99 10 ай бұрын
I need your help right now...
@AiPhile
@AiPhile 10 ай бұрын
Yep, how
@pal432-m5v
@pal432-m5v 2 жыл бұрын
47:07 How can you declare a function above its definition?
@AiPhile
@AiPhile 2 жыл бұрын
?
@pal432-m5v
@pal432-m5v 2 жыл бұрын
@@AiPhile You defined Position() later but the declaration came in the eye tracking function above. I am confused. Can u remove my confusion?
@AiPhile
@AiPhile 2 жыл бұрын
All the functions are written in different file as module.
@pal432-m5v
@pal432-m5v 2 жыл бұрын
@@AiPhile ok
@kareemessam6245
@kareemessam6245 3 жыл бұрын
it gives me an error in the faceLandmarkDetector the error : File "C:\Users\Karim Essam\PycharmProjects\learnOpenCv\functions.py", line 74, in faceLandmakDetector landmarks = predictor(gray, face) TypeError: No registered converter was able to produce a C++ rvalue of type class dlib::rectangle from this Python object of type NoneType
@AiPhile
@AiPhile 3 жыл бұрын
Send me screenshot, on Instagram or just check out updated version of same project on mediapipe here kzbin.info/aero/PLJ958Ls6nowUwRXHUcFwZy2CT0naMULR3
@jyotiruhela9877
@jyotiruhela9877 3 жыл бұрын
I tried to run your project in my visual studio. but its giving error.i save the shape_predictor_68_face_landmarks file in predictor folder as u told me but its giving error.
@AiPhile
@AiPhile 3 жыл бұрын
What kind of error can you show it to me?
@jyotiruhela9877
@jyotiruhela9877 3 жыл бұрын
@@AiPhile Yes, import module as m and unable to open shape_predictor_68_face_landmark.dat 2 errors are showing in terminal
@AiPhile
@AiPhile 3 жыл бұрын
@@jyotiruhela9877 make sure correct the path of Shape predictor.
@jyotiruhela9877
@jyotiruhela9877 3 жыл бұрын
@@AiPhile I'd tried so many path. I extract the .dat file into predictor folder as u mentioned. Still its giving the error. Plz help
@jyotiruhela9877
@jyotiruhela9877 3 жыл бұрын
Can u share me your email id. I'll share my screen on google meet if u want.
@thunzard
@thunzard 3 жыл бұрын
the predictor file is not opening sir, it's showing an runtime error. Please help.
@AiPhile
@AiPhile 3 жыл бұрын
I have provided you link in GitHub readme, go over there and check out please, just download that,
@thunzard
@thunzard 3 жыл бұрын
@@AiPhile Sir I have downloaded the shape_predictor_68_face_landmarks.dat.bz2 file from the link provided in the Readme file of github, and I saved it in a folder called Predictor in the same directory as the code, but still when am running it it's showing the same error, and when am changing the file name from shape_predictor_68_face_landmarks.dat to shape_predictor_68_face_landmarks.dat.bz2 in the code, it is showing the version is not right it seems. I couldn't debug this error sir, please help.
@AiPhile
@AiPhile 3 жыл бұрын
Extract the file first then you are good to go
@thunzard
@thunzard 3 жыл бұрын
@@AiPhile Sir can you tell the algorithm for detecting eye going top and bottom as well? Thank you so much for your help until now.
@AiPhile
@AiPhile 3 жыл бұрын
Segment out the iris, using contours then you can track.
@RajdeeppalSingh
@RajdeeppalSingh 3 жыл бұрын
What if your camera is not so good and a bit burly
@RajdeeppalSingh
@RajdeeppalSingh 3 жыл бұрын
?
@AiPhile
@AiPhile 3 жыл бұрын
Surely it will have effects, just give it shot, or try simpler one Eyes Tracking Mediapipe: kzbin.info/aero/PLJ958Ls6nowUwRXHUcFwZy2CT0naMULR3
@RajdeeppalSingh
@RajdeeppalSingh 3 жыл бұрын
@@AiPhile bro the board exams are starting from 15th November and it will be held online what do you think which software will the council use to check the eye position?
@AiPhile
@AiPhile 3 жыл бұрын
Dm me Instagram we gonna talk about that.
@osbornepereira7562
@osbornepereira7562 2 жыл бұрын
It runs for a bit when I am checking the landmarks at 16:10 but I keep getting this error TypeError: __call__(): incompatible function arguments. The following argument types are supported: 1. (self: _dlib_pybind11.shape_predictor, image: array, box: _dlib_pybind11.rectangle) -> _dlib_pybind11.full_object_detection Invoked with: , array([[154, 154, 154, ..., 37, 34, 33], [153, 153, 151, ..., 40, 22, 25], [154, 151, 149, ..., 55, 27, 27], ..., [161, 168, 166, ..., 119, 121, 120], [164, 166, 166, ..., 120, 120, 119], [164, 164, 165, ..., 120, 119, 119]], dtype=uint8), None
@AiPhile
@AiPhile 2 жыл бұрын
I would highly recommend you to check out the updated and more optimizated version of the project: iris position estimation mediapipe: kzbin.info/aero/PLJ958Ls6nowVBQxl_-wmtN-c8xSBPJjPC
@osbornepereira7562
@osbornepereira7562 2 жыл бұрын
@@AiPhile I am currently doing that, but do you know why this error happens? I have spent two days trying to understand this but I am unable to figure it out.
@AiPhile
@AiPhile 2 жыл бұрын
@@osbornepereira7562 show the source code on Instagram, would let you know, but it seems you messed up with dilb landmark.
@Notsonerdlife
@Notsonerdlife 2 жыл бұрын
I am facing the same issue. Were u able to solve this?
@AiPhile
@AiPhile 2 жыл бұрын
@@Notsonerdlife check out iris tracking playlist
@frhadheydrov2546
@frhadheydrov2546 2 жыл бұрын
Exception has occurred: RuntimeError Unable to open Predictor/shape_predictor_68_face_landmarks.dat it give this error
@AiPhile
@AiPhile 2 жыл бұрын
Down load the shqpe predictor link on GitHub repository
Face Following Robot  Opencv and Arduino
15:49
AiPhile
Рет қаралды 15 М.
AI Powered Iris Tracking with WebGazer.Js
14:40
Nicholas Renotte
Рет қаралды 34 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 47 МЛН
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 33 МЛН
Eyes Tracking Part2, Blink Detector and Counter Mediapipe
23:47
Eye motion tracking - Opencv with Python
26:44
Pysource
Рет қаралды 117 М.
AI Face Body and Hand Pose Detection with Python and Mediapipe
42:55
Nicholas Renotte
Рет қаралды 142 М.
Gaze Tracking and Estimation
30:08
LearnOpenCV
Рет қаралды 37 М.
Вот что умеет SSH!!! Более 9 фичей!!!
21:51
Realtime User
Рет қаралды 12 М.
How Eye Tracking Works | Dixon Cleveland | Eyegaze Inc.
3:31
Eyegaze Inc.
Рет қаралды 6 М.
I tried to make a Valorant AI using computer vision
19:23
River's Educational Channel
Рет қаралды 1,5 МЛН
Eyes Tracking with Mediapipe | opencv tutorial | python
20:43
Face recognition in real-time | with Opencv and Python
28:19
Pysource
Рет қаралды 284 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН