<?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: Arpit</title>
    <description>The latest articles on DEV Community by Arpit (@rapiddanger).</description>
    <link>https://dev.to/rapiddanger</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3325971%2F3940301b-1fc4-42c1-b660-07c9eebed788.png</url>
      <title>DEV Community: Arpit</title>
      <link>https://dev.to/rapiddanger</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rapiddanger"/>
    <language>en</language>
    <item>
      <title>WildTrace — Every Small Habitat Has a Story</title>
      <dc:creator>Arpit</dc:creator>
      <pubDate>Sun, 11 Oct 2026 17:14:09 +0000</pubDate>
      <link>https://dev.to/rapiddanger/wildtrace-every-small-habitat-has-a-story-57k5</link>
      <guid>https://dev.to/rapiddanger/wildtrace-every-small-habitat-has-a-story-57k5</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge — Week 1: Touch Grass.&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I spend a lot of time in front of a computer building things with AI. Between experimenting with models, developing applications, and trying to turn ideas into working products, it's easy to spend hours looking at a screen without paying much attention to what's happening outside.&lt;/p&gt;

&lt;p&gt;When I came across this week's Hacktoberfest theme, &lt;strong&gt;Touch Grass&lt;/strong&gt;, I wanted to build something that would connect technology with the real world in a more meaningful way.&lt;/p&gt;

&lt;p&gt;Not another chatbot that tells you about nature. Not another image classifier that identifies a plant and calls it a day.&lt;/p&gt;

&lt;p&gt;I wanted to build something that gives you a reason to go outside, observe a small part of nature, and come back a few days later to see what might have changed.&lt;/p&gt;

&lt;p&gt;That's how &lt;strong&gt;WildTrace&lt;/strong&gt; started.&lt;/p&gt;

&lt;p&gt;WildTrace is an AI-powered micro-habitat observation platform. It lets you document tiny natural environments — a patch of moss on a rock, a crack in tree bark, or a small patch of vegetation — and compare photographs of the same place over time.&lt;/p&gt;

&lt;p&gt;The interesting part isn't just finding differences between two images. It's figuring out &lt;strong&gt;which differences are meaningful, which might be caused by the camera, and when the system simply doesn't have enough evidence to make a claim.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because a greener photograph doesn't necessarily mean more growth. And sometimes, the most responsible thing an AI can say is, "These photographs aren't comparable enough to tell."&lt;/p&gt;

&lt;h2&gt;
  
  
  The Experience
&lt;/h2&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8mdr5coeo5hjxq5crofu.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8mdr5coeo5hjxq5crofu.png" alt="WildTrace habitat observation dashboard showing its dark nature-inspired interface for exploring micro-habitats, comparing observations, and viewing field missions" width="800" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;WildTrace's nature-inspired interface brings habitat observations, comparisons, and field missions into one experience.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Users can document a micro-habitat, revisit it over time, compare photographs, examine image-derived indicators, and explore cautious AI-generated hypotheses about visible differences.&lt;/p&gt;

&lt;p&gt;Unlike a one-off image identification tool, WildTrace is designed around &lt;strong&gt;revisiting a place and building an observation history&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Computer Vision Meets Scientific Caution
&lt;/h2&gt;

&lt;p&gt;WildTrace combines several image-analysis techniques to characterize differences between observations.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Excess Green (ExG)
&lt;/h3&gt;

&lt;p&gt;The application calculates:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ExG = 2G − R − B&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;ExG describes green-channel dominance in an image. It is not a direct measurement of biomass, plant health, or biological growth.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Edge Correlation and Framing Assessment
&lt;/h3&gt;

&lt;p&gt;WildTrace uses Sobel edge information and structural correlation to assess whether two photographs are sufficiently comparable for interpreting visual differences.&lt;/p&gt;

&lt;p&gt;It also calculates pixel-level differences. However, a large pixel difference is not automatically evidence of biological change.&lt;/p&gt;

