layout-parser
layout-parser copied to clipboard
A Unified Toolkit for Deep Learning Based Document Image Analysis
Minor bugfix in the visualization of the layout, so that the type can be displayed.
`getsize()` is deprecated and replaced with `getbbox()` in Pillow>=10.0.1
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) [](https://localhost:8080/#) in () 1 import layoutparser as lp ----> 2 model = lp.Detectron2LayoutModel('lp://HJDataset/faster_rcnn_R_50_FPN_3x/config') 3 model.detect(image) /usr/local/lib/python3.10/dist-packages/layoutparser/file_utils.py in __getattr__(self, name) AttributeError: module layoutparser has...
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /tmp/ipykernel_578/1987038964.py in () 1 import layoutparser as lp 2 import detectron2 ----> 3 model = lp.models.Detectron2LayoutModel( 4 config_path ='lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config', # In model catalog...
**Describe the bug** In Windows, `AutoLayoutModel('lp://EfficientDete/PubLayNet')` or `AutoLayoutModel('lp://EfficientDet/PubLayNet')` returns `None`. See reproducing steps. **To Reproduce** Steps to reproduce the behavior: ``` pip install layoutparser pip install "layoutparser[layoutmodels]" pip install "layoutparser[ocr]"...
I am using layout-parser to detect bounding boxes related to tables in a pdf file. When the coordinates are accessed in this way: ``` model = lp.Detectron2LayoutModel('lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config', extra_config=["MODEL.ROI_HEADS.SCORE_THRESH_TEST", 0.8], label_map={0:...
Hi, I am trying to follow this tutorial (watched your video in YouTube) [Tutorial](https://github.com/Layout-Parser/layout-parser/blob/main/examples/Customizing%20Layout%20Models%20with%20Label%20Studio%20Annotation/Customizing%20Layout%20Models%20with%20Label%20Studio%20Annotation.ipynb) Followed installation instructions from here - [Installation](https://layout-parser.readthedocs.io/en/latest/notes/installation.html) I am facing the issue when executing this line...