Edit text in frame android
问题 How to make it "Bold" and change color ? somebody can help me ? I try many times but still not working. Core.putText(mRgba, "Result : " + contours.size(), new org.opencv.core.Point(0, 300), Core.FONT_HERSHEY_SIMPLEX, 2.6f, new Scalar(255, 255, 0)) 回答1: Read the documentation: you have parameters for both of them. public static void putText(Mat img, java.lang.String text, Point org, int fontFace, double fontScale, Scalar color, int thickness) Parameters: img - Image. text - Text string to be