OCR识别

一个比较悠久的OCR识别库了,很早就接触过,目前居然还健在,而且还进化了不少。面对人工智能,机器学习的压力,仍然可以表现出色。

tesseract

介绍

tesseract-Github

带有中文字符的cpp需要需要另存为-设置编码如下:
Unicode (UTF-8 带签名) - 代码页 65001

none official provide
https://github.com/peirick/VS2015_Tesseract

down vote
Given link working fine, there are few steps; you can compile tesseract and leptonica in visual studio 2015

Step1: Take material provided from VS2015_Tesseract

Step2: Copy files from leptonica into VS2015_Tesseract-master\leptonica\ folder

Step3: Copy files of tesseract from github into VS2015_Tesseract-master\tesseract_3.04 folder

Step4: Compile libtesseract or tesseract in x64 platform

问题

  1. error C2872: ‘remove_reference’: ambiguous symbol
// Specified by TR1 [4.7.2] Reference modifications.
// template <class T> struct remove_reference;
// template<typename T> struct remove_reference { typedef T type; };
// template<typename T> struct remove_reference<T&> { typedef T type; };