Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'numpy.float64' object cannot be interpreted as an integer #1

Closed
RashmiPandeyatGit opened this issue Aug 24, 2017 · 4 comments

Comments

@RashmiPandeyatGit
Copy link

errr

@RashmiPandeyatGit
Copy link
Author

lines

@knasim
Copy link

knasim commented Nov 10, 2017

I ended using diag_len.asType(np.int64) to convert it from float to a precise integer.

@alyssaq
Copy link
Owner

alyssaq commented Nov 10, 2017

Thanks for reporting this. This has been fixed now

@alyssaq
Copy link
Owner

alyssaq commented Nov 10, 2017

@Rashmi002 Since the lines in your image are black, you can pass the following:

hough_line(img, lines_are_white=False)

unknown

@alyssaq alyssaq closed this as completed Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants