adl1995 / generalised-hough-transform

Applies Generalised Hough Transform to object detection in images.
29 stars 13 forks source link

How to change Input1Ref #5

Open finnnm opened 2 years ago

finnnm commented 2 years ago

When i change the Inout1Ref Image it says:

Traceback (most recent call last): File "generalized_hough_demo.py", line 19, in table = buildRefTable(refim) File "C:\Users\Bachelorarbeit\generalised-hough-transform\build_reference_table.py", line 35, in buildRefTable if (img[x, y] != 0): ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Can you help?

TWTom041 commented 4 months ago

try performing canny on the image first