You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Please check[installation.md](installation.md) for additional details on layoutparser installation.
108
+
Extra steps are needed if you want to use Detectron2-based models.Please check[installation.md](installation.md) for additional details on layoutparser installation.
Copy file name to clipboardExpand all lines: installation.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,10 @@ After several major updates, LayoutParser provides various functionalities and d
14
14
| Command| Description|
15
15
| ---| ---|
16
16
|`pip install layoutparser`|**Install the base LayoutParser Library**<br>It will support all key functions in LayoutParser, including:<br />1. Layout Data Structure and operations<br />2. Layout Visualization <br />3. Load/export the layout data|
17
-
|`pip install layoutparser[effdet]`|**Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the***EfficientDet***-based layout detection models.|
17
+
|`pip install"layoutparser[effdet]"`|**Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the***EfficientDet***-based layout detection models.|
18
18
|`pip install layoutparser torch && pip install "git+https://github.com/facebookresearch/detectron2.git@v0.5#egg=detectron2"`|**Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the***Detectron2***-based layout detection models. See details in[Additional Instruction: Install Detectron2 Layout Model Backend](#additional-instruction-install-detectron2-layout-model-backend).|
19
-
|`pip install layoutparser[paddledetection]`|**Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the***PaddleDetection***-based layout detection models.|
20
-
|`pip install layoutparser[ocr]`|**Install LayoutParser with OCR Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for performing OCRs. See details in[Additional Instruction: Install OCR utils](#additional-instruction-install-ocr-utils).|
19
+
|`pip install"layoutparser[paddledetection]"`|**Install LayoutParser with Layout Detection Model Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for the***PaddleDetection***-based layout detection models.|
20
+
|`pip install"layoutparser[ocr]"`|**Install LayoutParser with OCR Support**<br />It will install the LayoutParser base library as well as<br />supporting dependencies for performing OCRs. See details in[Additional Instruction: Install OCR utils](#additional-instruction-install-ocr-utils).|
21
21
22
22
###Additional Instruction: Install Detectron2 Layout Model Backend
23
23
@@ -51,7 +51,7 @@ As reported by many users, the installation of Detectron2 can be rather tricky o
51
51
Layout Parser also comes with supports for OCR functions. In order to use them, you need to install the OCR utils via:
52
52
53
53
```bash
54
-
pip install layoutparser[ocr]
54
+
pip install"layoutparser[ocr]"
55
55
```
56
56
57
57
Additionally, if you want to use the Tesseract-OCR engine, you also need to install it on your computer. Please check the