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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user