This code is derived from(modified some codes) paddle_ocr project: https://github.com/PaddlePaddle/PaddleOCR/tree/release/2.6/deploy/cpp_infer
tools/install_paddle_inference.sh, it will help you to install it automatically, please modify the root path of paddle_inference at the first line in script.CUDA 11.1 TensorRT8.5 for this repo (tested).
we can build paddle_ocr separately.
CMakeLists.txtmkdir build && cd buildcmake ..make -j8all lib files saved to build/libs, all samples saved to build/samples. please refer to videopipe about how to run samples for paddle_ocr.
