1 Star 0 Fork 924

V.builder/PaddleOCR

forked from PaddlePaddle/PaddleOCR 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.clang_format.hook 526 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
set -e
readonly VERSION="13.0.0"
version=$(clang-format -version)
if ! [[ $(python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}') -ge 36 ]]; then
echo "clang-format installation by pip need python version great equal 3.6,
please change the default python to higher version."
exit 1
fi
if ! [[ $version == *"$VERSION"* ]]; then
# low version of pip may not have the source of clang-format whl
pip install --upgrade pip
pip install clang-format==13.0.0
fi
clang-format $@
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/xu-my/PaddleOCR.git
git@gitee.com:xu-my/PaddleOCR.git
xu-my
PaddleOCR
PaddleOCR
main

搜索帮助