Best way to render some text on an image?
What is/are the recommended way(s) to render some text onto an image message in ROS Indigo / Ubuntu 14.04?
I tried opencv/highgui/addText/fontQt, but that introduces an opencv compile-time dependency on qt, which is not switched on in the Debian/Ubuntu OpenCV builds which ROS depends on.
One solution is to build opencv from source and switch on the QT support, but I am worried that will be a bit of a nightmare, since the Debian opencv version is used by a bunch of stuff on my system, and ripping it out will probably break a bunch of other stuff in my ROS install.
I know I can go shop around for a generic font rendering library, but maybe there is already something that already works with ROS image messages out of the box. I am working in Ubuntu 14.04.
Why should you need Qt for OpenCV? I do not get it... (well except of course using fontQt)