<?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: Parth Mittal</title>
    <description>The latest articles on DEV Community by Parth Mittal (@parthmittal619).</description>
    <link>https://dev.to/parthmittal619</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Parth Mittal</title>
      <link>https://dev.to/parthmittal619</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parthmittal619"/>
    <language>en</language>
    <item>
      <title>I built a manga colouriser for a friend, and it runs fully on my laptop</title>
      <dc:creator>Parth Mittal</dc:creator>
      <pubDate>Sun, 04 Oct 2026 16:47:22 +0000</pubDate>
      <link>https://dev.to/parthmittal619/i-built-a-manga-colouriser-for-a-friend-and-it-runs-fully-on-my-laptop-1850</link>
      <guid>https://dev.to/parthmittal619/i-built-a-manga-colouriser-for-a-friend-and-it-runs-fully-on-my-laptop-1850</guid>
      <description>&lt;p&gt;My friend Vinay reads a lot of manga, and it's all black and white. For the Hacktoberfest "Build for a Friend" challenge I built a tool that colours manga pages and keeps each character looking the same from page to page.&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%2Fkw5dis7hdkyosxsg3u22.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%2Fkw5dis7hdkyosxsg3u22.png" alt=" " width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;You upload black-and-white pages (images, PDF or CBZ) and add each main character once, with a few coloured reference pictures. The app then:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Finds the panels and speech bubbles on every page.&lt;/li&gt;
&lt;li&gt;Finds the characters in each panel and works out who they are.&lt;/li&gt;
&lt;li&gt;Colours each panel, using the character's reference picture as a guide.&lt;/li&gt;
&lt;li&gt;Reads the character's hair, skin and clothes colours from the references and nudges every page back to those colours, so a skirt doesn't change from red to blue between pages.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Speech bubbles and lettering are left untouched. Any wrong character guess can be fixed by hand with a dropdown.&lt;/p&gt;

&lt;p&gt;![The app's interface running in Quick preview mode on CPU&lt;br&gt;
&lt;em&gt;The interface, running in Quick preview mode (no AI) on a CPU.&lt;/em&gt;&lt;br&gt;
u can visit the interface from here :&lt;a href="https://manga-colorizer-ahed6hjbysmjku3vfzjop9.streamlit.app" rel="noopener noreferrer"&gt;https://manga-colorizer-ahed6hjbysmjku3vfzjop9.streamlit.app&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; the hosted version is only for looking around. You can try the interface and see the panel and speech-bubble mark-ups on a page. It does &lt;strong&gt;not&lt;/strong&gt; include the AI models, so it can't do the full colouring. For that, clone the repo from GitHub and run it on your own computer, which downloads the models (about 6 GB, one time). Anything you upload to the hosted demo goes to Streamlit's servers, so only use pages you're happy to share.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why open-source AI matters here
&lt;/h2&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It can run on your own computer.&lt;/strong&gt; The full version is built to run locally, so someone's unpublished pages never have to be uploaded to a company's server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It costs nothing to run.&lt;/strong&gt; No per-page fees or subscriptions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I can swap models.&lt;/strong&gt; Stable Diffusion with a line-art ControlNet and IP-Adapter does the colouring, OWL-ViT finds characters, CLIP names them, and SegFormer finds hair and clothes. If one part is weak, I can replace only that part.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How the colours stay consistent
&lt;/h2&gt;

&lt;p&gt;Each character has a "memory": reference pictures plus a stored colour for each body part (hair, skin, top, skirt, shoes and so on). The reference steers the AI, the colours are turned into words in the prompt, and after colouring a clothes-segmentation model shifts each part toward its stored colour.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I got working, and what I didn't
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Working and tested: panel detection, speech-bubble protection, the character memory, the colour-correction step, the Streamlit interface, and the failure handling. I tested the pipeline with stand-in models, including the case where one panel fails and the rest of the page is still coloured.&lt;/li&gt;
&lt;li&gt;Not done: I wasn't able to run the full AI colouring end-to-end before the deadline, because the models are about 6 GB. So I can't show AI-coloured results here. The Quick preview mode in the screenshot only fills regions with flat colours and is meant for checking the layout.&lt;/li&gt;
&lt;li&gt;Weakest part: working out which character is in which panel, which is why you can correct it by hand.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Code:&lt;a href="https://github.com/afk-Parth/manga-colorizer" rel="noopener noreferrer"&gt;https://github.com/afk-Parth/manga-colorizer&lt;/a&gt;&lt;/p&gt;

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