1 Star 0 Fork 29

毋忘在莒 / EasyOCR

forked from Gitee 极速下载 / EasyOCR 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 864 Bytes
一键复制 编辑 原始数据 按行查看 历史
rkcosmos 提交于 2020-09-25 15:06 . update Dockerfile
FROM pytorch/pytorch
# if you forked EasyOCR, you can pass in your own GitHub username to use your fork
# i.e. gh_username=myname
ARG gh_username=JaidedAI
ARG service_home="/home/EasyOCR"
# Configure apt and install packages
RUN apt-get update -y && \
apt-get install -y \
libglib2.0-0 \
libsm6 \
libxext6 \
libxrender-dev \
libgl1-mesa-dev \
git \
# cleanup
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/li
# Clone EasyOCR repo
RUN mkdir "$service_home" \
&& git clone "https://github.com/$gh_username/EasyOCR.git" "$service_home" \
&& cd "$service_home" \
&& git remote add upstream "https://github.com/JaidedAI/EasyOCR.git" \
&& git pull upstream master
# Build
RUN cd "$service_home" \
&& python setup.py build_ext --inplace -j 4 \
&& python -m pip install -e .
Python
1
https://gitee.com/wwzj2020/EasyOCR.git
git@gitee.com:wwzj2020/EasyOCR.git
wwzj2020
EasyOCR
EasyOCR
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891