Skip to content

Wishlist: Compute more preicse angles to deskew #774

@AlMa1r

Description

@AlMa1r

While experimenting with pixFindSkewAndDeskew, I found out that only certain angles are returned. Here is an exemplary list of the angles that occur during deskewing 18 different scanned pages of mine (kept private):

 0.109375
 0.453125
 1.21875
-0.15625
 0.015625
-0.765625
-0.015625
-0.296875
-0.046875
-0.140625
-0.296875
 0.34375
-0.375
 0.140625
-0.40625
 0.546875
-0.765625
 0.328125

Notice that all are of the form integer · 0.000125. Remark that IEEE 754 allows for more precision in 32 bits.

This may or may not constitue a bug, but in any case we express a wishlist item: compute more precise angles to deskew.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions