O'Reilly logo

Learn OpenCV 4 by Building Projects - Second Edition by Prateek Joshi, Vinicius G. Mendonca, David Millan Escriva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Static linking

It's also possible to static link (https://github.com/tesseract-ocr/tesseract/wiki/Compiling#static-linking) Tesseract in your project. This will avoid dlls to be packaged with your executable files. To do this, use vcpkg, like we did previously, with the following command for a 32-bit installation:

vcpkg install tesseract:x86-windows-static

Alternatively, you can use the following command for a 64-bit installation:

vckpg install tesseract:x64-windows-static

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required