1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/nixos/doc/manual/development
Luke Granger-Brown 4de343cccf nixos/test-driver: use a variety of different Tesseract settings for OCR
When performing OCR, some of the Tesseract settings perform better than
others on a variety of different workloads, but they mostly take
~negligible incremental time to run compared to the overhead of running
the ImageMagick filters.

After this commit, we try using all three of the current Tesseract
models (classic, LSTM, and classic+LSTM) to generate output text. This
fixes chromium-90's tests at release-20.09, and should make cases where
you're looking for *specific* text better, with the tradeoff of running
Tesseract multiple times.

To make it sensible to cherrypick this into release-20.09, this doesn't
change the existing API surface for the test driver. In particular,
get_screen_text continues to have the existing behaviour.
2021-04-23 18:42:35 +00:00
..
assertions.xml Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
building-nixos.xml
building-parts.xml
development.xml
freeform-modules.xml
importing-modules.xml
meta-attributes.xml
nixos-tests.xml
option-declarations.xml
option-def.xml
option-types.xml
releases.xml
replace-modules.xml
running-nixos-tests-interactively.xml
running-nixos-tests.xml
settings-options.xml nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
sources.xml
testing-installer.xml
writing-documentation.xml nixos/doc: Update Writing Documentation to use nix-shell 2021-03-22 21:21:08 +01:00
writing-modules.xml doc: explain where pkgs comes from in writing-modules 2021-03-03 11:09:21 -05:00
writing-nixos-tests.xml nixos/test-driver: use a variety of different Tesseract settings for OCR 2021-04-23 18:42:35 +00:00