<?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: Aryan Garg</title>
    <description>The latest articles on DEV Community by Aryan Garg (@herbs_and_spices_api).</description>
    <link>https://dev.to/herbs_and_spices_api</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%2F4159810%2Fb1bffb6d-010c-40bf-9259-c544225b3769.png</url>
      <title>DEV Community: Aryan Garg</title>
      <link>https://dev.to/herbs_and_spices_api</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/herbs_and_spices_api"/>
    <language>en</language>
    <item>
      <title>They demanded a picture</title>
      <dc:creator>Aryan Garg</dc:creator>
      <pubDate>Mon, 05 Oct 2026 04:12:41 +0000</pubDate>
      <link>https://dev.to/herbs_and_spices_api/they-demanded-a-picture-go3</link>
      <guid>https://dev.to/herbs_and_spices_api/they-demanded-a-picture-go3</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8b9r75kjwh04xv6yyzwr.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%2F8b9r75kjwh04xv6yyzwr.png" alt=" " width="289" height="66"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;We built a local upscaler! My friends love looking at pictures. But as the  screens increase in resolution, the picture starts...fading away. Imagine that, a digital album fading away like an old picturebook. particularly the faces, which become really blurry. &lt;/p&gt;

&lt;p&gt;Upscaling is a popular technology, using AI to recreate the edges and lines to make the image sharper. Most existing tools require the customer to send images over to a random website, something my friends didn't want to do with their photogaphs. &lt;/p&gt;

&lt;p&gt;drumroll....ENTER LOCAL LLMS&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/kToM3kP5Q8Y" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/DhritiGupta2006" rel="noopener noreferrer"&gt;
        DhritiGupta2006
      &lt;/a&gt; / &lt;a href="https://github.com/DhritiGupta2006/They-demanded-a-picture" rel="noopener noreferrer"&gt;
        They-demanded-a-picture
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Revive&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Revive makes old family photos sharper, gently fixes blurry faces, and writes a short caption for each one
When it's done, you get a little photo album you can open on any computer, even without internet.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Your photos stay on this computer.&lt;/strong&gt; Nothing is uploaded anywhere. After the one-time setup, Revive works with the internet switched off.&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/DhritiGupta2006/They-demanded-a-picture/docs/media/readme/01-start.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FDhritiGupta2006%2FThey-demanded-a-picture%2FHEAD%2Fdocs%2Fmedia%2Freadme%2F01-start.png" alt="The Revive start page"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Setting it up (once)&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;You need two free programs first:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt;: download it from &lt;a href="https://www.python.org/downloads/" rel="nofollow noopener noreferrer"&gt;python.org/downloads&lt;/a&gt; and install it.
On Windows, tick the box that says &lt;strong&gt;"Add python.exe to PATH"&lt;/strong&gt; on the first screen of the installer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt;: download it from &lt;a href="https://ollama.com/download" rel="nofollow noopener noreferrer"&gt;ollama.com/download&lt;/a&gt; and install it. This is what lets Revive write captions on your own computer.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Then set up Revive itself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Windows:&lt;/strong&gt; open the &lt;code&gt;scripts&lt;/code&gt; folder and double-click &lt;strong&gt;&lt;code&gt;setup.bat&lt;/code&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mac:&lt;/strong&gt; open the &lt;code&gt;scripts&lt;/code&gt; folder and double-click &lt;strong&gt;&lt;code&gt;Setup Revive.command&lt;/code&gt;&lt;/strong&gt;. If your Mac says it can't be opened, right-click it, choose…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/DhritiGupta2006/They-demanded-a-picture" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;Revive is a fast API server with a simple HTML/CSS/JS landing page. It literally has no build steps, less to break on other systems. &lt;br&gt;
This is specialised for faces, which is the most we could do in the 24 hours we had. &lt;/p&gt;

&lt;h4&gt;
  
  
  Processing order
&lt;/h4&gt;

&lt;p&gt;GFPGAN v1.4 at original size --&amp;gt; Real-ESRGAN(2x) --&amp;gt; gemma4(via ollama)&lt;/p&gt;

&lt;p&gt;This doesn't need a GPU either! so any laptop device can use this program to revive their photos on the fly :D&lt;/p&gt;

&lt;p&gt;We focused on intuitivity, using established typography rules, and easy to undestand exit codes and error messages, this software can be used by anyone&lt;/p&gt;

&lt;h4&gt;
  
  
  Faces that look like themselves
&lt;/h4&gt;

&lt;p&gt;Meticulous testing was done to make the faces look as close as possible to the orignal, tinkering with GFPGAN's weight values to avoid airbrushing and glassing was an excercise in endurance. &lt;/p&gt;

&lt;h4&gt;
  
  
  Offline
&lt;/h4&gt;

&lt;p&gt;The primary requirement, everyone was against sending data out, so we brought the software in. &lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open models were the only way to build what they wanted.&lt;/p&gt;

&lt;h4&gt;
  
  
  &lt;em&gt;Nothing&lt;/em&gt; leaves the computer
&lt;/h4&gt;

&lt;p&gt;Its offline, there isn't even any bit of code that sends anything online&lt;/p&gt;

&lt;h4&gt;
  
  
  Works anytime
&lt;/h4&gt;

&lt;p&gt;No internet, no condition, no firewalls, just your photos and the tool&lt;/p&gt;

&lt;h4&gt;
  
  
  Customizable!!
&lt;/h4&gt;

&lt;p&gt;We made it, we can change it. Open source ftw&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Best use of gemma - Gemma4-e4b runs locally and is the brain here, it writes captions and makes the albums. &lt;/p&gt;

&lt;h2&gt;
  
  
  Did they like it??
&lt;/h2&gt;

&lt;h4&gt;
  
  
  YES!!!
&lt;/h4&gt;

&lt;p&gt;We got some great reactions&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0iviqtf4ttgtxkgizfwf.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%2F0iviqtf4ttgtxkgizfwf.png" alt=" " width="286" height="86"&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbi0cukp40vp0iwd7ftua.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%2Fbi0cukp40vp0iwd7ftua.png" alt=" " width="428" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Built by
&lt;/h3&gt;

&lt;p&gt;herbs_and_spices_api&lt;br&gt;
satvik_shashank&lt;br&gt;
dhriti_gupta&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
