Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有数百张纸质表格,我想自动阅读这些表格。第一步是校准扫描的纸张。(找到4个正方形的坐标)
但我不知道如何在matlab中做到这一点:(
这是图片:
这是使用 OpenCV的解决方案。要检测纸张本身,请参阅此。
谢谢哈佛,
这个解决方案帮助了我。这就是我所做的:
I = imread('inv-small.png'); BW = edge(I,'canny',0.3); imshow(BW); C = corner(BW,4); imshow(I); hold on plot(C(:,1), C(:,2), 'r*'); hold off
结果是 :