failure to lock Surface in deliverAndDrawFrame

asked 2017-06-29 20:16:49 -0500

Danimal gravatar image

updated 2017-06-29 20:32:41 -0500

berak gravatar image

Apologies if this has been asked before (though I didn't find it through searching), but I've come across a problem where none of the frames passed through onCameraFrame allow me to do any processing to them due to the Surface not locking in the lockCanvas() call of deliverAndDrawFrame. This happens even if I run tutorial 1 and watch the monitor through Android Studio, it just continuously gives this error. I'm using OpenCV 3.2.0, is this a new problem? Should I use an older version? Or is there a fix?

Thanks for any help! This toolkit works very well when post-processing videos, I'd love to get it working on a live stream.

edit retag flag offensive close merge delete