Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cvPutText( CvArr* img, // Image const char* text, // Text CvPoint origin, // Left bottom corner from which text is drawed const CvFont* font, // font CvScalar color // Color );

cvPutText(
   CvArr*        img, // Image
   const char*   text, // Text
   CvPoint       origin, // Left bottom corner from which text is drawed
   const CvFont* font, // font
   CvScalar      color // Color
);

);
cvPutText(

  CvArr*        img, // Image

  const char*   text, // Text

  CvPoint       origin, // Left bottom corner from which text is drawed

  const CvFont* font, // font

  CvScalar      color // Color

);

for example:

cvPutText(image, "Hello World!", cvPoint(50, 50), &font, CV_RGB(0,255,255));