diff --git a/.gitignore b/.gitignore index 9d9f5ad..15369e2 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ xcuserdata/ ## Other *.moved-aside *.xcuserstate +*.DS_Store ## Obj-C/Swift specific *.hmap @@ -64,4 +65,4 @@ fastlane/report.xml fastlane/Preview.html fastlane/screenshots fastlane/test_output -.idea/ \ No newline at end of file +.idea/ diff --git a/README.md b/docs/README.md similarity index 90% rename from README.md rename to docs/README.md index 674205b..af30470 100644 --- a/README.md +++ b/docs/README.md @@ -1,19 +1,22 @@ # CaptuocrToy -A tool to capture screenshot and recognize text by online ocr apis +A tool to capture screenshot and recognize text by online ocr apis . + +Other Languages:[简体中文](README.zh-cn.md) # Screenshot + ![img](https://raw.githubusercontent.com/gragrance/CaptuocrToy/master/screenshot.gif) # How to build 1. You should install **Xcode Command Line Tools** and **cocoapod** first. - ```xcode-select --install``` - ```sudo gem install -n /usr/local/bin cocoapods``` - + 2. Clone repository - ```git clone https://github.com/gragrance/CaptuocrToy.git``` - + 3. Build -```bash +``` cd CaptuocrToy pod update BuildArea/autobuild.sh diff --git a/docs/README.zh-cn.md b/docs/README.zh-cn.md new file mode 100644 index 0000000..272cc58 --- /dev/null +++ b/docs/README.zh-cn.md @@ -0,0 +1,36 @@ +# CaptuocrToy + +一个使用在线接口识别截图中文字的工具。 + +其他语言:[English](README.md) + +# 截图 + +![img](https://raw.githubusercontent.com/gragrance/CaptuocrToy/master/screenshot.gif) + +# 如何使用? + +1. 你首先需要根据以下命令安装**Xcode Command Line Tools** 和 **cocoapod**。 + - ```xcode-select --install``` + - ```sudo gem install -n /usr/local/bin cocoapods``` + +2. 下载源代码 + - ```git clone https://github.com/gragrance/CaptuocrToy.git``` + +3. 按照如下命令构建 + + ``` + cd CaptuocrToy + pod update + BuildArea/autobuild.sh + ``` + + + +# 版本发布 + +https://github.com/gragrance/CaptuocrToy/releases + +# 致谢 + +感谢@ryh 提供识别二维码的代码。 \ No newline at end of file