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

No work

Open jmu201621143028 opened this issue 1 year ago • 0 comments

Thank you for your great work. this is my code:

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()

i noticed the value of layout is zero.

jmu201621143028 avatar Aug 30 '24 07:08 jmu201621143028