You've already forked DataMate
- 新增导出对话框组件,支持多种格式选择 - 实现 JSON、JSONL、CSV、COCO、YOLO 五种导出格式 - 添加导出统计信息显示,包括总文件数和已标注数 - 集成前端导出按钮和后端 API 接口 - 支持仅导出已标注数据和包含原始数据选项 - 实现文件下载和命名功能
23 lines
691 B
Python
23 lines
691 B
Python
from fastapi import APIRouter
|
|
|
|
from .config import router as about_router
|
|
from .project import router as project_router
|
|
from .task import router as task_router
|
|
from .template import router as template_router
|
|
from .auto import router as auto_router
|
|
from .editor import router as editor_router
|
|
from .export import router as export_router
|
|
|
|
router = APIRouter(
|
|
prefix="/annotation",
|
|
tags = ["annotation"]
|
|
)
|
|
|
|
router.include_router(about_router)
|
|
router.include_router(project_router)
|
|
router.include_router(task_router)
|
|
router.include_router(template_router)
|
|
router.include_router(auto_router)
|
|
router.include_router(editor_router)
|
|
router.include_router(export_router)
|