0


linux PPOCR c++ cpu 部署 (CentOS)(仅记录)

  1. Github配置 gedit /etc/hosts
# GitHub520 Host Start
140.82.112.4                  alive.github.com
140.82.112.4                  live.github.com
18.209.111.15                 github.githubassets.com
140.82.112.4                  central.github.com
34.201.170.139                desktop.githubusercontent.com
140.82.112.4                  assets-cdn.github.com
3.235.104.70                  camo.githubusercontent.com
151.101.1.6                   github.map.fastly.net
151.101.1.6                   github.global.ssl.fastly.net
140.82.112.4                  gist.github.com
185.199.108.153               github.io
140.82.112.4                  github.com
192.0.66.2                    github.blog
140.82.112.4                  api.github.com
3.237.13.71                   raw.githubusercontent.com
3.239.234.209                 user-images.githubusercontent.com
54.160.176.190                favicons.githubusercontent.com
44.210.132.239                avatars5.githubusercontent.com
54.162.19.20                  avatars4.githubusercontent.com
34.239.94.223                 avatars3.githubusercontent.com
34.201.249.74                 avatars2.githubusercontent.com
3.237.13.71                   avatars1.githubusercontent.com
18.209.111.15                 avatars0.githubusercontent.com
3.237.202.2                   avatars.githubusercontent.com
140.82.112.4                  codeload.github.com
72.21.206.80                  github-cloud.s3.amazonaws.com
72.21.206.80                  github-com.s3.amazonaws.com
72.21.206.80                  github-production-release-asset-2e65be.s3.amazonaws.com
72.21.206.80                  github-production-user-asset-6210df.s3.amazonaws.com
72.21.206.80                  github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153               githubstatus.com
140.82.114.18                 github.community
52.224.38.193                 github.dev
140.82.112.4                  collector.github.com
3.82.57.248                   pipelines.actions.githubusercontent.com
3.238.70.196                  media.githubusercontent.com
100.26.5.184                  cloud.githubusercontent.com
3.239.202.172                 objects.githubusercontent.com
13.107.213.40                 vscode.dev

# Update time: 2022-10-04T00:08:35+08:00
# Update url: https://raw.hellogithub.com/hosts
# Star me: https://github.com/521xueweihan/GitHub520
# GitHub520 Host End

参考:github直连访问方法,长期更新的github hosts - 哔哩哔哩

2.下载依赖项

sudo yum install vim unrar swig wget patchelf 
pip install numpy protobuf wheel setuptools

cmake安装

cmake 下载和安装_tiankong_hut的博客-CSDN博客_cmake镜像下载

opencv安装

Ubuntu18:使用CMake-gui编译OpenCV3源码的详细过程_地球被支点撬走啦的博客-CSDN博客_cmake-gui opencv

paddle编译配置(centos和ubuntu差异:yum install 和 apt-get install)

Ubuntu 20.04 源码编译Paddle2.2.2_高精度计算机视觉的博客-CSDN博客

paddleocr c++ 部署

ubuntu环境下PaddleOCR 模型的的C++部署方法_xp_fangfei的博客-CSDN博客

3.常见问题

1)cmake 时 Pythonlibs 找不到

cmake命令出错:Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)_明泽.的博客-CSDN博客

2)找不到pip

下载pip or pip3(搜索关键词“pip","安装","软链接")

yum install python3-pip

根据实际路径做链接到 /usr/bin/pip

4)找不到“Python.h"

yum install python3-devel

3)缺少openblas文件

linux平台OpenBLAS编译和安装简介_XZZPPP的博客-CSDN博客_openblas 编译

标签: linux centos github

本文转载自: https://blog.csdn.net/altolia_pandagon/article/details/127162194
版权归原作者 artoria_pandaragon 所有, 如有侵权,请联系我们删除。

“linux PPOCR c++ cpu 部署 (CentOS)(仅记录)”的评论:

还没有评论