hezar.models.text_detection.craft.craft_text_detection_config module¶
- class hezar.models.text_detection.craft.craft_text_detection_config.CraftTextDetectionConfig(text_threshold: float = 0.7, link_threshold: float = 0.4, low_text: float = 0.4, poly: bool = False)[source]¶
Bases:
ModelConfig
- link_threshold: float = 0.4¶
- low_text: float = 0.4¶
- name: str = 'craft_text_detection'¶
- poly: bool = False¶
- text_threshold: float = 0.7¶