Threads in new »OpenCV for Processing« library

edited December 2013 in Library Questions

How can I use threads in the new »OpenCV for Processing« library?

This is a good example, but it was done using the old »OpenCV« library: http://www.gwoptics.org/processing/you_are_einstein/

The problem is using:

opencv.loadImage();

it throws:

Cannot run the OpenGL renderer outside the main thread, change your code
so the drawing calls are all inside the main thread, 
or use the default renderer instead.

Cannot call endDraw() before beginDraw()

Thanks!

Sign In or Register to comment.