We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Mat::seamlessClone
Photo::seamlessClone
1 parent dbafbd0 commit 927018dCopy full SHA for 927018d
test/tests/photo/index.js
@@ -8,7 +8,7 @@ module.exports = function ({ cv, utils }) {
8
assertMetaData,
9
funcShouldRequireArgs,
10
readTestImage,
11
- generateAPITests
+ generateClassMethodTests
12
} = utils;
13
14
describe('inpaint', () => {
@@ -79,11 +79,12 @@ module.exports = function ({ cv, utils }) {
79
assertMetaData(res)(dest.rows, dest.cols, cv.CV_8UC3);
80
};
81
82
- generateAPITests({
83
- getDut: () => cv,
+ generateClassMethodTests({
+ getClassInstance: () => src,
84
methodName: 'seamlessClone',
85
+ classNameSpace: 'Mat',
86
+ methodNameSpace: 'Photo',
87
getRequiredArgs: () => ([
- src,
88
dest,
89
mask,
90
center,
0 commit comments