1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
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
ao
apitrace
autopanosiftc
awesomebump
batik
c3d c3d: init at 1.1.0 2017-03-10 11:57:19 -05:00
cinepaint
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
exrtools
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
freepv
gcolor2
geeqie
gimp
giv
glabels glabels: 3.2.1 -> 3.4.0 2017-03-18 18:38:47 -05:00
gocr
gpicview
gqview
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
ImageMagick
imlibsetroot
imv
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
jpegoptim jpegoptim: 1.4.3 -> 1.4.4 2017-03-18 19:09:17 -05:00
jpegrescan
k3d
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
mcomix
meh meh: init at unstable-2015-04-11 2017-03-18 21:11:22 -05:00
meshlab
minidjvu
mirage
mozjpeg
mtpaint
mypaint
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
panotools
paraview
pbrt pbrt: 2016-05-19 -> 2017-01-12 (#23405) 2017-03-13 02:35:34 +01:00
pencil
photivo photivo: fix build with lensfun >= 0.3 2017-03-06 17:41:16 -05:00
photoqt
phototonic
pinta
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
PythonMagick pythonmagick: 0.9.14 -> 0.9.16 2017-03-18 16:27:12 -05:00
qiv
qscreenshot
qtpfsgui
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
screencloud
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
simple-scan
smartdeblur
solvespace solvespace: fixup build with glibc-2.25 2017-02-22 16:45:08 +01:00
swingsane
sxiv
synfigstudio
tesseract tesseract: Package version 4.x from Git master 2017-04-11 03:21:46 +02:00
ufraw
unigine-valley
viewnior
vimiv vimiv: mark as broken 2017-03-30 16:23:35 +02:00
wings
xaos
xara
xfig
xfractint
xournal
xzgv
yed yed: 3.16.2.1 -> 3.17 2017-03-20 11:40:32 +01:00
zgrviewer
zgv