Native Bounding Boxes Changes Everything for Visions Devs

작성자

카테고리:

← 피드로
DEV Community · Amirhossein Ghanipour · 2026-06-12 개발(SW)

Amirhossein Ghanipour

For a hot minute, getting an AI to tell you exactly where an object lives inside an image was a complete architectural nightmare. You had to chain together a massive LLM to understand the prompt, and then pipe that output into some rigid, dedicated computer vision model like YOLO or a CNN just to extract a few coordinates.

Gemini completely flips the script with its native bounding box (bbox) capability. Instead of treating spatial tracking as a totally separate data science problem, it treats coordinates as part of its own vocabulary without any extra pipelines.

Open-Vocabulary Detection

If you’ve ever worked with traditional object detection models, you know they are bound by a fixed dictionary. If you train a model on the standard COCO dataset, it knows exactly 80 things: “car,” “dog,” “banana,” you get the drill. Ask it to find “the dented part of the bumper” or “the signature on this ancient manuscript,” and it completely blanks out.

Gemini gives us open-vocabulary object detection. You can prompt it like a normal human being because its spatial understanding is baked directly into its multimodal core:

“Find all the green apples that look ripe.”
“Locate every paragraph illustration on this scanned page.”

The model just parses the image and spits out structural text coordinates. No specialized training or custom fine-tuning required.

How the Coordinate System Works

Instead of guessing raw pixel counts which is a headache because every image uploaded has a different resolution, Gemini normalizes every single photo to an imaginary 1000×1000 grid.

The format it returns is always structured as a sequence of integers: [ymin, xmin, ymax, xmax].

  • The Origin: The top-left corner of the image is [0, 0].
  • The Bounds: The bottom-right corner is [1000, 1000].

To map Gemini’s output back onto your actual image, the math is incredibly straightforward. You just divide the coordinate by 1000 and multiply it by your image’s real width or height dimensions:

Pixel_X = (xmin_or_xmax / 1000) * Image_Width
Pixel_Y = (ymin_or_ymax / 1000) * Image_Height

Why This Upsets the Status Quo

Other foundational models can write Python scripts to crop images or give you general, hand-wavy descriptions of where things are, but Gemini natively returning raw structured coordinates completely changes how we build software.

It’ll dynamically focus UI elements based on user focus or object relevance, let an agent accurately locate items in 3D-mapped space using 2D frame projections, extract precise structural bounding boxes for tables, visual callouts, or form fields without custom OCR training, or tell an agent to find “the broken login button icon” and get back coordinates ready for a programmatic click.

It turns out that teaching a model to truly “see” means teaching it how to measure. Gemini’s bbox capability proves that the future of vision isn’t just about labeling what’s in the room, but knowing exactly where it stands.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다