sbrunner / deskew

Library used to deskew a scanned document
MIT License
423 stars 46 forks source link

Dealing with angles > 90 #519

Closed parad0x96 closed 6 months ago

parad0x96 commented 6 months ago

It seems to give 0 degree with upside down images

sbrunner commented 6 months ago

Nobody can help you with no more information, I just can say that it's possible that setting the argument angle_pm_90 to True can help.

parad0x96 commented 6 months ago

Nobody can help you with no more information, I just can say that it's possible that setting the argument angle_pm_90 to True can help.

You're right sorry for the lack of information, I have an image which is upside down (180 degrees), it seems to output 0 degrees when using angle_pm_90 set to True