This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# (C) 2014 Joe Schwartz & Square Design, Inc. | |
# | |
# Uses the image from a webcam to control a grid of 32 Neopixel strips with 48 | |
# pixels on each strip. | |
# | |
import signal | |
import sys | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# module boxer.py | |
# | |
# Given a set of latitude-longitude coordinates representing a route, this module will | |
# create a set of bounding boxes, accessible via the boxes property. | |
# | |
import math | |
from pprint import pprint | |
class coordinate: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Assumes your class has the following instance variables: | |
AVCaptureSession *_videoSession; | |
AVCaptureDevice *_cameraDevice; | |
AVCaptureStillImageOutput *_imageOutput; | |
AVCaptureConnection *_avConnection; | |
*/ | |
-(void) setupStillVideoCaptureSession |