Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
dinuman26
dinuman26's Profile
1
Posts
4
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Cannot find a class or type named "capture"
[7 Replies]
24-Mar-2013 02:17 PM
Forum:
Contributed Library Questions
Hi,
I need help from you guys, I dont know why this is not working, I am noobie in programming, may you help me?
When I run this code, is giving me this mesages: "Cannot find a class or type named "capture""
This is the sorce:
import jp.nyatla.nyar4psg.*;
import processing.opengl.*;
import processing.video.*;
capture myCam;
NyARMultiBoard nya;
float i = 0;
void setup(){
size(640,400,P3D);
myCam = new Capture(this,width,height,30);
String[] patts = {"patt.hiro"};
double[] width = {80};
nya = new NyARMultiBoard(this,width,height, "camera_para.dat", patts, widths);
}
void draw(){
background(200);
myCam.read();
image(myCam,0,0);
if(nya.detect(myCam)){
nya.markers[0].beginTransform();
translate(0,0,25);
box(50);
nya.markers[0].endTransform();
}
}
----------------------------------
I am running Windows 7, 32 bites, Processing in Java.
Trying to make an "Augmented Rality app", the tools are seted up.
-----------------------------------
Thanks!
«Prev
Next »
Moderate user : dinuman26
Forum