<?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: Eyasu Asnake</title>
    <description>The latest articles on DEV Community by Eyasu Asnake (@eyasu_asnake_848226099eab).</description>
    <link>https://dev.to/eyasu_asnake_848226099eab</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%2F3713069%2F4836c719-cff4-41af-844a-bd155b735fd3.png</url>
      <title>DEV Community: Eyasu Asnake</title>
      <link>https://dev.to/eyasu_asnake_848226099eab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eyasu_asnake_848226099eab"/>
    <language>en</language>
    <item>
      <title>Detecting Objects in Images from Any Text Prompt (Not Fixed Classes)</title>
      <dc:creator>Eyasu Asnake</dc:creator>
      <pubDate>Thu, 15 Jan 2026 19:40:24 +0000</pubDate>
      <link>https://dev.to/eyasu_asnake_848226099eab/detecting-objects-in-images-from-any-text-prompt-not-fixed-classes-5eda</link>
      <guid>https://dev.to/eyasu_asnake_848226099eab/detecting-objects-in-images-from-any-text-prompt-not-fixed-classes-5eda</guid>
      <description>&lt;p&gt;Most object detection systems assume a fixed label set: train a model on COCO, Open Images, or a custom dataset, and you’re limited to whatever classes you trained for.&lt;/p&gt;

&lt;p&gt;I’ve been exploring a different approach: prompt-based object detection, where the input is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;an image&lt;/li&gt;
&lt;li&gt;a free-form natural language prompt&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and the output is localized detections matching the prompt. Even when the concept isn’t a single predefined object class.&lt;/p&gt;

&lt;p&gt;I built a small web tool to experiment with this idea.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it can do
&lt;/h2&gt;

&lt;p&gt;The tool supports complex, compositional prompts, not just object names.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F947yr49eh6goa4d8qews.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F947yr49eh6goa4d8qews.jpg" alt="Detection from the prompt " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffpa1rs9sqtji91sxzfw3.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffpa1rs9sqtji91sxzfw3.jpg" alt="Detection from the prompt " width="728" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2ayb8lbbnk1nspufr2y.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb2ayb8lbbnk1nspufr2y.jpg" alt="Detection from the prompt " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These prompts combine attributes, relations, text, and world knowledge. Things that don’t map cleanly to standard detector classes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it’s not good at
&lt;/h2&gt;

&lt;p&gt;This approach is not designed for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;very small objects&lt;/li&gt;
&lt;li&gt;obscure, barely visible objects&lt;/li&gt;
&lt;li&gt;dense real-time detection out of the box&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It performs better on concepts that require reasoning and world knowledge, rather than pixel-level precision on tiny targets.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;The main motivation so far has been:&lt;/p&gt;

&lt;p&gt;creating training data for highly specific detectors&lt;/p&gt;

&lt;p&gt;Instead of manually labeling or training a new detector for every niche concept, this can be used to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;bootstrap datasets&lt;/li&gt;
&lt;li&gt;explore whether a concept is learnable&lt;/li&gt;
&lt;li&gt;validate prompts before committing to full training pipelines&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;I’ve made the tool publicly available as a demo:&lt;/p&gt;

&lt;p&gt;👉 Detect Anything – Free AI Object Detection Online&lt;br&gt;
&lt;a href="https://www.useful-ai-tools.com/tools/detect-anything" rel="noopener noreferrer"&gt;https://www.useful-ai-tools.com/tools/detect-anything&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;No login required. Images are processed transiently and not stored.&lt;/p&gt;

&lt;p&gt;(Please don’t abuse it. Inference is relatively expensive.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking for feedback
&lt;/h2&gt;

&lt;p&gt;I’m especially interested in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;good real-world use cases people see for this&lt;/li&gt;
&lt;li&gt;stress-testing and failure modes&lt;/li&gt;
&lt;li&gt;where this approach breaks down compared to task-specific detectors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you’ve worked with grounding, referring expression comprehension, or prompt-based vision models, I’d love to hear your thoughts.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>ai</category>
      <category>deeplearning</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
