Merge pull request #15942 from OrestChura:fb_tutorial
G-API: Tutorial: Face beautification algorithm implementation * Introduce a tutorial on face beautification algorithm - small typo issue in render_ocv.cpp * Addressing comments rgarnov smirnov-alexey
This commit is contained in:
committed by
Alexander Alekhin
parent
c6c8783c60
commit
287874a444
@@ -197,7 +197,7 @@ void drawPrimitivesOCV(cv::Mat& in,
|
||||
const auto& ftp = cv::util::get<FText>(p);
|
||||
const auto color = converter.cvtColor(ftp.color);
|
||||
|
||||
GAPI_Assert(ftpr && "I must pass cv::gapi::wip::draw::freetype_font"
|
||||
GAPI_Assert(ftpr && "You must pass cv::gapi::wip::draw::freetype_font"
|
||||
" to the graph compile arguments");
|
||||
int baseline = 0;
|
||||
auto size = ftpr->getTextSize(ftp.text, ftp.fh, &baseline);
|
||||
|
||||
Reference in New Issue
Block a user