1 | initial version |
Thank you berak. That did the trick. I actually did this and now I have the 2 lines as I wanted. Thanks a bunch.
double fontScale = 2; Scalar color = new Scalar(fontScale); Point pointXY1 = new Point(10, 10); Point pointXY2 = new Point(10, 25);
putText(frame, "Name :"+resultRetrieved[0], pointXY1 , FONT_HERSHEY_PLAIN, 0.8, color, 1, CV_AA, false); putText(frame, "ID :"+resultRetrieved[2], pointXY2 , FONT_HERSHEY_PLAIN, 0.8, color, 1, CV_AA, false);
2 | No.2 Revision |
Thank you berak. That did the trick. I actually did this and now I have the 2 lines as I wanted. Thanks a bunch.
double fontScale = 2;
Scalar color = new Scalar(fontScale);
Point pointXY1 = new Point(10, 10);
Point pointXY2 = new Point(10, 25);30);
putText(frame, putText(imgMat, "Name :"+resultRetrieved[0], :"+resultRetrieved[4], pointXY1 , FONT_HERSHEY_PLAIN, 0.8, color, 1, CV_AA, false);
putText(frame, putText(imgMat, "ID :"+resultRetrieved[2], :"+resultRetrieved[5], pointXY2 , FONT_HERSHEY_PLAIN, 0.8, color, 1, CV_AA, false);
3 | No.3 Revision |
Thank you berak. That did the trick. I actually did this and now I have the 2 lines as I wanted. Thanks a bunch.
double fontScale = 2;
Scalar color = new Scalar(fontScale);
Point pointXY1 = new Point(10, 10);
Point pointXY2 = new Point(10,