support for opencv 3.0