&lt;p&gt;Photographs taken from different angles can produce substantial pixel changes even when the underlying habitat has changed very little.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The Scientific Reliability Gate
&lt;/h3&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdbk2dp9vtdxcpw2egjv2.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdbk2dp9vtdxcpw2egjv2.png" alt="WildTrace comparison screen displaying a warning about incompatible photo framing and recommending side-by-side inspection instead of a potentially misleading pixel-difference analysis" width="800" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;When framing is incompatible, WildTrace warns the observer and favours side-by-side inspection over potentially misleading pixel-difference interpretation.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is one of the project's central design decisions: &lt;strong&gt;the application should not confidently claim directional change when the visual evidence is unreliable.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The comparison workflow can flag incompatible framing, disclose uncertainty, and encourage the observer to inspect both photographs together instead of treating image metrics as definitive ecological evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Multimodal AI and Model Flexibility
&lt;/h2&gt;

&lt;p&gt;WildTrace uses a configurable AI inference layer to interpret image pairs and produce structured comparison results.&lt;/p&gt;

&lt;p&gt;The implementation includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OpenRouter-based multimodal inference.&lt;/li&gt;
&lt;li&gt;Configurable vision models through &lt;code&gt;OPENROUTER_MODEL&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Zod validation of model responses.&lt;/li&gt;
&lt;li&gt;Bounded retries and configurable timeouts.&lt;/li&gt;
&lt;li&gt;A deterministic local heuristic fallback when hosted inference is unavailable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The provider abstraction allows model selection to change without replacing the broader comparison workflow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Model Evaluation
&lt;/h3&gt;

&lt;p&gt;We evaluated three models on three pairwise comparisons from our moss-photo dataset.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Median Latency&lt;/th&gt;
&lt;th&gt;Schema Validation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Google Gemini 2.5 Flash&lt;/td&gt;
&lt;td&gt;5.4 seconds&lt;/td&gt;
&lt;td&gt;3/3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qwen 2.5-VL 72B Instruct&lt;/td&gt;
&lt;td&gt;25.1 seconds&lt;/td&gt;
&lt;td&gt;3/3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qwen3-VL 8B Instruct&lt;/td&gt;
&lt;td&gt;23.3 seconds&lt;/td&gt;
&lt;td&gt;3/3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In these tests, all three models returned schema-valid results and respected the incompatible-framing safeguard.&lt;/p&gt;

&lt;p&gt;Gemini was substantially faster, so it remains the default for the interactive experience. The Qwen models provide configurable open-weight alternatives through hosted inference.&lt;/p&gt;

&lt;p&gt;These are preliminary results from a small evaluation, not proof that the models are equivalent across all habitats or conditions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Turning Analysis Into Action
&lt;/h2&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3buc3rm7jt3ofpln34nn.png" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3buc3rm7jt3ofpln34nn.png" alt="WildTrace field mission card suggesting a return visit to a moss-covered rock habitat, with instructions to align the next photograph with a recognizable feature and inspect the moss more closely" width="800" height="496"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;WildTrace turns an observation into a practical reason to revisit the habitat, align the next photograph, and inspect a physical feature more carefully.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The goal isn't to end the experience with an AI-generated explanation. WildTrace also suggests a focused field mission to encourage repeat observations and closer inspection.&lt;/p&gt;

&lt;p&gt;For the demonstrated moss habitat, the mission encourages returning after a few days, aligning the next photograph with a recognizable rock fissure, and inspecting the moss directly.&lt;/p&gt;

&lt;p&gt;This connects the digital workflow back to the real world — exactly what the &lt;strong&gt;Touch Grass&lt;/strong&gt; theme inspires.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The application uses the following technology stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Next.js and TypeScript&lt;/strong&gt; — web application and API routes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prisma and SQLite&lt;/strong&gt; — persistence for observations and comparison data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sharp&lt;/strong&gt; — image processing and preparation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Computer vision utilities&lt;/strong&gt; — Excess Green calculation, Sobel edge analysis, and pixel-difference measurements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenRouter&lt;/strong&gt; — hosted multimodal inference with configurable vision models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zod&lt;/strong&gt; — structured response validation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker Compose&lt;/strong&gt; — containerized deployment with persistent storage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The architecture separates image processing, AI inference, structured validation, and fallback behaviour. This makes the inference layer configurable while keeping the comparison workflow and scientific safeguards in place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Offline Fallback
&lt;/h2&gt;

