1adrianb / 1adrianb/face-alignment

Detect eye blink?

Abierto
#345 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
7.5k
Forks
1.4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Are the ret landmarks suitable to compute EAR?
more see https://pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/
def eye_aspect_ratio(eye):
# compute the euclidean distances between the two sets of
# vertical eye landmarks (x, y)-coordinates
A = dist.euclidean(eye[1], eye[5])
B = dist.euclidean(eye[2], eye[4])

# compute the euclidean distance between the horizontal
# eye landmark (x, y)-coordinates
C = dist.euclidean(eye[0], eye[3])

# compute the eye aspect ratio
ear = (A + B) / (2.0 * C)

# return the eye aspect ratio
return ear

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

The issue asks if the library's facial landmarks (likely from the 'ret' model) are suitable for computing the Eye Aspect Ratio (EAR) for blink detection. First, examine the landmark indices and coordinate output in the face-alignment library's documentation or source code (e.g., in face_alignment/api.py or face_alignment/models.py). Compare the landmark ordering to the dlib model used in the linked article. Then, write a small script to extract eye landmarks from a test image and compute EAR to verify suitability. The goal is to confirm whether the existing landmarks can be directly used for blink detection or if preprocessing is needed.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
opencv, python, pytorch
Área
computer-vision
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.