Ask Your Question

Revision history [back]

How to display detected object width and height using CvCameraViewListener2

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.