paddleOCR_overview_en.md 1.9 KB
Newer Older
qq_25193841's avatar
qq_25193841 已提交
1 2 3 4
# PaddleOCR Overview and Project Clone

## 1. PaddleOCR Overview

fanruinet's avatar
fanruinet 已提交
5
PaddleOCR contains rich text detection, text recognition and end-to-end algorithms. With the experience from real world scenarios and the industry, PaddleOCR chooses DB and CRNN as the basic detection and recognition models, and proposes a series of models, named PP-OCR, for industrial applications after a series of optimization strategies. The PP-OCR model is aimed at general scenarios and forms a model library of different languages. Based on the capabilities of PP-OCR, PaddleOCR releases the PP-Structure toolkit for document scene tasks, including two major tasks: layout analysis and table recognition. In order to get through the entire process of industrial landing, PaddleOCR provides large-scale data production tools and a variety of prediction deployment tools to help developers quickly turn ideas into reality.
qq_25193841's avatar
qq_25193841 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

<div align="center">
    <img src="../overview_en.png">
</div>



## 2. Project Clone

### **2.1 Clone PaddleOCR repo**

```
# Recommend
git clone https://github.com/PaddlePaddle/PaddleOCR

fanruinet's avatar
fanruinet 已提交
21
# If you cannot pull successfully due to network problems, you can switch to the mirror hosted on Gitee:
qq_25193841's avatar
qq_25193841 已提交
22 23 24

git clone https://gitee.com/paddlepaddle/PaddleOCR

fanruinet's avatar
fanruinet 已提交
25
# Note: The mirror on Gitee may not keep in synchronization with the latest project on GitHub. There might be a delay of 3-5 days. Please try GitHub at first.
qq_25193841's avatar
qq_25193841 已提交
26 27 28 29 30 31 32 33 34 35 36
```

### **2.2 Install third-party libraries**

```
cd PaddleOCR
pip3 install -r requirements.txt
```

If you getting this error `OSError: [WinError 126] The specified module could not be found` when you install shapely on windows.

fanruinet's avatar
fanruinet 已提交
37
Please try to download Shapely whl file from [http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely](http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely).
qq_25193841's avatar
qq_25193841 已提交
38

fanruinet's avatar
fanruinet 已提交
39
Reference: [Solve shapely installation on windows](https://stackoverflow.com/questions/44398265/install-shapely-oserror-winerror-126-the-specified-module-could-not-be-found)