I am running the DNN tutorial https://docs.opencv.org/master/d0/d6c/tutorial_dnn_android.html
It is working as intended. The FPS counter on my phone shows 200FPS.
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/tflite/demo_android
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.