File size: 332 Bytes
188f4d8
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from __future__ import annotations

from typing import Callable

from . import classify, extract_text, referring, spotting

JUDGE_FUNCS: dict[str, Callable[[dict, dict], dict]] = {
    "字体分类": classify.judge,
    "字符提取": extract_text.judge,
    "字符检测": spotting.judge,
    "单字识别": referring.judge,
}