Open
Description
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.