Alyn
Alyn copied to clipboard
Error while deskewing the image
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??
Hey sorry for the late reply.
Can you comment below the code to reproduce this?
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?
Hi, take r_angle=0 while calling deskew()
@cmehak the issue is still the same...