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

Merge pull request #18343 from TolyaTalamanov:at/support-return-tuple

[G-API] Support std::tuple for return type
This commit is contained in:
Alexander Alekhin
2020-09-18 16:38:37 +03:00
committed by GitHub
5 changed files with 80 additions and 3 deletions
+1 -1
View File
@@ -1446,7 +1446,7 @@ All output matrices must be in @ref CV_8UC1.
@sa merge3, merge4
*/
GAPI_EXPORTS std::tuple<GMat, GMat, GMat,GMat> split4(const GMat& src);
GAPI_EXPORTS std::tuple<GMat, GMat, GMat> split3(const GMat& src);
GAPI_EXPORTS_W std::tuple<GMat, GMat, GMat> split3(const GMat& src);
/** @brief Applies a generic geometrical transformation to an image.
@@ -172,7 +172,7 @@ public:
* @param in input GMat of the defined unary computation
* @param out output GMat of the defined unary computation
*/
GComputation(GMat in, GMat out); // Unary overload
GAPI_WRAP GComputation(GMat in, GMat out); // Unary overload
/**
* @brief Defines an unary (one input -- one output) computation