Example #1
0
void cv::addText( const Mat& img, const String& text, Point org, const String& nameFont,
        int pointSize, Scalar color, int weight, int style, int spacing)
{
    CvFont f = cvFontQt(nameFont.c_str(), pointSize, cvScalar(color), weight, style, spacing);
    CvMat _img = cvMat(img);
    cvAddText( &_img, text.c_str(), cvPoint(org), &f);
}
Example #2
0
void cv::addText( const Mat& img, const std::string& text, Point org, CvFont font)
{
    CvMat _img = img;
    cvAddText( &_img, text.c_str(), org,&font);
}
Example #3
0
void cv::addText( const Mat& img, const String& text, Point org, const QtFont& font)
{
    CvMat _img = img;
    cvAddText( &_img, text.c_str(), org, (CvFont*)&font);
}
Example #4
0
void cv::addText( const Mat& img, const String& text, Point org, const QtFont& font)
{
    CvMat _img = cvMat(img);
    cvAddText( &_img, text.c_str(), cvPoint(org), (CvFont*)&font);
}