update converter with pyopencv_to code from the opencv-2.4 branch with head at $41040e5