↓ 1 callersFunctionget_optimal_label_pos check overlap of text and background detection box, and get_optimal_label_pos, pos: str, position of the text, must be one of 'top left', 't
utils/box_annotator.py:189
↓ 1 callersFunctionget_optimal_label_pos check overlap of text and background detection box, and get_optimal_label_pos, pos: str, position of the text, must be one of 'top left', 't
agent_rr/omniparser/box_annotator.py:189
↓ 1 callersFunctionget_parsed_content_icon(filtered_boxes, starting_idx, image_source, caption_model_processor, prompt=None, batch_size=128)
agent_rr/omniparser/utils.py:64
↓ 1 callersFunctioninit(service_ip, decider_port, grounder_port, planner_port, enable_user_profile=False, use_graphrag=False)
runner/mobiagent/mobiagent.py:269
↓ 1 callersFunctionremove_overlap_new ocr_bbox format: [{'type': 'text', 'bbox':[x,y], 'interactivity':False, 'content':str }, ...] boxes format: [{'type': 'icon', 'bbox':[x,y], '
utils/omni_utils.py:215
↓ 1 callersFunctionremove_overlap_new ocr_bbox format: [{'type': 'text', 'bbox':[x,y], 'interactivity':False, 'content':str }, ...] boxes format: [{'type': 'icon', 'bbox':[x,y], '
agent_rr/omniparser/utils.py:216