MCPcopy
hub / github.com/IPADS-SAI/MobiAgent / extract_text_from_image

Function extract_text_from_image

utils/advanced_ocr.py:713–717  ·  view source on GitHub ↗

便捷函数:从图像提取文本

(image_path: str)

Source from the content-addressed store, hash-verified

711
712# 便捷函数
713def extract_text_from_image(image_path: str) -> str:
714 """便捷函数:从图像提取文本"""
715 processor = get_advanced_ocr_processor()
716 text, _ = processor.extract_text_from_image(image_path)
717 return text
718
719
720def match_text_in_frame(frame: Dict[str, Any], keyword: str) -> bool:

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected