这篇文章写得很清楚,一定要仔细阅读。 https://www.raywenderlich.com/163445/tesseract-ocr-tutorial-ios 另外github里面的whichFont项目也不错