1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Set swapRB to false in Caffe tests and examples.

This commit is contained in:
jrobble
2017-09-19 02:07:33 -04:00
parent 0624411875
commit c67ad49378
10 changed files with 47 additions and 51 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ int main(int argc, char** argv)
//! [Prepare blob]
Mat preprocessedFrame = preprocess(frame);
Mat inputBlob = blobFromImage(preprocessedFrame); //Convert Mat to batch of images
Mat inputBlob = blobFromImage(preprocessedFrame, 1.0f, Size(), Scalar(), false); //Convert Mat to batch of images
//! [Prepare blob]
//! [Set input blob]