An edge detection python program with OpenCV