Alyn icon indicating copy to clipboard operation
Alyn copied to clipboard

Error while deskewing the image

Open sharmaannapurna opened this issue 8 years ago • 4 comments

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??

sharmaannapurna avatar Oct 12 '17 10:10 sharmaannapurna

Hey sorry for the late reply.

Can you comment below the code to reproduce this?

kakul avatar Nov 15 '17 08:11 kakul

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?

sarathsrk avatar Feb 14 '19 11:02 sarathsrk

Hi, take r_angle=0 while calling deskew()

cmehak avatar Dec 16 '19 07:12 cmehak

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

priyanka-ux avatar May 29 '20 13:05 priyanka-ux