File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 2121 run : |
2222 python -m pip install --upgrade pip
2323 pip install .
24- pip install .[modeling]
24+ pip install 'git+https://github.com/facebookresearch/detectron2.git@v0.1.3#egg=detectron2'
2525
2626 - name : Lint with flake8
2727 run : |
Original file line number Diff line number Diff line change 1515---
1616
1717Layout Parser is deep learning based tool for document image layout analysis tasks.
18+
19+ ## Quick Start
20+
21+ 1 . Install the package
22+ ``` bash
23+ pip install layoutparser
24+
25+ # Install Detectron2 for using DL Layout Detection Model
26+ pip install ' git+https://github.com/facebookresearch/detectron2.git@v0.1.3#egg=detectron2'
27+
28+ # Install the ocr components when necessary
29+ pip install layoutparser[ocr]
30+ ```
31+
Original file line number Diff line number Diff line change 2626 "pyyaml>=5.1" ,
2727 "torch==1.4" ,
2828 "torchvision==0.5" ,
29+ "pycocotools" ,
2930 ],
3031 extras_require = {
3132 "ocr" : [
3233 'google-cloud-vision' ,
3334 'pytesseract'
3435 ],
35- "modeling" : [
36- "pycocotools" ,
37- "detectron2 @ git+https://github.com/facebookresearch/detectron2.git@v0.1.3#egg=detectron2" ,
38- ]
3936 },
4037 include_package_data = True
4138 )
You can’t perform that action at this time.
0 commit comments