How to display detected object width and height using CvCameraViewListener2

asked 2014-11-13 02:55:23 -0600

Adean Magarn gravatar image

my android opencv app draws react of detected object on video stream using implements CvCameraViewListener2 up to here works fine.

Core.rectangle(mRgbImage, rect.tl(), rect.br(), new Scalar(255, 0, 0),2);

now i need to display detected object width (rect.height) and height(rect.width) on EditText. but the problem is onCameraFrame will not allow to display or return values. please help me. smiler question but still not answered.

edit retag flag offensive close merge delete