layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

A Unified Toolkit for Deep Learning Based Document Image Analysis

Results 118 layout-parser issues
Sort by recently updated
recently updated
newest added

**Motivation** To improve use of LayoutParser with AWS Lambda **Additional context** The latest version of opencv-python has a well known dependency issue with ZLIB. Following is a thread about it....

**Describe the bug** When attempting to initialise a model (I've tried with `AutoLayoutModel` and `Detectron2LayoutModel`), `torch.jit` throws a RuntimeError as below... ```py RuntimeError: undefined value has_torch_function_variadic: File "/opt/conda/lib/python3.8/site-packages/torch/utils/smdebug.py", line 2962...

bug

**Describe the bug** When I tried the sample codes: ``` !pip install layoutparser !pip install 'git+https://github.com/facebookresearch/[email protected]#egg=detectron2' import layoutparser as lp import cv2 import PIL image = cv2.imread("image.png") model = lp.Detectron2LayoutModel('lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config')...

bug

Flushes the pages and pdf afterwards to reduce the memory/ram consumption. Opens the pdf stream as a context manager so that the file is closed afterwads.

On Mac, the command ``` pip3 install -U layoutparser[ocr] ``` doesn't work (returns "zsh: no matches found: layoutparser[ocr]"), you need to do ``` pip3 install -U "layoutparser[ocr]" ```

bug

I have used the layout parser with the google colab and currently, I want to run it on a windows environment. But I am stuck in using the model. Would...

**Describe the bug** Left: is the result from model = lp.EfficientDetLayoutModel("lp://PubLayNet/tf_efficientdet_d0/config") layout = model.detect(img) lp.draw_box(img, layout) Right: is the result from pytesseract.image_to_data() Clearly the left one is not right. Is...

bug

The implementation of formula recognition is failing. Please find colab here https://colab.research.google.com/drive/1Efiu22l8ax1FgHtsLkLPVagX6UW07u-U?usp=sharing (Reference Data attached) ![1](https://github.com/Layout-Parser/layout-parser/assets/38010046/4f8f7782-f844-4294-b7d1-32aee55471bd) Kindly suggest the following 1. How can I construct back the equations 2. Some...

Thank you for your great work. this is my code: ```python import layoutparser as lp import cv2 model = lp.PaddleDetectionLayoutModel('lp://PubLayNet/ppyolov2_r50vd_dcn_365e/config') image = cv2.imread("paper-image.jpg") layout = model.detect(image) lp.draw_box(image, layout, box_width=3).show() ```...

bug