【opencv】图片标注文字

IplImage* pstImg;
HI_CHAR as8Title[25];
CvFont stTimeFont;//字体信息
cvInitFont(&stTimeFont,CV_FONT_HERSHEY_COMPLEX,0.5f,0.5f,0,1,8); 
sprintf_s(as8Title,"GMM:%d",g_u32FrameNum);
cvPutText(pstImg,as8Title,cvPoint(0,15),&stTimeFont,CV_RGB(255,0,0));

你可能感兴趣的:(opencv)