Skip to content

draw_box draw only one box from layout #131

@Moo1234567

Description

@Moo1234567

Describe the bug
I just installed everything according to the installation guide and launched your jupyter notebook from here Deep Layout Parsing Example. After first draw_box it's show only one box, but in print(layout) i see all boxes. Same with second draw_box from your guide. not sure what i'm doing wrong.

To Reproduce
Steps to reproduce the behavior:

  1. installation guide + detectron2 install also from your guide
  2. Run jupyter notebook

Environment

1. MacOS 2. VS Code 3. Here some stuff from pip: torch==1.11.0 torchvision==0.12.0 Pillow==9.1.0 opencv-python==4.5.5.64 layoutparser==0.3.3 

Error traceback
No errors, just behaviour not same like in guide or other guides

Screenshots
attached

output1
output2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions