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

Elements for paddleocr output #17

Open
LaverdeS opened this issue Mar 13, 2023 · 0 comments
Open

Elements for paddleocr output #17

LaverdeS opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@LaverdeS
Copy link

Some users of this pipeline are interested to know what elements are contained in the json output. As pointed in the save_ocr() method found on this blog, the elements are:

boxes = [line[0] for line in result]
txts = [line[1][0] for line in result]
scores = [line[1][1] for line in result]

The code has not been tested but these are the 3 elements that paddleocr library gives you.

Definition of Done:

  • An element_type(or related name) is added to the json output as part of the pipeline. Re-generate API and update tests if necessary.
  • Update README.md with a "pretty print" output of the new JSON structure.
@LaverdeS LaverdeS added the enhancement New feature or request label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant