alyssaq / hough_transform

Hough Transform implementation in Python
128 stars 53 forks source link

error #7

Closed WaldenLeefx closed 2 years ago

WaldenLeefx commented 3 years ago

I'm new to python and use 'python hough_transform.py' then get: Traceback (most recent call last): File "hough_transform.py", line 86, in show_hough_line(img, accumulator, save_path='imgs/output.png') TypeError: show_hough_line() missing 2 required positional arguments: 'thetas' and 'rhos'

SydoxX commented 2 years ago

Change line 86 to show_hough_line(img, accumulator, thetas, rhos, save_path='imgs/output.png')

That should fix the issue.

SydoxX commented 2 years ago

This was fixed by #6 but is not yet merged.

alyssaq commented 2 years ago

Merged now. Thanks :)

maxfrei750 commented 2 years ago

@alyssaq I think this issue can be closed then, right?