Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Divide Object In Blob.

Somebody can help me to solve this problem. I try this for showing in frame.

 Core.putText(mRgba, ":" +(
                "((" + mBlobColorRgba.val[0] + ", " + mBlobColorRgba.val[1] +
            ", " + mBlobColorRgba.val[2] + ", " + mBlobColorRgba.val[3] + ")"), new org.opencv.core.Point(0, 160),
                Core.FONT_HERSHEY_SIMPLEX, 2.6d, new Scalar(255, 255, 0));

        Core.putText(mRgba, "Count number : " +
            contours.size(), new org.opencv.core.Point(0, 300),
            Core.FONT_HERSHEY_SIMPLEX, 2.6f, new Scalar(255, 255, 0));

image description

How to divide that ? s can show 5 number in frame. Really need help.

Divide Object In Blob.

Somebody can help me to solve this problem. I try this for showing in frame.frame. Its blob detection but in Java android ?

image description

 Core.putText(mRgba, ":" +(
                "((" + mBlobColorRgba.val[0] + ", " + mBlobColorRgba.val[1] +
            ", " + mBlobColorRgba.val[2] + ", " + mBlobColorRgba.val[3] + ")"), new org.opencv.core.Point(0, 160),
                Core.FONT_HERSHEY_SIMPLEX, 2.6d, new Scalar(255, 255, 0));

        Core.putText(mRgba, "Count number : " +
            contours.size(), new org.opencv.core.Point(0, 300),
            Core.FONT_HERSHEY_SIMPLEX, 2.6f, new Scalar(255, 255, 0));

image description

How to divide that ? s can show 5 number in frame. Really need help.