This file contains hidden or 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
PImage b; | |
void setup(){ | |
size(448, 448); | |
// Images must be in the "data" directory to load correctly | |
b = loadImage("square.gif"); | |
image(b, 0, 0); | |
} |
This file contains hidden or 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
PImage b; | |
void setup(){ | |
size(448, 448); | |
// Images must be in the "data" directory to load correctly | |
b = loadImage("square.gif"); | |
image(b, 0, 0); |
This file contains hidden or 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
@points = [ | |
[-0.42857146,0.42857146], | |
[1.0357141,-3.982143], | |
[0.5,-0.19642878], | |
[1.8392859,0.32142854], | |
[2.642857,1.5178571], | |
[3.9642859,-1.0], | |
] |
This file contains hidden or 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
import processing.core.*; | |
import processing.video.*; | |
import oscP5.*; | |
import netP5.*; | |
public class Showlights extends PApplet { | |
Squares[] towers; | |
This file contains hidden or 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
{ | |
"patcher" : { | |
"fileversion" : 1, | |
"rect" : [ 92.0, 79.0, 915.0, 852.0 ], | |
"bglocked" : 0, | |
"defrect" : [ 92.0, 79.0, 915.0, 852.0 ], | |
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ], | |
"openinpresentation" : 0, | |
"default_fontsize" : 12.0, | |
"default_fontface" : 0, |
This file contains hidden or 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
{ | |
"patcher" : { | |
"fileversion" : 1, | |
"rect" : [ -32.0, 63.0, 1660.0, 895.0 ], | |
"bglocked" : 0, | |
"defrect" : [ -32.0, 63.0, 1660.0, 895.0 ], | |
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ], | |
"openinpresentation" : 0, | |
"default_fontsize" : 12.0, | |
"default_fontface" : 0, |
This file contains hidden or 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
import processing.core.*; | |
import processing.video.*; | |
import oscP5.*; | |
import netP5.*; | |
public class PalmReading extends PApplet { |
This file contains hidden or 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
void setup(){ | |
int counter = 0; | |
int beacon = 0; | |
for (int i = 0; i <= 55552222; i++){ | |
//System.out.println("Using #: "+beacon); |
This file contains hidden or 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
macbook-de-sebastian-gallese:java kdge$ pwd | |
/Users/kdge/Downloads/pHash-0.7.1/bindings/java | |
macbook-de-sebastian-gallese:java kdge$ sudo make | |
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT pHash-jni.lo -MD -MP -MF .deps/pHash-jni.Tpo -c -o pHash-jni.lo pHash-jni.cpp | |
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT pHash-jni.lo -MD -MP -MF .deps/pHash-jni.Tpo -c pHash-jni.cpp -fno-common -DPIC -o .libs/pHash-jni.o | |
pHash-jni.cpp:2:17: error: jni.h: No such file or directory | |
In file included from /usr/include/c++/4.0.0/backward/complex.h:31, | |
from ../../src/ph_fft.h:7, | |
from ../../src/audiophash.h:39, | |
from pHash-jni.cpp:8: |
This file contains hidden or 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
Making all in src | |
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c -o pHash.lo pHash.cpp | |
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -DHAVE_IMAGE_HASH=1 -DHAVE_VIDEO_HASH=1 -DHAVE_AUDIO_HASH=1 -Dcimg_use_jpeg -O2 -ffast-math -O3 -MT pHash.lo -MD -MP -MF .deps/pHash.Tpo -c pHash.cpp -fno-common -DPIC -o .libs/pHash.o | |
pHash.cpp: In function 'int ph_radon_projections(const cimg_library::CImg<unsigned char>&, int, Projections&)': | |
pHash.cpp:43: error: 'img->cimg_library::CImg<unsigned char>::width' cannot be used as a function | |
pHash.cpp:44: error: 'img->cimg_library::CImg<unsigned char>::height' cannot be used as a function | |
pHash.cpp:63: error: 'PI' is not a member of 'cimg_library::cimg' | |
pHash.cpp:69: error: 'ptr_radon_map->cimg_library::CImg<unsigned char>::data' cannot be used as a function | |
pHash.cp |
OlderNewer