<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Amirhossein Ghanipour</title>
    <description>The latest articles on DEV Community by Amirhossein Ghanipour (@amirhosseinghanipour).</description>
    <link>https://dev.to/amirhosseinghanipour</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1775376%2F5f61bb2b-6f34-426c-9ba3-776266a7f257.jpeg</url>
      <title>DEV Community: Amirhossein Ghanipour</title>
      <link>https://dev.to/amirhosseinghanipour</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amirhosseinghanipour"/>
    <language>en</language>
    <item>
      <title>Native Bounding Boxes Changes Everything for Visions Devs</title>
      <dc:creator>Amirhossein Ghanipour</dc:creator>
      <pubDate>Thu, 11 Jun 2026 17:01:02 +0000</pubDate>
      <link>https://dev.to/amirhosseinghanipour/native-bounding-boxes-changes-everything-for-visions-devs-19no</link>
      <guid>https://dev.to/amirhosseinghanipour/native-bounding-boxes-changes-everything-for-visions-devs-19no</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open-Vocabulary Detection
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Find all the green apples that look ripe."&lt;br&gt;
"Locate every paragraph illustration on this scanned page."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The model just parses the image and spits out structural text coordinates. No specialized training or custom fine-tuning required. &lt;/p&gt;

&lt;h2&gt;
  
  
  How the Coordinate System Works
&lt;/h2&gt;

&lt;p&gt;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 1000x1000 grid.&lt;/p&gt;

&lt;p&gt;The format it returns is always structured as a sequence of integers: &lt;code&gt;[ymin, xmin, ymax, xmax]&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Origin: The top-left corner of the image is &lt;code&gt;[0, 0]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The Bounds: The bottom-right corner is &lt;code&gt;[1000, 1000]&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;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:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Pixel_X = (xmin_or_xmax / 1000) * Image_Width&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Pixel_Y = (ymin_or_ymax / 1000) * Image_Height&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Upsets the Status Quo
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>gemini</category>
      <category>vision</category>
      <category>computervision</category>
    </item>
  </channel>
</rss>
