Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

possible to convert value of a Point to string? opencv c++

$
0
0
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);

Viewing all articles
Browse latest Browse all 19555

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>