# General-OCR **Repository Path**: xjd_1985/general-ocr ## Basic Information - **Project Name**: General-OCR - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-04-14 - **Last Updated**: 2022-04-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # general-ocr ## 需要的依赖库 - cuda-10.2 - cudnn-8.0.5 - tensorrt-7.2.1.6 - opencv-4.4.0 ## config.ini配置tensorrt-7.2.1.6 在general-ocr/src/utils/config.ini配置tensorrt-7.2.1.6的根目录[/home/ssy/Downloads/TensorRT-7.2.1.6] ## CmakeList.txt配置tensorrt-7.2.1.6 示例如下: ``` set(TRT_ROOT_DIR /home/ssy/Downloads/TensorRT-7.2.1.6) ``` ## CmakeList.txt配置cuda-10.2 示例如下: ``` set(CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda-10.2) ``` ### ## 编译执行 ``` mkdir build && cd build && make -j && make install && ./OCR ```