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:
Orest Chura
2019-12-17 11:00:49 +03:00
committed by Alexander Alekhin
parent c6c8783c60
commit 287874a444
5 changed files with 824 additions and 251 deletions
+1 -1
View File
@@ -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);