Libtorch Installation
The OCR SDK operates based on libtorch, PyTorch's C++ library. Install the libtorch library according to the following instructions.
Installation Method (Windows)
1. Download Libtorch Library
- For CPU Environment
libtorch-cxx11-abi-shared-with-deps-1.13.1+cpu.zip
The distribution URL of this library may change according to PyTorch's policy. For more details, refer to PyTorch Homepage.
2. Extract and Specify Installation Path
- Extract libtorch-cxx11-abi-shared-with-deps-1.13.1+cpu.zip.
- Copy the following dll files from the libtorch-win-shared-with-deps-1.13.1+cpu\libtorch\lib directory and paste them in the same path as the distributed libArgoSDK.dll.
- torch_cpu.dll
- uv.dll
- libiomp5md.dll
- libcrypto-3-x64.dll
- fbgemm.dll
- asmjit.dll
- c10.dll