Urgent.News

What's breaking now, across thousands of outlets.

Tech

I built a manga colouriser for a friend, and it runs fully on my laptop

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. What it does 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: Finds the panels and…

My friend Vinay, an avid manga reader, requested a tool to colorize black and white pages of his beloved comics. For the Hacktoberfest Build for a Friend challenge, I created a manga colorizer application that fulfills this need, running entirely on a laptop without any cloud dependencies.

To use the app, users upload their black-and-white manga pages, either as images, PDFs, or CBZ files. They then identify each main character, providing a few reference images for each. The application analyzes the uploaded pages, locating panels and speech bubbles. It then identifies the characters within each panel and associates them with their respective reference images.

The colorization process begins by extracting the characters' key attributes—hair, skin, and clothing colors—from the provided references. The app then applies these colors to corresponding parts of each panel, ensuring that a character's appearance remains consistent across different pages. Speech bubbles and lettering remain untouched, preserving the original text and tone.

The application's interface allows for manual corrections if the AI misidentifies a character. Designed to run locally, the full version of the colorizer ensures that users' private manga pages never leave their devices. There are no per-page charges or subscription fees; users can employ the software at no cost.

The colorizer leverages advanced AI models, including Stable Diffusion with a line-art ControlNet, OWL-ViT for character detection, CLIP for naming characters, and SegFormer for hair and clothes recognition. If any component proves inadequate, it can be swapped out with a more suitable alternative.

The colorizer has successfully implemented several core features, such as panel detection, speech bubble preservation, character memory management, and color correction. However, the full end-to-end AI coloring process has not been completed due to the size of the models required, which exceed 6 GB. Currently, the Quick preview mode demonstrates flat-colored regions, intended for layout verification only. The source code for the application is available on GitHub for further exploration and modification.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Most of my content pages are secretly tables. Here is the data shape that works

Every content page I write starts as prose and ends up mostly tables. That was not the plan — it is what happened after watching which parts people actually used.

  • Content pages transform into primarily tables after observing reader engagement
  • Table format allows single glance data presentation compared to paragraphs
  • CSS class "table-scroll" enables mobile-friendly table viewing without horizontal scrolling

Tides: Tactile After-School Energy Pacing for My 11-Year-Old Daughter

What I Built I built Tides for my 11-year-old daughter, Nia , who just started 6th grade. Entering middle school is an immense sensory, physical, and cognitive leap.

  • App helps 11-year-old manage energy levels after school
  • Tactile zones guide afternoon activities based on energy level
  • Parents monitor progress through Parent Dashboard with key metrics

TikTok, Reels and Shorts safe zones in pixels

TikTok puts buttons, captions and your name on top of your video. Text under them is hard to read. The safe zone is the area that stays clear.

  • TikTok requires 240px text distance from top, 660px from bottom, 120px from sides
  • Instagram Reels follows TikTok's 269px/672px/65px safe zone measurements
  • YouTube Shorts allows most generous 288px/672px/48px/192px text placement zone

From Python Foundations to VISORA BI: Building My First Full-Stack Business Intelligence Platform

A few months ago, I was mostly focused on strengthening my Python fundamentals. Today, I have a working full-stack Business Intelligence platform called VISORA BI , built with Python, Pandas, FastAPI…

  • Python programmer with solid foundation in variables, data types, and functions
  • Developed VISORA BI platform for dataset analysis and AI-powered insights
  • Full-stack architecture with React frontend, FastAPI backend, and Pandas persistence

More from Sunday 4 October →