书本或纸张照片的矫正
- 读取原图im1,获取轮廓im2
- 筛选出最大轮廓
- 根据轮廓,来生成近似轮廓(四边形)
- 如果近似轮廓的表述结构为四个点(即四边形的四个顶点),则计算最长的边长;否则图片不合格,退出程序
- 组装透视变换的四个参考点
- 组装透视变换的四个待变换的点,由于检测到的四个点的顺序可能是混乱的,需要整理它们的顺序,使之分别与四个参考点对应
- 获取透视变换矩阵M,并根据M讲原图im1进行变换
- 锐化
python
opencv
numpy
书本或纸张照片的矫正
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.