Eye Blinking Detection Alarm
Date: 2021-6-21
Author: Yoojung Yoon(21700483), Kungmin Jo(21701052)
Github: https://github.com/Jo951128/eye_blink_detector
Introduction
This tutorial is about detecting blinks. This is to prevent drowsy driving, which is consistently mentioned as a cause of traffic accidents. Drowsy driving is the highest cause of death on highways where serious accidents can occur. Therefore, drowsy driving is a common cause of accidents, and countermeasures for the problem are required. The tutorial is based on colab and Visual Code ver. It consists of two. In colab, it was cumbersome to load a webcam or video, so I replaced it with a captured image.

Colab version
Download files using git clone
eye_blink_detector
dataset
model
eye_blink.py
train.py
shape_predictor_68_face_landmarks.dat
requirements.txt
Traing
library load
Load Dataset
Preview
Data Augmentation
Build Model
Model train
Run using Colab
Image capture
VSCODE version
1. Setting up virtual Environment for Eye Blink Detector
anaconda environment create
github clone
library install
2. train
CNN for regression prediction with keras
eye blink detector model

eye blink detector model result

3. Run Webcam

Reference
Last updated
Was this helpful?