Update canny.py