Skip to content

Instantly share code, notes, and snippets.

@tylerjwilk
tylerjwilk / pupil.py
Created April 19, 2017 12:55 — forked from edfungus/pupil.py
Pupil Detection with Python and OpenCV
#Identify pupils. Based on beta 1
import numpy as np
import cv2
import time
cap = cv2.VideoCapture(0) #640,480
w = 640
h = 480