-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tesseract does not support SIMD instructions on FreeBSD with amd64 #3964
Comments
I'll commit a fix. |
With a fix in configure.ac the compiler builds the code for SIMD |
Tesseract for FreeBSD was built without support for SSE4.1, AVX, AVX2 or FMA because it uses a different value for `host_cpu`. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Cc @pkubaj who seems to be the maintainer for Tesseract on FreeBSD. |
|
CMake:
Should we do something similar with Autotools? |
I don't think that is necessary. See https://git.savannah.gnu.org/cgit/config.git/plain/config.guess for the values which can be detected automatically. |
FreeBSD provides an old version of config.guess (timestamp='2018-08-29') which returns |
The current autoconf build does not enable SIMD detection and compiler flags when running on FreeBSD for 64 bit AMD / Intel CPUs. This results in bad performance for text recognition and model training, and
tesseract -v
cannot show SIMD support (see #3960 (comment)).The text was updated successfully, but these errors were encountered: