Skip to content

Commit e5511df

Browse files
committed
improve comments
1 parent 709f2fc commit e5511df

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

processing-mode/example4/example4.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Edge Detection Example
2-
#
2+
# Original Sketch from Processing's Topics/ImageProcessing/EdgeDetection Example code
3+
#
4+
# In this adaptation of Processing's Edge Detection example, OpenCV is used to
5+
# perform the edge detection. The edge detection mode can be changed by pressing
6+
# 't' for tight, 'w' for wide, or any other key for auto.
7+
#
38
# Canny edge detection algorithm adapted from:
49
# https://pyimagesearch.com/2015/04/06/zero-parameter-automatic-canny-edge-detection-with-python-and-opencv/
5-
#
6-
# Press 't', 'w', or any other key to set the edge detection mode.
710

811
import traceback
912

processing-mode/example4/java/src/main/java/test/Example4Sketch.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
/**
22
* Edge Detection Example
3+
* Original Sketch from Processing's Topics/ImageProcessing/EdgeDetection Example code
4+
*
5+
* In this adaptation of Processing's Edge Detection example, OpenCV is used to
6+
* perform the edge detection. The edge detection mode can be changed by pressing
7+
* 't' for tight, 'w' for wide, or any other key for auto.
38
*
49
* Canny edge detection algorithm adapted from:
510
* https://pyimagesearch.com/2015/04/06/zero-parameter-automatic-canny-edge-detection-with-python-and-opencv/
6-
*
7-
* Press 't', 'w', or any other key to set the edge detection mode.
811
*/
912
package test;
1013

0 commit comments

Comments
 (0)