You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error occurs in Line 80 of imageanalysis.py within auto_crop: if np.abs(angles[0]) < 80/180*np.pi:
This occurs with when running droppy.main(['filename', '--fitType', 'bashforth-adams']) as in the documentation.
Seems like hough_line_peaks(*hough_line(edges), num_peaks=1) of line 79 is producing an empty angles array.
Attached is the image being used:
In the case this is a usage error, are there any image requirements like resolution, contrast, relative droplet size, droplet position, etc.? This image is already cropped from an image at too high a resolution for the hough_transform functions to work with.
The text was updated successfully, but these errors were encountered:
Error occurs in Line 80 of imageanalysis.py within auto_crop:
if np.abs(angles[0]) < 80/180*np.pi:
This occurs with when running droppy.main(['filename', '--fitType', 'bashforth-adams']) as in the documentation.
Seems like hough_line_peaks(*hough_line(edges), num_peaks=1) of line 79 is producing an empty angles array.
Attached is the image being used:
In the case this is a usage error, are there any image requirements like resolution, contrast, relative droplet size, droplet position, etc.? This image is already cropped from an image at too high a resolution for the hough_transform functions to work with.
The text was updated successfully, but these errors were encountered: