这可能相当困难,并且您可能需要至少找到一些能够检测位图中扭曲文本的算法或库,分析文本图像中可能的 2D 和 3D 几何扭曲,进行图像处理以纠正该扭曲及其逆, DSP 过滤可自适应调整图像对比度...再加上使用 iOS API 来拍照。
It probably is pretty difficult, and you will likely need to find at least some algorithms or libraries capable of detecting distorted text within bitmaps, analyzing the likely 2D and 3D geometric distortion within a text image, image processing to correct that distortion with its inverse, and DSP filtering to adaptively adjust the image contrast... plus use of iOS APIs to take photos in the first place.
发布评论
评论(2)
我发现一个开源库可以解决这个问题:
http://code.google。 com/p/simple-iphone-image-processing
I found an open source library that does the trick:
http://code.google.com/p/simple-iphone-image-processing
这可能相当困难,并且您可能需要至少找到一些能够检测位图中扭曲文本的算法或库,分析文本图像中可能的 2D 和 3D 几何扭曲,进行图像处理以纠正该扭曲及其逆, DSP 过滤可自适应调整图像对比度...再加上使用 iOS API 来拍照。
It probably is pretty difficult, and you will likely need to find at least some algorithms or libraries capable of detecting distorted text within bitmaps, analyzing the likely 2D and 3D geometric distortion within a text image, image processing to correct that distortion with its inverse, and DSP filtering to adaptively adjust the image contrast... plus use of iOS APIs to take photos in the first place.