feat(annotation): 支持图像标注项目并添加内置标注模板

- 扩展标注编辑器支持 TEXT/IMAGE 数据类型
- 添加三个内置图像标注模板:目标检测、语义分割(掩码)、语义分割(多边形)
- 实现内置标注模板的数据库初始化功能
- 集成标注配置验证和模板管理服务
- 更新项目不支持提示信息以反映新的数据类型支持
This commit is contained in:
2026-01-25 18:35:07 +08:00
parent c5ace0c4cc
commit 250a13ff70
4 changed files with 166 additions and 3 deletions

View File

@@ -621,7 +621,7 @@ export default function LabelStudioTextEditor() {
<Card style={{ maxWidth: 640 }}>
<Typography.Title level={4}></Typography.Title>
<Typography.Paragraph type="secondary">
{project.unsupportedReason || "当前仅支持文本(TEXT项目的内嵌编辑器。"}
{project.unsupportedReason || "当前仅支持 TEXT/IMAGE 项目的内嵌编辑器。"}
</Typography.Paragraph>
<div className="flex justify-end gap-2">
<Button onClick={() => navigate("/data/annotation")}></Button>