The constructor Detector(rotoTest05.Rotor, int, int, int, int, int) is undefined
in
Contributed Library Questions
•
2 years ago
i'm using blobscanner:
I want to track different areas from a webcam, i got the different part things working so far.
Every part is a class.
Normally the constructor for a detector (for blobs) is:
void setup(){
size(320, 240);
frame = new Capture(this, width, height);
bd = new Detector( this, 0, 0, frame.width, frame.height, 255 );
}
this is then the sketch i believe?
I want my detector in a class
bd = new Detector(this, 0, 0, Width, Height, 255 );
only it throws up:
The constructor Detector(rotoTest05.Rotor, int, int, int, int, int) is undefined
rotoTest05 is the sketch name and Rotor is the class.
How can i solve this?
1