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
Copy file name to clipboardExpand all lines: installation.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ After several major updates, LayoutParser provides various functionalities and d
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
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
-
|`pip install torch && pip installlayoutparser[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).|
18
+
|`pip install 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
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
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
@@ -26,7 +26,7 @@ After several major updates, LayoutParser provides various functionalities and d
26
26
If you would like to use the Detectron2 models for layout detection, you might need to run the following command: