ImageMagick trimming to a border

后端 未结 1 412
-上瘾入骨i
-上瘾入骨i 2021-01-16 01:37

I\'m using ImageMagick to trim margins off of a scanned page.

The page has a black border and for our purposes looks something like this:

相关标签:
1条回答
  • 2021-01-16 01:51

    I ended up using a combination of some ImageMagick with using this line segment detector with some tricky parameters to find the borders and crop to those.

    0 讨论(0)
提交回复
热议问题