diff --git a/bob/bio/face/embeddings/opencv.py b/bob/bio/face/embeddings/opencv.py
index ab0c46bdbabf7c4dd9d57dd3fd65f1ee8b9e21a5..8a5d55f8e47be1b7cb126a0f07607cd78690ab64 100644
--- a/bob/bio/face/embeddings/opencv.py
+++ b/bob/bio/face/embeddings/opencv.py
@@ -135,14 +135,15 @@ class VGG16_Oxford(OpenCVTransformer):
             Caffe has the shape `C x H x W` and the chanel is BGR and 
 
             """
-            # To BGR
-            X = X[:, ::-1, :, :].astype("float32")
 
             # Subtracting
             X[:, :, :, 0] -= caffe_average_img[0]
             X[:, :, :, 1] -= caffe_average_img[1]
             X[:, :, :, 2] -= caffe_average_img[2]
 
+            # To BGR
+            X = X[:, ::-1, :, :].astype("float32")
+
             return X
 
         super(VGG16_Oxford, self).__init__(checkpoint_path, config, preprocessor)