{"id":15578609,"url":"https://github.com/robmcelhinney/blink-morse","last_synced_at":"2025-07-18T16:04:23.220Z","repository":{"id":40934811,"uuid":"258843175","full_name":"robmcelhinney/blink-morse","owner":"robmcelhinney","description":"Computer vision application to type based on detection of eyes blinking morse code.","archived":false,"fork":false,"pushed_at":"2023-07-06T21:58:26.000Z","size":9824,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T05:31:39.618Z","etag":null,"topics":["blink-detection","computer-vision","facial-recognition","morse-code","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robmcelhinney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-25T18:14:41.000Z","updated_at":"2025-03-20T04:31:17.000Z","dependencies_parsed_at":"2025-03-07T04:41:01.255Z","dependency_job_id":null,"html_url":"https://github.com/robmcelhinney/blink-morse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fblink-morse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fblink-morse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fblink-morse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmcelhinney%2Fblink-morse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmcelhinney","download_url":"https://codeload.github.com/robmcelhinney/blink-morse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250542826,"owners_count":21447774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blink-detection","computer-vision","facial-recognition","morse-code","opencv","python"],"created_at":"2024-10-02T19:11:45.908Z","updated_at":"2025-04-24T01:26:36.926Z","avatar_url":"https://github.com/robmcelhinney.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blink Morse\nEye blink detection of Morse code that types.\n\n## Demo\n![Blinking Hello World](demo/sample.gif)\n\n## Requirements\nDownload dlib pre-trained facial landmark predictor available at [dlib.net](http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2)\n\nUncompress the file and store the .dat file in the same dir as detect_blinks.py\n\n\nInstall requirements:  \n  ```\n  pip install -r requirements.txt\n  ```\n  \n## Using from command line\n    python detect_blinks.py -p shape_predictor_68_face_landmarks.dat\n\nTo exit the program:\n    Type ']' when webcam in focus or close eyes for constants.BREAK_LOOP_FRAMES frames.\n\n### Change variables\nI'd suggest you change the variables in constants.py so your blinks are better recognised.\n\nBy editing the variables you can give yourself more time before the next blink/pause is detected making Morse code easier to input. \n\n## Built With\n\n* dlib - C++ toolkit containing machine learning algorithms.\n* OpenCV - Library mainly aimed at real-time computer vision.\n* imutils - Series of convenience functions to make basic image processing functions.\n\n\n## Inspiration\nUS Admiral Jeremiah Denton was taken prisoner during the Vietnam War and was forced to participate in a propaganda interview, he blinked his eyes in Morse code, spelling T-O-R-T-U-R-E to confirm that US POWs were being tortured. [[Wiki](https://en.wikipedia.org/wiki/Jeremiah_Denton#Vietnam_War)][[Footage](https://youtu.be/rufnWLVQcKg)]\n\n## Acknowledgments\nBlink detection based off of tutorial from [pyimagesearch](https://pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmcelhinney%2Fblink-morse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmcelhinney%2Fblink-morse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmcelhinney%2Fblink-morse/lists"}