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:
committed by
Alexander Alekhin
parent
b9496f8d9d
commit
3721c8bb06
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user