Spaces:
Sleeping
Sleeping
File size: 715 Bytes
e969fbd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | """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",
]
|