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()
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?