i want to convert a value of a Point to string, so that i could print the location of that Point on an image.
i am suppose to use this
putText(image, to_string("this is string"), maxLoc,FONT_HERSHEY_COMPLEX_SMALL, 0.8, cvScalar(255, 255, 204), 1, CV_AA);
i tried to replace it, and make it to below, and it failed. It work if i just to_string a integer variable
putText(image, to_string(point_variable), maxLoc,FONT_HERSHEY_COMPLEX_SMALL, 0.8, cvScalar(255, 255, 204), 1, CV_AA);