Closed eggytronixx closed 7 years ago
Could you share the image causing the issue?
Error I'm seeing is TypeError: slice indices must be integers or None or have an __index__ method
I believe it was a type error. I did the following to the source, and it fixed the issue. The values for lower_x_lim, upper_x_lim, lower_y_lim, and upper_y_lim should be int not float
@rhsimplex I would using the url from the demo example on the docs page
@eggytronixx hey thanks for the fix. I'm traveling until next week, then I can fix it. Alternatively, you can make a PR and I'll merge it immediately if the tests pass 😁
Closed by #58 Thanks @eggytronixx :+1:
@rhsimplex 👍🏾
avg_grey[i, j] = np.mean(image[lower_x_lim:upper_x_lim, lower_y_lim:upper_y_lim]) # no smoothing here as in the paper
lower_x_lim, upper_x_lim, lower_y_lim, and upper_y_lim are causing the slice to through an exception in python 3.5.
Does anyone else have this issue?