Python Opencv Edge Detection Method