BlinkGesture

Send keyboard commands handsfree by blinking twice / Double Blink gesture

App Screenshot

BlinkGesture app screenshot

Check out the older version

Version 1

1. App Overview

It captures webcam video, locates and tracks eyes, extracts an aligned eye strip, enhances contrast, classifies eye state per frame, and detects single and double blinks. On a double‑blink, it issues a command via xdotool.

2. Data Flow

3. Python Pipeline

3.1 Training (train_eye_cnn.py)

3.2 Export to ONNX (export_cnn_to_onnx.py)

3.3 Quantization to INT8 (quantize_to_int8.py)

3.4 Evaluation (confusionmatrix.py)

4. C++ Runtime

5. Build & Dependencies

cmake .. \
  -DUSE_SYSTEM_OPENCV=ON \
  -DUSE_SYSTEM_ONNX=ON
make -j

6. Pros & Cons

Pros

Cons

7. Future Additions

Comments