feat(sdk): desktopauto 0.5.3 银行卡/证件 OCR 增强、dingtalk 1.1.0、aitable 0.1.3

- desktopauto:cardocr 引擎/流水线/校验与 ocr 调整,sdk.json/pyproject/版本三处一致
- dingtalk:AI 表格读写与错误封装扩充
- aitable:client/cli/自测与打包配置更新
This commit is contained in:
2026-11-18 18:56:09 +08:00
parent 4941e8b6c0
commit eeeaed1e14
26 changed files with 1043 additions and 93 deletions
+7 -1
View File
@@ -1,7 +1,7 @@
{
"schema_version": 1,
"sdk_id": "desktopauto",
"version": "0.5.0",
"version": "0.5.3",
"modules": {
"desktopauto": {
"exports": [
@@ -501,8 +501,10 @@
"cv2",
"dataclass",
"expand_pts",
"find_card_color",
"find_cards",
"four_point_warp",
"locate_bank_card",
"np",
"order_points",
"quad_area",
@@ -518,8 +520,10 @@
"Tuple": "(*args, **kwargs)",
"dataclass": "(cls=None, /, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False)",
"expand_pts": "(pts: 'np.ndarray', ratio: 'float', shape: 'Tuple[int, int]') -> 'np.ndarray'",
"find_card_color": "(img: 'np.ndarray', warp_width: 'int' = 1712) -> 'Optional[CardRegion]'",
"find_cards": "(img: 'np.ndarray', max_cards: 'int' = 3, warp_width: 'int' = 0) -> 'List[CardRegion]'",
"four_point_warp": "(img: 'np.ndarray', pts: 'Sequence[Sequence[float]]', width: 'int' = 0, height: 'int' = 0) -> 'Tuple[np.ndarray, np.ndarray]'",
"locate_bank_card": "(img: 'np.ndarray', warp_width: 'int' = 1712) -> 'Optional[np.ndarray]'",
"order_points": "(pts: 'Sequence[Sequence[float]]') -> 'np.ndarray'",
"quad_area": "(pts: 'np.ndarray') -> 'float'",
"sqrt_": "(x: 'float') -> 'float'",
@@ -808,6 +812,7 @@
"idline",
"imread",
"join_text",
"locate_bank_card",
"logger",
"logging",
"normalize_text",
@@ -850,6 +855,7 @@
"idline": "(views: 'Sequence[View]', kind: 'str') -> 'List[Line]'",
"imread": "(path: 'str') -> 'np.ndarray'",
"join_text": "(items: 'List[Line]') -> 'str'",
"locate_bank_card": "(img: 'np.ndarray', warp_width: 'int' = 1712) -> 'Optional[np.ndarray]'",
"normalize_text": "(text: 'str') -> 'str'",
"number_runs": "(text: 'str', min_len: 'int' = 6) -> 'List[str]'",
"ocr_lines": "(img: 'np.ndarray', min_score: 'float' = 0.0) -> 'List[Line]'",