fixed examples for opencv 2.4.8