Ask Your Question

Revision history [back]

Use Below code:

char str[200];
sprintf("%f  detection time",t);
putText(mbgra, str, Point2f(100,100), FONT_HERSHEY_PLAIN, 2,  Scalar(0,0,255,255));

Use Below the below code:

char str[200];
sprintf("%f  detection time",t);
putText(mbgra, str, Point2f(100,100), FONT_HERSHEY_PLAIN, 2,  Scalar(0,0,255,255));

Use the below code:

char str[200];
sprintf("%f sprintf(str,"%f  detection time",t);
putText(mbgra, str, Point2f(100,100), FONT_HERSHEY_PLAIN, 2,  Scalar(0,0,255,255));