Skip to content

Instantly share code, notes, and snippets.

View tripplyons's full-sized avatar

Tripp Lyons tripplyons

View GitHub Profile
@tripplyons
tripplyons / handy.py
Created May 16, 2017 21:01 — forked from rainyear/handy.py
Hand posture detection with OpenCV.
#!/usr/bin/env python
import cv2
import numpy as np
def main():
cap = cv2.VideoCapture(0)
while(cap.isOpened()):
ret, img = cap.read()
skinMask = HSVBin(img)