1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Merge pull request #13586 from eightco:Core_bugfix3

* Add Operator override for multi-channel Mat with literal constant.

* simple test

* Operator overloading channel constraint for primitive types

* fix some test for #13586
This commit is contained in:
Lee Jaehwan
2019-01-17 23:23:09 +09:00
committed by Alexander Alekhin
parent b9496f8d9d
commit 3721c8bb06
3 changed files with 57 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ TEST(Test_TensorFlow, read_inception)
ASSERT_TRUE(!sample.empty());
Mat input;
resize(sample, input, Size(224, 224));
input -= 128; // mean sub
input -= Scalar::all(117); // mean sub
Mat inputBlob = blobFromImage(input);