Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

failure to lock Surface in deliverAndDrawFrame

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.

click to hide/show revision 2
retagged

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

berak gravatar image

failure to lock Surface in deliverAndDrawFrame

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.