• 大小: 57.89MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-19
  • 语言: 其他
  • 标签: tesseract-oc  

资源简介

2018年8月编译配置最新Tesseract4,效果甩3.x版本几条街。官网示范程序有错,本示例程序堪称全网最好示例程序。本程序头文件、库和字典都已打包好,只要你装有VS2015就可以正常编译.调试.运行,不用配置任何环境变量。此为x86版本,若要x64版本,参考本人博客https://mp.csdn.net/postedit/81746904

资源截图

代码片段和文件信息

/*====================================================================*
 -  Copyright (C) 2001 Leptonica.  All rights reserved.
 -
 -  Redistribution and use in source and binary forms with or without
 -  modification are permitted provided that the following conditions
 -  are met:
 -  1. Redistributions of source code must retain the above copyright
 -     notice this list of conditions and the following disclaimer.
 -  2. Redistributions in binary form must reproduce the above
 -     copyright notice this list of conditions and the following
 -     disclaimer in the documentation and/or other materials
 -     provided with the distribution.
 -
 -  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 -  ‘‘AS IS‘‘ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
 -  LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 -  A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL ANY
 -  CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL
 -  EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO
 -  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR
 -  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 -  OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING
 -  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 -  SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *====================================================================*/

/*!
 * \file adaptmap.c
 * 

 *
 *  -------------------------------------------------------------------
 *
 *  Image binarization algorithms are found in:
 *     grayquant.c:   standard simple general grayscale quantization
 *     adaptmap.c:    local adaptive; mostly gray-to-gray in preparation
 *                    for binarization
 *     binarize.c:    special binarization methods locally adaptive.
 *
 *  -------------------------------------------------------------------
 *
 *      Clean background to white using background normalization
 *          PIX       *pixCleanBackgroundToWhite()
 *
 *      Adaptive background normalization (top-level functions)
 *          PIX       *pixBackgroundNormSimple()     8 and 32 bpp
 *          PIX       *pixBackgroundNorm()           8 and 32 bpp
 *          PIX       *pixBackgroundNormMorph()      8 and 32 bpp
 *
 *      Arrays of inverted background values for normalization (16 bpp)
 *          l_int32    pixBackgroundNormGrayArray()   8 bpp input
 *          l_int32    pixBackgroundNormRGBArrays()   32 bpp input
 *          l_int32    pixBackgroundNormGrayArrayMorph()   8 bpp input
 *          l_int32    pixBackgroundNormRGBArraysMorph()   32 bpp input
 *
 *      Measurement of local background
 *          l_int32    pixGetBackgroundGrayMap()        8 bpp
 *          l_int32    pixGetBackgroundRGBMap()         32 bpp
 *          l_int32    pixGetBackgroundGrayMapMorph()   8 bpp
 *          l_int32    pixGetBac

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-21 10:19  Tess4Test\
     目录           0  2018-08-17 17:17  Tess4Test\.vs\
     目录           0  2018-08-17 17:17  Tess4Test\.vs\Tess4Test\
     目录           0  2018-08-17 17:17  Tess4Test\.vs\Tess4Test\v14\
     文件       28160  2018-08-21 10:19  Tess4Test\.vs\Tess4Test\v14\.suo
     目录           0  2018-08-20 22:00  Tess4Test\Debug\
     文件     3657216  2018-08-17 14:54  Tess4Test\Debug\pvt.cppan.demo.danbloomberg.leptonica-1.76.0.dll
     文件      410112  2018-08-17 14:53  Tess4Test\Debug\pvt.cppan.demo.jpeg-9.2.0.dll
     文件      155648  2018-08-17 14:53  Tess4Test\Debug\pvt.cppan.demo.madler.zlib-1.2.11.dll
     文件      697344  2018-08-17 14:53  Tess4Test\Debug\pvt.cppan.demo.openjpeg.openjp2-2.3.0.dll
     文件      311808  2018-08-17 14:53  Tess4Test\Debug\pvt.cppan.demo.png-1.6.35.dll
     文件      780288  2018-08-17 14:53  Tess4Test\Debug\pvt.cppan.demo.tiff-4.0.9.dll
     文件     1006592  2018-08-17 14:54  Tess4Test\Debug\pvt.cppan.demo.webp-0.6.1.dll
     文件      344576  2018-08-17 14:53  Tess4Test\Debug\pvt.cppan.demo.xz_utils.lzma-5.2.4.dll
     文件       51200  2018-08-20 22:00  Tess4Test\Debug\Tess4Test.exe
     文件      404584  2018-08-20 22:00  Tess4Test\Debug\Tess4Test.ilk
     文件      905216  2018-08-20 22:00  Tess4Test\Debug\Tess4Test.pdb
     文件     7328256  2018-08-17 15:04  Tess4Test\Debug\tesseract40d.dll
     目录           0  2018-08-17 18:09  Tess4Test\include\
     文件           0  2018-08-17 13:55  Tess4Test\include\config_auto.h
     目录           0  2018-08-17 18:09  Tess4Test\include\leptonica\
     文件      110541  2018-08-17 13:03  Tess4Test\include\leptonica\adaptmap.c
     文件       58251  2018-08-17 13:03  Tess4Test\include\leptonica\affine.c
     文件       19560  2018-08-17 13:03  Tess4Test\include\leptonica\affinecompose.c
     文件      256329  2018-08-17 13:03  Tess4Test\include\leptonica\allheaders.h
     文件        2289  2018-08-17 13:03  Tess4Test\include\leptonica\alltypes.h
     文件        6161  2018-08-17 13:03  Tess4Test\include\leptonica\array.h
     文件        9353  2018-08-17 13:03  Tess4Test\include\leptonica\arrayaccess.c
     文件       10873  2018-08-17 13:03  Tess4Test\include\leptonica\arrayaccess.h
     文件       33077  2018-08-17 13:03  Tess4Test\include\leptonica\bardecode.c
     文件       23068  2018-08-17 13:03  Tess4Test\include\leptonica\baseline.c
............此处省略340个文件信息

评论

共有 条评论