pyinstaller --onefile --add-binary "C:/vcpkg/installed/x64-windows-static/tools/tesseract/tesseract.exe;." --add-binary "C:/poppler/Library/bin;poppler/bin" --add ...
The following discussions cover details of PyInstaller internal methods. You should not need this level of detail for normal use, but such details are helpful if you ...