Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

why wont this work? and how do i connect the device? no instructions

$
0
0

just downloaded this lib for android from the mngr in P2 but nothing for how to connect android cam

import com.onlylemi.processing.android.capture.*;

AndroidCamera ac;
PImage img;

void setup() {
  size(720, 480);
  ac = new AndroidCamera(width, height, 30);
  ac.start();
}

void draw() {
  img = ac.getCameraImage();
  image(img, 0, 0);
}

Viewing all articles
Browse latest Browse all 941

Trending Articles