This repo contains the code for a Morse Code translator that uses your video input and tracks your blinks.
Flow is simple, a normal blink would recognized as a "Short" anything above 0.8 seconds is recognized as "Long" and if you don't blink for 2 seconds last stack you left gets checked againsts Morse Alphabet.
Main parts of this code has been taken from this repo here and you can follow along this amazing tutorial to understand more about MediaPipe, I'll also post what I did to add MorseCode feature to my Medium account, you can also check that one out.