2019-07-11 07:44:14 -0600 | received badge | ● Famous Question (source) |
2017-05-06 01:33:40 -0600 | received badge | ● Notable Question (source) |
2016-03-25 14:37:22 -0600 | received badge | ● Popular Question (source) |
2013-11-29 08:29:36 -0600 | commented question | putText: multiple lines? Thanks. That's what I was thinking. I was just hoping there was a cleaner way to do this since I have about 10 lines to write. I had found this post about newline (\n) characters, but I guess it hasn't yet been implemented (see the response by OpenCV in the comments). |
2013-11-28 13:08:02 -0600 | received badge | ● Editor (source) |
2013-11-28 13:04:07 -0600 | received badge | ● Organizer (source) |
2013-11-28 13:02:32 -0600 | asked a question | putText: multiple lines? Can I use newline characters in cv::putText to write multiple lines on an image? My \n characters are not recognized. Sample Code: std::string outputText = "Left \n Right \n"; cv::putText(imageOutput, outputText, cvPoint(30, 20), cv::FONT_HERSHEY_SIMPLEX, 0.5, cv::Scalar(0,0,0)); My final image ends up with the following text on one line: Left ? Right ? I'm using Mac OS X Mavericks, OpenCV 2.4.5, xCode Thanks! |