3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics
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
..
ahoviewer ahoviewer: 1.4.6 -> 1.4.8 2017-03-18 16:42:47 -05:00
alchemy alchemy: 007 -> 008 2017-03-18 16:38:41 -05:00
antimony antimony: 0.8.0b -> 0.9.2 2016-07-10 00:40:29 +08:00
ao Excise use of importJSON 2017-01-30 11:44:08 +01:00
apitrace apitrace: use python2 2016-11-24 22:28:02 +01:00
autopanosiftc treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
awesomebump awesomebump: move to qmakeHook 2016-04-20 18:55:40 +03:00
batik batik: md5->sha256 2016-09-10 13:46:06 -04:00
c3d c3d: init at 1.1.0 2017-03-10 11:57:19 -05:00
cinepaint cinepaint: do not use top-level python packages 2016-09-25 22:56:40 +02:00
comical
darktable darktable: 2.2.3 -> 2.2.4 2017-04-09 15:58:06 -07:00
dia treewide: purge maintainers.urkud 2017-03-27 19:52:29 +02:00
digikam extra-cmake-modules: Lift Qt dependency 2017-02-27 11:49:46 -06:00
djview djview: fix macOS build 2017-04-08 23:28:00 -05:00
exrdisplay openexr-viewers: 1.0.1 -> 2.2.0 2016-05-22 22:55:47 +02:00
exrtools exrtools: init at 0.4 2016-07-21 17:09:27 +02:00
fbida fbida: add dependency to lirc 2017-03-21 13:39:52 +01:00
feh feh: Remove un-needed libPath 2017-03-21 16:27:55 -05:00
fontmatrix fontmatrix: Changed URL & homepage; they no longer exist 2017-03-18 18:30:57 -05:00
freecad freecad: do not use top-level Python packages 2016-09-25 22:32:20 +02:00
freepv freepv: 0.3.0_beta1 -> 0.3.0, fix build 2017-01-19 23:35:40 +01:00
gcolor2 treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
geeqie treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
gimp gimpPlugins.gmic: use attribues from gmic expression 2017-02-11 11:11:12 +01:00
giv treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
glabels glabels: 3.2.1 -> 3.4.0 2017-03-18 18:38:47 -05:00
gocr Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
gpicview gpicview: fix darwin build 2016-08-16 19:25:39 +00:00
gqview treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
grafx2
graphicsmagick graphicsmagick: patch for CVE-2017-6335 2017-03-25 21:04:08 +01:00
gthumb gthumb: 3.4.4 -> 3.5.1 2017-03-18 21:52:04 -05:00
hugin hugin: 2016.0.0 -> 2016.2.0 2016-10-02 23:36:06 +02:00
ImageMagick imagemagick: 7.0.4-0 -> 7.0.4-6 for multiple CVEs 2017-02-02 11:10:56 +01:00
imlibsetroot imlibsetroot: init at 1.2 2016-09-13 10:49:57 +02:00
imv imv: 2.1.2 -> 2.1.3 2016-10-31 22:12:04 +01:00
inkscape inkscape: fix missing library error 2017-04-08 23:20:10 -05:00
ipe ipe: build with C++11 for Qt 5.7 2017-02-28 07:38:57 -06:00
jbrout jbrout: do not use top-level python packages 2016-09-25 23:52:22 +02:00
jpegoptim jpegoptim: 1.4.3 -> 1.4.4 2017-03-18 19:09:17 -05:00
jpegrescan jpegrescan: init at 2016-06-01 2016-07-06 12:42:58 +02:00
k3d k3d: update upstream url 2016-11-10 05:27:41 +08:00
kgraphviewer kde4.kdelibs -> kdelibs4 2017-02-24 17:16:28 -06:00
kipi-plugins extra-cmake-modules: Lift Qt dependency 2017-02-27 11:49:46 -06:00
krita krita: 3.1.1 -> 3.1.2.1 2017-02-18 09:04:03 +01:00
ktikz qtikz: update to Qt5; remove ktikz 2017-02-19 12:26:51 +01:00
leocad leocad: remove unnessary patches 2017-03-19 19:18:32 +01:00
luminance-hdr ilmbase: Use separate outputs 2016-09-01 18:57:43 +02:00
mcomix Python: more evaluation fixups. 2016-10-14 00:03:12 +02:00
meh meh: init at unstable-2015-04-11 2017-03-18 21:11:22 -05:00
meshlab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-02 22:58:02 +00:00
minidjvu treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
mirage Do not use top-level buildPythonPackage or buildPythonApplication 2016-09-26 11:10:51 +02:00
mozjpeg
mtpaint mtpaint: init at 3.49.12 2016-10-23 15:45:49 +01:00
mypaint mypaint: use python2 2016-11-24 22:28:04 +01:00
nomacs nomacs: 3.4 -> 3.6.1 2017-04-03 21:21:05 +02:00
ocrad
openimageio openimageio: 1.6.11 -> 1.7.12 2017-03-18 20:22:54 -05:00
openscad openscad: move to qmake4Hook 2016-04-20 18:55:41 +03:00
panotools
paraview
pbrt pbrt: 2016-05-19 -> 2017-01-12 (#23405) 2017-03-13 02:35:34 +01:00
pencil pencil: 2.0.18 -> 2.0.21 2017-01-22 01:08:14 +01:00
photivo photivo: fix build with lensfun >= 0.3 2017-03-06 17:41:16 -05:00
photoqt photoqt: use wrapQtProgram 2016-04-13 16:09:40 +03:00
phototonic phototonic: move to qmakeHook 2016-04-20 18:55:41 +03:00
pinta pinta: unbreak after multiple-outputs change 2016-05-31 14:27:02 +02:00
potrace potrace: 1.13 -> 1.14 2017-03-18 21:11:39 -05:00
pqiv pqiv: 0.12 -> 2.8.3 2017-03-18 21:20:23 -05:00
processing treewide: Use makeBinPath 2016-08-23 01:18:10 +03:00
PythonMagick pythonmagick: 0.9.14 -> 0.9.16 2017-03-18 16:27:12 -05:00
qiv treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
qscreenshot qscreenshot: init at 1.0 2016-05-25 19:00:50 +02:00
qtpfsgui ilmbase: Use separate outputs 2016-09-01 18:57:43 +02:00
rapcad rapcad: pin to Qt 5.6 2017-03-25 09:23:52 -05:00
rawtherapee rawtherapee: 5.0-r1 -> 5.0-r1 with gtk3 support (#22911) 2017-03-20 11:39:53 +01:00
renderdoc renderdoc: init at version 0.34pre (#23769) 2017-03-21 21:36:26 +01:00
sane brscan4: 0.4.3-4 -> 0.4.4-2 2017-03-10 16:24:49 +02:00
scantailor Update scantailor 2017-01-28 20:12:51 +01:00
screencloud Remove top-level pycrypto 2016-08-14 14:28:26 +02:00
seg3d mark old seg3d as broken for now since it no longer builds with stock gcc version and flags 2017-03-09 19:06:17 -05:00
shotwell shotwell: 0.25.90 -> 0.26.0 2017-04-06 15:30:03 -05:00
shutter shutter: add patch for CVE-2015-0854 with remote code 2016-11-16 22:06:06 -05:00
simple-scan simple-scan: 3.21 -> 3.22 2016-10-12 19:14:25 +08:00
smartdeblur
solvespace solvespace: fixup build with glibc-2.25 2017-02-22 16:45:08 +01:00
swingsane Add version attribute where maintainers |= nckx 2016-01-25 17:35:21 +01:00
sxiv
synfigstudio synfigstudio: fixed build error 2016-05-13 23:36:36 +09:00
tesseract tesseract: Package version 4.x from Git master 2017-04-11 03:21:46 +02:00
ufraw treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
unigine-valley unigine-valley: clean up 2016-12-16 10:42:09 +00:00
viewnior viewnior: 1.5 -> 1.6 2016-06-19 18:47:14 +02:00
vimiv vimiv: mark as broken 2017-03-30 16:23:35 +02:00
wings Updating wings and dependencies to match erlang 2016-03-29 12:24:42 +02:00
xaos ghc: add comment to relocation patch 2016-08-26 15:19:37 +00:00
xara treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
xfig Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
xfractint xfractint: init at 20.04p14 2017-01-11 14:14:07 +01:00
xournal xournal: Support gtk backend quartz on darwin 2017-01-12 22:55:23 +01:00
xzgv treewide: explicitly specify gtk and related package versions 2016-09-12 18:26:06 +03:00
yed yed: 3.16.2.1 -> 3.17 2017-03-20 11:40:32 +01:00
zgrviewer zgrviewer: pass arguments and use full java path 2016-10-17 22:11:54 -04:00
zgv zgv: disable format hardening 2016-08-02 15:40:37 +00:00