Skip to content

lllllll-llll-llllll/text-skew-detection-correction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autoit script utilizing imagemagick that can correct skews for images containing text, and automatically crop to the text.

output result

examples:
'input' folder contains some skewed images.
'output' folder contains the resulting corrected images.

theory of operation:
images containing text with a median filter applied creates long blobs, which we can outline, then form lines based on, and figure out the angles of these lines, the strongest of which is used to apply a corrective rotation.

About

detect and correct skewed images containing text

Topics

Resources

License

Stars

Watchers

Forks

Languages