First, this method decide the skew angle of a business card image according to four border fitting lines of the business card, then a method based on block move is provided to correct image and black border is erased based on position of border near-line.

 
  • 该方法先检测出名片的四条边缘拟合直线,由四条边缘拟合直线的倾斜角度来确定名片图像倾斜角度,然后采用逐段整块搬移的方法来对图像进行倾斜校正,再根据边缘拟合直线位置去除黑边。
今日热词
目录 附录 查词历史