change the opencvShow function