Spaces:
Sleeping
Sleeping
| """Utilities (image, cache, detector, tesseract).""" | |
| from captcha_solver.utils.image import ( | |
| decode_base64_image, | |
| decode_base64_audio, | |
| image_to_pil, | |
| perceptual_hash, | |
| ) | |
| from captcha_solver.utils.cache import SolveCache | |
| from captcha_solver.utils.detector import detect_type | |
| from captcha_solver.utils.tesseract_ocr import ( | |
| is_available as tesseract_available, | |
| ocr_image as tesseract_ocr_image, | |
| ocr_captcha_math, | |
| ocr_captcha_text, | |
| ) | |
| __all__ = [ | |
| "decode_base64_image", | |
| "decode_base64_audio", | |
| "image_to_pil", | |
| "perceptual_hash", | |
| "SolveCache", | |
| "detect_type", | |
| "tesseract_available", | |
| "tesseract_ocr_image", | |
| "ocr_captcha_math", | |
| "ocr_captcha_text", | |
| ] | |