I hereby claim:
- I am gwanryo on github.
- I am gwanryo (https://keybase.io/gwanryo) on keybase.
- I have a public key whose fingerprint is C4FD 7C52 4AFD AB5F BC06 67DC 4897 C1BD B014 F168
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# https://github.com/mans-men/eye-blink-detection-demo | |
# import the necessary packages | |
from scipy.spatial import distance as dist | |
from imutils.video import FileVideoStream | |
from imutils.video import VideoStream | |
from imutils import face_utils | |
import argparse | |
import imutils | |
import time | |
import dlib |
import subprocess | |
import json | |
def get_subprocess_output(cmd): | |
process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) | |
process.wait() | |
data, _ = process.communicate() | |
if process.returncode != 0: | |
return None | |
return data.decode('utf-8') |
#!/usr/bin/python3 | |
#-*- coding: utf-8 -*- | |
# https://github.com/ancalentari/twitch-stream-recorder | |
import datetime | |
import enum | |
import getopt | |
import logging | |
import os | |
import subprocess |