Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

cameraBridgeViewBase Pausing Callback/Green Screen during Resume

$
0
0
Hi There! I am using cameraBridgeViewBase to capture a frame, processing the frame, and drawing it onto the canvas of cameraBridgeViewBase for display for 5 seconds before repeating the process again. All the processing is done in my main activity. I noticed that the onCameraFrame() function kept interrupting the drawing onto the canvas so I had to use cameraBridgeViewBase.disableView() and cameraBridgeViewBase.enableView() to disable and enable the callBacks of the cameraBridgeViewBase after I've drawn the canvas. The problem is that everytime enableView() is a called, for a split second an annoying green frame pops into the preview on screen the smartphone (I'm assuming it's part of the initialization). Is there a way to get rid of the green screen during enableVIew()? Is there a better way to pause the callBacks of cameraBridgeViewBase so I can peacefully draw my picture onto the canvas? Thanks, Kevin

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>