 <p>OpenCV uses by default the now very uncommon BGR (blue, green, red) ordering of the color channels. Normal is RGB. </p> <p><a href="http://stackoverflow.com/questions/14556545/why-opencv-using-bgr-colour-space-instead-of-rgb">Why OpenCV Using BGR Colour Space Instead of RGB</a></p> <p>This could explain the bad performance of the model.</p>