puttext N decimal places
how do i tell puttext that i want only 2 decimal or 3 decimal places ? it always gives me 6 decimal places like 22.210000
how do i tell puttext that i want only 2 decimal or 3 decimal places ? it always gives me 6 decimal places like 22.210000
cv::putText on it's own does not do any formatting.
imho, you want something like this:
cv::putText(img, cv::format("i am: %3.3f", some_float_number), ...)
Asked: 2016-12-07 12:27:31 -0600
Seen: 1,835 times
Last updated: Dec 07 '16
what programming language do you use ?