Skip to content

Instantly share code, notes, and snippets.

@sarmadm
sarmadm / index.html
Created January 15, 2017 20:30 — forked from robu3/index.html
Jawbone Up Spiral Visualization
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="http://d3js.org/d3.v3.min.js"></script>
<style>
body {
font-family: sans-serif;
}
@sarmadm
sarmadm / eye_detector.py
Last active September 9, 2015 10:35 — forked from dimitrs/eye_detector.py
A Python implementation of the paper "Accurate Eye Center Location through Invariant Isocentric Patterns".
import cv2
import numpy as np
import matplotlib.pyplot as plt
from skimage import io
img = io.imread('eye.png')
# Left eye
img = np.around(img[0:img.shape[0], 0:img.shape[1]/2])