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: {
project_id: string
image_name: string
image: string
prompt: {
foreground_points?: Array<[number, number]>
background_points?: Array<[number, number]>

View File

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