Update engine.py

Please refer to thumbor/opencv-engine#9