Opencv on Android how to get Smooth video [closed]

asked 2018-06-23 02:00:39 -0600

ImageCounter gravatar image

updated 2018-06-23 07:22:37 -0600

I am running the DNN tutorial https://docs.opencv.org/master/d0/d6c...

It is working as intended. The FPS counter on my phone shows 2.00FPS.

However the on screen image grab updates only after a few seconds. i.e stuttered image

I have downloaded a Tensorflow object detection app from here

https://www.tensorflow.org/mobile/tfl...

In the TensorFlow demo the video is not stuttered, it is real time. the object detection is happening on a different thread.

Is it possible to achieve similar functionality on opencv?. The current tutorial is consuming lots of CPU just to update the screen and resulting in the device heating up.

EDIT: This Question partially arose from the fact that FPS counter's decimal point wasn't visible and it looked as if its showing 200 FPS where as it was doing 2 FPS.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-10-04 06:53:19.736465