fix(sam2): fix api

This commit is contained in:
zhangheng
2026-03-27 16:19:00 +08:00
parent 72f1610fc3
commit d0697549f0
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ export const getAuxiliaryAnnotation = (data: any) => {
export const getAuxiliaryAnnotation2 = (data: { export const getAuxiliaryAnnotation2 = (data: {
project_id: string project_id: string
image_name: string image: string
prompt: { prompt: {
foreground_points?: Array<[number, number]> foreground_points?: Array<[number, number]>
background_points?: Array<[number, number]> background_points?: Array<[number, number]>

View File

@@ -514,7 +514,7 @@ const PaperContainer = (
try { try {
const data = await getAuxiliaryAnnotation2({ const data = await getAuxiliaryAnnotation2({
project_id: projectId, project_id: projectId,
image_name: activeImage, image: activeImage,
// project_id: "image_test_bk", // project_id: "image_test_bk",
prompt: { prompt: {
foreground_points: promptPoints, foreground_points: promptPoints,