Шаблон для використання:
$ python2.7 edge-detection.py -m <sobel|kirsch|prewitt|blur> -i <image>
Приклад:
$ python2.7 edge-detection.py -m kirsch -i ~/Downloads/test.jpg
Завуження:
Перевіряв тільки на Python версії 2.7. Відкриваютсья тільки файли з розширенням .jpg. В результаті отримуємо картинку, що зберігається в каталозі tmp и відкривається вашим додатком для перегляду зображень.