mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -552,7 +552,7 @@ QUnit.test('test_filter', function(assert) {
|
||||
cv.stackBlur(src, src, new cv.Size(3, 3));
|
||||
|
||||
// Verify result.
|
||||
let expected = new Uint8Array([22,29,36,38,43,50]);
|
||||
let expected = new Uint8Array([14,22,29,46,51,58]);
|
||||
|
||||
assert.deepEqual(src.data, expected);
|
||||
src.delete();
|
||||
|
||||
@@ -173,7 +173,7 @@ QUnit.test('test_mat_creation', function(assert) {
|
||||
// clone
|
||||
{
|
||||
let mat = cv.Mat.ones(5, 5, cv.CV_8UC1);
|
||||
let mat2 = mat.mat_clone();
|
||||
let mat2 = mat.clone();
|
||||
|
||||
assert.equal(mat.channels, mat2.channels);
|
||||
assert.equal(mat.size().height, mat2.size().height);
|
||||
|
||||
Reference in New Issue
Block a user