Issue from Pupil forum post
require 'formula' | |
class GsettingsDesktopSchemas < Formula | |
homepage 'http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/' | |
url 'http://ftp.gnome.org/pub/GNOME/sources/gsettings-desktop-schemas/3.10/gsettings-desktop-schemas-3.10.1.tar.xz' | |
sha256 '452378c4960a145747ec69f8c6a874e5b7715454df3e2452d1ff1a0a82e76811' | |
depends_on 'xz' => :build | |
depends_on 'pkg-config' => :build | |
depends_on 'intltool' => :build |
''' | |
(*)~---------------------------------------------------------------------------------- | |
Pupil - eye tracking platform | |
Copyright (C) 2012-2014 Pupil Labs | |
Distributed under the terms of the CC BY-NC-SA License. | |
License details are in the file license.txt, distributed as part of this software. | |
----------------------------------------------------------------------------------~(*) | |
''' |
This collection of files serves as a simple static demonstration of how to post to a google spreadsheet from an external html <form>
following the example by Martin Hawksey
Depreciation Warning: This code is not maintained, and should be seen as reference implementation only. If you're looking to add features or update, fork the code and update as needed.
You should be able to just open index.html
in your browser and test locally.
export EDITOR=slime | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH" | |
# Set architecture flags | |
# export ARCHFLAGS="-arch x86_64" | |
# Ensure user-installed binaries take precedence | |
# path for node.js |
#!/usr/bin/env python | |
import numpy as np | |
import scipy.spatial.distance as spd | |
import OpenGL.GL as gl | |
from glumpy import figure, Trackball | |
if __name__ == '__main__': | |
This gist contains modified source code and an example plugin for the Pupil Google Group as a demonstration of concept. This code runs, but is not intended for distribution (only as one potential starting point for other users who might want to further develop a plugin that saves eye images in real-time along with pupil data.
screen_cap_eye.py
- the very rough example of the plugin that could be developed to achieve eye screen captures along with other pupil data.
eye.py
- https://gist.github.com/willpatera/8574c65348194f7161a1#file-eye-py-L222-L240 -- changed the pipe format
# coding=utf-8 | |
import pickle | |
import numpy as np | |
import sys | |
# open the pickled file | |
# replace with your path to pupil_data | |
if sys.version_info >= (3, 0): | |
pupil_data = pickle.load(open("/Users/wrp/recordings/2016_01_28/001/pupil_data","rb"),encoding='latin1') | |
else: |
#!/bin/bash | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 | |
# Remove any existing packages: | |
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev yasm | |
# Get the dependencies (Ubuntu Server or headless users): | |
sudo apt-get update |
''' | |
(*)~---------------------------------------------------------------------------------- | |
Pupil - eye tracking platform | |
Copyright (C) 2012-2016 Pupil Labs | |
Distributed under the terms of the GNU Lesser General Public License (LGPL v3.0). | |
License details are in the file license.txt, distributed as part of this software. | |
----------------------------------------------------------------------------------~(*) | |
''' |