Multiple bugs revised after OpenCV 2.4.9
Multiple bugs revised after OpenCV 2.4.9