nixpkgs/pkgs
aszlig 7b5263e1a6
tesseract: Package version 4.x from Git master
Tesseract 4 has got a new long short-term memory neural networking based
OCR engine which really helps a lot in terms of accuracy and our VM
tests.

I ran the new version across a bunch of different screenshots and
comparing the results to the 3.x branch and it really makes a big
difference, especially with various font rendering settings.

The only downside of this is that version 4 hasn't been released yet and
is in alpha state right now, but it will eventually get there and the
only solutions that came into my mind sticking to version 3 were really
sub-par:

 * Use several passes with different color negation on the screenshots.
 * Train Tesseract 3 specifically for screenshots. This is sub-par
   because we'd need to do it for Tesseract 4 from scratch again.
 * Change the test systems so that it specifically uses *only* OCR an
   font when displaying. I've actually tried this but this also isn't
   accurate enough with our default font rendering setup.
 * Turn off special font rendering settings for our tests. In
   conjunction with changing to an OCR font this might work but it won't
   catch all the cases, because applications might use their own font
   rendering.

Given that version 4 is faster[1] when it comes to OCR detection and also
the points just mentioned I think even using the alpha version just for
tests isn't going to hurt anybody.

[1]: https://github.com/tesseract-ocr/tesseract/wiki/4.0-Accuracy-and-Performance

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-04-11 03:21:46 +02:00
..
applications tesseract: Package version 4.x from Git master 2017-04-11 03:21:46 +02:00
build-support
common-updater
data fontconfig-penultimate: 0.3.2 -> 0.3.3 2017-04-08 09:42:09 -05:00
desktops gnome3.gnome_settings_daemon: use wrapGAppsHook 2017-04-09 10:00:12 +02:00
development pyocr: Add patch to support Tesseract 3.05.00 2017-04-11 03:21:39 +02:00
games steam: move libpciaccess as non-runtime dependencies 2017-04-11 01:51:46 +03:00
misc wineUnstable: 2.4 -> 2.5 2017-04-10 18:37:28 +03:00
os-specific linux: 4.11-rc5 -> 4.11-rc6 2017-04-10 08:34:23 -04:00
servers sonarr: 2.0.0.4645 -> 2.0.0.4689 (#24767) 2017-04-09 14:09:31 +01:00
shells Merge pull request #24760 from matthewbauer/linux-only-pkgs 2017-04-09 14:18:10 +02:00
stdenv darwin.make-bootstrap-tools: fix to use LLVM 4 2017-04-08 16:38:48 -04:00
test
tools btrfs-progs: 4.8.2 -> 4.10.2 2017-04-10 17:09:22 +03:00
top-level tesseract: Package version 4.x from Git master 2017-04-11 03:21:46 +02:00