Skip to content

Instantly share code, notes, and snippets.

View danieljohnbyns's full-sized avatar
:octocat:

Daniel John danieljohnbyns

:octocat:
View GitHub Profile
@danieljohnbyns
danieljohnbyns / drowsiness.py
Created April 1, 2025 02:57
drowsiness detection on raspberry pi
#!/usr/bin/env python3
import cv2
import dlib
import numpy as np
from scipy.spatial import distance as dist
from gpiozero import Buzzer, LED, OutputDevice
import time
import logging
import signal
/**
* @author Baynosa, Daniel John E.
* @section BSIT - 1F
*/
#include <iostream>
using namespace std;
/**