From 65be497b0a80bf462181f21b25f496c14dc0868f Mon Sep 17 00:00:00 2001 From: Pieter Holtzhausen Date: Sat, 20 Aug 2011 01:49:27 +0200 Subject: [PATCH] Tutorial, adjusted threshold --- doc/source/tutorials/hough_transform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/tutorials/hough_transform.txt b/doc/source/tutorials/hough_transform.txt index 1c215ae0..9825510e 100644 --- a/doc/source/tutorials/hough_transform.txt +++ b/doc/source/tutorials/hough_transform.txt @@ -108,7 +108,7 @@ gap less than 3 pixels. In [25]: plt.imshow(np.zeros(edges.shape)) - In [26]: lines = probabilistic_hough(edges, threshold=1, line_length=10, line_gap=3) + In [26]: lines = probabilistic_hough(edges, threshold=10, line_length=5, line_gap=3) In [27]: for line in lines: ....: p0, p1 = line