This reverts commit 32fee19447
("Fix linear congruential random number generator"),
commit 2252936fc8
("Use linear congruential random number generator from C++11.")
and commit 7b8af67eb5
("[test] Fix intsimdmatrix test. Update result value based on updated TRand engine.").
It restores the original congruential random number generator
and the related unittest.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Remove debug output and fix an out-of-bounds read for unsupported arguments.
Fixes: e8a9a56f9f ("Support symbolic values for --oem and --psm options")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Fix this clang warning:
src/viewer/svutil.cpp:277:51:
warning: missing field 'ai_protocol' initializer [-Wmissing-field-initializers]
Replace also PF_INET by AF_INET which is the recommended value.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Convert riscv-v-spec-1.0.pdf into 111 PNG images,
then perform OCR on each one in sequence,
and measure the testing time on banana_f3:
old: 31m16.267s
new: 16m51.155s
Co-authored-by: sunyuechi <sunyuechi@iscas.ac.cn>
Co-authored-by: Stefan Weil <sw@weilnetz.de>
libstdc++-6.dll and libgcc_s_seh-1.dll must be taken from the compiler
directory, not from the pacman DLLs.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
The build process needs the packages curl, python3-venv and unzip
which are missing in the Docker image for Ubuntu.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
The pattern for the training tools *.exe also includes tesseract.exe,
so it must be excluded explicitly.
Add also a macro BINDIR which simplifies the NSIS rules.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Add manual pages in HTML format and helper for Tesseract command line
- Don't remove the installation directory recursively
- Add GitHub action for Tesseract installer for Windows
- Add docbook-xml to required packages (needed for doc)
- Use unicode for NSIS installer
- Optionally sign executables
- Add more file properties to installer
- Update configuration for use with pacman
- Build Windows installer only for 64 bit Windows
Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Added a couple of languages that are available for the Linux version
- Add new section for script data
- Get data from tessdata_fast
The data files are now in the "script" subdirectory.
- Update list of scripts and languages
- Update path for script trained data
- Add data for Han Simplified vertical script
- Fix names of tessdata (jpn_vert, kmr)
- Fix some path names for 64 bit version
- Remove testing files from installation
Those files were moved from tesseract.git to test.git.
- Don't enforce admin mode, but use highest available
- Don't use a checkbox for the license
- Remove unused code for registry settings (PATH, TESSDATA)
- Don't show README.md (did not work)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Move NSIS installer file to new location
- Support cross builds with NSIS
- Clean nsis configuration
- Fix typos in nsis configuration
- Add jar files needed for ScrollView.jar
- Move ScrollView.jar to a new section
- Add missing configurations to tessdata
- Registry settings are now disabled (problems with long PATH)
- Add menu sections for all languages
- Simplify language downloads
- Tune and improve nsis configuration
- Add sizes for language data
- Add missing translations to nsis configuration
- Don't show details in installer by default
- Initial code for 64 bit Tesseract installer
- Fix uninstall for TESSDATA_PREFIX registry key
- Remove cube code
- nsis: Add all training executables
- nsis: Disable registry settings
Trying to add to PATH fails if the old PATH is very long and
will result in an empty PATH.
Remove these settings as they were already disabled by default,
and both are not needed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>