Passing Capture reference

edited November 2016 in Library Questions

Hi,

I am trying to pass a Capture reference. This somehow always returns false even thought camera is available.

boolean readCamera() {

//The variable cam is a Capture function and is global.

  if (!cam.available()) {
    return false;
  }

  cam.read();
  return true;
}

Can someone give me some pointers please.

Thanks

S

Sign In or Register to comment.