便捷函数:从图像提取文本
(image_path: str)
| 711 | |
| 712 | # 便捷函数 |
| 713 | def 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 | |
| 720 | def match_text_in_frame(frame: Dict[str, Any], keyword: str) -> bool: |
nothing calls this directly
no test coverage detected