kotones-auto-assistant/kotonebot/__init__.py

42 lines
592 B
Python

from .backend.context import (
ContextOcr,
ContextImage,
ContextDebug,
ContextColor,
device,
ocr,
image,
debug,
color,
config,
rect_expand,
sleep,
task,
action,
use_screenshot,
wait
)
from .util import (
Rect,
cropped,
AdaptiveWait,
Countdown,
Interval,
until,
crop_rect,
)
from .backend.color import (
hsv_cv2web,
hsv_web2cv,
rgb_to_hsv,
hsv_to_rgb
)
from .backend.ocr import (
fuzz,
regex,
contains,
equals,
)
from .backend.bot import KotoneBot
from .ui import user