Merge pull request #5459 from aman11dhanpat:master
This commit is contained in:
commit
706b8a6266
@ -2090,6 +2090,10 @@ void putText( InputOutputArray _img, const String& text, Point org,
|
|||||||
int thickness, int line_type, bool bottomLeftOrigin )
|
int thickness, int line_type, bool bottomLeftOrigin )
|
||||||
|
|
||||||
{
|
{
|
||||||
|
if ( text.empty() )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
Mat img = _img.getMat();
|
Mat img = _img.getMat();
|
||||||
const int* ascii = getFontData(fontFace);
|
const int* ascii = getFontData(fontFace);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user