Use this tag for question related to eye detection, i.e. the process of measuring the location of the eyes for monitoring people's emotional state, drivers awareness/fatigue monitoring, to add objects to pictures (virtual masks) and so on, by image processing techniques.
Questions tagged [eye-detection]
71 questions
0
votes
0 answers
How do I play audio? (when detecting that user is asleep in front of camera)
Im trying to create a sleep detection website and its supposed to play an alarm when the user is detected to be asleep. I am using opencv and dlib to do the eye and face detection. The user would be considered to be asleep if their eyes are closed.…

VeryNew
- 5
- 2
0
votes
0 answers
Automatically selecting ROI after the target object is detected once in live video and if it loses track of it then search again in that ROI only
I'm working on a project that detects eyes of the person in the sight of camera. I have used face_cascade and eye_cascade to determine it. It works fine with adjustable threshold. But if for some reason the whole face can not be detected after a…

SmashAI
- 1
0
votes
2 answers
OpenCV error (-215:Assertion failed) !empty()
I have the following code:
import numpy as np
import cv2
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades +
'haarcascade_frontalface_default.xml')
eye_cascade =…

shubham k
- 9
- 1
0
votes
1 answer
Pupil detection project with OpenCV & Android-Studio gets ArrayIndexOutOfBoundsException
I have to do a project for Android-studio and one of the objectives is detecting the pupils of a person. I'm trying to use OpenCV. I know there are many issues about the detection of circles or eyes in this site with OpenCV, but every time I try to…

Mata2907
- 61
- 7
0
votes
1 answer
Is there a way to use OpenCV functions to perform face recognition based on eye detection?
My project requires face recognition based on the availability of limited features which mainly include eyes and the forehead region.
But I am unable to find any good resources to perform the same.
There are mostly resources dealing with face…

Nidhi
- 69
- 1
- 9
0
votes
0 answers
Is it possible to fire Click event on button through eye tracker using python? how?
I want to perform click function if user through eye tracker is looking at some position on the screen for 2 seconds I am getting position value through eye tracker and saving into a text file, but don't know how to perform click function.

Mubeen Iftikhar
- 5
- 2
0
votes
1 answer
Firebase MLKit Eye Contour getPoints
I am trying to get the list of points from each eye detection using Firebase ML kit.
I have succeded to get the eye position of each eye (X, Y),
but when I try to call retrieve all points, it returns me an empty array. The code I am using is…

joe
- 93
- 2
- 12
0
votes
1 answer
I am trying to detect eyes using Tensorflow. Is there any pre-trained model of eye detection?
I have done eyes detection in OpenCV using eye.xml Haarcascade classifiers but have no idea how to do it using Tensorflow.

Techbee
- 3
- 4
0
votes
0 answers
Executing command on 2 or 3 consecutive Eye Blinks using OpenCV in Python
I'm working on a project of Executing commands ( right now just printing " User Clicked: YES " ) when the Paralyzed patient Blinks 2-consecutive times or 3-consecutive times.
For the eye-blink detection i used the code from "Adrian Rosebrock" which…

ArslanKAS
- 1
- 1
0
votes
2 answers
Detect Eye Landmark using dlib
Using dlib, is it possible to detect eye landmarks without face detection? If yes, how? and if no, any suggestion or advice? Thank you!
Sample

Paulo Estrella
- 25
- 11
0
votes
0 answers
How to run android eye detection code in background
I have implemented android eye detection application.Now i want to run it as a background application.How it's possible?
Source code for eye detection application - http://romanhosek.cz/android-eye-detection-updated-for-opencv-2-4-6/
0
votes
0 answers
Eye blink detection with tracking js?
I am looking for pure java script solution for eye blink detection using tracking js or any other js lib. 70 to 80 % accuracy is fine for me.
Using Tracking js, With below code, I can get eye's bounding rectangle. Any ideas how to achieve blink…

Ganesh K
- 2,623
- 9
- 51
- 78
0
votes
2 answers
Python OpenCV - Detect eyes and save
I am new to OpenCV. I need to detect the eyes using opencv and save them in a folder for further classification. I have written following script for the same:
import numpy as np
import cv2
face_cascade =…

slimshadyrocks
- 3
- 1
- 5
0
votes
1 answer
How to detect both eyes Pupil using Python and OpenCV
I have found Github codes for Pupil detection Pupil Detection with Python and OpenCV which explains how to detect eye pupil but explain only one Eye. I would like to detect both eyes. Please give me ideas how I can detect both eyes pupil from the…

MwarukaSon
- 297
- 4
- 9
0
votes
0 answers
Detecting eyes using CascadeClassifier_GPU (openCV)
I'm trying to detect faces and eyes at the same time using cacadeClassifier_GPU in OpenCV.
Detecting faces works fine but it doesn't detect any eye.
I'm using opencv 2.4.9(gpu version) in visual studio 2010.
Here is my code.
for(;;)
{
cap >>…