Compile opencv_test_core with cv::String instead of std::string
All tests passed!
This commit is contained in:
@@ -1916,7 +1916,7 @@ static const int* getFontData(int fontFace)
|
||||
}
|
||||
|
||||
|
||||
void putText( Mat& img, const std::string& text, Point org,
|
||||
void putText( Mat& img, const cv::String& text, Point org,
|
||||
int fontFace, double fontScale, Scalar color,
|
||||
int thickness, int line_type, bool bottomLeftOrigin )
|
||||
|
||||
@@ -1978,7 +1978,7 @@ void putText( Mat& img, const std::string& text, Point org,
|
||||
}
|
||||
}
|
||||
|
||||
Size getTextSize( const std::string& text, int fontFace, double fontScale, int thickness, int* _base_line)
|
||||
Size getTextSize( const cv::String& text, int fontFace, double fontScale, int thickness, int* _base_line)
|
||||
{
|
||||
Size size;
|
||||
double view_x = 0;
|
||||
|
Reference in New Issue
Block a user