&lt;p&gt;WildTrace includes a deterministic heuristic engine that operates locally without an API key or internet connection.&lt;/p&gt;

&lt;p&gt;This provides a fallback interpretation path when hosted inference is unavailable. It is important to distinguish that capability from hosted multimodal analysis: OpenRouter inference requires network access, and the local fallback does not provide equivalent vision-model reasoning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy and Reliability
&lt;/h2&gt;

&lt;p&gt;The implementation includes several protections and operational safeguards:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;EXIF metadata stripping during image storage.&lt;/li&gt;
&lt;li&gt;GPS-coordinate fuzzing in the observation experience.&lt;/li&gt;
&lt;li&gt;Path-traversal protections on relevant API routes.&lt;/li&gt;
&lt;li&gt;An allowlist of supported image extensions for disk-path resolution.&lt;/li&gt;
&lt;li&gt;Server-side handling of inference credentials.&lt;/li&gt;
&lt;li&gt;Bounded inference retries and configurable timeouts.&lt;/li&gt;
&lt;li&gt;Persistent Docker volumes for the SQLite database and uploaded images.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These measures reduce specific risks but should not be interpreted as a guarantee that every deployment is free from security issues.&lt;/p&gt;

&lt;h2&gt;
  
  
  Testing and Verification
&lt;/h2&gt;

&lt;p&gt;The final submission readiness audit reported:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;8/8 automated test suites passed.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lint:&lt;/strong&gt; zero errors and zero warnings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TypeScript:&lt;/strong&gt; zero type errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production build:&lt;/strong&gt; successful.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multimodal evaluation:&lt;/strong&gt; three pairwise comparisons per evaluated model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Persistence:&lt;/strong&gt; SQLite database and uploaded images verified across container restarts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The repository includes detailed reports documenting the readiness audit and model evaluation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limitations
&lt;/h2&gt;

&lt;p&gt;WildTrace is an experimental observation tool, not a validated ecological measurement instrument.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lighting, camera exposure, moisture, shadows, perspective, and framing can confound comparisons.&lt;/li&gt;
&lt;li&gt;ExG and pixel-level changes cannot independently establish biological growth or ecological causation.&lt;/li&gt;
&lt;li&gt;Model evaluations cover only a small number of image pairs.&lt;/li&gt;
&lt;li&gt;Hosted inference depends on external service availability and latency.&lt;/li&gt;
&lt;li&gt;The offline heuristic fallback does not replace multimodal vision reasoning.&lt;/li&gt;
&lt;li&gt;Reliable ecological conclusions would require broader field validation and domain-specific evaluation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These limitations are central to how WildTrace is designed: uncertainty should be visible rather than hidden behind a confident AI response.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;Future work could include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Evaluating more habitats and environmental conditions.&lt;/li&gt;
&lt;li&gt;Improving repeatable framing and alignment assessment.&lt;/li&gt;
&lt;li&gt;Expanding observation history and comparison visualizations.&lt;/li&gt;
&lt;li&gt;Testing additional vision models and inference providers.&lt;/li&gt;
&lt;li&gt;Improving response latency and deployment options.&lt;/li&gt;
&lt;li&gt;Collecting more carefully documented longitudinal field observations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Explore the Project
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/A0R0P0I7T/WildTrace" rel="noopener noreferrer"&gt;https://github.com/A0R0P0I7T/WildTrace&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;WildTrace explores how AI can help people pay closer attention to the natural world — not by claiming certainty from every photograph, but by making observations easier to compare, uncertainty easier to understand, and the next outdoor visit more meaningful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Go outside. Find a tiny habitat. Look closer. Come back later.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
      <category>devchallenge</category>
    </item>
  </channel>
</rss>
