We are about to switch to a new forum software. Until then we have removed the registration on this forum.
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!