feat: seg any thing 新增box模式
All checks were successful
git commit AiDA python develop 分支构建部署 / scheduled_deploy (push) Has been skipped

This commit is contained in:
zcr
2026-01-13 12:43:30 +08:00
parent f7294f5966
commit 7e30779aec
2 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ from pydantic import BaseModel, Field
class SAMRequestModel(BaseModel):
user_id: int = Field(..., description="用户id, 必填字段")
image_path: str = Field(..., description="图片路径,必填字段")
type: str = Field(..., description="推理类型,必填字段")
points: Optional[List[List[float]]] = None