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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Stats Test Open Spaces</title> | |
<script type="text/javascript" src="js/vendor/d3.v3.min.js"></script> | |
<script type="text/javascript" src="js/vendor/topojson.v1.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | |
<link rel="stylesheet" href="css/style.css" /> |
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
#include "testApp.h" | |
#define RECONNECT_TIME 400 | |
//-------------------------------------------------------------- | |
void testApp::setup(){ | |
// initialize app | |
ofSetFrameRate(30); | |
ofEnableSmoothing(); | |
ofEnableAlphaBlending(); |
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
#include "testApp.h" | |
//-------------------------------------------------------------- | |
void testApp::setup(){ | |
camWidth = 320; | |
camHeight = 240; | |
canvasWidth = 320; | |
canvasHeight = 50; | |
grabber.setVerbose(true); |
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
float[] volume; | |
float[] adjClose; | |
float closeY; | |
float time; | |
float index; | |
float volumeColor; | |
int width = 512; | |
int height = 512; |
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
Switched to branch 'veev' | |
172-26-12-137:AppropriatingNewTechnologies genevieve$ git remote | |
origin | |
upstream | |
172-26-12-137:AppropriatingNewTechnologies genevieve$ git remote https://github.com/stpn/AppropriatingNewTechnologies.git | |
error: Unknown subcommand: https://github.com/stpn/AppropriatingNewTechnologies.git | |
usage: git remote [-v | --verbose] | |
or: git remote add [-t <branch>] [-m <master>] [-f] [--mirror=<fetch|push>] <name> <url> | |
or: git remote rename <old> <new> | |
or: git remote rm <name> |
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
#include "testApp.h" | |
extern "C" { | |
#include "macGlutfix.h" | |
} | |
//-------------------------------------------------------------- | |
void testApp::setup(){ | |
//faceWidth = 200; |
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
//make sure that OpenCV can find a face | |
if (finder.blobs.size() > 0) { | |
//then make a new image that is the width and height of the face bounding box | |
imageFace.allocate(finder.blobs[0].boundingRect.x, finder.blobs[0].boundingRect.y, OF_IMAGE_COLOR_ALPHA); | |
//unsigned char * origPixels = image.getPixels(); | |
//make a new data type for the new image's pixels | |
unsigned char * copyPixels = imageFace.getPixels(); |
NewerOlder