feat: CVAT 标注引擎、我的标注收件箱与 ADAS Cuboid 送标

- 统一标注引擎为 CVAT:客户端/配置/格式转换、iframe 标注页、docker-compose.cvat.yml 与 no_auth 补丁
- 移除 Label Studio 相关配置与构建脚本,清理 embedded.bak 备份与误提交的 node_modules
- 新增「我的标注」:跨 Campaign 收件箱、逐张清单、CVAT frame 跳转
- 飞书任务分配:通讯录同步选人、按量分配、分配后 DM 通知(含 my-tasks 链接)
- ADAS cuboid_7cls 数据湖接入:workflow 路径、register-batch、开标上传与标注同步
- 数据湖挂载 AS_DATA_LAKE_ROOT、datasets/adas 符号链接、reset_labeling 运维脚本
- 补充 docs/HANDOVER.md 项目交接文档

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-15 17:25:28 +08:00
parent e72bc061c5
commit 672ef61e17
5281 changed files with 5194 additions and 1315918 deletions

View File

@@ -289,6 +289,26 @@ def get_pending_report(wf: dict | None = None) -> dict[str, Any]:
)
)
if pname == "adas":
inbox_adas = root / "inbox"
if inbox_adas.is_dir():
for task_dir in sorted(inbox_adas.iterdir()):
if not task_dir.is_dir() or task_dir.name.startswith("."):
continue
for batch_dir in sorted(task_dir.iterdir()):
if not batch_dir.is_dir() or batch_dir.name.startswith("."):
continue
report["batches"].append(
enrich_batch(
batch_dir,
project="adas",
task=task_dir.name,
pack=None,
batch=batch_dir.name,
location="inbox",
)
)
if pname == "lane":
proj["packs"] = {}
for pack_name in all_names:
@@ -1024,6 +1044,10 @@ def register_batch(
batch_dir = pack_dir / tcfg["task_dir"] / src_sub / batch
else:
batch_dir = root / "inbox" / task / batch
elif project == "adas":
if not task:
raise ValueError("adas register-batch 需要 task")
batch_dir = root / "inbox" / task / batch
else:
if location == "pack" and pack:
try:
@@ -1057,6 +1081,16 @@ def register_batch(
}
if not data["counts"]["images"] and dms_has_images(batch_dir):
data["counts"]["images"] = 1
elif project == "adas":
from as_platform.data.batch import count_images, count_label_files, dms_has_images
data["format"] = "cvat_cuboid"
data["counts"] = {
"images": count_images(batch_dir),
"labels": count_label_files(batch_dir / "labels"),
}
if not data["counts"]["images"] and dms_has_images(batch_dir):
data["counts"]["images"] = count_images(batch_dir / "images")
else:
data["format"] = "ufld_archive"
tg = batch_dir / "list" / "train_gt.txt"