Image registration page border of photo (quasi scan) of book. What algorithms, libraries in python to use for cropping?

吃可爱长大的小学妹 提交于 2019-12-12 01:05:34

问题


I would like to crop photo such that only "necessary" thing left - in this case I mean text of photographed page left. I hope, that the belowe example demonstrates it clear.

I would like to do my task in python. I guess opencv library may be helpful, but what algorithms would you suggest to use? Write some own heuristics basing on image statistics, or are there some ready tools, and there is really no need for reinventing the wheel?

来源:https://stackoverflow.com/questions/18069843/image-registration-page-border-of-photo-quasi-scan-of-book-what-algorithms-l

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!