SYMBOL INDEX (47 symbols across 5 files) FILE: demo_element.py class DOLPHIN (line 19) | class DOLPHIN: method __init__ (line 20) | def __init__(self, model_id_or_path): method chat (line 44) | def chat(self, prompt, image): function process_element (line 121) | def process_element(image_path, model, element_type, save_dir=None): function main (line 169) | def main(): FILE: demo_layout.py class DOLPHIN (line 18) | class DOLPHIN: method __init__ (line 19) | def __init__(self, model_id_or_path): method chat (line 43) | def chat(self, prompt, image): function process_layout (line 128) | def process_layout(input_path, model, save_dir): function process_single_layout (line 162) | def process_single_layout(pil_image, model, save_dir, image_name): function main (line 196) | def main(): FILE: demo_page.py class DOLPHIN (line 18) | class DOLPHIN: method __init__ (line 19) | def __init__(self, model_id_or_path): method chat (line 43) | def chat(self, prompt, image): function process_document (line 127) | def process_document(document_path, model, save_dir, max_batch_size=None): function process_single_image (line 171) | def process_single_image(image, model, save_dir, image_name, max_batch_s... function process_elements (line 201) | def process_elements(layout_results, image, model, max_batch_size, save_... function process_element_batch (line 289) | def process_element_batch(elements, model, prompt, max_batch_size=None): function main (line 323) | def main(): FILE: utils/markdown_utils.py function extract_table_from_html (line 11) | def extract_table_from_html(html_string): class MarkdownConverter (line 23) | class MarkdownConverter: method __init__ (line 26) | def __init__(self): method try_remove_newline (line 58) | def try_remove_newline(self, text: str) -> str: method _handle_text (line 102) | def _handle_text(self, text: str) -> str: method _process_formulas_in_text (line 118) | def _process_formulas_in_text(self, text: str) -> str: method _remove_newline_in_heading (line 134) | def _remove_newline_in_heading(self, text: str) -> str: method _handle_heading (line 153) | def _handle_heading(self, text: str, label: str) -> str: method _handle_list_item (line 168) | def _handle_list_item(self, text: str) -> str: method _handle_figure (line 178) | def _handle_figure(self, text: str, section_count: int) -> str: method _handle_table (line 209) | def _handle_table(self, text: str) -> str: method _handle_formula (line 223) | def _handle_formula(self, text: str) -> str: method convert (line 238) | def convert(self, recognition_results: List[Dict[str, Any]]) -> str: FILE: utils/utils.py function save_figure_to_local (line 21) | def save_figure_to_local(pil_crop, save_dir, image_name, reading_order): function convert_pdf_to_images (line 54) | def convert_pdf_to_images(pdf_path, target_size=896): function save_combined_pdf_results (line 93) | def save_combined_pdf_results(all_page_results, pdf_path, save_dir): function extract_labels_from_string (line 156) | def extract_labels_from_string(text): function parse_layout_string (line 170) | def parse_layout_string(bbox_str): function process_coordinates (line 202) | def process_coordinates(coords, pil_image): function setup_output_dirs (line 223) | def setup_output_dirs(save_dir): function save_outputs (line 232) | def save_outputs(recognition_results, image, image_name, save_dir): function crop_margin (line 255) | def crop_margin(img: Image.Image) -> Image.Image: function visualize_layout (line 291) | def visualize_layout(image_path, layout_results, save_path, alpha=0.3): function get_color_palette (line 380) | def get_color_palette(): function assign_colors_to_elements (line 413) | def assign_colors_to_elements(num_elements): function resize_img (line 432) | def resize_img(image, max_size=1600, min_size=28): function calculate_iou_matrix (line 459) | def calculate_iou_matrix(boxes): function check_bbox_overlap (line 487) | def check_bbox_overlap(layout_results_list, image, iou_threshold=0.1, ov...