Perform Element-level Parsing
masterElement-level parsing extracts specific document elements such as tables, formulas, text, or code from a cropped image of that element.
Use demo_element.py and specify the --element_type.
Supported element types: table, formula, text, or code.
python demo_element.py --model_path ./hf_model --save_dir ./results --input_path <PATH_TO_ELEMENT_IMAGE> --element_type [table|formula|text|code]