回复 4楼wjy72的帖子
4,手动纠偏
请使用KeyStoneCommand ,使用方法如下:
LeadPoint[] PolyPoints = new LeadPoint[4];
//The four corners of the polygon
PolyPoints[0]= new LeadPoint(94, 94);
PolyPoints[1]= new LeadPoint(306, 43);
PolyPoints[2]= new LeadPoint(318, 237);
PolyPoints[3]= new LeadPoint(98, 237);
//Prepare the command
KeyStoneCommand command = new KeyStoneCommand();
command.PolygonPoints = PolyPoints;
//Apply
command.Run(image);
这个代码的效果请参见安装盘:\LEADTOOLS 19\Examples\DotNet\CS\OcrMultiEngineDemo,打开一张图片进行手动纠偏。
具体介绍请参见:https://www.leadtools.com/help/l ... eystonecommand.html |