You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/tutorials/dnn/dnn_googlenet/dnn_googlenet.markdown
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,7 @@ Explanation
37
37
38
38
-# Read input image and convert to the blob, acceptable by GoogleNet
39
39
@snippet dnn/caffe_googlenet.cpp Prepare blob
40
-
Firstly, we resize the image and change its channel sequence order.
41
-
42
-
Now image is actually a 3-dimensional array with 224x224x3 shape.
43
-
44
-
Next, we convert the image to 4-dimensional blob (so-called batch) with 1x3x224x224 shape by using special cv::dnn::blobFromImages constructor.
40
+
We convert the image to a 4-dimensional blob (so-called batch) with 1x3x224x224 shape after applying necessary pre-processing like resizing and mean subtraction using cv::dnn::blobFromImage constructor.
0 commit comments