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

**Describe the bug** A clear and concise description of what the bug is. Thanks for this great work, it really very good. But when I try to use Google Cloud...

bug

**Describe the bug** On initializing the gcv_agent, the following error occurs: `AttributeError: module 'google.cloud.vision' has no attribute 'types'` This error is thrown at line 119 of layoutparser/ocr/gcv_agent.py: `self._context = _vision.types.ImageContext(language_hints=languages)`...

bug

When I use LayoutParser on scientific documents that have watermarks, the generation of bounding boxes completely falls apart, and the information in the entire region covered by the watermark is...

bug

**Describe the bug** code: `ocr_agent = lp.TesseractAgent(languages='eng')` Error: ContextualVersionConflict: (google-api-core 2.11.0 (/usr/local/lib/python3.10/dist-packages), Requirement.parse('google-api-core[grpc]=1.14.0'), {'google-cloud-vision'}) **Checklist** 1. I have searched related issues but cannot get the expected help. 2. The bug...

bug

**Describe the bug** I cannot use Decetron2LayoutModel despite successfully install. Usage of LP ``` lp.models.Detectron2LayoutModel(...) ``` ``` lp.Detectron2LayoutModel(...) ``` **Environment** 1. On MacOS having M1 chip 2. '0.3.4' Version 3....

bug

**Motivation** I want to fine-tune the pre-train model from LayoutParser by using my own dataset images. But I don't find any way in the documentation where I can train the...

Hello, thanks for this very useful toolkit. According to the [official PubLayNet docs](https://github.com/ibm-aur-nlp/PubLayNet/tree/master/pre-trained-models#convert-pre-trained-model-for-fine-tuning-on-another-target-dataset), they had this mapping: | Category id | Label | | :---: | :--- | | 0...

bug

The configuration for the `PrimaLayout` MRCNN Detectron2 model … https://github.com/Layout-Parser/layout-parser/blob/04e28168d820eea3a1ff1e098078323e7b48648b/src/layoutparser/models/detectron2/catalog.py#L57 … contains a setting `MODEL.ROI_HEADS.NUM_CLASSES: 7`. But LP's actual runtime config for the label map of the region types contains...

bug

Update constructor to specify the type of input parameter in the `blocks` argument to Layout class

At `layoutparser.io`, the type hint `Image.Image` is used, but it is not imported.