Re:Pdf.tocgen
by aidenn0 on Monday April 29, 2024 @01:40PM
(#40201491)
I think it's more typical to low-pass (i.e. blur) the image and then use a line-detection algorithm like the Hough transform. Properly deskewed text should have prominent horizontal white lines.
[ Parent
| on HN ]
Re:Pdf.tocgen
by perihelions on Monday April 29, 2024 @01:48PM
(#40201588)
- "Hough transform"
Oh, that one has much nicer properties—thank you!