anaconda下安装tesserocr

2019-06-19  本文已影响0人  _灯火阑珊处
先通过命令行安装tesserocr

conda install -c simonflueckiger tesserocr

C:\Users\wuxl_>conda install -c simonflueckiger tesserocr
Collecting package metadata: done
Solving environment: done

## Package Plan ##

  environment location: D:\ProgramData\Anaconda3

  added / updated specs:
    - tesserocr


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    tesserocr-2.4.0            |py37_tesseract_3.5.2_0         3.3 MB  simonflueckiger
    ------------------------------------------------------------
                                           Total:         3.3 MB

The following NEW packages will be INSTALLED:

  tesserocr          simonflueckiger/win-64::tesserocr-2.4.0-py37_tesseract_3.5.2_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
tesserocr-2.4.0      | 3.3 MB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

C:\Users\wuxl_>
安装完成后再通过下面链接下载一个tesseract安装包进行安装

tesseract下载地址:http://digi.bib.uni-mannheim.de/tesseract

安装完成后配置一下环境变量
C:\Users\wuxl_>tesseract -v
tesseract v5.0.0.20190526
 leptonica-1.78.0
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.3) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
 Found AVX2
 Found AVX
 Found SSE

C:\Users\wuxl_>
上一篇下一篇

猜你喜欢

热点阅读