Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting error with freeType -> putText function

I am getting an error

no matching function for call to ‘cv::freetype::FreeType2::putText(IplImage*&, cv::String&, CvPoint&, int&, cv::Scalar_<double>, int&, int&, bool)

for the following code - (Here show_image is declared as IplImage *show_image)

            ft2->putText( show_image, text, pt_text, fontHeight, cv::Scalar::all(0), baseline, linestyle, true );