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

Error while deskewing the image #9

Open
sharmaannapurna opened this issue Oct 12, 2017 · 4 comments
Open

Error while deskewing the image #9

sharmaannapurna opened this issue Oct 12, 2017 · 4 comments

Comments

@sharmaannapurna
Copy link

Hi,
I tried deskewing the image, but the program gave following error:
'
line 32, in deskew
rot_angle = 90 + angle + self.r_angle
TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('S46') dtype('S46') dtype('S46')
'
Can you help me figure out the source??

@kakul
Copy link
Owner

kakul commented Nov 15, 2017

Hey sorry for the late reply.

Can you comment below the code to reproduce this?

@sarathsrk
Copy link

File "build\bdist.win-amd64\egg\alyn\deskew.py", line 54, in run
self.deskew()
File "build\bdist.win-amd64\egg\alyn\deskew.py", line 30, in deskew
rot_angle = angle - 90 + self.r_angle
TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('S32') dtype('S32') dtype('S32')

Same error is happening to me, How to solve this?

@cmehak
Copy link

cmehak commented Dec 16, 2019

Hi, take r_angle=0 while calling deskew()

@priyanka-ux
Copy link

@cmehak the issue is still the same...
Capture

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

5 participants