• <bdo id='sNiR2'></bdo><ul id='sNiR2'></ul>
    <tfoot id='sNiR2'></tfoot>

    <small id='sNiR2'></small><noframes id='sNiR2'>

        <legend id='sNiR2'><style id='sNiR2'><dir id='sNiR2'><q id='sNiR2'></q></dir></style></legend>

      1. <i id='sNiR2'><tr id='sNiR2'><dt id='sNiR2'><q id='sNiR2'><span id='sNiR2'><b id='sNiR2'><form id='sNiR2'><ins id='sNiR2'></ins><ul id='sNiR2'></ul><sub id='sNiR2'></sub></form><legend id='sNiR2'></legend><bdo id='sNiR2'><pre id='sNiR2'><center id='sNiR2'></center></pre></bdo></b><th id='sNiR2'></th></span></q></dt></tr></i><div id='sNiR2'><tfoot id='sNiR2'></tfoot><dl id='sNiR2'><fieldset id='sNiR2'></fieldset></dl></div>

        tessnet2 加载失败

        时间:2023-05-21

        <small id='yVsnw'></small><noframes id='yVsnw'>

          <tbody id='yVsnw'></tbody>
            • <i id='yVsnw'><tr id='yVsnw'><dt id='yVsnw'><q id='yVsnw'><span id='yVsnw'><b id='yVsnw'><form id='yVsnw'><ins id='yVsnw'></ins><ul id='yVsnw'></ul><sub id='yVsnw'></sub></form><legend id='yVsnw'></legend><bdo id='yVsnw'><pre id='yVsnw'><center id='yVsnw'></center></pre></bdo></b><th id='yVsnw'></th></span></q></dt></tr></i><div id='yVsnw'><tfoot id='yVsnw'></tfoot><dl id='yVsnw'><fieldset id='yVsnw'></fieldset></dl></div>

              1. <tfoot id='yVsnw'></tfoot>
              2. <legend id='yVsnw'><style id='yVsnw'><dir id='yVsnw'><q id='yVsnw'></q></dir></style></legend>
                  <bdo id='yVsnw'></bdo><ul id='yVsnw'></ul>

                  本文介绍了tessnet2 加载失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我在 windows XP 上使用 tessnet2 包装器到 Tesseract 2.04 源,将其配置为与 x86 一起使用.

                  i'm using the tessnet2 wrapper to the Tesseract 2.04 Source on windows XP, configured it to work with x86.

                  TessarctTest 项目主要功能包含:

                  TessarctTest project main function contains:

                          Bitmap bmp = new Bitmap(@"C:	empNew Folderdotneteurotext.tif");
                          tessnet2.Tesseract ocr = new tessnet2.Tesseract();
                          // ocr.SetVariable("tessedit_char_whitelist", "0123456789");
                          ocr.Init(@"C:	emp	essdata", "eng", false);
                          // List<tessnet2.Word> r1 = ocr.DoOCR(bmp, new Rectangle(792, 247, 130, 54));
                          List<tessnet2.Word> r1 = ocr.DoOCR(bmp, Rectangle.Empty);
                          int lc = tessnet2.Tesseract.LineCount(r1);
                  

                  当我尝试运行程序时,它在 ocr.Init 内的以下行崩溃

                  when i try to run the program it crashes on the following line inside the ocr.Init

                  int result = m_myTessBaseAPIInstance->InitWithLanguage((char *)_tessdata.ToPointer(), NULL, (char *)_lang.ToPointer(), NULL, numericMode, 0, NULL);
                  

                  有人有想法吗?

                  欣赏!

                  推荐答案

                  对于在所有这些之后仍然有问题的任何人,请确保如果您使用的是 tessnet2,请确保您下载了正确的语言文件.

                  For anyone still having a problem after all these, make sure if you're using tessnet2 that you download the correct language files.

                  您需要Tesseract(2.00 及更高版本)的英语语言数据,而不是Tesseract 3.01 的英语语言数据.我希望这可以为您节省几个小时!:)

                  You want English language data for Tesseract (2.00 and up) and not the English language data for Tesseract 3.01 version. I hope this saves you a few hours! :)

                  这篇关于tessnet2 加载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:WP7 应用程序在部署后立即崩溃 下一篇:MySQL Workbench 在 Windows 上启动时崩溃

                  相关文章

                    <bdo id='7Cs9e'></bdo><ul id='7Cs9e'></ul>

                    <tfoot id='7Cs9e'></tfoot>
                  1. <legend id='7Cs9e'><style id='7Cs9e'><dir id='7Cs9e'><q id='7Cs9e'></q></dir></style></legend>
                    <i id='7Cs9e'><tr id='7Cs9e'><dt id='7Cs9e'><q id='7Cs9e'><span id='7Cs9e'><b id='7Cs9e'><form id='7Cs9e'><ins id='7Cs9e'></ins><ul id='7Cs9e'></ul><sub id='7Cs9e'></sub></form><legend id='7Cs9e'></legend><bdo id='7Cs9e'><pre id='7Cs9e'><center id='7Cs9e'></center></pre></bdo></b><th id='7Cs9e'></th></span></q></dt></tr></i><div id='7Cs9e'><tfoot id='7Cs9e'></tfoot><dl id='7Cs9e'><fieldset id='7Cs9e'></fieldset></dl></div>
                    1. <small id='7Cs9e'></small><noframes id='7Cs9e'>