eddieantonio / eddieantonio/ocreval

wordacc: text stream is too long

Open
#28 4 comments 1 reaction 0 assignees View on GitHub
bug help wanted
Dominant language
C
Stars
60
Forks
14
PR merge metrics
No merged PRs in 30d

Description

When running `wordacc` on large files in Devanagari script I am getting the error `wordacc: text stream is too long`.

`accuracy` program from this repo works fine on the same input files, though the one from earlier version was getting same error - see https://github.com/ryanfb/ancientgreekocr-ocr-evaluation-tools/issues/2

Example files:
* [wordacc report - size o](
https://github.com/Shreeshrii/tesstrain-deva/blob/master/reports/allfonts-eval-allfontsMinus_0.891_170479_475200/report_allfontsMinus_0.891_170479_475200-allfonts-ALL-wordacc.txt)
* [accuracy report](https://github.com/Shreeshrii/tesstrain-deva/blob/master/reports/allfonts-eval-allfontsMinus_0.891_170479_475200/report_allfontsMinus_0.891_170479_475200-allfonts-ALL.txt
)
* [OCRed text - 1.45 MB](https://github.com/Shreeshrii/tesstrain-deva/blob/master/reports/allfonts-eval-allfontsMinus_0.891_170479_475200/ocr-allfontsMinus_0.891_170479_475200-allfonts-ALL.txt)
* [Ground Truth](https://github.com/Shreeshrii/tesstrain-deva/blob/master/reports/allfonts-eval-allfontsMinus_0.891_170479_475200/gt-allfonts-ALL.txt)

* [Eval using ocrevalUAtion](https://github.com/Shreeshrii/tesstrain-deva/blob/master/reports/allfonts-eval-allfontsMinus_0.891_170479_475200/report_allfontsMinus_0.891_170479_475200-allfonts-ALL.html)

It works when used with smaller files, example [wordacc report](https://github.com/Shreeshrii/tesstrain-deva/blob/master/reports/allfonts-eval-allfontsMinus_0.891_170479_475200/report_allfontsMinus_0.891_170479_475200-allfonts-Adobe_Devanagari-wordacc.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.