Skip to content

Instantly share code, notes, and snippets.

View atduskgreg's full-sized avatar

Greg Borenstein atduskgreg

View GitHub Profile
import gab.opencv.*;
import org.opencv.imgproc.Imgproc;
import org.opencv.core.MatOfPoint2f;
import org.opencv.core.Point;
import org.opencv.core.Size;
import org.opencv.core.Mat;
import org.opencv.core.CvType;
OpenCV opencv;
import processing.video.*;
import gab.opencv.*;
import org.opencv.core.Core;
OpenCV opencv;
Capture video;
void setup(){
video = new Capture(this, 640, 480);
@atduskgreg
atduskgreg / hand_tracking_convexity_defects.pde
Last active September 29, 2018 13:29
opencv for processing convexity defects example
import gab.opencv.*;
import org.opencv.imgproc.Imgproc;
import org.opencv.core.Mat;
import org.opencv.core.MatOfInt;
import org.opencv.core.MatOfInt4;
import org.opencv.core.MatOfPoint;
import java.awt.Rectangle;
import java.util.Arrays;
@atduskgreg
atduskgreg / opencv_processing_hough_circles_example.pde
Created April 24, 2015 19:04
opencv_processing_hough_circles_example.pde
import gab.opencv.*;
import org.opencv.imgproc.Imgproc;
import org.opencv.core.Mat;
OpenCV opencv;
PImage src;
ArrayList<Circle> circles;
void setup(){
#ElectronicArtsDisruptKraya2015
#AviatNetworksOpen's-Graveland2015
#CadenceDesignSystemsConnectMachodeAgua2015
#IntuitOpenBotopa2015
#FairIsaacOpenSaintPeter'sChurch2015
#NetSuiteForumDouarTaachort2015
#NektarTherapeuticsDayConceiçãodeIpanema2015
#AppliedMaterialsConnectHansi2015
#UltratechLiveWelches2015
#ProofpointOpenBelleVue2015
<form {{action "poison" on="submit"}}>
{{view "select" contentBinding="targets" valueBinding='targetColor' selection='firstTarget'}}
<button type="submit">Poison</button>
</form>
<html>
<body>
<form>
<select>
<option>cats</option>
<option>dogs</option>
</select>
</form>
<body>
</html>
import gab.opencv.*;
import processing.video.*;
import java.awt.*;
Capture video;
OpenCV opencv;
void setup() {
size(640, 480);
video = new Capture(this, 640/2, 480/2);
query : <arbitrary>
response : <data>
query : <arbitrary>
response <passphrase>
catchphrase ideas:
* European cities (examples: Paris, London, Berlin)
* country of the world (examples: Japan, Ghana, New Zealand)
* type of food (examples: ice cream, pizza, spaghetti)
* type of car (examples: Honda civic, SUV, limo)
screenwriting
resesearch/journalism/anthropology
visual effects
game engine expert
machine learning
Kyle McDonald
Mike Woods (Framestore)
Ethan Zuckerman (MIT Media Lab, Civic Media)
Olly Lambert/Jamie Doran (Frontline Syria)