Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No work #217

Open
jmu201621143028 opened this issue Aug 30, 2024 · 0 comments
Open

No work #217

jmu201621143028 opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jmu201621143028
Copy link

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 jmu201621143028 added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant