1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-28 23:03:03 +04:00

Merge pull request #14892 from TolyaTalamanov:at/parameterized-render-tests

G-API: Parameterized render tests (#14892)

* Init commit

* Add mat size as test parameter

* Add test for text render

* Add test for rect render

* Add tests for line and circle

* Remove old render tests

* Init output mats

* Remove methods input arguments

* Add comment about data loss in BGR2NV12 conversion

* Add edge test cases

* Replace default color for out mats black -> white
This commit is contained in:
atalaman
2019-06-28 17:11:03 +03:00
committed by Alexander Alekhin
parent 75c567b6ab
commit 8dd596b7ba
6 changed files with 245 additions and 228 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ void cv::gapi::wip::draw::render(cv::Mat& bgr, const Prims& prims)
{
const auto& t_p = cv::util::get<Text>(p);
cv::putText(bgr, t_p.text, t_p.org, t_p.ff, t_p.fs,
t_p.color, t_p.thick, t_p.bottom_left_origin);
t_p.color, t_p.thick, t_p.lt, t_p.bottom_left_origin);
break;
}