跳到正文
Ado· @adocomplete · X·AI 评分56

Anthropic 开发者关系工程师解释图像坐标框漂移原因及 oversized_image 参数用法

AI 导读

Anthropic 开发者关系工程师 Ado Kukic 解释,图像过大时 Claude 会先缩小图片并按缩小后图像的像素坐标回答,导致边界框漂移。在 image block 上将 oversized_image 设为 "error" 可返回 400 错误并给出适配尺寸,避免错误坐标。

正文 · 原文

If the boxes drift, your image was probably too big. Claude shrinks it first and answers in the smaller picture's pixels.

Set oversized_image to "error" on the image block and you get a 400 with the size that fits, in place of wrong boxes.

来源:Ado · x.com